/* NotchNest – Liquid Glass white theme
   Tokens, surfaces, nav, hero. Other sections inherit base. */

/* ---------- Tokens · flat black & white ---------- */
:root {
    --bg: #000000;
    --bg-soft: #0a0a0a;
    --bg-elev: #111111;
    --text: #ffffff;
    --muted: #a3a3a3;
    --border: #1f1f1f;
    --border-strong: #2a2a2a;

    /* Solid surfaces only – no blur, no gradient */
    --glass-bg: #0a0a0a;
    --glass-bg-strong: #111111;
    --glass-border: #1f1f1f;
    --glass-shadow: none;
    --glass-blur: none;

    --accent: #ffffff;
    --accent-2: #ffffff;
    --accent-3: #ffffff;

    --radius: 14px;
    --radius-lg: 18px;
    --radius-sm: 10px;

    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;

    --container: 1180px;
    --nav-h: 56px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    overflow-x: clip;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Grid/flex children: allow shrink below intrinsic content width */
.bento, .case, .faq-card, .how-step,
.stats > div, .footer-col, .hero-copy, .hero-stage,
.press-quote, .learn-card, .related-card {
    min-width: 0;
}

/* Prevent intrinsic media overflow */
.hero-video, .demo-video, .bento-media img,
.feature-image-container img, .yt-frame iframe, .ig-frame iframe {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

p { margin: 0; }

a {
    color: inherit;
    text-decoration: none;
}

img, video, svg { display: block; max-width: 100%; height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; cursor: pointer; }

::selection { background: #ffffff; color: #000000; }

.background-gradient { display: none; }

.rain { display: none; } /* retire rain overlay – not on-brand for white theme */

/* ---------- Layout ---------- */
.main-container { width: 100%; }

.content-wrapper {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Nav · pinned top, full-width, solid black ---------- */
.nn-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: #000;
    border-bottom: 1px solid var(--border);
}

.nn-nav-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--nav-h);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.nn-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.nn-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: transparent;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.nn-nav-links {
    display: flex;
    gap: 6px;
    margin-left: auto;
    align-items: center;
}

.nn-nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    transition: color .15s ease, background .15s ease;
}

.nn-nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
    .nn-nav-links a:not(.nn-nav-keep) { display: none; }
}

