/* ═══════════════════════════════════════════════════════════════
   Nap & Recharge — Site Stylesheet
   "Storybook night" theme: deep indigo sky, warm amber lantern
   light, friendly rounded type. Shared by all pages (nav + index).
   ═══════════════════════════════════════════════════════════════ */

:root {
    --ink-deep: #0a0f24;
    --ink: #0f1531;
    --ink-soft: #161e44;
    --ink-card: #141b3c;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --amber: #f6a83c;
    --amber-soft: #ffc46b;
    --amber-deep: #e88b22;
    --peach: #ff9d6c;
    --cream: #f7efe0;
    --body-c: #bcc3de;
    --muted: #8c94ba;
    --teal: #6fd3b1;
    --sky-violet: #a5b0f5;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ink-deep);
    color: var(--body-c);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(246, 168, 60, 0.35); color: #fff; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: #232c5c; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2f3a76; }

img { max-width: 100%; }

.material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

/* ───────────────────────────────────────────────
   Night sky backdrop (fixed star field + gradient)
   ─────────────────────────────────────────────── */
.sky {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 90% 55% at 50% -10%, #232c63 0%, rgba(35, 44, 99, 0) 60%),
        linear-gradient(180deg, #121937 0%, #0d1230 45%, var(--ink-deep) 100%);
    pointer-events: none;
}

.sky .stars,
.sky .stars2 {
    position: absolute;
    inset: 0;
    background-repeat: repeat;
}

.sky .stars {
    background-image:
        radial-gradient(1.4px 1.4px at 22px 34px, #fff7e0 60%, transparent 100%),
        radial-gradient(1px 1px at 121px 88px, #ffffff 60%, transparent 100%),
        radial-gradient(1.6px 1.6px at 203px 151px, #ffe9b3 60%, transparent 100%),
        radial-gradient(1px 1px at 274px 53px, #cfd8ff 60%, transparent 100%),
        radial-gradient(1.2px 1.2px at 333px 196px, #fff7e0 60%, transparent 100%),
        radial-gradient(1px 1px at 58px 222px, #ffffff 60%, transparent 100%),
        radial-gradient(1.3px 1.3px at 168px 250px, #ffe9b3 60%, transparent 100%);
    background-size: 380px 290px;
    opacity: 0.7;
    animation: twinkle 5s ease-in-out infinite alternate;
}

.sky .stars2 {
    background-image:
        radial-gradient(1px 1px at 45px 67px, #cfd8ff 60%, transparent 100%),
        radial-gradient(1.5px 1.5px at 156px 24px, #fff 60%, transparent 100%),
        radial-gradient(1px 1px at 240px 110px, #ffe9b3 60%, transparent 100%),
        radial-gradient(1.2px 1.2px at 86px 160px, #fff7e0 60%, transparent 100%),
        radial-gradient(1px 1px at 300px 220px, #cfd8ff 60%, transparent 100%);
    background-size: 460px 340px;
    opacity: 0.45;
    animation: twinkle 7s ease-in-out 1.5s infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.35; }
    to   { opacity: 0.8; }
}

/* ───────────────────────────────────────────────
   Layout helpers
   ─────────────────────────────────────────────── */
.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

section { position: relative; }

.section-pad { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

/* ───────────────────────────────────────────────
   Typography
   ─────────────────────────────────────────────── */
h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.18;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.lead {
    font-size: 1.15rem;
    color: var(--body-c);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-soft);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: '✦';
    font-size: 0.9em;
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }

.hl { color: var(--cream); font-weight: 700; }
.hl-amber { color: var(--amber-soft); font-weight: 700; }

/* ───────────────────────────────────────────────
   Buttons & chips
   ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    background: linear-gradient(180deg, var(--amber-soft) 0%, var(--amber-deep) 100%);
    color: #2b1804;
    box-shadow: 0 10px 30px rgba(246, 168, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(246, 168, 60, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--cream);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--body-c);
}

.chip .material-symbols-rounded { font-size: 17px; color: var(--teal); }

/* ───────────────────────────────────────────────
   Cards
   ─────────────────────────────────────────────── */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgba(246, 168, 60, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(5, 8, 24, 0.6);
}

.card-static:hover { transform: none; box-shadow: none; border-color: var(--line); }

.icon-bubble {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 168, 60, 0.13);
    border: 1px solid rgba(246, 168, 60, 0.25);
    color: var(--amber-soft);
    margin-bottom: 18px;
}

.icon-bubble .material-symbols-rounded { font-size: 26px; }

/* ═══════════════════════════════════════════════
   NAVIGATION  (markup generated by nav.js)
   ═══════════════════════════════════════════════ */
.nrnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(12, 17, 41, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nrnav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 13px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nrnav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nrnav-logo img {
    height: 42px;
    width: 42px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.nrnav-logo:hover img { transform: scale(1.06) rotate(-3deg); }

.nrnav-logo span {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.01em;
}

.nrnav-right { display: flex; align-items: center; gap: 9px; }

.nrnav-links { display: flex; align-items: center; gap: 2px; margin-right: 6px; }

.nrnav-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--body-c);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.nrnav-link:hover { color: var(--cream); background: rgba(255, 255, 255, 0.06); }
.nrnav-link.active { color: var(--amber-soft); }

.nrnav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--amber-soft) 0%, var(--amber-deep) 100%);
    color: #2b1804;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(246, 168, 60, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nrnav-cta:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(246, 168, 60, 0.38); }

.nrnav-iconbtn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    color: var(--body-c);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.nrnav-iconbtn:hover { background: rgba(255, 255, 255, 0.11); color: #fff; }

.nrnav-langbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-strong);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.nrnav-langbtn:hover { background: rgba(255, 255, 255, 0.11); }
.nrnav-langbtn .lang-code { color: var(--muted); font-weight: 700; font-size: 0.76rem; }

.nrnav-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 210px;
    background: #171f47;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(3, 5, 16, 0.7);
    overflow: hidden;
    padding: 6px;
}

.nrnav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 12px;
    background: none;
    color: var(--body-c);
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.nrnav-item:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.nrnav-item.active { color: var(--amber-soft); }
.nrnav-item .material-symbols-rounded { font-size: 20px; opacity: 0.8; }
.nrnav-item.secondary { color: var(--muted); font-weight: 600; }
.nrnav-item.secondary:hover { color: var(--body-c); }

.nrnav-divider { height: 1px; background: var(--line); margin: 5px 10px; }

.hidden { display: none !important; }

@media (max-width: 760px) {
    .nrnav-logo span { display: none; }
    .nrnav-links { display: none; }
    .nrnav-cta span.cta-label { display: none; }
    .nrnav-cta { padding: 9px 13px; }
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
    padding: 150px 0 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-copy { animation: rise 0.9s ease-out both; }

.hero-copy h1 .swash {
    color: var(--amber-soft);
    font-style: italic;
    font-weight: 500;
}

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 28px; }

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

.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-rating .stars-txt { color: var(--amber-soft); letter-spacing: 2px; }
.hero-rating b { color: var(--cream); font-size: 1.05rem; }

/* Hero illustration scene */
.hero-scene {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: rise 0.9s ease-out 0.15s both;
}

.moon {
    position: absolute;
    top: 8%;
    right: 12%;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 35%, #fff7dd 0%, #ffe6a7 55%, #f3cd7a 100%);
    box-shadow: 0 0 50px 18px rgba(255, 230, 167, 0.25), 0 0 120px 60px rgba(255, 230, 167, 0.08);
}

.moon::after {
    content: '';
    position: absolute;
    top: 22%;
    left: 28%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(214, 178, 110, 0.35);
    box-shadow: 26px 18px 0 -4px rgba(214, 178, 110, 0.3), 8px 34px 0 -7px rgba(214, 178, 110, 0.28);
}

.hero-dozer {
    position: relative;
    z-index: 2;
    width: min(330px, 78%);
    filter: drop-shadow(0 24px 40px rgba(3, 5, 16, 0.6));
    animation: floaty 6s ease-in-out infinite;
}

.zzz {
    position: absolute;
    z-index: 3;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--sky-violet);
    opacity: 0;
    animation: zfloat 4.5s ease-in-out infinite;
}

.zzz.z1 { font-size: 1.4rem; top: 38%; left: 60%; animation-delay: 0s; }
.zzz.z2 { font-size: 1.9rem; top: 30%; left: 66%; animation-delay: 1.5s; }
.zzz.z3 { font-size: 2.5rem; top: 21%; left: 72%; animation-delay: 3s; }

@keyframes zfloat {
    0%   { opacity: 0; transform: translateY(12px) rotate(8deg); }
    25%  { opacity: 0.9; }
    60%  { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-26px) rotate(-6deg); }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Rolling hills divider under the hero */
.hills { display: block; width: 100%; margin-top: -60px; position: relative; z-index: 1; }
.hills svg { display: block; width: 100%; height: auto; }

@media (max-width: 880px) {
    .hero { padding-top: 120px; }
    .hero-grid { grid-template-columns: 1fr; gap: 12px; }
    .hero-copy { text-align: center; }
    .hero-chips, .hero-actions { justify-content: center; }
    .hero-rating { justify-content: center; }
    .hero-scene { min-height: 320px; order: -1; }
    .hero-dozer { width: min(240px, 64%); }
    .moon { width: 64px; height: 64px; top: 4%; right: 16%; }
}

/* ═══════════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════════ */

/* Big stat numbers */
.stat-num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--amber-soft);
    line-height: 1;
    margin-bottom: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 880px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* Nap types grid (rendered by script.js) */
.naptype-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.naptype-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.naptype-card:hover { transform: translateY(-4px); border-color: rgba(246, 168, 60, 0.4); }

.naptype-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.naptype-head .material-symbols-rounded {
    font-size: 24px;
    color: var(--amber-soft);
    background: rgba(246, 168, 60, 0.12);
    border: 1px solid rgba(246, 168, 60, 0.22);
    border-radius: 12px;
    padding: 8px;
}

.naptype-dur {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--sky-violet);
    border: 1px solid rgba(165, 176, 245, 0.3);
    background: rgba(165, 176, 245, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.naptype-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.naptype-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* How-to steps */
.steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }

.step {
    display: flex;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.step:last-child { border-bottom: none; }

.step-num {
    counter-increment: step;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--amber-soft);
    background: rgba(246, 168, 60, 0.1);
    border: 1px solid rgba(246, 168, 60, 0.3);
}

.step-num::before { content: counter(step); }

.step h3 { margin-bottom: 4px; font-size: 1.18rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Feature highlight panels (app section) */
.feature-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.012) 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 24px;
}

.feature-panel.flip { grid-template-columns: 0.85fr 1.15fr; }
.feature-panel.flip .fp-copy { order: 2; }
.feature-panel.flip .fp-art { order: 1; }

.fp-art { display: flex; justify-content: center; }
.fp-art img { width: min(220px, 80%); filter: drop-shadow(0 18px 32px rgba(3, 5, 16, 0.55)); }

.fp-stat {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 16px;
    background: rgba(246, 168, 60, 0.07);
    border: 1px solid rgba(246, 168, 60, 0.2);
    margin-top: 8px;
}

.fp-stat .material-symbols-rounded { color: var(--amber-soft); font-size: 28px; }
.fp-stat b { color: var(--cream); display: block; font-size: 0.92rem; line-height: 1.3; }
.fp-stat .sub { color: var(--muted); font-size: 0.82rem; }

@media (max-width: 820px) {
    .feature-panel, .feature-panel.flip { grid-template-columns: 1fr; padding: 28px 22px; }
    .feature-panel.flip .fp-copy { order: 1; }
    .feature-panel.flip .fp-art { order: 2; }
}

/* Screenshot carousel */
.shots {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 44px;
    align-items: center;
}

@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } }

.carousel-frame {
    position: relative;
    width: min(280px, 80vw);
    aspect-ratio: 9 / 17;
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 70px rgba(3, 5, 16, 0.7), 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.carousel-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
    cursor: pointer;
}

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dot:hover { background: rgba(255, 255, 255, 0.45); }
.carousel-dot.active { background: var(--amber); width: 22px; }

/* App feature checklist */
.applist { list-style: none; margin: 0 0 26px; padding: 0; }

.applist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.applist li:last-child { border-bottom: none; }

.applist .material-symbols-rounded {
    color: var(--teal);
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.applist b { color: var(--cream); }
.applist span.desc { color: var(--muted); font-size: 0.94rem; display: block; }

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: 18px; position: relative; }

.price-head { display: flex; align-items: center; gap: 14px; }

.price-head .icon-bubble { margin: 0; }

.price-head .t { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); font-weight: 600; }
.price-head .s { font-size: 0.88rem; color: var(--muted); font-weight: 700; }

.price-card.pro {
    border-color: rgba(246, 168, 60, 0.45);
    background: linear-gradient(180deg, rgba(246, 168, 60, 0.07) 0%, rgba(246, 168, 60, 0.015) 100%);
    box-shadow: 0 0 50px rgba(246, 168, 60, 0.1);
}

.price-card.pro .price-head .s { color: var(--amber-soft); }

.price-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: linear-gradient(180deg, var(--amber-soft), var(--amber-deep));
    color: #2b1804;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.price-list { list-style: none; margin: 0; padding: 0; flex: 1; }

.price-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--body-c);
}

.price-list .material-symbols-rounded { font-size: 19px; color: var(--teal); flex-shrink: 0; }
.price-card.pro .price-list .material-symbols-rounded { color: var(--amber-soft); }
.price-list .v { color: var(--cream); font-weight: 700; margin-left: auto; text-align: right; }

/* Reviews */
.review {
    display: flex;
    flex-direction: column;
}

.review .stars-txt { color: var(--amber-soft); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 12px; }
.review p { font-size: 0.97rem; flex: 1; font-style: italic; color: var(--body-c); }

.review-by { display: flex; align-items: center; gap: 11px; padding-top: 14px; border-top: 1px solid var(--line); }

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--amber-soft);
    background: rgba(246, 168, 60, 0.13);
    border: 1px solid rgba(246, 168, 60, 0.25);
}

