/* GradeSnap, new landing prototype. The answer sheet is the visual system: black timing marks,
   corner squares, bubbles. Emerald only means "read and confirmed", amber "waiting for you". */
@font-face { font-family: Montserrat; font-weight: 400; font-display: swap; src: url(fonts/Montserrat-Regular.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 600; font-display: swap; src: url(fonts/Montserrat-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-display: swap; src: url(fonts/Montserrat-ExtraBold.woff2) format("woff2"); }

:root {
  --paper: #F4F1EA; --sheet: #FFFEFB; --ink: #0B1B4D; --navy: #1E3A8A; --text: #3F4864;
  --rule: rgba(11, 27, 77, .14); --emerald: #10B981; --emerald-ink: #047857;
  --amber: #F5A524; --amber-ink: #8A4B00; --red-ink: #A12622;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow: 0 1px 2px rgba(11, 27, 77, .08), 0 12px 32px -8px rgba(11, 27, 77, .22);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 Montserrat, system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, p, figure, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.kicker { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-ink); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; flex: none; width: 22px; height: 8px; background: var(--ink); }
.lead { font-size: 1.125rem; color: var(--text); max-width: 31em; }

/* buttons: press feedback everywhere, hover only where there is a real pointer */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 12px; font-weight: 800; font-size: .95rem; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--emerald); color: #03231A; }
.btn-line { border: 1.5px solid var(--rule); font-weight: 600; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: .85rem; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #2BCB95; }
  .btn-line:hover { border-color: var(--ink); }
}

header.top { position: sticky; top: 0; z-index: 20; background: rgba(244, 241, 234, .88); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
header nav.links { display: flex; gap: 28px; margin-left: auto; font-size: .875rem; font-weight: 600; }
header nav.links a, .signin { text-decoration: none; color: var(--text); white-space: nowrap; }
.signin { font-size: .875rem; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { header nav.links a:hover, .signin:hover { color: var(--ink); } }

/* hero */
.hero { position: relative; padding: 40px 0 72px; }
/* the sheet's timing marks, running down the left margin */
.rail { position: absolute; top: 40px; bottom: 72px; left: 18px; width: 20px; background: repeating-linear-gradient(to bottom, var(--ink) 0 8px, transparent 8px 56px); opacity: .85; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
h1 { font-weight: 800; font-size: clamp(2.9rem, 6.3vw, 5.6rem); line-height: .98; letter-spacing: -.045em; margin: 26px 0 28px; }
h1 span { color: var(--emerald-ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 20px; font-size: .8125rem; color: var(--text); max-width: 34em; }

.scan { justify-self: end; width: 100%; max-width: min(520px, calc((100svh - 190px) * .8)); min-width: 0; }
.stage { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #6B4034; box-shadow: var(--shadow); }
.stage > img { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.bracket { fill: none; stroke: var(--emerald); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; transition: transform 520ms var(--ease-out), opacity 240ms ease; }
.ring { fill: rgba(16, 185, 129, .24); stroke: var(--emerald); stroke-width: 3.5; transform-box: fill-box; transform-origin: center; transition: transform 260ms var(--ease-out), opacity 200ms ease; transition-delay: var(--d); }
.ring.doubt { fill: rgba(245, 165, 36, .28); stroke: var(--amber); stroke-width: 5; }
.reading { position: relative; }
.card { position: absolute; left: 4%; right: 4%; top: 82.5%; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 14px; background: var(--sheet); box-shadow: 0 10px 30px rgba(20, 8, 4, .35); transition: transform 460ms var(--ease-drawer), opacity 260ms ease; }
.card-main { flex: 1; min-width: 0; }
.card-title { font-weight: 800; font-size: .95rem; line-height: 1.3; }
.card-sub { font-size: .75rem; color: var(--text); }
a.ask { display: inline-block; margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: #FFEFD1; color: var(--amber-ink); font-size: .75rem; font-weight: 800; text-decoration: none; transition: transform 160ms var(--ease-out); }
a.ask:active { transform: scale(.97); }
.card-grade { text-align: right; line-height: 1; }
.card-grade span { display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--emerald-ink); font-variant-numeric: tabular-nums; }
.card-grade small { font-size: .7rem; color: var(--text); }
figcaption { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; margin-top: 24px; font-size: .72rem; line-height: 1.5; color: var(--text); }
figcaption button, .reset { flex: none; border: 0; background: none; padding: 0; font-size: .75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* the reading: finder locks, answers light up, the grade card arrives. Seen once per visit.
   .armed is the state before the reading; without JavaScript the finished state shows. */
.armed .bracket { opacity: 0; transform: translate(var(--dx), var(--dy)); transition: none; }
.armed .ring { opacity: 0; transform: scale(1.6); transition: none; }
.armed .card { opacity: 0; transform: translateY(24px); transition: none; }
.reading:not(.armed) .card { transition-delay: 1450ms; }

/* decide */
.decide { background: var(--ink); color: #fff; padding: 112px 0 96px; scroll-margin-top: 68px; }
.decide .kicker { color: #6EE7B7; }
.decide .kicker::before { background: #fff; }
.intro { display: grid; gap: 20px; max-width: 760px; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.decide .lead { color: #C6D0F2; }
.bench { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; margin-top: 52px; }
.panel, .tally { border-radius: 20px; min-width: 0; }
.panel { background: var(--sheet); color: var(--ink); padding: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: none; font-size: .8125rem; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.tabs button:active { transform: scale(.97); }
.tabs button i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); transition: background-color 200ms ease; }
.tabs button.done i { background: var(--emerald); }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.strip { margin: 22px 0 20px; border-radius: 12px; overflow: hidden; background: #B9BBB8; aspect-ratio: 662 / 133; }
.strip img { width: 100%; transition: opacity 180ms ease, filter 180ms ease; }
.strip img.swapping { opacity: .35; filter: blur(3px); }
.question { font-weight: 800; margin-bottom: 14px; }
.opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.opts button { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--rule); background: none; font-weight: 800; transition: transform 160ms var(--ease-out), background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
.opts button.wide { grid-column: span 5; font-weight: 600; font-size: .875rem; min-height: 46px; }
@media (min-width: 561px) { .opts button.wide { grid-column: span 2; } .opts button.wide + .wide { grid-column: span 3; } }
.opts button:active { transform: scale(.97); }
.opts button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .opts button:hover, .tabs button:hover { border-color: var(--ink); }
}
.tally { display: flex; flex-direction: column; padding: 28px; border: 1px solid rgba(255, 255, 255, .16); }
.score { display: grid; }
.value { font-weight: 800; font-size: clamp(4.5rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; transition: opacity 160ms ease, filter 160ms ease, transform 160ms var(--ease-out); }
.value.swapping { opacity: .2; filter: blur(4px); transform: translateY(6px); }
.state { font-size: .875rem; color: #C6D0F2; }
.sheet { list-style: none; padding: 0; margin: auto 0 0; padding-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sheet li { display: grid; place-items: center; aspect-ratio: 1; max-height: 52px; width: 100%; border-radius: 10px; font-size: .75rem; font-weight: 800; transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease; }
.sheet li.ok { background: #D1FAE5; color: var(--emerald-ink); }
.sheet li.no { background: #FBE0DE; color: var(--red-ink); }
.sheet li.ask { background: var(--amber); color: #2A1600; }
.sheet li.current { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px #fff; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 16px; font-size: .72rem; color: #C6D0F2; }
.legend i { width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.legend i:first-child { margin-left: 0; }
.legend .ok { background: #D1FAE5; } .legend .no { background: #FBE0DE; } .legend .ask { background: var(--amber); }
.reset { align-self: flex-start; margin-top: 14px; color: #fff; }
.zero { display: flex; align-items: center; gap: 40px; margin-top: 88px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .16); }
.zero .n { font-weight: 800; font-size: clamp(8rem, 18vw, 15rem); line-height: .78; color: var(--emerald); }
.zero p:last-child { max-width: 30em; color: #C6D0F2; }
.zero b { display: block; color: #fff; font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.2; margin-bottom: 10px; }


@media (max-width: 1280px) { .rail { display: none; } }
@media (max-width: 900px) {
  .hero { padding-top: 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  h1 { margin: 18px 0 18px; }
  .ctas { margin-top: 22px; }
  .fine { margin-top: 14px; }
  .scan { justify-self: center; max-width: 520px; }
  .decide { padding: 72px 0 64px; }
  .bench { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .zero { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 56px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  header.top .wrap { gap: 14px; height: 60px; }
  .logo { font-size: 1.05rem; }
  .logo svg { width: 26px; height: 26px; }
  .signin { display: none; }
  header .btn { margin-left: auto; }
  .kicker { font-size: .65rem; letter-spacing: .1em; }
  .lead { font-size: 1rem; }
  .ctas { gap: 4px; }
  .ctas .btn { flex: 1 1 100%; min-height: 50px; }
  .ctas .btn-line { border: 0; min-height: 42px; text-decoration: underline; text-underline-offset: 4px; }
  .panel, .tally { padding: 18px; }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .tabs button { justify-content: center; padding: 0; gap: 6px; }
  .strip { margin-inline: -6px; }
  .card { padding: 10px 14px; }
  .card-grade span { font-size: 2rem; }
}

/* ---------- rest of the page ---------- */
section[id] { scroll-margin-top: 68px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
h3 { margin: 0; font-weight: 800; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; }

.burger { display: none; flex: none; width: 44px; height: 44px; border: 1.5px solid var(--rule); border-radius: 12px; background: none; padding: 0; place-content: center; gap: 6px; transition: transform 160ms var(--ease-out); }
.burger:active { transform: scale(.95); }
.burger span { display: block; width: 18px; height: 3px; background: var(--ink); }
.menu { position: fixed; inset: 66px 12px auto auto; margin: 0; width: min(280px, 100% - 24px); padding: 8px; border: 1px solid var(--rule); border-radius: 16px; background: var(--sheet); box-shadow: var(--shadow); color: var(--ink); transform-origin: top right; opacity: 0; transform: scale(.95); transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), display 150ms allow-discrete, overlay 150ms allow-discrete; }
.menu:popover-open { display: grid; opacity: 1; transform: scale(1); transition-duration: 200ms; }
@starting-style { .menu:popover-open { opacity: 0; transform: scale(.95); } }
.menu a { padding: 13px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu a:active { background: var(--paper); }

.btn-dark { background: var(--ink); color: #fff; border: 0; }
@media (hover: hover) and (pointer: fine) { .btn-dark:hover { background: var(--navy); } }

/* how it works */
.how { background: var(--sheet); padding: 112px 0; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps li { min-width: 0; }
.steps h3 { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; margin-bottom: 10px; }
.steps h3 b { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--ink); color: #fff; font-size: 1rem; }
.steps li > p { color: var(--text); max-width: 28em; }
.visual { margin-top: 24px; }
.visual figcaption { margin-top: 14px; justify-content: center; text-align: center; }
.v-print .a4 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 210 / 297; padding: 8px; gap: 8px; background: #fff; box-shadow: var(--shadow); width: 100%; max-width: 420px; margin-inline: auto; }
.v-print .a4 img { width: 100%; height: 100%; min-height: 0; object-fit: contain; outline: 1px dashed rgba(11, 27, 77, .3); }
.v-photo img { width: 100%; max-width: 470px; margin-inline: auto; border-radius: 18px; box-shadow: var(--shadow); }
.v-app .screen { width: 100%; max-width: 400px; margin-inline: auto; padding: 14px; border-radius: 32px; background: #0B1220; box-shadow: var(--shadow); }
.v-app .screen img { width: 100%; border-radius: 20px; }
.pinned { display: none; }
@media (min-width: 901px) {
  /* one stage that stays put while the three steps scroll past it */
  .flow.live { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; }
  .flow.live .steps { display: block; margin: 0; }
  .flow.live .steps li { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .34; transition: opacity 300ms ease; }
  .flow.live .steps li.on { opacity: 1; }
  .flow.live .steps .visual { display: none; }
  .flow.live .pinned { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); position: sticky; top: 92px; align-self: start; height: calc(100vh - 116px); }
  .pinned .visual { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; opacity: 0; transform: scale(.97); pointer-events: none; transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); }
  .pinned .visual.on { opacity: 1; transform: none; pointer-events: auto; }
  .pinned .v-print .a4 { width: min(420px, 100%, calc((100vh - 200px) * .707)); }
  .pinned .v-photo img { width: min(470px, 100%, calc((100vh - 200px) * .8)); }
  .pinned .v-app .screen { width: min(400px, 100%, calc((100vh - 220px) * .72)); }
}

/* features */
.features { padding: 112px 0; }
.bento { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-top: 52px; }
.tile { min-width: 0; border-radius: 20px; padding: 32px; background: var(--sheet); overflow: hidden; }
.tile p { margin-top: 10px; color: var(--text); font-size: .95rem; max-width: 32em; }
.t-sizes { display: flex; flex-direction: column; }
.sizes { display: flex; align-items: flex-end; justify-content: center; gap: 4%; margin-top: auto; padding-top: 36px; }
.sizes figure { min-width: 0; text-align: center; }
.sizes figure:nth-child(1) { flex: 0 1 20%; }
.sizes figure:nth-child(2) { flex: 0 1 29%; }
.sizes figure:nth-child(3) { flex: 0 1 43%; }
.sizes img { width: 100%; background: #fff; box-shadow: var(--shadow); }
.sizes figcaption { display: block; margin-top: 12px; font-weight: 600; }
.t-items { background: #0A1122; color: #fff; padding-bottom: 0; display: flex; flex-direction: column; }
.t-items p { color: #C6D0F2; }
.shot { margin: auto -14px 0; padding-top: 20px; }
.shot img { width: 100%; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.t-custom { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; background: #E5E9F7; padding-block: 0; }
.t-custom > div:first-child { padding-block: 40px; }
.peek { height: 340px; align-self: end; overflow: hidden; }
.peek img { width: 92%; max-width: 520px; margin: 32px auto 0; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; margin: 56px 0 0; }
.more div { border-top: 2px solid var(--ink); padding: 18px 0 30px; }
dt { font-weight: 800; }
dd { margin: 6px 0 0; font-size: .9rem; color: var(--text); }

/* SUAP and the Brazilian school */
.school { background: var(--sheet); padding: 112px 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.checks li, .plan li { position: relative; padding-left: 28px; }
.checks li::before, .plan li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 6px; height: 11px; border: solid var(--emerald-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.split .ctas { margin-top: 12px; }
.diary { border: 1px solid var(--rule); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); background: #fff; }
.diary-head { display: flex; justify-content: space-between; padding: 0 20px 12px 12px; border-bottom: 2px solid var(--ink); font-weight: 800; font-size: .8rem; }
.diary ol { list-style: none; margin: 0 0 16px; padding: 0; }
.diary li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0 7px 12px; border-bottom: 1px solid var(--rule); font-size: .875rem; font-weight: 600; line-height: 1.35; }
.diary li small { display: block; font-size: .68rem; font-weight: 400; color: var(--text); }
.diary output { display: grid; place-items: center; width: 56px; height: 34px; flex: none; border-radius: 8px; border: 1.5px solid var(--rule); font-weight: 800; font-variant-numeric: tabular-nums; transition: background-color 220ms ease, border-color 220ms ease; transition-delay: var(--d); }
.diary output span { opacity: 0; transform: translateY(5px); transition: opacity 200ms ease, transform 220ms var(--ease-out); transition-delay: var(--d); }
.diary.filled output { background: #FFF1A8; border-color: #E3C530; }
.diary.filled output span { opacity: 1; transform: none; }
.diary .btn { width: 100%; }
.diary-note { margin-top: 12px; font-size: .72rem; color: var(--text); text-align: center; }
.brazil { margin-top: 112px; }
.brazil h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 18em; }
.brazil > p { margin-top: 14px; color: var(--text); max-width: 38em; }
.brazil dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; }
.brazil dl div { border-top: 8px solid var(--ink); padding-top: 16px; }

/* prices */
.pricing { padding: 112px 0; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 52px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: 20px; border: 1px solid var(--rule); background: var(--sheet); }
.plan.main { background: var(--ink); color: #fff; border: 0; box-shadow: 0 30px 60px -24px rgba(11, 27, 77, .55); }
.tag { align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--emerald); color: #03231A; font-size: .72rem; font-weight: 800; }
.price { margin: 14px 0 8px; font-size: clamp(2.4rem, 3.8vw, 3.25rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.note { font-size: .875rem; color: var(--text); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; font-size: .9rem; }
.plan .btn { margin-top: auto; }
.plan.main .note, .plan.main .small-note { color: #C6D0F2; }
.plan.main li::before { border-color: var(--emerald); }
.small-note { margin-top: 12px; font-size: .75rem; color: var(--text); text-align: center; }

/* questions */
.faq { background: var(--sheet); padding: 112px 0; interpolate-size: allow-keywords; }
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq .intro { position: sticky; top: 110px; }
.faq h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
details { border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 2px; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink) 0 0) center / 100% 2.5px no-repeat, linear-gradient(var(--ink) 0 0) center / 2.5px 100% no-repeat; transition: transform 200ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details::details-content { height: 0; overflow: clip; transition: height 220ms var(--ease-out), content-visibility 220ms allow-discrete; }
details[open]::details-content { height: auto; }
details p { padding: 0 2px 22px; color: var(--text); max-width: 40em; }

/* last call, framed by the sheet's corner squares */
.final { padding: 112px 0; text-align: center; }
.final .wrap { position: relative; max-width: 1000px; padding: 72px 56px; }
.final i { position: absolute; width: 28px; height: 28px; background: var(--ink); }
.final .c1 { top: 0; left: 0; }
.final .c2 { top: 0; right: 0; }
.final .c3 { bottom: 0; left: 0; }
.final .c4 { bottom: 0; right: 0; }
.final .lead { margin: 20px auto 0; }
.final .ctas { justify-content: center; }

footer { background: var(--ink); color: #C6D0F2; padding: 64px 0 40px; font-size: .85rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .logo { color: #fff; margin-bottom: 12px; }
footer h4 { margin: 0 0 12px; color: #fff; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { footer a:hover { text-decoration: underline; } }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .75rem; }
footer :focus-visible, .decide :focus-visible, .plan.main :focus-visible { outline-color: #fff; }
.panel :focus-visible { outline-color: var(--navy); }

@media (max-width: 1080px) {
  header nav.links { gap: 18px; font-size: .8125rem; }
  header .btn.small { margin-left: 0; }
  .brazil dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  header nav.links, .signin { display: none; }
  .burger { display: grid; }
  header .btn.small { margin-left: auto; }
  .how, .features, .school, .pricing, .faq { padding: 72px 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 40px; }
  .bento, .split, .plans, .faq .wrap, .t-custom { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 40px; }
  .faq .wrap { gap: 28px; }
  .faq .intro { position: static; }
  .plan.main { order: -1; }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .t-custom { gap: 0; }
  .t-custom > div:first-child { padding-block: 28px 0; }
  .peek { height: 240px; }
  .brazil { margin-top: 72px; }
  .brazil dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final { padding: 56px 0; }
  .final .wrap { padding: 52px 20px; }
  footer .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tile { padding: 22px; }
  .t-items { padding-bottom: 0; }
  .t-custom { padding-block: 0; }
  .more, .brazil dl { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px 20px; }
  .final i { width: 18px; height: 18px; }
}
@media (max-width: 370px) {
  header.top .wrap { gap: 6px; }
  header .logo { font-size: .88rem; gap: 6px; }
  header .logo svg { width: 23px; height: 23px; }
  header .btn.small { padding: 0 10px; font-size: .76rem; }
  .burger { width: 40px; }
}

/* fewer, gentler: everything appears together, with opacity only */
@media (prefers-reduced-motion: reduce) {
  .armed .bracket, .armed .ring, .armed .card { transform: none; }
  .bracket, .ring, .card, .reading:not(.armed) .card { transition: opacity 250ms ease; transition-delay: 0ms; }
  .value.swapping { transform: none; filter: none; }
  .strip img.swapping { filter: none; }
  .btn:active, .opts button:active, .tabs button:active, a.ask:active { transform: none; }
  .pinned .visual, .menu, .menu:popover-open { transform: none; }
  .diary output, .diary output span { transition-delay: 0ms; transform: none; }
  details::details-content, summary::after, .burger { transition: none; }
}
