/* SkoolYNX public site */

:root {
    --navy: #013583;
    --blue: #0867cc;
    --teal: #06aeaa;
    --green: #4eb342;
    --white: #fff;

    --navy-deep: #012a69;
    --ink: #0e2147;
    --body: #3b4a66;
    --muted: #64738d;
    --line: #dde5ef;
    --line-strong: #c9d5e4;
    --soft: #f3f7fc;
    --blue-tint: #e8f1fc;
    --teal-tint: #e3f6f5;
    --green-tint: #eaf6e8;
    --green-ink: #2f7d26;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(1, 53, 131, .06);
    --shadow: 0 10px 30px -12px rgba(1, 53, 131, .22);
    --shadow-lg: 0 30px 70px -28px rgba(1, 42, 105, .45);

    --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(8, 103, 204, .45); outline-offset: 2px; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    margin: 0 0 .5em;
    line-height: 1.12;
    letter-spacing: -.015em;
    font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
.h-sm { font-size: 1.25rem; }

.i { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--teal); }
.lead { font-size: 1.15rem; color: var(--body); max-width: 640px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn .i { width: 1em; height: 1em; transition: transform .15s; }
.btn:hover .i { transform: translateX(2px); }
.btn-lg { padding: 14px 24px; font-size: 1.04rem; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(8, 103, 204, .8); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-quiet { color: var(--navy); padding-left: 6px; padding-right: 6px; }
.btn-quiet:hover { color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-tint); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.link-arrow .i { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }

.chip {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--green-tint);
    color: var(--green-ink);
    font-family: var(--font-body);
    font-style: normal;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .02em;
    vertical-align: middle;
}

/* Top bar + header */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .88rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-note { margin: 0; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #b8f0ee; }
.topbar .i { width: 14px; height: 14px; color: var(--teal); }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 6px 20px -14px rgba(1, 42, 105, .5); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand img { width: 158px; height: auto; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu > a {
    position: relative;
    padding: 8px 12px;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .98rem;
    color: var(--ink);
    border-radius: 6px;
}
.menu > a:hover { color: var(--blue); }
.menu > a.is-active { color: var(--blue); }
.menu > a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--blue); border-radius: 2px; }
.menu-logins { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.login { position: relative; }
.login summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    border-radius: 8px;
}
.login summary::-webkit-details-marker { display: none; }
.login summary:hover { color: var(--blue); }
.login summary .i { width: 15px; height: 15px; transition: transform .15s; }
.login[open] summary .i { transform: rotate(180deg); }
.login-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 270px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.login-menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.login-menu a:hover { background: var(--soft); }
.login-menu b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.login-menu span { color: var(--muted); font-size: .86rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 22px; height: 22px; display: block; }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 40px; max-width: 760px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { margin-bottom: 0; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }
.section-head.split > div { max-width: 700px; }
.fine { margin: 20px 0 0; font-size: .92rem; color: var(--muted); max-width: 860px; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; background: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { display: block; color: var(--blue); }
.hero .lead { font-size: 1.2rem; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-proof { list-style: none; margin-top: 32px; display: grid; gap: 10px; }
.hero-proof li { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.hero-proof li > span { display: block; }
.hero-proof .i { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }
.hero-proof b { font-weight: 700; }

.hero-stage { position: relative; padding: 28px 0 40px 28px; }
.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0 -200px 0 0;
    background: var(--navy);
    border-radius: 22px 0 0 22px;
}
.hero-stage::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--green) 0 33%, var(--teal) 33% 66%, var(--blue) 66%);
    border-radius: 22px 0 0 0;
}