.review-by b { color: var(--cream); font-size: 0.9rem; display: block; line-height: 1.3; }
.review-by .d { color: var(--muted); font-size: 0.78rem; }

/* Journal / blog teasers */
.journal-card { display: flex; flex-direction: column; text-decoration: none; }

.journal-card .jc-meta { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; }
.journal-card h3 { font-size: 1.15rem; transition: color 0.25s; }
.journal-card:hover h3 { color: var(--amber-soft); }
.journal-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }

.jc-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--amber-soft);
    font-weight: 800;
    font-size: 0.88rem;
    margin-top: 8px;
}

.jc-more .material-symbols-rounded { font-size: 17px; transition: transform 0.25s; }
.journal-card:hover .jc-more .material-symbols-rounded { transform: translateX(4px); }

/* Inner page header (blog, patch notes, …) */
.page-head { padding: 150px 0 36px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-head .lead { max-width: 620px; }

.journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .journal-grid { grid-template-columns: 1fr; } }

.journal-card.featured {
    position: relative;
    border-color: rgba(246, 168, 60, 0.4);
    background: linear-gradient(180deg, rgba(246, 168, 60, 0.08) 0%, rgba(255, 255, 255, 0.015) 100%);
    margin-bottom: 22px;
}

.journal-card.featured h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); max-width: 85%; }

