/* ---------- Fonts (Inter, SIL OFL — see /fonts/Inter-LICENSE.txt) ---------- */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/Inter-Bold.ttf") format("truetype"); }

/* ---------- Tokens (from the app icon and the app's own theme) ---------- */
:root {
    --navy-950: #08192d;
    --navy-900: #0b1f36;
    --navy-800: #12365c;
    --blue-700: #235f95;
    --blue-600: #2d73b0;   /* app "brand" */
    --blue-500: #448ecf;   /* app icon */
    --blue-300: #8dbde8;
    --sky-200: #d4e4f4;    /* icon glyph */
    --sky-100: #e8f1fa;
    --sky-50: #f4f8fc;
    --coral-600: #b84f3b;  /* accent text on white */
    --coral-500: #d1604b;  /* app accent */
    --ink: #13233a;
    --muted: #526077;
    --border: #dde6f0;
    --white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(19, 35, 58, .06), 0 12px 32px -8px rgba(18, 54, 92, .18);
    --shadow-lg: 0 2px 6px rgba(8, 25, 45, .12), 0 40px 80px -20px rgba(8, 25, 45, .45);
    --container: 1180px;
    --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, kbd { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .88em; }
code { background: var(--sky-100); color: var(--navy-800); padding: .15em .4em; border-radius: 6px; }
kbd { background: var(--white); border: 1px solid var(--border); border-bottom-width: 2px; padding: .05em .4em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--coral-500); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow, .narrow { max-width: 800px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-600); margin-bottom: .75em; }
.lead { font-size: 1.2rem; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1.25em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
    font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 6px 18px -6px rgba(45, 115, 176, .7); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-outline { border-color: var(--sky-200); color: var(--blue-700); background: var(--white); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--navy-800); }
.btn-light { background: var(--white); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.btn-light:hover { color: var(--navy-950); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .15s ease; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .8; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"], .site-nav a[aria-current="true"] { opacity: 1; color: var(--blue-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; font-size: 1.2rem; }

/* Home: the header floats over the dark hero until the page scrolls */
.is-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .2s ease, border-color .2s ease; }
.is-home .site-header:not(.is-scrolled) .brand,
.is-home .site-header:not(.is-scrolled) .nav-toggle,
.is-home .site-header:not(.is-scrolled) .site-nav a:not(.btn) { color: var(--white); }
.is-home .site-header:not(.is-scrolled) .site-nav a:not(.btn):hover { opacity: 1; }
.is-home .site-header.is-scrolled { background: rgba(255, 255, 255, .9); border-color: var(--border); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }

/* ---------- Radar backdrop (hero, page heroes, CTA) ---------- */
.radar {
    position: absolute; z-index: 0; pointer-events: none;
    width: 1500px; aspect-ratio: 1; left: -520px; top: 50%; transform: translateY(-50%);
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center, transparent 0 118px, rgba(141, 189, 232, .16) 118px 120px);
    -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 68%);
    mask-image: radial-gradient(circle at center, #000 30%, transparent 68%);
}
.radar::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
    border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 0 6px rgba(141, 189, 232, .18), 0 0 24px 6px rgba(141, 189, 232, .45);
}
.radar-sweep {
    position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(100, 163, 235, .05) 310deg, rgba(100, 163, 235, .3) 360deg);
    animation: radar-sweep 8s linear infinite;
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }

