/* Ascend · IELTS AI Coach */

@font-face { font-family: "Gene"; src: url("../fonts/gene-regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gene"; src: url("../fonts/gene-medium.ttf") format("truetype"); font-weight: 500 700; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --grey: #f4f4f2;
  --grey-2: #e9e9e6;
  --line: #deded9;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #666661;
  --red: #c8102e;
  --red-dark: #9e0b23;
  --red-soft: #fbe9ec;
  --ok: #1e7a4c;
  --ok-soft: #e5f3eb;
  --font: "Gene", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(17,17,17,.06), 0 8px 24px rgba(17,17,17,.06);

  /* The IELTS plugin reads these so the student area matches the site. */
  --ascend-ink: var(--ink);
  --ascend-accent: var(--red);
  --ascend-font: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 1000; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--red); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: var(--radius); padding: .78em 1.25em; font: 500 1rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.link-quiet { text-decoration: none; font-weight: 500; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.pill { display: inline-block; font-size: .78rem; font-weight: 500; padding: .3em .7em; border-radius: 99px; background: var(--grey-2); color: var(--ink-2); }
.pill--red { background: var(--red-soft); color: var(--red-dark); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo .mark { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.03em; }
.logo__tag { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .3em; }
.logo--dark, .logo--dark:hover { color: #fff; }
.logo--dark .logo__tag { color: #a3a39d; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid var(--line); }
.admin-bar .site-head { top: 32px; }
.site-head__in { display: flex; align-items: center; gap: 2rem; min-height: 74px; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 2rem; }
.site-nav__links { display: flex; gap: 1.75rem; list-style: none; margin: 0 auto 0 0; padding: 0; }
.site-nav__links a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4em 0; border-bottom: 2px solid transparent; }
.site-nav__links a[aria-current="page"] { border-color: var(--red); }
.site-nav__actions { display: flex; align-items: center; gap: 1.25rem; }
.site-nav__links a, .site-nav__actions a { white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle__bars::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Contour lines (signature) */
.contours { position: absolute; pointer-events: none; color: var(--grey-2); }
.hero__lines { right: -6%; top: 0; width: 70%; height: 100%; }
.page-hero__lines { right: 0; bottom: 0; width: 60%; height: 100%; }
.cta-band__lines { left: 0; top: 0; width: 100%; height: 100%; color: rgba(255,255,255,.12); }
.auth__lines { left: 0; bottom: 0; width: 70%; height: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero h1 { max-width: 13ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 2.25rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.hero__facts li { padding: 1rem 1.6rem 0 0; margin-right: 1.6rem; color: var(--muted); font-size: .95rem; border-right: 1px solid var(--line); }
.hero__facts li:last-child { border-right: 0; }
.hero__facts b { display: block; color: var(--ink); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }

/* Result slip with band ladder */
.slip { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.slip__head { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: .9rem 1.25rem; }
.slip__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.slip__tag { font-size: .72rem; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: .15em .6em; color: #d6d6d0; }
.slip__body { display: grid; grid-template-columns: 116px 1fr; gap: 1.25rem; padding: 1.5rem 1.25rem 1.25rem; }
.ladder { position: relative; list-style: none; margin: 0; padding: 0; height: 236px; border-left: 2px solid var(--ink); margin-left: 44px; }
.ladder li { position: absolute; left: -2px; transform: translateY(50%); }
.ladder li span { position: absolute; right: 12px; top: -.7em; font-size: .78rem; color: var(--muted); }
.ladder li::before { content: ""; position: absolute; left: 0; top: 0; width: 10px; height: 2px; background: var(--ink); }
.ladder__target::before { width: 64px !important; background: var(--red) !important; height: 2px; }
.ladder__target span { left: 14px; right: auto !important; top: -1.5em !important; color: var(--red) !important; font-weight: 500; white-space: nowrap; font-size: .72rem !important; letter-spacing: .04em; }
.ladder__climb { bottom: 0; transform: none !important; width: 10px; left: -6px !important; background: linear-gradient(to top, var(--red), #e8536a); border-radius: 2px; }
.ladder__climb::before { display: none; }
.slip__scores { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.slip__row { display: flex; justify-content: space-between; align-items: baseline; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.slip__row dt { color: var(--ink-2); }
.slip__row dd { margin: 0; font-size: 1.35rem; font-weight: 500; }
.slip__row--overall { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: .35rem; padding-top: .8rem; }
.slip__row--overall dt { font-weight: 500; color: var(--ink); }
.slip__row--overall dd { font-size: 2.4rem; color: var(--red); line-height: 1; }
.slip__foot { font-size: .85rem; color: var(--muted); padding: .85rem 1.25rem; border-top: 1px solid var(--line); background: var(--grey); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--grey { background: var(--grey); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--form { grid-template-columns: 7fr 5fr; }

/* Papers: answer-sheet rows */
.papers__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.paper { display: grid; grid-template-columns: 64px 1.1fr .6fr 2.4fr 1.2fr; gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.paper__n { font-size: .85rem; color: var(--red); font-weight: 500; letter-spacing: .08em; }
.paper h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.paper__time { margin: 0; font-weight: 500; }
.paper__what { margin: 0; color: var(--ink-2); }
.paper__mark { margin: 0; text-align: right; }

/* Steps: an ascending path */
.how { background: var(--grey); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.75rem 1.5rem 1.5rem; }
.step:nth-child(1) { margin-top: 5rem; }
.step:nth-child(2) { margin-top: 2.5rem; }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); font-weight: 500; font-size: 1.1rem; margin-bottom: 1.25rem; background: #fff; }
.step:nth-child(3) .step__n { background: var(--red); border-color: var(--red); color: #fff; }
.step p { color: var(--ink-2); margin: 0; }

/* Feedback preview */
.feedback__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 3px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center/80% no-repeat; }
.crit-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 1.25rem; }
.crit-card__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); margin-bottom: .5rem; font-weight: 500; }
.crit-card__band b { color: var(--red); font-size: 1.6rem; font-weight: 500; margin-left: .3em; }
.crit { padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.crit__row { display: flex; justify-content: space-between; font-weight: 500; }
.crit__row b { font-weight: 500; font-size: 1.15rem; }
.crit p { margin: .4rem 0 0; color: var(--ink-2); font-size: .95rem; }
.crit--muted { color: var(--muted); }
.crit-card__foot { font-size: .85rem; color: var(--ok); padding-top: .9rem; display: flex; align-items: center; gap: .5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* AI + teacher */
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; }
.duo__col { padding: clamp(1.75rem, 4vw, 3rem); }
.duo__col p { color: var(--ink-2); margin: 0; }
.duo__col--dark { background: var(--ink); color: #fff; }
.duo__col--dark p { color: #d2d2cc; }
.duo__col h3 { font-size: 1.5rem; }

/* FAQ */
.faq-teaser { border-top: 1px solid var(--line); }
.faq-teaser__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--red); }
.faq details p { color: var(--ink-2); padding-bottom: 1.15rem; margin: 0; max-width: 65ch; }

/* CTA band — brand red so it separates from the black footer */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.cta-band__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { max-width: 20ch; margin: 0; }
.cta-band .btn--red { background: #fff; color: var(--ink); }
.cta-band .btn--red:hover { background: var(--ink); color: #fff; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 20ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.toc a { text-decoration: none; font-size: .92rem; font-weight: 500; padding: .5em .9em; border: 1px solid var(--line); border-radius: 99px; background: #fff; }
.toc a:hover { border-color: var(--red); color: var(--red); }

.prose-wrap { padding-top: 3rem; padding-bottom: 4rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }

/* About */
.principles { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.principles li { counter-increment: p; position: relative; padding: 0 0 1.75rem 3.5rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: .1rem; color: var(--red); font-weight: 500; font-size: .9rem; letter-spacing: .06em; }
.principles p { color: var(--ink-2); margin: 0; }
.feature-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.feature-list li { display: grid; gap: .25rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list b { font-weight: 500; }
.feature-list span { color: var(--ink-2); }

/* Guide */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
table.data thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); font-weight: 500; }
table.data tbody th { font-weight: 500; font-size: 1.15rem; white-space: nowrap; }
table.data td:nth-child(2), table.data td:nth-child(3) { white-space: nowrap; font-weight: 500; }
.band-scale { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); background: #fff; }
.band-scale li { display: grid; grid-template-columns: 64px 220px 1fr; gap: 1rem; align-items: baseline; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.band-scale__n { font-size: 1.5rem; font-weight: 500; }
.band-scale li.is-high .band-scale__n { color: var(--red); }
.band-scale li span:last-child { color: var(--ink-2); }
.calc { border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.calc__row { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.calc__row b { font-weight: 500; font-size: 1.2rem; }
.calc__row--sum { color: var(--muted); }
.calc__row--total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: .3rem; padding-top: .9rem; font-weight: 500; }
.calc__row--total b { color: var(--red); font-size: 2rem; line-height: 1; }
.calc__note { font-size: .88rem; color: var(--muted); margin: .75rem 0 0; }
.criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.criteria-col { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem 1.75rem; }
.criteria-col h3 { padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.criteria-col dt { font-weight: 500; margin-top: 1rem; }
.criteria-col dd { margin: .2rem 0 0; color: var(--ink-2); }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tips > div { border-top: 3px solid var(--red); padding-top: 1rem; }
.tips p { color: var(--ink-2); font-size: .97rem; }

/* Forms (contact) */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: #fff; border: 1.5px solid #cfcfca; border-radius: var(--radius); padding: .8em .9em; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200,16,46,.18); }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 500; }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.alert--bad { background: var(--red-soft); color: var(--red-dark); }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-aside__block { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.contact-aside__block h2 { font-size: 1.25rem; }
.contact-aside .ticks { margin-top: .5rem; }
.contact-aside .ticks li { color: var(--ink-2); }
.contact-aside .ticks b { color: var(--ink); font-weight: 500; }

/* Register (auth) */
.auth { position: relative; overflow: hidden; background: var(--grey); border-bottom: 1px solid var(--line); }
.auth__in { position: relative; display: grid; grid-template-columns: 1fr 460px; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.auth__copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.auth__alt { margin-top: 2rem; color: var(--muted); }
.auth__card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.25rem); }

/* Student app shell */
.is-app .site-main { background: var(--grey); }
.app-shell { padding: clamp(2rem, 4vw, 3rem) 0 4rem; min-height: 60vh; }

/* Footer */
.site-foot { background: var(--ink); color: #cfcfca; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.site-foot__brand p { max-width: 40ch; margin-top: 1.25rem; font-size: .95rem; }
.site-foot__h { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #8c8c86; margin-bottom: 1rem; }
.site-foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-foot__legal { border-top: 1px solid #2c2c2c; padding-top: 1.5rem; padding-bottom: 2rem; font-size: .8rem; color: #8c8c86; display: flex; justify-content: space-between; gap: 2rem; }
.site-foot__legal p { margin: 0; max-width: 90ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 901px) {
  /* Switch to the menu button before the bar gets crowded (staff accounts have extra links). */
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: 0; margin: 0; }
  .site-nav__links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__actions { padding-top: 1rem; justify-content: space-between; }
}

@media (max-width: 1080px) {
  .paper { grid-template-columns: 48px 1fr auto; row-gap: .5rem; }
  .paper__what { grid-column: 2 / -1; }
  .paper__mark { grid-column: 2 / -1; text-align: left; }
  .paper__time { justify-self: end; }
  .tips { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: 0; margin: 0; }
  .site-nav__links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__actions { padding-top: 1rem; justify-content: space-between; }
  .hero__in, .feedback__in, .split, .split--form, .faq-teaser__in, .auth__in { grid-template-columns: 1fr; }
  .slip { max-width: 460px; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(1), .step:nth-child(2) { margin-top: 0; }
  .duo__grid, .criteria-grid { grid-template-columns: 1fr; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .site-foot__in { grid-template-columns: 1fr 1fr; }
  .site-foot__brand { grid-column: 1 / -1; }
  .band-scale li { grid-template-columns: 44px 1fr; }
  .band-scale li span:last-child { grid-column: 2; }
}

@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__facts li { padding-right: 1rem; margin-right: 1rem; }
  .hero__actions .btn { width: 100%; }
  .slip__body { grid-template-columns: 84px 1fr; }
  .ladder { margin-left: 34px; height: 210px; }
  .form__row { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .site-foot__legal { flex-direction: column; }
  .paper { grid-template-columns: 1fr auto; }
  .paper__n { grid-column: 1 / -1; }
  .paper__what, .paper__mark { grid-column: 1 / -1; }
}