.badge-latest {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(246, 168, 60, 0.14);
    border: 1px solid rgba(246, 168, 60, 0.32);
    color: var(--amber-soft);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.badge-latest .material-symbols-rounded { font-size: 14px; }

/* ───────────────────────────────────────────────
   Article pages (blog posts, legal pages)
   ─────────────────────────────────────────────── */
.article-page { padding-top: 130px; padding-bottom: 90px; }

.back-row { margin-bottom: 22px; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--amber-soft);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover { color: var(--cream); }
.back-link .material-symbols-rounded { font-size: 20px; }

.article {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(26px, 5vw, 48px);
    animation: rise 0.6s ease-out both;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.article-meta .material-symbols-rounded { color: var(--amber-soft); font-size: 20px; }

.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 24px; }

.article-body { font-size: 1.04rem; color: var(--body-c); line-height: 1.75; }
.article-body p { margin: 0 0 1.1em; }
.article-body strong { color: var(--cream); }
.article-body em { color: var(--sky-violet); }

.article-source {
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 14px;
    line-height: 1.6;
}

/* Legal / content sections rendered by pages_script.js */
.legal-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 28px;
    margin-bottom: 18px;
}

.legal-section h2 { font-size: 1.25rem; margin-bottom: 10px; }
.legal-section p, .legal-section div { color: var(--muted); font-size: 0.97rem; white-space: pre-line; margin: 0; }

