/*
 * MigDiary — site styles.
 * Layout language: soft framed hero with a landscape, centred phone flanked by
 * frosted glass cards, pill buttons, large rounded media cards.
 * Colours: only the app palette from the brand document (plus alpha variants).
 */

:root {
    --bg: #17161F;
    --bg-glow: #24222F;
    --surface: #201F2C;
    --raised: #2A2938;
    --border: #3A394B;
    --text: #EDE9F4;
    --muted: #9A95AB;
    --faint: #68637A;
    --accent: #8CA3C4;
    --accent-text: #CFDCEE;
    --calm: #7C9473;
    --mark: #9BD97C;

    --lvl-1: #D9C28C;
    --lvl-2: #D9A15B;
    --lvl-3: #C97B63;
    --lvl-4: #A8465B;

    --glass: rgba(237, 233, 244, .07);
    --glass-line: rgba(237, 233, 244, .14);

    --r-card: 18px;
    --r-alert: 16px;
    --r-btn: 14px;
    --r-panel: 32px;
    --r-media: 28px;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;

    --container: 1240px;
    --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

.ico { width: 18px; height: 18px; flex: none; }
.sprite { position: absolute; width: 0; height: 0; } /* icon sprite: a class, not an inline style, so the CSP can forbid inline styles */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 800px; }

.skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-btn);
    font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Two-line headings: second line lighter, in accent text */
h1, h2, h3 { text-wrap: balance; }
/* The hero's second line borrows the app icon's severity arcs: mild → severe. */
h1 span {
    width: fit-content;
    padding-bottom: .14em; margin-bottom: -.14em; /* keeps descenders (ğ, ç) inside the clipped gradient box */
    color: var(--lvl-2);
    background: linear-gradient(90deg, var(--lvl-1), var(--lvl-2) 50%, var(--lvl-3));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h1 span, h2 span { display: block; font-weight: 500; color: var(--accent-text); letter-spacing: -0.025em; }

/* ---------- Pills & buttons ---------- */
.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--glass-line);
    font-size: 14px; font-weight: 600; color: var(--text);
}
.eyebrow-pill .ico { width: 16px; height: 16px; color: var(--accent); margin-left: 4px; }
.eyebrow-pill img { border-radius: 5px; }

.btn-pill {
    display: inline-flex; align-items: center; gap: 14px;
    min-height: 54px; padding: 6px 6px 6px 24px; border-radius: 999px;
    background: var(--accent); color: var(--bg); text-decoration: none;
    font: 600 16px/1 var(--font); transition: background .2s, transform .2s;
}
.btn-pill:hover { background: var(--accent-text); color: var(--bg); transform: translateY(-1px); }
.btn-pill-dot {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg); color: var(--accent-text);
}
.btn-pill-sm { min-height: 42px; padding: 4px 4px 4px 18px; font-size: 15px; gap: 10px; }
.btn-pill-sm .btn-pill-dot { width: 34px; height: 34px; }
.btn-pill-sm .ico { width: 16px; height: 16px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-text); color: var(--bg); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    color: var(--text); font-weight: 600; text-decoration: none;
}
.link-arrow .ico { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); color: var(--text); }

.store {
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 58px; padding: 0 24px 0 20px; border-radius: 999px;
    background: var(--text); color: var(--bg); text-decoration: none;
    transition: transform .2s, background .2s;
}
.store:hover { background: var(--accent-text); color: var(--bg); transform: translateY(-1px); }
.store-logo { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; font: 600 20px/1.05 var(--font); letter-spacing: -.01em; text-align: left; }
.store small { font: 500 12px/1.2 var(--font); letter-spacing: 0; }

.plus-badge {
    display: inline-block; vertical-align: 2px; margin-left: 8px;
    font: 700 12px/1 var(--font); letter-spacing: .04em;
    padding: 4px 8px; border-radius: 999px;
    background: rgba(217, 194, 140, .16); color: var(--lvl-1);
}