/* Product mockup */
.app {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--body);
    margin-right: -40px;
}
.app-photo img { width: 100%; }
.app-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.app-school { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.app-school i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--green); color: #fff; font-style: normal; font-size: 10px; }
.app-search { flex: 1; display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--soft); border-radius: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; }
.app-search .i { width: 13px; height: 13px; }
.app-user { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-tint); color: var(--navy); font-weight: 700; font-size: 11px; }
.app-body { display: grid; grid-template-columns: 138px 1fr; }
.app-side { list-style: none; padding: 10px 8px; background: #f7f9fc; border-right: 1px solid var(--line); }
.app-side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--body); white-space: nowrap; }
.app-side li .i { width: 14px; height: 14px; color: var(--muted); }
.app-side li.on { background: var(--blue); color: #fff; font-weight: 600; }
.app-side li.on .i { color: #fff; }
.app-main { padding: 14px 16px 16px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.app-head b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.app-head span { color: var(--muted); font-size: 12px; }
.app-btn { padding: 6px 10px; border-radius: 6px; background: var(--navy); color: #fff !important; font-weight: 600; font-size: 12px; white-space: nowrap; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.app-kpis div { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.app-kpis span { display: block; font-size: 11px; color: var(--muted); }
.app-kpis b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); margin: 1px 0; }
.app-kpis em { font-style: normal; font-size: 11px; color: var(--muted); }
.app-kpis em.up { color: var(--green-ink); }
.app-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.app-table th { text-align: left; font-weight: 600; color: var(--muted); padding: 6px 6px; border-bottom: 1px solid var(--line); }
.app-table td { padding: 7px 6px; border-bottom: 1px solid #eef2f7; color: var(--ink); white-space: nowrap; }
.app-table tr:last-child td { border-bottom: 0; }
.tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.tag-paid { background: var(--green-tint); color: var(--green-ink); }
.tag-part { background: #fff4e0; color: #9a5b00; }

.phone {
    position: absolute;
    z-index: 2;
    left: -14px;
    bottom: -52px;
    width: 196px;
    padding: 18px 10px 12px;
    background: #fff;
    border: 6px solid var(--ink);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    font-size: 11.5px;
}
.phone-notch { position: absolute; top: 5px; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 4px; background: var(--ink); }
.phone-title { margin: 2px 4px 8px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 12.5px; }
.phone-card { display: flex; gap: 8px; align-items: center; padding: 7px; border-radius: 9px; background: var(--soft); margin-bottom: 6px; }
.phone-card:last-child { margin-bottom: 0; }
.phone-card b { display: block; color: var(--ink); font-size: 11.5px; line-height: 1.25; }
.phone-card small { color: var(--muted); font-size: 10.5px; }
.phone-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; flex: none; }
.phone-ico .i { width: 14px; height: 14px; }
.phone-ico.paid { background: var(--green-tint); color: var(--green-ink); }
.phone-ico.att { background: var(--teal-tint); color: #04807d; }
.phone-ico.msg { background: var(--blue-tint); color: var(--blue); }

/* Desks band */
.desks { background: var(--soft); padding: 14px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.desks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.desk { display: flex; gap: 14px; padding: 26px 22px 0 0; }
.desk + .desk { padding-left: 22px; border-left: 1px solid var(--line); }
.desk h2 { font-size: 1.02rem; margin-bottom: 4px; }
.desk p { font-size: .93rem; color: var(--muted); margin: 0; }
.desk-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; flex: none; color: #fff; }
.desk-ico .i { width: 20px; height: 20px; }
.tone-0 { background: var(--navy); }
.tone-1 { background: var(--blue); }
.tone-2 { background: var(--teal); }
.tone-3 { background: var(--green); }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: var(--body);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--body); }
.feature-card h3 { margin: 16px 0 8px; }
.feature-card p { font-size: .96rem; margin: 0 0 18px; }
.feature-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue); }
.feature-card .more .i { width: 1em; height: 1em; transition: transform .15s; }
.feature-card:hover .more .i { transform: translateX(3px); }
.feature-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); flex: none; }
.feature-ico .i { width: 22px; height: 22px; }
.feature-ico-lg { width: 64px; height: 64px; border-radius: 16px; }
.feature-ico-lg .i { width: 30px; height: 30px; }
.feature-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.feature-card-top + h3 { margin-top: 16px; }
.feature-group { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 4px; text-align: right; }
.feature-meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--muted); }
.avail { font-weight: 600; color: var(--navy); }
.avail-all { color: var(--green-ink); }