.page-sub { color: var(--muted); font-size: 0.9rem; font-weight: 700; }

/* ───────────────────────────────────────────────
   Patch notes timeline
   ─────────────────────────────────────────────── */
.patch-item { position: relative; display: flex; gap: 26px; padding-bottom: 44px; }
.patch-item:last-child { padding-bottom: 0; }

.patch-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; padding-top: 12px; }

.patch-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #232c5c;
    border: 2px solid var(--line-strong);
}

.patch-dot.latest {
    background: var(--amber);
    border-color: rgba(246, 168, 60, 0.5);
    box-shadow: 0 0 18px rgba(246, 168, 60, 0.7);
}

.patch-line { width: 1px; flex: 1; margin-top: 12px; background: linear-gradient(180deg, var(--line-strong), transparent); }

.patch-card {
    flex: 1;
    min-width: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(22px, 4vw, 34px);
    transition: border-color 0.3s;
}

.patch-card:hover { border-color: var(--line-strong); }

.patch-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.patch-version {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-latest.inline { position: static; }

.patch-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.patch-date .material-symbols-rounded { font-size: 17px; opacity: 0.7; }

.patch-cat { display: flex; align-items: center; gap: 12px; margin: 20px 0 10px; }
.patch-cat:first-child { margin-top: 0; }
.patch-cat .rule { height: 1px; flex: 1; background: var(--line); }

.patch-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid;
}