/* ---------- Header: floating glass pill ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; }
.nav {
    max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; height: 64px;
    padding: 0 10px 0 18px; display: flex; align-items: center; gap: 24px;
    border-radius: 999px; border: 1px solid transparent;
    transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled .nav {
    background: rgba(32, 31, 44, .78); border-color: var(--glass-line);
    -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
    box-shadow: 0 16px 40px -20px rgba(23, 22, 31, .9);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; }
.brand-icon { border-radius: 9px; }
.brand-name { font: 700 19px/1 var(--font); letter-spacing: -.02em; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a {
    display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--glass); }
.nav-lang-mobile { display: none; }
.nav-end { display: flex; align-items: center; gap: 10px; }

.lang-switch {
    display: inline-flex; padding: 3px; border-radius: 999px;
    border: 1px solid var(--glass-line); text-decoration: none;
}
.lang-switch span { padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-switch span.on { background: var(--raised); color: var(--text); }
.lang-switch:hover span:not(.on) { color: var(--text); }

.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--glass-line); background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
    position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
    background: var(--text); transition: transform .25s, top .25s;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Sky (landscape) ---------- */
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky svg { width: 100%; height: 100%; }

/* ---------- Story (home): text on the left, a sticky phone on the right that follows the section in view ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px 0; }
.story-step + .story-step { border-top: 1px solid var(--border); }
.story-intro { min-height: 92vh; }
.story-step h1 { font-size: clamp(46px, 6vw, 84px); margin: 22px 0 20px; letter-spacing: -.04em; }
.story-step h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 18px 0 8px; }
.story-step h2 span { margin-bottom: 8px; }
.story-step h3 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 14px; letter-spacing: -.025em; }
.story-step .lead { color: var(--muted); font-size: 19px; max-width: 560px; }
.story-step > p { color: var(--muted); font-size: 18px; max-width: 520px; }
.story-step .feature-no { margin-top: 28px; }
.story-step .note-pill { margin-top: 20px; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.story-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--border); width: 100%; max-width: 620px; }
.story-facts div { padding: 18px 18px 0 0; }
.story-facts div + div { padding-left: 18px; border-left: 1px solid var(--border); }
.story-facts dt { font-weight: 700; font-size: 16px; }
.story-facts dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.story-promise { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* the "more" list is compact inside a step */
.story-step .index { max-width: none; width: 100%; margin-top: 18px; }
.story-step .index-row { padding: 16px 0; grid-template-columns: 1fr; gap: 4px; }
.story-step .index-row h3 { font-size: 18px; margin: 0; }
.story-step .index-row p { font-size: 15px; }
.story-step .free-note { margin: 20px 0 0; justify-content: flex-start; }

.story-stage { position: sticky; top: 92px; height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; }
.story-device { position: relative; margin: 0; height: min(calc(100vh - 150px), 690px); aspect-ratio: 656 / 1434; padding: 0; }
.phone.story-device img {
    position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; object-position: top;
    border-radius: 40px; opacity: 0; transition: opacity .35s ease;
}
.phone.story-device img.is-active { opacity: 1; }
.story-inline { display: none; }