.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.also span { font-weight: 600; color: var(--ink); margin-right: 4px; }
.also a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--body); background: #fff; }
.also a:hover { border-color: var(--blue); color: var(--blue); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .94rem;
    color: var(--ink);
    cursor: pointer;
}
.filters button span { color: var(--muted); margin-left: 4px; font-size: .85rem; }
.filters button:hover { border-color: var(--blue); }
.filters button.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters button.is-on span { color: rgba(255, 255, 255, .7); }
[data-group].is-hidden { display: none; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; position: relative; }
.steps li { position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li p { margin: 0; font-size: .97rem; }
.step-no {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 700;
}
.steps li + li::before {
    content: "";
    position: absolute;
    top: 47px;
    left: -24px;
    width: 24px;
    height: 2px;
    background: var(--teal);
}
.steps-note { margin: 24px 0 0; color: var(--muted); }

/* Price teaser */
.price-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.price-list { display: grid; gap: 12px; }
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--body);
    transition: border-color .15s, box-shadow .15s;
}
.price-row:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--body); }
.price-row.is-featured { border: 2px solid var(--blue); }
.price-row h3 { margin: 0 0 2px; font-size: 1.08rem; }
.price-row p { margin: 0; font-size: .92rem; color: var(--muted); }
.price-amt { text-align: right; flex: none; }
.price-amt b { display: block; font-family: var(--font-head); font-size: 1.75rem; color: var(--navy); line-height: 1; }
.price-amt span { font-size: .8rem; color: var(--muted); }
.price-note { display: flex; gap: 8px; align-items: center; margin: 6px 0 0; font-size: .93rem; color: var(--ink); }
.price-note .i { color: var(--green); stroke-width: 2.6; }
.price-list-row { grid-template-columns: repeat(2, 1fr); }

/* Growth teaser */
.section-growth { padding-top: 0; }
.growth {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    padding: 44px 48px;
    border-radius: var(--radius-lg);
    background: var(--teal-tint);
    border-left: 6px solid var(--teal);
}
.growth h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.growth p { margin: 0; }
.growth-list { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.growth-list li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.growth-list .i { color: var(--teal); stroke-width: 2.6; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line-strong); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
    list-style: none;
    position: relative;
    padding: 20px 40px 20px 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--ink);
    cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -7px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(45deg);
    transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -4px 0 20px; max-width: 720px; }

.talk { position: sticky; top: 100px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.talk h3 { font-size: 1.25rem; }
.talk p { font-size: .96rem; }
.talk-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.talk-row .i { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); }
.talk-row small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.talk-row:hover { color: var(--blue); }

/* Demo band + forms */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.demo-copy h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.next { list-style: none; counter-reset: next; display: grid; gap: 16px; margin-top: 32px; }
.next li { counter-increment: next; position: relative; padding-left: 46px; }
.next li::before {
    content: counter(next);
    position: absolute;
    left: 0;
    top: -2px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
}
.next b { color: var(--ink); }