.patch-cat-badge .material-symbols-rounded { font-size: 15px; }

.cat-new      { color: var(--amber-soft); background: rgba(246, 168, 60, 0.1);  border-color: rgba(246, 168, 60, 0.3); }
.cat-improve  { color: #8fb8ff;           background: rgba(96, 145, 255, 0.1);  border-color: rgba(96, 145, 255, 0.3); }
.cat-changes  { color: #c4a6ff;           background: rgba(167, 122, 255, 0.1); border-color: rgba(167, 122, 255, 0.3); }
.cat-fixes    { color: #ff9c9c;           background: rgba(255, 110, 110, 0.1); border-color: rgba(255, 110, 110, 0.3); }
.cat-adjust   { color: var(--peach);      background: rgba(255, 157, 108, 0.1); border-color: rgba(255, 157, 108, 0.3); }
.cat-default  { color: var(--body-c);     background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }

.patch-list-ul { list-style: none; margin: 0; padding: 0; }

.patch-list-ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.96rem;
    color: var(--body-c);
}

.patch-list-ul li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin-top: 10px;
}

@media (max-width: 640px) {
    .patch-item { gap: 0; }
    .patch-rail { display: none; }
}

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 20px; margin-bottom: 14px; background: rgba(255, 255, 255, 0.025); overflow: hidden; }

.faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 800;
    color: var(--cream);
    font-size: 1.02rem;
    transition: background 0.2s;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, 0.03); }

.faq summary .material-symbols-rounded {
    flex-shrink: 0;
    color: var(--amber-soft);
    transition: transform 0.3s ease;
}

.faq[open] summary .material-symbols-rounded { transform: rotate(45deg); }

.faq .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; }
.faq .faq-body p { margin: 0; }

/* Play badge */
.play-badge { display: inline-block; height: 60px; transition: transform 0.25s ease; }
.play-badge:hover { transform: translateY(-3px) scale(1.03); }
.play-badge img { height: 100%; width: auto; }

/* Final CTA */
.cta-final {
    text-align: center;
    padding: 90px 0 100px;
    position: relative;
}

.cta-final .dozer { width: 130px; margin-bottom: 18px; animation: floaty 5s ease-in-out infinite; }

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 44px;
    background: rgba(7, 10, 26, 0.6);
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

.footer-logo { width: 52px; height: 52px; border-radius: 16px; opacity: 0.55; transition: opacity 0.3s; }
.footer-logo:hover { opacity: 1; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 0.92rem; font-weight: 700; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }

.footer-note { color: #6b73a0; font-size: 0.86rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.footer-note .dot { width: 4px; height: 4px; border-radius: 50%; background: #3a4475; }

/* Soft section background variation */
.tint {
    background: linear-gradient(180deg, rgba(22, 30, 68, 0.45) 0%, rgba(22, 30, 68, 0.12) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