/* ---------- Floating tag (iPad corner) ---------- */
.glass-tag {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px 9px 12px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--glass-line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    font-size: 14px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 16px 36px -18px rgba(23, 22, 31, .9);
}
.glass-tag .ico { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Phone frame ---------- */
.phone {
    padding: 9px; border-radius: 48px;
    background: linear-gradient(160deg, var(--border), var(--bg) 42%, var(--raised));
    box-shadow: 0 50px 90px -30px rgba(23, 22, 31, .95), inset 0 0 0 1px rgba(237, 233, 244, .08);
}
.phone img { width: 100%; height: auto; border-radius: 40px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
.section-soft { background: linear-gradient(180deg, transparent, rgba(32, 31, 44, .6) 30%, rgba(32, 31, 44, .6) 70%, transparent); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 20px; }

/* ---------- iPad transition ---------- */
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.section-ipad { padding-top: 56px; padding-bottom: 24px; }
.eyebrow-device { padding-left: 12px; color: var(--accent-text); }
.ipad { position: relative; max-width: 920px; margin: 0 auto; }
.ipad-body {
    position: relative; padding: 16px; border-radius: 44px;
    background: linear-gradient(160deg, var(--border), var(--bg) 42%, var(--raised));
    box-shadow: 0 60px 100px -40px rgba(23, 22, 31, .95), inset 0 0 0 1px rgba(237, 233, 244, .08);
}
.ipad-camera {
    position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; border-radius: 50%;
    transform: translateX(-50%); background: var(--bg); box-shadow: inset 0 0 0 1px var(--border);
}
.ipad-screen {
    position: relative; aspect-ratio: 10 / 7; overflow: hidden; isolation: isolate;
    border-radius: 30px; background: var(--bg);
}
/* The banner is wider than an iPad screen: a blurred copy fills the rest so it sits in the glass without bars. */
.ipad-bg {
    position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover;
    filter: blur(28px) brightness(.85) saturate(1.1);
}
.ipad-fg {
    position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
}
.ipad-tag { right: -14px; top: 80px; }

/* ---------- Feature markers ---------- */
.feature-no { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.note-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
    padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
    background: rgba(217, 194, 140, .12); color: var(--lvl-1);
}
.note-pill .ico { width: 16px; height: 16px; }

/* ---------- Index ("more") and statements ("what it isn't") ---------- */
.index { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--border); }
.index-row {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 56px; align-items: baseline;
    padding: 28px 0; border-bottom: 1px solid var(--border);
}
.index-row h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.3; }
.index-row p { color: var(--muted); font-size: 16.5px; }
.statements {
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-media);
}
.statements li { padding: 32px 30px 34px; }
.statements li + li { border-left: 1px solid var(--border); }
.statements h3 { font-size: 21px; letter-spacing: -.015em; }
.statements p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.free-note {
    display: flex; gap: 10px; align-items: flex-start; justify-content: center;
    margin: 32px auto 0; max-width: 760px; color: var(--muted); font-size: 15.5px;
}
.free-note .ico { color: var(--mark); margin-top: 3px; }

/* ---------- Visit list ---------- */
.row-list { display: grid; gap: 14px; margin-top: 28px; }
.row-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.5; }
.ico-check { width: 20px; height: 20px; margin-top: 3px; color: var(--mark); }

/* ---------- Privacy ---------- */
.privacy-card { max-width: 780px; margin: 0 auto; text-align: center; }
.privacy-lock {
    width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
    background: var(--raised); border: 1px solid var(--border); color: var(--accent-text);
}
.privacy-lock .ico { width: 28px; height: 28px; }
.privacy-card h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 20px 0 26px; }
.privacy-card p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 24px auto; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill-row li {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 15px;
}
.pill-row .ico { width: 16px; height: 16px; color: var(--mark); }

/* ---------- CTA ---------- */
.section-cta { padding-top: 24px; }
.cta-panel {
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    border-radius: var(--r-panel); border: 1px solid var(--glass-line); padding: 96px 24px 150px;
}
.cta-inner { position: relative; }
.cta-icon { margin: 0 auto 28px; border-radius: 22px; box-shadow: 0 20px 40px -12px rgba(23, 22, 31, .9); }
.cta-panel h2 { font-size: clamp(34px, 4.8vw, 58px); }
.cta-panel p { color: var(--muted); margin: 18px 0 32px; font-size: 17px; }
.cta-panel .cta-help { margin: 24px 0 0; font-size: 15px; }

