/* KidsGotWings site: a night sky over warm paper. One stylesheet, no framework. Tokens first; components after. */
:root {
  --night: #0a0e2a; --night-2: #171a47; --dusk: #3a2c6e;
  --paper: #fffaf1; --paper-2: #fbf0dc; --card: #ffffff;
  --ink: #1d1b3a; --soft: #55516f; --line: #eadfc8;
  --accent: #5a48c9; --accent-soft: #ece8ff; --accent-ink: #4636ad;
  --gold: #ffc857; --gold-hi: #ffd67e; --gold-ink: #7a4f00; --gold-soft: #fff1cf;
  --coral: #c8493c; --coral-soft: #fde6e2; --teal: #177a6c; --teal-soft: #dcf3ee;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 27, 58, .06), 0 12px 32px -12px rgba(29, 27, 58, .18);
  --shadow-lg: 0 2px 4px rgba(10, 14, 42, .08), 0 30px 60px -20px rgba(10, 14, 42, .45);
  --wrap: 1160px;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; font-weight: 500; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.14; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
figure, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible, .site-header :focus-visible { outline-color: var(--gold); }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--paper-2); }
.center { text-align: center; }
.small { font-size: .94rem; color: var(--soft); }
.lead { font-size: 1.17rem; color: var(--soft); max-width: 60ch; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 800 .78rem/1.2 var(--text); letter-spacing: .13em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px; }
.head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .lead { margin-inline: auto; }
.head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.head--row h2 { margin: 0; }
.skip { position: absolute; left: -999px; top: 12px; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 99; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 12px; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* a night band: the same components, re-inked for a dark sky */
.night { position: relative; color: #f6f3ff; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 62%, var(--dusk) 130%); --soft: #c9c6ea; --line: rgba(255, 255, 255, .16); isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image: radial-gradient(1.5px 1.5px at 8% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 19% 62%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 31% 28%, #ffe7a8 50%, transparent 51%), radial-gradient(1px 1px at 44% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 57% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 66% 16%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 70%, #ffe7a8 50%, transparent 51%), radial-gradient(1px 1px at 86% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 94% 56%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 3% 80%, #fff 50%, transparent 51%); }
.night h1, .night h2, .night h3 { color: #fff; }
.night .eyebrow { color: var(--gold); }
.night a:not(.btn) { color: var(--gold-hi); }
.night .lead, .night .small { color: var(--soft); }
.hill { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 5vw, 72px); color: var(--paper); display: block; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 1rem/1.1 var(--text); padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px -8px rgba(255, 200, 87, .7); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(90, 72, 201, .8); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--lg { padding: 17px 28px; font-size: 1.06rem; }
.btn--sm { padding: 10px 16px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.more svg { transition: transform .15s; flex: none; }
.more:hover { text-decoration: underline; }
.more:hover svg { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 42, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.32rem/1 var(--display); letter-spacing: -.01em; color: #fff !important; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--gold); font-weight: 600; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: #d6d3f2; font-weight: 700; font-size: .96rem; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.nav__end { display: flex; align-items: center; gap: 18px; margin-left: 6px; }
.nav .btn { color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 8px; margin-left: auto; background: none; border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: .92rem; cursor: pointer; }
.nav-toggle__bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; border-radius: 2px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(72px, 9vw, 130px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { font-size: 1.24rem; max-width: 34rem; margin-top: 22px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; font-size: .95rem; font-weight: 700; color: var(--soft); }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks svg { color: var(--gold); }
.hero__art { position: relative; }
.hero__art .moon { position: absolute; width: 128px; right: -18px; top: -72px; filter: drop-shadow(0 0 34px rgba(255, 200, 87, .45)); }
.hero__shot { position: relative; }
.float { position: absolute; margin: 0; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: .88rem; line-height: 1.25; }
.float--voice { left: -26px; bottom: -22px; padding: 10px 16px 10px 10px; border-radius: 18px; color: #55516f; }
.float--voice b { color: var(--ink); }
.float--voice .icon { width: 38px; height: 38px; border-radius: 50%; background: #ece8ff; color: #4636ad; }
.float--lang { right: -14px; bottom: 54px; padding: 9px 16px; border-radius: 999px; background: var(--gold); font-weight: 800; }
.page-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(72px, 9vw, 118px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; }
.page-hero .lead { font-size: 1.2rem; }
.page-hero--tall { padding-block: clamp(90px, 14vw, 150px); }
.page-hero .center h1, .page-hero .center .lead, .page-hero.night .center { margin-inline: auto; }
.page-hero .center .eyebrow, .page-hero .center .actions { justify-content: center; }

/* framed screenshot */
.shot-fig figcaption { font-size: .9rem; color: var(--soft); margin-top: 12px; text-align: center; }
.shot { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(29, 27, 58, .14); }
.shot img, .shot svg { display: block; width: 100%; height: auto; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1ecf9; border-bottom: 1px solid #e2dcf0; }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfc8e6; flex: none; }
.shot__bar em { margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: #fff; font: 600 .72rem/1.4 var(--text); color: #6b6690; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.shot__tag { margin-left: auto; font: 800 .75rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 8px; border-radius: 6px; }
.shot--phone { max-width: 290px; margin-inline: auto; border-radius: 34px; border: 9px solid #1d1b3a; }

/* icons, cards, grids */
.icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.icon--gold { background: var(--gold-soft); color: var(--gold-ink); }
.icon--coral { background: var(--coral-soft); color: var(--coral); }
.icon--teal { background: var(--teal-soft); color: var(--teal); }
.grid { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 6px; }
.card p { font-size: .96rem; color: var(--soft); margin: 0; }
.card--link { display: block; height: 100%; color: inherit; text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card--link:hover { transform: translateY(-3px); border-color: #cfc5f5; box-shadow: 0 2px 4px rgba(29, 27, 58, .06), 0 22px 40px -16px rgba(90, 72, 201, .35); }
.card--row { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.card--row h3 { margin: 0 0 4px; font-size: 1.12rem; }
.night .card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.night .card p { color: var(--soft); }
.night .icon { background: rgba(255, 200, 87, .14); color: var(--gold); }
.steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold); font: 600 1.2rem/1 var(--display); flex: none; }
.checks { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 21px; height: 21px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234636ad' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.chip { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .86rem; font-weight: 700; text-decoration: none; }
.chips--nav { margin-top: 26px; }
.night .chip { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .2); }
.night a.chip:hover { background: var(--gold); color: var(--ink) !important; border-color: var(--gold); }
.note { max-width: 46rem; margin: 26px 0 22px; }

/* text beside a screenshot */
.feature { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 52px) 0; }
.feature:first-child { padding-top: 0; } .feature:last-child { padding-bottom: 0; }
.feature__text { order: 2; }
.feature--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); } /* text left, screenshot right */
.feature--flip .feature__text { order: 0; }
.feature .lead { font-size: 1.1rem; }
.walk { list-style: none; padding: 0; margin: 0; }
.walk .eyebrow { gap: 12px; }
.after { margin-top: 20px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.safety { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.honest { margin: 0; display: grid; gap: 22px; }
.honest dt { font: 600 1.15rem/1.3 var(--display); }
.honest dd { margin: 4px 0 0; color: var(--soft); }

/* features page */
.group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.group--flip .group__intro { order: 2; }
.group__intro { position: sticky; top: 96px; }
.group__shot { margin-top: 28px; }
.group__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

/* gallery of real illustrations */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery li { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 5px solid #fff; background: #fff; }
.gallery li:nth-child(odd) { transform: rotate(-1.4deg); } .gallery li:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* use cases */
.usecase { display: flex; flex-direction: column; gap: 14px; padding: 28px; scroll-margin-top: 96px; }
.usecase header { display: flex; gap: 16px; align-items: flex-start; }
.usecase h2 { font-size: 1.45rem; margin: 0 0 4px; }
.usecase > p { color: var(--ink); font-size: 1rem; }
.usecase .chips { margin-top: 2px; }
.usecase__more { margin-top: auto !important; padding-top: 6px; }
.prompt-box, .tip { background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 16px 18px; }
.prompt-box figcaption, .tip__title { display: flex; align-items: center; gap: 7px; font: 800 .78rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }
.prompt-box blockquote { font: 500 1.08rem/1.5 var(--display); font-style: italic; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); scroll-margin-top: 96px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; font: 600 1.1rem/1.35 var(--display); position: relative; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 20px 6px; color: var(--soft); }
.faq-groups { display: grid; gap: 44px; }
.faq-groups h2 { font-size: 1.5rem; margin-bottom: 14px; }

/* long-form text */
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 1.9em 0 .55em; scroll-margin-top: 96px; }
.prose > h2:first-child, .prose > .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; scroll-margin-top: 96px; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); font-weight: 800; }
.prose .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal { margin-top: 36px; }
.draft { background: var(--gold-soft); border: 1.5px dashed #d9a12b; border-radius: var(--radius-sm); padding: 16px 20px; color: #4a3200; }
.todo { background: #ffe9a8; color: #4a3200; border: 1px dashed #b98100; border-radius: 6px; padding: 1px 7px; font-weight: 700; font-size: .93em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
.t th, .t td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.t thead th { font: 800 .76rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); background: var(--paper-2); }
.t tbody tr:last-child > * { border-bottom: 0; }
.t tbody th { font-weight: 800; white-space: nowrap; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card p { font-size: 1rem; margin-bottom: .8em; }

/* contact */
.form { display: grid; gap: 16px; margin-top: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 800; font-size: .93rem; }
.form input, .form select, .form textarea { font: 500 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 1.5px solid #cfc4a6; border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.form__hp { position: absolute !important; left: -9999px; }
.form .btn { justify-self: start; }
.contact-side { display: grid; gap: 16px; }
.contact-side .card p { font-size: 1rem; color: var(--ink); }

/* blog */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(29, 27, 58, .06), 0 22px 40px -16px rgba(90, 72, 201, .35); }
.post-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.22rem; }
.post-card p { margin: 0; font-size: .95rem; color: var(--soft); }
.post-card .meta { margin-top: auto; padding-top: 8px; }
.post-card--lead { grid-column: 1 / -1; flex-direction: row; }
.post-card--lead .post-card__img { width: 46%; aspect-ratio: auto; min-height: 280px; }
.post-card--lead .post-card__body { padding: 32px; justify-content: center; flex: 1; }
.post-card--lead h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.post-card--lead p { font-size: 1.05rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 800 .76rem/1 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 9px; border-radius: 6px; }
.night .tag { background: rgba(255, 200, 87, .16); color: var(--gold); }
.meta { font-size: .86rem; color: var(--soft); font-weight: 700; }
.post-hero { padding: clamp(40px, 6vw, 70px) 0 clamp(72px, 9vw, 112px); }
.post-hero h1 { font-size: clamp(1.95rem, 4.2vw, 3rem); margin-top: 16px; }
.post-hero .back { display: inline-block; margin-bottom: 22px; font-weight: 700; font-size: .92rem; text-decoration: none; }
.post { padding: clamp(36px, 5vw, 60px) 0 clamp(56px, 8vw, 90px); font-size: 1.1rem; line-height: 1.75; }
.post .wide { margin: 2em calc(50% - min(480px, 50vw - 20px)); }
.prompts { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 10px; }
.prompt { display: flex; align-items: flex-start; gap: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 14px 14px 18px; margin: 0 !important; font: 500 1.05rem/1.5 var(--display); font-style: italic; }
.prompt span { flex: 1; }
.prompt button { flex: none; font: 800 .78rem/1 var(--text); font-style: normal; letter-spacing: .04em; color: var(--accent-ink); background: var(--accent-soft); border: 0; border-radius: 999px; padding: 8px 13px; cursor: pointer; min-width: 64px; }
.prompt button:hover, .prompt button.is-done { background: var(--accent); color: #fff; }
.storybox { background: var(--night-2); color: #f3f0ff; border-radius: var(--radius); padding: 26px 28px 10px; margin: 1.6em 0; font: 500 1.14rem/1.7 var(--display); box-shadow: var(--shadow-lg); }
.storybox__title { font: 800 .78rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tip { margin: 1.6em 0; font-size: 1rem; }
.tip p:last-child { margin: 0; }
.setup { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 1.6em 0; overflow: hidden; }
.setup .eyebrow { padding: 16px 18px 0; margin-bottom: 8px; }
.setup .t tbody th { white-space: normal; width: 34%; color: var(--soft); }
.post-end { margin-top: 3em; background: linear-gradient(135deg, var(--night), var(--dusk)); color: #f6f3ff; border-radius: var(--radius); padding: 32px; text-align: center; }
.post-end h3 { color: #fff; font-size: 1.6rem; margin: 0 0 8px; }
.post-end p { color: #c9c6ea; font-size: 1rem; }

/* closing band and footer */
.cta { padding: clamp(64px, 9vw, 110px) 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.cta .moon { width: 84px; margin: 0 auto 18px; display: block; filter: drop-shadow(0 0 28px rgba(255, 200, 87, .45)); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta .lead { margin-inline: auto; }
.cta .actions { justify-content: center; }
.site-footer { padding: 60px 0 30px; font-size: .95rem; background: var(--night); border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer::before { display: none; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.footer__blurb { margin: 16px 0 0; max-width: 34ch; color: var(--soft); }
.site-footer h2 { font: 800 .78rem/1.2 var(--text); letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer li a { color: #d6d3f2 !important; text-decoration: none; }
.site-footer li a:hover { color: #fff !important; text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--soft); font-size: .88rem; }
.footer__base a, .footer__base .linkish { color: #d6d3f2 !important; }

/* cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; }
.cookie-banner.is-open { display: block; }
.cookie-banner__inner { max-width: 760px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .94rem; }
.cookie-banner__actions { display: flex; gap: 10px; }

/* motion: only for people who have not asked for less of it, and only once the script is running */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .gallery .reveal { transform: translateY(18px) rotate(0); }
  .js .gallery li.reveal.is-in:nth-child(odd) { transform: rotate(-1.4deg); }
  .js .gallery li.reveal.is-in:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
  .hero__art .moon, .cta .moon { animation: drift 9s ease-in-out infinite; }
  .float--voice { animation: drift 7s ease-in-out infinite; }
  .float--lang { animation: drift 8s ease-in-out -3s infinite; }
  .night::before { animation: twinkle 6s ease-in-out infinite; }
  @keyframes drift { 50% { translate: 0 -9px; } }
  @keyframes twinkle { 50% { opacity: .45; } }
}

/* home hero: centred text, then one large framed screenshot of the reader (the app's core screen) */
.hero--center { padding-top: clamp(28px, 3.4vw, 44px); }
.hero--center .hero__text { max-width: 820px; margin-inline: auto; text-align: center; }
.hero--center h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 0; }
.hero--center .eyebrow, .hero--center .actions, .hero--center .ticks { justify-content: center; }
.hero--center .lead { max-width: 46rem; margin: 14px auto 0; font-size: 1.16rem; }
.hero--center .actions { margin-top: 22px; }
.hero--center .ticks { margin-top: 16px; }
.hero--center .hero__art { max-width: 1080px; margin: 38px auto 0; }
.hero--center .hero__art .moon { width: 112px; right: -40px; top: -64px; }
.hero--center .float--voice { left: -30px; bottom: 40px; }
.hero--center .float--lang { right: -24px; bottom: 120px; }

/* responsive */
@media (min-width: 1021px) {
  .hero:not(.hero--center) .hero__shot { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); }
}
@media (max-width: 1100px) {
  .nav { gap: 16px; } .nav a { font-size: .9rem; } .nav__end { gap: 12px; margin-left: 0; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 20px 22px; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .12); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .nav__end { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 15px; }
  .hero__grid, .feature, .feature--flip, .group, .split, .safety, .faq-split { grid-template-columns: minmax(0, 1fr); }
  .feature__text, .group--flip .group__intro { order: 0; }
  .group__intro { position: static; }
  .hero__art { max-width: 640px; margin: 20px auto 0; width: 100%; }
  .hero__art .moon { width: 96px; top: -58px; right: 0; }
  .float--voice { left: 8px; } .float--lang { right: 8px; }
  .hero--center .float--voice { left: 8px; } .hero--center .float--lang { right: 8px; }
  .hero--center .hero__art .moon { right: 0; }
  .steps, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .steps, .grid--4, .grid--3, .grid--2, .post-list, .form__row, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .post-card--lead { flex-direction: column; }
  .post-card--lead .post-card__img { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .post-card--lead .post-card__body { padding: 22px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .float { display: none; }
  .hero--center .hero__art { margin-top: 28px; }
  .hero--center .hero__art .moon { width: 72px; right: -6px; top: -44px; }
  .footer__base a, .footer__base .linkish { display: inline-block; padding: 11px 2px; }
  .hero .lead, .page-hero .lead { font-size: 1.1rem; }
  .actions .btn { flex: 1 1 100%; }
  .post { font-size: 1.04rem; }
  .post .wide { margin-inline: 0; }
  .prompt { flex-direction: column; gap: 10px; }
  .prompt button { align-self: flex-end; }
  .usecase { padding: 22px; }
  .storybox { padding: 22px 20px 6px; }
  .shot__bar em { font-size: .66rem; }
  .t th, .t td { padding: 10px 12px; }
  .t tbody th { white-space: normal; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .cta, .skip { display: none !important; }
  .night { background: none; color: #000; } .night h1 { color: #000; }
}