/* ---------- Home hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--white);
    background:
        radial-gradient(ellipse at 85% 20%, rgba(68, 142, 207, .35), transparent 55%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
    padding: calc(var(--header-h) + 64px) 0 96px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); align-items: center; gap: 56px; }
.hero .eyebrow { color: var(--blue-300); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); letter-spacing: -.035em; margin-bottom: .4em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, .8); max-width: 34ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-preview { margin: 0; margin-right: -120px; perspective: 1800px; }
.window {
    border-radius: 14px; overflow: hidden; background: #f2f0ec;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .25);
    transform: rotateY(-8deg) rotateX(2deg); transform-origin: left center;
}
.window img { width: 100%; }

/* ---------- Announcement ---------- */
.announcement { background: linear-gradient(90deg, var(--sky-100), var(--sky-50)); border-bottom: 1px solid var(--border); padding: 28px 0; }
.announcement-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 28px; }
.announcement-label {
    display: inline-flex; align-items: center; gap: .4em; padding: .4em .9em; border-radius: 999px;
    background: linear-gradient(135deg, var(--coral-500), #e48a5c); color: var(--white);
    font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.announcement-label .icon { font-size: .95rem; }
.announcement-body h2 { font-size: 1.2rem; margin: 0 0 .25em; }
.announcement-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.announcement-body .announcement-note { margin-top: .6em; font-size: .9rem; }
.announcement .text-link { white-space: nowrap; }
.announcement-links { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; }

/* ---------- Pillars (source types) ---------- */
.pillars { background: var(--white); border-bottom: 1px solid var(--border); }
.pillars-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 600; font-size: .95rem; }
.pillar-icon {
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
    background: linear-gradient(145deg, var(--blue-500), var(--blue-700)); color: var(--white); font-size: 1.4rem;
    box-shadow: 0 10px 22px -10px rgba(45, 115, 176, .8);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-flush-top { padding-top: 0; }
.section-faq { padding-top: 56px; }
.section-tint { background: linear-gradient(180deg, var(--sky-50), var(--sky-100)); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.showcase.is-reversed > :first-child { order: 2; }
.showcase-copy p { color: var(--muted); font-size: 1.08rem; }
.shot { margin: 0; }
.shot img { border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid rgba(19, 35, 58, .08); }
.device-shot { max-width: 920px; margin: 48px auto 0; }
.phones { display: flex; justify-content: center; gap: 24px; }
.phone { width: min(260px, 44%); border-radius: 32px; border: 7px solid #10151d; box-shadow: var(--shadow-lg); background: #10151d; }
.phone:nth-child(2) { transform: translateY(40px); }

.checklist, .mini-list { list-style: none; padding: 0; margin: 1.25em 0 0; display: grid; align-content: start; gap: .7em; }
.checklist li, .mini-list li { position: relative; padding-left: 1.95em; }
.checklist .icon, .mini-list .icon { position: absolute; left: 0; top: .2em; color: var(--blue-600); vertical-align: 0; }
.checklist .icon { stroke-width: 2.4; color: var(--coral-500); }
.mini-list { gap: .8em; color: var(--muted); }

.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--sky-100); color: var(--blue-600); font-size: 1.2rem; margin-bottom: 16px; }

.device-row { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.device-row li { display: flex; align-items: center; gap: .6em; padding: .8em 1.4em; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-weight: 600; box-shadow: var(--shadow); }
.device-row .icon { color: var(--blue-600); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden; color: var(--white); text-align: center; padding: 96px 0;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(68, 142, 207, .45), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.cta-band .radar { left: 50%; top: 100%; transform: translate(-50%, -50%); }
.cta-inner { position: relative; z-index: 1; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; }
.cta-band a:not(.store-btn) { color: var(--white); }
.cta-small { margin-top: 1.5em; font-size: .98rem !important; }

.store-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px; min-width: 220px; padding: 12px 22px;
    border-radius: 14px; background: #050f1c; color: var(--white); text-decoration: none; text-align: left;
    border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: 1.1rem; line-height: 1.15;
    transition: transform .15s ease;
}
.store-btn:hover { color: var(--white); transform: translateY(-1px); }
.store-btn .icon { font-size: 1.5rem; }
.store-btn small { display: block; font-weight: 400; font-size: .72rem; opacity: .75; letter-spacing: .02em; }
.store-btn.is-soon { opacity: .75; cursor: default; }
.store-btn.is-soon:hover { transform: none; }

/* ---------- Sub-page hero ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--white); padding: 88px 0 80px; margin-bottom: 72px;
    background:
        repeating-radial-gradient(circle at 8% 120%, transparent 0 118px, rgba(141, 189, 232, .1) 118px 120px),
        radial-gradient(ellipse at 90% 0%, rgba(68, 142, 207, .35), transparent 55%),
        linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 20ch; text-wrap: balance; }
.page-hero .eyebrow { color: var(--blue-300); }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 52ch; margin: 0; }
.page-hero .btn { margin-top: 1.5em; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -40px; margin-bottom: -24px; position: relative; }
.toc a { padding: .45em 1em; border-radius: 999px; background: var(--sky-100); color: var(--navy-800); font-weight: 500; font-size: .95rem; text-decoration: none; }
.toc a:hover { background: var(--sky-200); }

/* ---------- Filters table ---------- */
.table-wrap { overflow-x: auto; max-width: 720px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.syntax-table { width: 100%; border-collapse: collapse; background: var(--white); }
.syntax-table th, .syntax-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.syntax-table th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--sky-50); }
.syntax-table tr:last-child td { border-bottom: 0; }
.syntax-table td:first-child { white-space: nowrap; }
#filters .note { text-align: center; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.pricing-grid.one { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.price-card.is-highlighted { border: 2px solid var(--blue-600); box-shadow: 0 30px 60px -24px rgba(45, 115, 176, .45); }
.price-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card h2 { font-size: 1.3rem; margin: 0; }
.badge { background: linear-gradient(135deg, var(--coral-500), #e48a5c); color: var(--white); font-size: .78rem; font-weight: 600; padding: .3em .8em; border-radius: 999px; white-space: nowrap; }
.price { margin: 20px 0 6px; }
.price .amount { font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.price-desc { color: var(--muted); }
.price-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-bottom: 28px; }
.price-columns .checklist { margin-top: .5em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin: 1.25em 0 3em; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--blue-600); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 960px; margin: 0 auto; }
.contact-card h2 { font-size: 1.35rem; margin-bottom: .3em; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-card .card-icon { margin: 0; }

/* ---------- Contact form ---------- */
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .7em .9em;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(45, 115, 176, .15); }
.field .input-validation-error { border-color: #c4314b; }
.field-error { color: #b4233c; font-size: .9rem; }
.field-error:empty { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .note { margin: 0; }
.form-status { border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 500; }
.form-status.is-error { background: #fdecef; color: #8e1a2f; border: 1px solid #f6c5cf; }
.form-status.is-success { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 24px; font-weight: 400; }
.form-status.is-success .icon { color: #1f8a4c; stroke-width: 2.4; font-size: 1.3rem; margin-top: .15em; }
.form-status.is-success p { margin: .3em 0 0; color: var(--muted); }

/* ---------- Legal prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.summary-box { background: var(--sky-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 2.5em; }
.summary-box h2 { margin-top: 0; font-size: 1.1rem; }
.summary-box ul { margin: 0; }

/* ---------- Blog ---------- */
.post-meta { color: var(--muted); font-size: .92rem; margin: 0 0 .5em; }
.post-list { display: grid; gap: 32px; }
.post-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.post-card-image { overflow: hidden; border-radius: var(--radius-sm); }
.post-card-image img { border-radius: var(--radius-sm); border: 1px solid rgba(19, 35, 58, .08); transition: transform .2s ease; }
.post-card-image:hover img { transform: scale(1.02); }
.post-card h2 { font-size: 1.45rem; margin-bottom: .4em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue-600); }
.post-card-body > p:not(.post-meta) { color: var(--muted); }

.post-hero h1 { max-width: none; }
.post-hero .eyebrow a { color: inherit; text-decoration: none; }
.post-hero .eyebrow a:hover { text-decoration: underline; }
.post-hero .post-meta { color: rgba(255, 255, 255, .8); margin: 0; }
.post-body.prose { max-width: 800px; }
.post-body .lead { color: var(--ink); margin-bottom: 1.5em; }
.post-figure { margin: 1.5em 0; }
.post-figure img { border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(19, 35, 58, .08); }
.post-back { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--border); }
.icon-flip { transform: scaleX(-1); }
.text-link:hover .icon-flip { transform: scaleX(-1) translateX(3px); }
.more-posts-title { font-size: 1.35rem; }
.more-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.more-posts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.more-posts a { font-weight: 600; text-decoration: none; }
.more-posts .post-meta { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); margin-bottom: 12px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.footer-brand p { max-width: 34ch; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-legal p { margin: 0 0 .4em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero-preview { margin-right: -60px; }
    .pillars-grid { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
}

@media (max-width: 900px) {
    body { font-size: 16px; }
    .section { padding: 72px 0; }
    .section-faq { padding-top: 48px; }
    .hero { padding: calc(var(--header-h) + 40px) 0 0; }
    .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .hero-preview { margin: 0 -24px 0 0; }
    .window { transform: none; border-radius: 12px 0 0 0; }
    .radar { width: 1100px; left: -560px; top: 32%; }
    .showcase, .showcase.is-reversed { grid-template-columns: 1fr; gap: 40px; }
    .showcase.is-reversed > :first-child { order: 0; }
    .announcement-inner { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
    .card-grid.three { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .contact-card { grid-template-columns: 1fr; text-align: left; }
    .page-hero { padding: 64px 0 56px; margin-bottom: 56px; }
    .post-card { grid-template-columns: 1fr; gap: 20px; }

    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
        background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--ink) !important; opacity: 1; }
    .site-nav .btn { margin-top: 16px; }
    .is-home .site-header.menu-open { background: var(--white); }
    .is-home .site-header.menu-open .brand, .is-home .site-header.menu-open .nav-toggle { color: var(--ink) !important; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .hero-preview { margin-right: -16px; }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .pillar { font-size: .88rem; }
    .pillar-icon { width: 52px; height: 52px; }
    .pillar:last-child { grid-column: 1 / -1; }
    .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
    .price-columns { grid-template-columns: 1fr; }
    .phones { gap: 14px; }
    .phone { border-width: 5px; border-radius: 24px; }
    .store-btn { min-width: 0; width: 100%; max-width: 320px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .syntax-table th, .syntax-table td { padding: 12px 14px; }
    .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 22px 18px; }
    .price-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .radar-sweep { animation: none; opacity: .5; }
}