.form-card { background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-head h2 { font-size: 1.5rem; margin-bottom: 4px; }
.form-head p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 22px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 1rem;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 103, 204, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c62828; }
.field small { color: #c62828; font-size: .85rem; }
.form-alert { padding: 10px 14px; border-radius: 8px; background: #fdecec; color: #b42318; font-size: .95rem; }
.form-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.form-fine .i { width: 15px; height: 15px; }

/* Page hero */
.page-hero { background: var(--navy); color: rgba(255, 255, 255, .84); padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 340px;
    height: 340px;
    border: 46px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .eyebrow { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .84); max-width: 720px; margin-bottom: 0; }
.page-hero-light { background: var(--soft); color: var(--body); border-bottom: 1px solid var(--line); }
.page-hero-light::after { border-color: rgba(1, 53, 131, .04); }
.page-hero-light h1 { color: var(--ink); }
.page-hero-light .eyebrow { color: var(--navy); }
.page-hero-light .lead { color: var(--body); }
.page-hero-light .crumbs, .page-hero-light .crumbs a { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.hero-facts .i { color: var(--green); stroke-width: 2.8; }

/* Feature detail */
.feature-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 48px 0 64px; }
.feature-hero .crumbs, .feature-hero .crumbs a { color: var(--muted); }
.feature-hero .crumbs a:hover { color: var(--blue); }
.feature-hero-in { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.feature-hero .lead { margin-bottom: 28px; max-width: 720px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.detail-main h2 { font-size: 1.6rem; margin-bottom: 20px; }
.detail-main h2:not(:first-child) { margin-top: 52px; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checklist .i { margin-top: 3px; color: var(--green); stroke-width: 2.6; }
.checklist li.is-out { color: var(--muted); }
.checklist li.is-out .i { color: var(--muted); }
.checklist-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist-lg li { font-size: 1.05rem; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { padding: 22px; border: 1px solid var(--line); border-radius: 12px; border-top: 4px solid var(--teal); }
.role:nth-child(2) { border-top-color: var(--blue); }
.role:nth-child(3) { border-top-color: var(--green); }
.role h3 { font-size: 1.02rem; margin-bottom: 6px; }
.role p { margin: 0; font-size: .95rem; }

.detail-side { position: sticky; top: 100px; }
.side-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.plan-avail { list-style: none; margin-bottom: 16px; }
.plan-avail li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plan-avail b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.plan-avail small { color: var(--muted); font-size: .82rem; }
.state { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.state .i { width: 15px; height: 15px; stroke-width: 2.6; }
.state-yes, .state-setup { color: var(--green-ink); }
.state-addon { color: var(--blue); }
.state-config { color: #04807d; }
.side-note { font-size: .9rem; color: var(--muted); padding: 12px 14px; background: var(--soft); border-radius: 8px; }
.side-link { display: block; text-align: center; margin-top: 12px; font-size: .93rem; font-weight: 600; }

/* Services */
.service-block { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.service-head { position: sticky; top: 100px; }
.service-head h2 { font-size: 1.7rem; }
.service-head p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service-no { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: .95rem; margin-bottom: 10px; }
.service-card p { font-size: .96rem; margin-bottom: 20px; }
.service-card .btn { margin-top: auto; }

/* Pricing */
.billing-switch { display: inline-flex; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; flex: none; }
.billing-switch button {
    padding: 8px 16px;
    border: 0;
    border-radius: 7px;
    background: none;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}
.billing-switch button i { font-style: normal; font-size: .76rem; color: var(--green-ink); background: var(--green-tint); padding: 2px 6px; border-radius: 999px; margin-left: 4px; }
.billing-switch button.is-on { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.plan-card.is-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.plan-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
.plan-tag { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.plan-price b { font-family: var(--font-head); font-size: 2.8rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-size: .92rem; }
.plan-yearly { font-size: .86rem; color: var(--green-ink); font-weight: 600; margin: 0; }
.plan-summary { margin: 16px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.plan-card .checklist { margin-bottom: 26px; font-size: .96rem; }
.plan-actions { margin-top: auto; }

.calc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-in { padding: 34px; background: #fff; display: grid; gap: 26px; }
.calc-row > label, .calc-label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.calc-label small { font-family: var(--font-body); font-weight: 400; color: var(--muted); margin-left: 6px; }
.calc-students { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; }
.calc-students input[type=range] { width: 100%; accent-color: var(--blue); }
.calc input[type=number], .calc select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: #fff; font-size: 1rem; color: var(--ink); }
.calc input[type=number] { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; text-align: center; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.seg button { padding: 12px 10px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; font-family: var(--font-head); font-weight: 600; color: var(--ink); cursor: pointer; }
.seg button small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.seg button.is-on { border-color: var(--blue); background: var(--blue-tint); color: var(--navy); }
.addons { display: grid; gap: 8px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.addon input { width: 17px; height: 17px; accent-color: var(--blue); }
.addon b { font-size: .9rem; color: var(--blue); }
.addon.is-included { background: var(--green-tint); border-color: transparent; cursor: default; }
.addon.is-included b { color: var(--green-ink); }
.calc-out { padding: 34px; background: var(--navy); color: rgba(255, 255, 255, .8); display: flex; flex-direction: column; }
.calc-rate { color: #fff; margin-bottom: 18px; }
.calc-rate span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.calc-out dl { margin: 0 0 24px; }
.calc-out dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.calc-out dt { font-size: .95rem; }
.calc-out dd { margin: 0; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.15rem; white-space: nowrap; }
.calc-out dd s { color: rgba(255, 255, 255, .5); font-weight: 400; font-size: .9rem; margin-right: 6px; }
.calc-out .calc-total { border-bottom: 0; padding-top: 18px; }
.calc-out .calc-total dt { color: #fff; font-weight: 600; }
.calc-out .calc-total dd { font-size: 2rem; color: #fff; }
.calc-out .btn { margin-top: auto; }
.calc-fine { margin: 14px 0 0; font-size: .84rem; color: rgba(255, 255, 255, .6); }

.setup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.setup-card { position: relative; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.setup-card.is-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.setup-price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--navy); margin-bottom: 8px; line-height: 1; }
.setup-price span { font-size: .85rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.setup-card h3 { font-size: 1.05rem; }
.setup-card > p { font-size: .93rem; color: var(--muted); }
.setup-card .checklist { font-size: .92rem; gap: 8px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--soft); font-family: var(--font-head); font-weight: 600; color: var(--ink); vertical-align: bottom; }
.compare thead th small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .84rem; }
.compare tbody th { font-weight: 600; }
.compare tbody th a { color: var(--ink); }
.compare tbody th a:hover { color: var(--blue); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover { background: #fafcff; }

/* Plan page */
.plan-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: end; position: relative; z-index: 1; }
.plan-hero .lead { margin-bottom: 28px; }
.plan-hero-price { padding: 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.plan-hero-price p { margin: 0; }
.plan-hero-price b { display: block; font-family: var(--font-head); font-size: 3.4rem; line-height: 1; color: #fff; }
.plan-hero-price span { color: rgba(255, 255, 255, .8); }
.plan-hero-year { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); color: #c6f0c1; font-weight: 600; }
.plan-hero-range { margin-top: 6px !important; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.setup-lines { list-style: none; margin-bottom: 16px; }
.setup-lines li { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.setup-lines b { font-family: var(--font-head); width: 90px; color: var(--navy); }
.example { margin: 0 0 18px; }
.example div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.example dt { color: var(--body); }
.example dd { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.example small { color: var(--muted); font-weight: 400; margin-left: 3px; }

/* About */
.about-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: var(--radius-lg); }
.about-photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-left: 6px solid var(--teal); border-bottom: 6px solid var(--teal); border-radius: 0 0 0 18px; z-index: -1; }
.prose h2 { font-size: 1.9rem; }
.prose h2 + p { margin-top: 0; }
.prose ul { padding-left: 20px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.legal { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.prose-legal h2 { font-size: 1.35rem; margin-top: 36px; scroll-margin-top: 110px; }
.prose-legal h2:first-child { margin-top: 0; }
.legal-intro { font-size: 1.08rem; color: var(--ink); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-side { position: sticky; top: 100px; display: grid; gap: 20px; }
.legal-side .talk { position: static; }
.legal-toc { display: grid; padding-left: 18px; border-left: 2px solid var(--line); }
.legal-toc p { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { padding: 5px 0; color: var(--body); font-weight: 600; font-size: .95rem; }
.legal-toc a:hover { color: var(--blue); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.principles article { padding: 28px 28px 0 0; }
.principles article + article { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.principle-no { display: block; font-family: var(--font-head); font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.principles p { margin: 0; }
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teams article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.teams h3 { margin-top: 16px; }
.teams p { margin: 0; font-size: .96rem; }
.founder { margin: 0; padding: 8px 0 8px 32px; border-left: 4px solid var(--green); }
.founder p { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink); }
.founder footer { color: var(--muted); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
a.contact-card:hover { border-color: var(--blue); color: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-size: .84rem; }
.contact-card b { font-weight: 600; font-size: .96rem; word-break: break-word; }
.map { width: 100%; height: 280px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; }

/* Demo page */
.demo-page { background: linear-gradient(90deg, var(--soft) 0 50%, #fff 50%); }
.demo-page .crumbs, .demo-page .crumbs a { color: var(--muted); }
.demo-page h2.h-sm { margin-top: 34px; }
.demo-call { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.demo-call p { margin: 0; font-weight: 600; color: var(--ink); width: 100%; }
.demo-call a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* Thanks */
.thanks-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.thanks-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 24px; }
.thanks-mark .i { width: 32px; height: 32px; }
.thanks h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-wrap: balance; }
.thanks .hero-actions { margin: 28px 0 20px; }
.thanks-next { padding: 36px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.thanks-next h2 { font-size: 1.35rem; }
.thanks-next .next { margin-top: 20px; }

/* CTA band */
.cta-band { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(180deg, var(--green), var(--teal), var(--blue)); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 760px; text-wrap: balance; }
.cta-band p { margin: 0; max-width: 600px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: none; }
.cta-call { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); }
.cta-call b { color: #fff; }
.cta-call:hover { color: #fff; }

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo img { width: 170px; margin-bottom: 16px; }
.footer-brand p { max-width: 360px; color: var(--muted); }
.footer-contact { list-style: none; display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .i { color: var(--teal); }
.footer-contact a, .footer-contact span { color: var(--ink); }
.footer h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid > div > a { display: block; padding: 4px 0; color: var(--ink); }
.footer-grid > div > a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }

/* Support modal */
body.support-open { overflow: hidden; }
.support-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.support-modal.is-open { display: flex; }
.support-backdrop { position: absolute; inset: 0; background: rgba(1, 26, 66, .6); }
.support-dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.support-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--soft); font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.support-close:hover { background: var(--line); }
.support-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 40px; }
.support-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--blue-tint); color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.support-dialog h3 { margin: 0 0 2px; font-size: 1.25rem; }
.support-sub { margin: 0; color: var(--muted); font-size: .93rem; }
.support-form { display: grid; gap: 14px; }
.support-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-form label { display: grid; gap: 6px; }
.support-form label span { font-weight: 600; font-size: .9rem; color: var(--ink); }
.support-form input, .support-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 8px; font-size: 1rem; }
.support-form input:focus, .support-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 103, 204, .15); }
.support-form textarea { resize: vertical; min-height: 96px; }
.support-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.support-contact-item span { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.support-contact-item a { font-weight: 600; }
.alert-ok, .alert-err { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: .95rem; }
.alert-ok { background: var(--green-tint); color: var(--green-ink); }
.alert-err { background: #fdecec; color: #b42318; }

/* Responsive */
@media (max-width: 1100px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .setup-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-in { gap: 16px; }
    .menu > a { padding: 8px 9px; }
}

@media (max-width: 960px) {
    .section { padding: 72px 0; }
    .section-tight { padding: 52px 0; }
    .hero { background: #fff; padding-top: 48px; }
    .hero-grid, .price-teaser, .faq-layout, .demo-grid, .detail-grid, .about-split, .contact-grid, .plan-hero, .growth, .service-block, .calc, .legal, .thanks-grid { grid-template-columns: minmax(0, 1fr); }
    .legal, .thanks-grid { gap: 40px; }
    .legal-side { position: static; }
    .legal-toc { display: none; }
    .thanks-next { padding: 26px; }
    .hero-stage { margin-right: -24px; }
    .app { margin-right: 0; }
    .hero-grid { gap: 40px; }
    .price-teaser, .faq-layout, .demo-grid, .detail-grid, .about-split, .contact-grid { gap: 40px; }
    .desks-grid { grid-template-columns: 1fr 1fr; }
    .desk, .desk + .desk { padding: 22px 16px 0 0; border-left: 0; }
    .feature-grid-3, .plan-grid, .roles, .teams { grid-template-columns: 1fr 1fr; }
    .principles { grid-template-columns: 1fr; }
    .principles article, .principles article + article { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr; }
    .steps li + li::before { display: none; }
    .detail-side, .talk, .service-head { position: static; }
    .cta-in { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .demo-page { background: var(--soft); }
    .growth { padding: 32px; gap: 24px; }

    .menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        z-index: 60;
        flex-direction: column;
        gap: 0;
        padding: 84px 22px 24px;
        background: #fff;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform .25s ease;
        overflow-y: auto;
    }
    .menu > a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; border-radius: 0; }
    .menu > a.is-active::after { display: none; }
    .menu-logins { display: grid; gap: 8px; margin-top: 22px; }
    .menu-logins span { font-size: .85rem; color: var(--muted); }
    .menu-logins a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; color: var(--navy); }
    body.nav-open .menu { transform: none; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 50; background: rgba(1, 26, 66, .45); }
    .nav-toggle { display: inline-flex; position: relative; z-index: 70; }
    .nav-actions { margin-left: auto; }
    .login { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }
    .topbar-note, .topbar .hide-sm { display: none; }
    .topbar-in { justify-content: center; }
    .brand img { width: 132px; }
    .nav-in { min-height: 64px; }
    .nav-actions .btn-primary { padding: 9px 12px; font-size: .9rem; }
    .section-head.split { flex-direction: column; align-items: flex-start; }
    .feature-grid, .feature-grid-3, .plan-grid, .roles, .teams, .setup-grid, .service-grid, .contact-cards, .price-list-row, .checklist-2, .desks-grid { grid-template-columns: minmax(0, 1fr); }
    .form-grid, .support-row, .support-contacts { grid-template-columns: minmax(0, 1fr); }
    .form-card { padding: 22px; }
    .hero-stage { padding: 18px 0 150px 14px; }
    .app-body { grid-template-columns: 1fr; }
    .app-side { display: none; }
    .app-search { display: none; }
    .app-table th:nth-child(1), .app-table td:nth-child(1) { display: none; }
    .phone { width: 180px; left: 0; bottom: -10px; }
    .feature-hero-in { grid-template-columns: 1fr; gap: 16px; }
    .calc-in, .calc-out { padding: 24px; }
    .calc-students { grid-template-columns: 1fr 96px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .growth { padding: 26px 22px; border-left-width: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