/* Flat card baseline used by .glass + clones */
.glass {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ---------- Hero ---------- */
.hero {
    padding: 56px 0 32px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding: 32px 0 16px; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}
.eyebrow .star { color: #fff; }
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #fff;
}

.hero-h1 {
    margin: 18px 0 16px;
    font-size: clamp(40px, 6.2vw, 72px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.hero-h1 .grad {
    color: #fff;
    /* underline strike for emphasis instead of gradient */
    border-bottom: 4px solid #fff;
    padding-bottom: 2px;
}

.hero-lede {
    color: var(--muted);
    font-size: clamp(17px, 1.6vw, 19px);
    max-width: 52ch;
    margin-bottom: 28px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mas-badge {
    display: inline-flex;
    align-items: center;
    transition: transform .18s ease, box-shadow .18s ease;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.mas-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.mas-badge img { height: 52px; width: auto; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: background .15s ease, border-color .15s ease;
}
.btn-ghost:hover { background: var(--bg-soft); border-color: #fff; }

.hero-meta {
    margin-top: 22px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.hero-meta strong { color: var(--text); font-weight: 600; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); align-self: center; }

/* Hero video frame – minimal MacBook-ish glass surround */
.hero-stage {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    overflow: hidden;
}
.hero-stage::before { display: none; }

.hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 12px);
    background: #000;
    display: block;
}

.hero-stage-actions {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

/* ---------- Stats strip ---------- */
.stats {
    margin: 32px 0 0;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-num { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

@media (max-width: 720px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-kicker {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--border-strong);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.section-lede { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* ---------- Bento ---------- */
.bento-section { margin-top: 96px; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 14px;
}

.bento {
    grid-column: span 2;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color .15s ease;
}
.bento:hover { border-color: var(--border-strong); }

.bento-lg {
    grid-column: span 4;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--bg-soft);
}

.bento-wide { grid-column: span 6; }

.bento-idx {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

.bento-icon { font-size: 28px; margin-bottom: 12px; }
.bento-icon-sm { font-size: 20px; display: block; margin-bottom: 6px; }
.bento-title { font-size: 17px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.015em; }
.bento-lg .bento-title { font-size: 22px; }
.bento-text { color: var(--muted); font-size: 14px; }

.bento-media {
    flex: 1;
    margin: -28px -28px 18px;
    background: #000;
    border-bottom: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bento-body { padding-top: 4px; }

.bento-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.bento-mini-grid > div { display: flex; flex-direction: column; gap: 4px; }
.bento-mini-grid strong { font-size: 15px; font-weight: 600; }
.bento-mini-grid span:not(.bento-icon-sm) { color: var(--muted); font-size: 13px; }

@media (max-width: 960px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento, .bento-lg, .bento-wide { grid-column: span 2; grid-row: auto; }
    .bento-media { aspect-ratio: 16 / 10; }
    .bento-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento, .bento-lg, .bento-wide { grid-column: 1 / -1; }
    .bento-mini-grid { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.how-section { margin-top: 96px; }
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    counter-reset: how;
}
.how-step {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}
.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 14px;
}
.how-title { font-size: 17px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.015em; }
.how-text { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .how-steps { grid-template-columns: 1fr; } }

/* ---------- Use cases ---------- */
.cases-section { margin-top: 96px; }
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.case {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: border-color .15s ease;
}
.case:hover { border-color: var(--border-strong); }
.case-tag {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 3px 8px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 6px;
}
.case h3 { font-size: 15px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.01em; }
.case p { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cases-grid { grid-template-columns: 1fr; } }

/* (legacy demo/features section styles removed – replaced by bento + new FAQ) */

.section-title {
    font-size: clamp(26px, 3vw, 38px);
    margin-bottom: 0;
    letter-spacing: -0.025em;
}

/* ---------- Press / Featured in ---------- */
.press-section { margin-top: 96px; }
.press-quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}
@media (max-width: 820px) { .press-quotes { grid-template-columns: 1fr; } }

.press-quote {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: border-color .15s ease;
    color: var(--text);
}
.press-quote:hover { border-color: var(--border-strong); }
.press-pub { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.press-wordmark {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}
.press-meta { font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.press-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--text);
}
.press-context { color: var(--muted); font-size: 14px; }
.press-cta { color: #fff; font-size: 13px; font-weight: 500; margin-top: auto; text-decoration: underline; text-underline-offset: 3px; }

.press-sub {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 32px 0 14px;
}

/* Product Hunt badge card */
.ph-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color .15s ease;
}
.ph-badge:hover { border-color: #DA552F; }
.ph-logo { display: inline-flex; flex-shrink: 0; }
.ph-text { display: flex; flex-direction: column; gap: 2px; }
.ph-eyebrow { font-size: 11px; font-weight: 600; color: #DA552F; text-transform: uppercase; letter-spacing: 0.1em; }
.ph-title { font-size: 16px; font-weight: 600; }

/* YouTube row */
.yt-row { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 980px; margin: 0 auto; }
.yt-frame {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
}
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Instagram row */
.ig-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ig-frame {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}
.ig-frame iframe { width: 100%; height: 540px; border: 0; display: block; background: #fff; }
.ig-note { padding: 12px 14px; color: var(--muted); font-size: 12px; }

/* ---------- FAQ (details/summary) ---------- */
.faq-section { margin-top: 96px; padding-bottom: 40px; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-card {
    padding: 0;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color .15s ease;
}
.faq-card[open] { border-color: var(--border-strong); }

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--text);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-strong);
}
.faq-toggle::before, .faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 1.5px;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-card[open] .faq-toggle::after { opacity: 0; }

.faq-answer {
    padding: 0 22px 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}
.faq-answer a.faq-link {
    display: inline-block;
    margin-top: 8px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
    margin: 96px 0 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.cta-band::before { display: none; }
.cta-inner {
    position: relative;
    padding: clamp(40px, 6vw, 64px);
    text-align: center;
    color: #fff;
}
.cta-title {
    font-size: clamp(30px, 4.4vw, 48px);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    color: #fff;
}
.cta-lede { color: var(--muted); max-width: 56ch; margin: 0 auto 24px; font-size: 16px; }
.mas-badge-on-dark img { height: 56px; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding: 48px 0 32px;
    color: var(--muted);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .nn-brand { font-size: 17px; margin-bottom: 10px; }
.footer-tag { color: var(--muted); font-size: 14px; max-width: 32ch; }
.footer-tag a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s ease, color .15s ease;
}
.footer-social a:hover { color: #fff; border-color: var(--border-strong); }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted); transition: color .15s ease; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 10px;
}
/* Author bio block on articles */
.author-bio {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    margin: 48px 0 24px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}
.author-bio .author-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.author-bio h3 { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.author-bio p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.author-bio strong { color: var(--text); font-weight: 600; }
.author-bio a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-lang { display: inline-flex; gap: 14px; }
.footer-lang a { color: var(--muted); transition: color .15s ease; }
.footer-lang a:hover, .footer-lang a[aria-current="page"] { color: #fff; }

/* Locale suggestion banner */
.nn-locale-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 100;
    font-size: 14px;
    max-width: calc(100vw - 32px);
}
.nn-locale-banner a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.nn-locale-banner button {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}
.nn-locale-banner button:hover { color: #fff; }

/* ---------- Hidden iTunes-driven nodes we no longer need on hero ---------- */
.app-icon-placeholder { display: none !important; }
.appIconLarge { display: none !important; }
.version-badge { display: none !important; }
.product-hunt-btn { /* legacy old-hero buttons, hide if still present */
    display: none;
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- /learn/ articles ---------- */
.learn-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.learn-wide { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    margin: 32px 0 22px;
}
.crumbs a { color: var(--muted); transition: color .15s ease; }
.crumbs a:hover { color: var(--text); }
.crumbs span.sep { opacity: .5; }

.article-head { margin-bottom: 36px; }
.article-kicker {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--border-strong);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.article-h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin-bottom: 16px;
}
.article-lede { color: var(--muted); font-size: 19px; line-height: 1.55; max-width: 60ch; }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); align-self: center; }

.article-body { font-size: 17px; line-height: 1.7; color: var(--text); }
.article-body p { margin-bottom: 20px; }
.article-body h2 {
    font-size: clamp(22px, 2.6vw, 28px);
    letter-spacing: -0.02em;
    margin: 36px 0 12px;
    font-weight: 600;
}
.article-body h3 { font-size: 19px; margin: 24px 0 8px; font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; padding: 0; list-style: revert; }
.article-body li { margin-bottom: 8px; color: var(--text); }
.article-body strong { font-weight: 600; }
.article-body a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-body blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 3px solid #fff;
    background: var(--bg-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text);
    font-style: italic;
}
.article-body code {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.92em;
    color: #fff;
}

/* Inline MAS CTA card */
.inline-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    margin: 32px 0;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}
.inline-cta-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: transparent;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.inline-cta-body { flex: 1; }
.inline-cta h3 { font-size: 17px; margin-bottom: 4px; font-weight: 600; }
.inline-cta p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.inline-cta a img { height: 44px; }
@media (max-width: 600px) { .inline-cta { flex-wrap: wrap; } .inline-cta a img { height: 40px; } }

/* Comparison table */
.cmp-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin: 24px 0; font-size: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.cmp-table th, .cmp-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table thead th {
    background: var(--bg-elev);
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border-strong);
}
.cmp-table .yes { color: #fff; font-weight: 600; }
.cmp-table .no { color: #6b6b6b; }
.cmp-table .partial { color: var(--muted); }

/* Related grid */
.related-section { margin: 48px 0; }
.related-section h2 { font-size: 22px; margin-bottom: 18px; letter-spacing: -0.02em; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
    display: block;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color .15s ease;
}
.related-card:hover { border-color: var(--border-strong); }
.related-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.related-card p { font-size: 13px; color: var(--muted); }

/* /learn/ index grid */
.learn-hero { text-align: center; padding: 56px 0 24px; }
.learn-hero h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.03em; margin-bottom: 14px; }
.learn-hero p { color: var(--muted); max-width: 56ch; margin: 0 auto; font-size: 18px; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 64px; }
@media (max-width: 960px) { .learn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .learn-grid { grid-template-columns: 1fr; } }
.learn-card {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border-color .15s ease;
}
.learn-card:hover { border-color: var(--border-strong); }
.learn-card-tag {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.learn-card h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.learn-card p { font-size: 14px; color: var(--muted); flex: 1; }
.learn-card .arrow { color: #fff; font-size: 13px; font-weight: 500; margin-top: 14px; }

/* ---------- Loading shimmer used by App Store fetcher (kept, white-tuned) ---------- */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(11, 13, 18, 0.04) 25%, rgba(11, 13, 18, 0.08) 50%, rgba(11, 13, 18, 0.04) 75%);
    background-size: 200% 100%;
    animation: nn-shimmer 1.6s infinite;
    border-radius: var(--radius-sm);
}

@keyframes nn-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