/* ---------- Doc pages ---------- */
.doc-page { padding: 72px 0 110px; }
.doc-head { margin-bottom: 44px; }
.doc-head h1 { font-size: clamp(40px, 5.6vw, 64px); margin: 20px 0 18px; letter-spacing: -.035em; }
.doc-head .lead { color: var(--muted); font-size: 19px; }
.doc-head .pill-row { justify-content: flex-start; margin-top: 24px; }
.doc-date { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.doc-subtitle { font-size: 28px; margin: 64px 0 20px; letter-spacing: -.02em; }

.contact-card {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px;
}
.contact-ico {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: var(--raised); color: var(--accent-text);
}
.contact-ico .ico { width: 24px; height: 24px; }
.contact-body { flex: 1; min-width: 220px; }
.contact-email { font: 700 21px/1.3 var(--font); color: var(--text); text-decoration: none; word-break: break-all; }
.contact-email:hover { color: var(--accent-text); text-decoration: underline; }
.contact-body p { color: var(--muted); font-size: 15px; margin-top: 4px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(140, 163, 196, .45); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

.policy { counter-reset: policy; border-top: 1px solid var(--border); }
.policy li { counter-increment: policy; padding: 26px 0 26px 56px; border-bottom: 1px solid var(--border); position: relative; }
.policy li::before {
    content: counter(policy, decimal-leading-zero);
    position: absolute; left: 0; top: 29px; font: 700 13px/1 var(--font); color: var(--muted); letter-spacing: .08em;
}
.policy h2 { font-size: 20px; letter-spacing: -.01em; }
.policy p { color: var(--muted); margin-top: 8px; }

.error-page { padding: 96px 0 140px; text-align: left; }
.error-code {
    font-size: clamp(72px, 14vw, 140px); font-weight: 800; line-height: 1; letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 1.5px var(--border);
}
.error-page h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 16px; letter-spacing: -.035em; }
.error-page .lead { color: var(--muted); font-size: 19px; max-width: 560px; }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }

.note-box {
    margin-top: 48px; padding: 22px 24px; border-radius: var(--r-alert);
    background: rgba(168, 70, 91, .1); border: 1px solid rgba(168, 70, 91, .35);
}
.note-box h2 { font-size: 16px; letter-spacing: 0; }
.note-box p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 48px; }
.disclaimer {
    font-size: 14px; color: var(--muted); max-width: 860px;
    padding: 16px 18px; border-radius: var(--r-alert); background: var(--surface); border: 1px solid var(--border);
}
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { display: inline-block; padding: 10px 0; color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.footer-note a { color: var(--muted); }

/* ---------- Windows high-contrast mode: gradient-clipped text would vanish, so fall back to the system text colour ---------- */
@media (forced-colors: active) {
    h1 span { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

/* ---------- Motion: only hover, focus and the story phone's screenshot swap remain ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .glass-tag { display: none; }
}

@media (max-width: 900px) {
    :root { --gutter: 20px; }
    .nav { gap: 10px; background: rgba(32, 31, 44, .78); border-color: var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 84px; left: var(--gutter); right: var(--gutter); margin: 0;
        flex-direction: column; gap: 2px; padding: 10px;
        background: rgba(32, 31, 44, .97); border: 1px solid var(--glass-line); border-radius: 24px;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 16px; font-size: 17px; }
    .nav-lang-mobile { display: block; }
    .lang-switch { display: none; }
    .nav-end { margin-left: auto; }

    /* the sticky phone gives way to one phone inside each step */
    .story { grid-template-columns: 1fr; gap: 0; }
    .story-stage { display: none; }
    .story-step, .story-intro { min-height: 0; padding: 44px 0; }
    .story-inline { display: block; width: 240px; margin: 32px auto 0; align-self: center; }
    .story-facts { grid-template-columns: 1fr; }
    .story-facts div, .story-facts div + div { padding: 14px 0; border-left: 0; }
    .story-facts div + div { border-top: 1px solid var(--border); }

    .index-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
    .statements { grid-template-columns: 1fr; }
    .statements li + li { border-left: 0; border-top: 1px solid var(--border); }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .nav { padding: 0 6px 0 14px; height: 60px; }
    .nav-links { top: 78px; }
    .brand-name { font-size: 18px; }
    .nav-cta { display: none; }
    .cta-panel { padding: 64px 20px 120px; border-radius: 26px; }
    .section-ipad { padding-top: 44px; }
    .ipad-body { padding: 9px; border-radius: 28px; }
    .ipad-screen { border-radius: 20px; }
    .contact-card .btn { width: 100%; }
    .policy li { padding-left: 44px; }
}
