:root {
    --bg: #33415f;
    --bg-alt: #2c3752;
    --panel: #41506f;
    --panel-soft: #495b7f;
    --line: #8ce7f2;
    --accent: #ff9f6e;
    --accent-soft: #ffd36c;
    --text: #f8fbff;
    --muted: #dbe7ff;
    --muted-soft: #bfd0ef;
    --edge: rgba(248, 251, 255, 0.14);
    --shadow: 0 26px 64px rgba(24, 31, 50, 0.28);
    --wrap: 1160px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 159, 110, 0.18) 0, rgba(255, 159, 110, 0) 28%),
        radial-gradient(circle at 80% 18%, rgba(140, 231, 242, 0.16) 0, rgba(140, 231, 242, 0) 24%),
        linear-gradient(180deg, #3b4868 0%, #2f3a56 100%);
    line-height: 1.66;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin: 0 auto;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 19px;
    line-height: 1.3;
}

p {
    font-size: 16px;
    color: var(--muted);
}

.site-header {
    padding: 22px 0 18px;
}

.header-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.logo-cube {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 211, 108, 0.3), rgba(140, 231, 242, 0.18)), var(--bg-alt);
    border: 1px solid var(--edge);
    box-shadow: var(--shadow);
    padding: 12px;
    display: grid;
    gap: 6px;
}

.logo-cube span {
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(248, 251, 255, 0.96), rgba(140, 231, 242, 0.78));
}

.logo-cube span:nth-child(1) {
    width: 100%;
    height: 8px;
}

.logo-cube span:nth-child(2) {
    width: 72%;
    height: 8px;
}

.logo-cube span:nth-child(3) {
    width: 86%;
    height: 8px;
    background: linear-gradient(90deg, rgba(255, 159, 110, 0.96), rgba(255, 211, 108, 0.84));
}

.logo-copy strong {
    display: block;
    font-size: 19px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-copy small {
    display: block;
    margin-top: 4px;
    color: var(--muted-soft);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-btn {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.cta-btn.phone {
    background: linear-gradient(135deg, rgba(255, 159, 110, 0.96), rgba(255, 211, 108, 0.92));
    color: #28324a;
    box-shadow: 0 14px 32px rgba(255, 159, 110, 0.28);
}

.cta-btn.online {
    background: rgba(248, 251, 255, 0.08);
    border-color: var(--edge);
}

main {
    display: block;
}

.hero-band {
    padding: 24px 0;
}

.hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(47, 58, 86, 0.9), rgba(58, 71, 101, 0.88));
    border: 1px solid var(--edge);
    box-shadow: var(--shadow);
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 24px 24px auto auto;
    width: 150px;
    height: 150px;
    border-radius: 30px;
    border: 1px solid rgba(140, 231, 242, 0.34);
    transform: rotate(12deg);
}

.hero-frame::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 22px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 159, 110, 0.95), rgba(140, 231, 242, 0.85));
    opacity: 0.9;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px;
}

.intro-stack,
.signal-column,
.module-card,
.sheet-main,
.sheet-side,
.contact-card,
.scope-card,
.footer-shell {
    min-width: 0;
}

.eyeline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--muted-soft);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyeline::before {
    content: "";
    width: 52px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-soft), rgba(255, 211, 108, 0));
}

.intro-stack {
    display: grid;
    gap: 18px;
}

.signal-column {
    display: grid;
    gap: 16px;
}

.signal-box {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(73, 91, 127, 0.84), rgba(55, 68, 97, 0.84));
    border: 1px solid var(--edge);
}

.band {
    padding: 22px 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.module-card {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(70, 83, 116, 0.86), rgba(48, 60, 88, 0.92));
    border: 1px solid var(--edge);
    box-shadow: inset 0 1px 0 rgba(248, 251, 255, 0.05);
}

.module-card h3,
.signal-box h3,
.scope-card h3,
.contact-card h3 {
    margin-bottom: 10px;
}

.sheet {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 20px;
}

.sheet-main,
.sheet-side,
.footer-shell {
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(46, 57, 82, 0.96), rgba(63, 77, 109, 0.94));
    border: 1px solid var(--edge);
    box-shadow: var(--shadow);
}

.sheet-main p + p,
.sheet-side p + p,
.module-card p + p,
.contact-card p + p,
.scope-card p + p,
.footer-note p + p {
    margin-top: 12px;
}

.note-list {
    display: grid;
    gap: 16px;
}

.note-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(248, 251, 255, 0.1);
}

.note-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.note-item strong {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(140, 231, 242, 0.14);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dual-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.contact-card,
.scope-card {
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(72, 86, 121, 0.88), rgba(49, 61, 89, 0.94));
    border: 1px solid var(--edge);
}

.placeholder-zone {
    padding: 12px 0 28px;
}

.placeholder-zone .wrap {
    padding: 0 2px;
}

.placeholder-zone p {
    font-size: 14px;
    color: var(--muted-soft);
}

.site-footer {
    padding: 0 0 42px;
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-links a {
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(248, 251, 255, 0.08);
    border: 1px solid var(--edge);
}

@media (max-width: 1040px) {
    .hero-layout,
    .modules-grid,
    .sheet,
    .dual-flow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hero-frame,
    .sheet-main,
    .sheet-side,
    .contact-card,
    .scope-card,
    .footer-shell,
    .module-card {
        padding: 22px;
    }

    .hero-frame::before {
        width: 96px;
        height: 96px;
        top: 22px;
        right: 22px;
    }

    .note-item {
        grid-template-columns: 1fr;
    }

    .header-actions {
        width: 100%;
    }

    .cta-btn {
        flex: 1 1 220px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }
}
