/*
 * Public website (front page, Pro) and the Pro page inside the app. Everything is scoped to
 * body.site or .s-pro-page, so the app's own styles are untouched.
 */
@font-face {
    font-family: "DM Serif Display";
    src: url("/fonts/DMSerifDisplay-Regular.ttf") format("truetype");
    font-display: swap;
}

.site {
    --s-bg: #f7f5f0;
    --s-surface: #ffffff;
    --s-tint: #efece4;
    --s-ink: #13201d;
    --s-muted: #5d6965;
    --s-line: #e3dfd4;
    --s-accent: #0f766e;
    --s-accent-strong: #0b5f58;
    --s-accent-soft: #dcefeb;
    --s-gold: #e7a93b;
    --s-night: #051d1a;
    --s-night-2: #0a3833;
    --s-shadow: 0 1px 2px rgb(16 24 22 / .05), 0 12px 32px rgb(16 24 22 / .08);
    --s-shadow-lg: 0 30px 80px rgb(4 20 18 / .28);
    --s-radius: 20px;
    --s-display: "DM Serif Display", Georgia, "Times New Roman", serif;
    --s-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --s-ease: cubic-bezier(.2, .8, .2, 1);
}
/* Dark: follows the device, unless the visitor picked light or dark (sun/moon button, stored per device) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .site {
        --s-bg: #0e1412;
        --s-surface: #151d1b;
        --s-tint: #121a18;
        --s-ink: #e9eeeb;
        --s-muted: #9aa6a2;
        --s-line: #26302d;
        --s-accent: #2bb3a5;
        --s-accent-strong: #5fd0c3;
        --s-accent-soft: #143a35;
        --s-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
    }
}
:root[data-theme="dark"] .site {
    --s-bg: #0e1412;
    --s-surface: #151d1b;
    --s-tint: #121a18;
    --s-ink: #e9eeeb;
    --s-muted: #9aa6a2;
    --s-line: #26302d;
    --s-accent: #2bb3a5;
    --s-accent-strong: #5fd0c3;
    --s-accent-soft: #143a35;
    --s-shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
}
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
/* Inside the app: follow the app's own light/dark tokens */
body:not(.site) .s-pro-page {
    --s-bg: var(--bg);
    --s-surface: var(--surface);
    --s-tint: var(--surface-2);
    --s-ink: var(--text);
    --s-muted: var(--muted);
    --s-line: var(--line);
    --s-accent: var(--accent);
    --s-accent-strong: var(--accent-strong);
    --s-accent-soft: var(--accent-soft);
    --s-gold: #e7a93b;
    --s-shadow: var(--shadow);
    --s-radius: var(--radius);
    --s-display: "DM Serif Display", Georgia, "Times New Roman", serif;
    --s-ease: var(--ease);
}

.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site {
    margin: 0; background: var(--s-bg); color: var(--s-ink);
    font: 400 17px/1.6 var(--s-font);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.site img { max-width: 100%; display: block; }
:where(.site) a { color: inherit; } /* low specificity: buttons set their own colour */
.site h1, .site h2, .site h3, .s-pro-page h1, .s-pro-page h2 { margin: 0; line-height: 1.12; }
.site h1, .site h2, .s-pro-page h1, .s-pro-page h2 { font-family: var(--s-display); font-weight: 400; letter-spacing: -.01em; }
.site h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -.005em; }
.site p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--s-surface); padding: .6rem 1rem; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

.s-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.s-narrow { max-width: 820px; }
.s-center { text-align: center; margin-top: 1.75rem; }
.s-muted { color: var(--s-muted); }
.s-link { color: var(--s-accent); font-weight: 600; text-decoration: none; }
.s-link:hover { text-decoration: underline; }

/* ── Buttons ─────────────────────────────────── */
.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
    font: 650 1rem/1.2 var(--s-font, inherit); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s var(--s-ease), background .15s, box-shadow .15s, color .15s, border-color .15s;
}
.s-btn:active { transform: scale(.98); }
.s-btn-sm { padding: .55rem 1rem; font-size: .93rem; }
.s-btn-lg { padding: 1rem 1.7rem; font-size: 1.06rem; }
.s-btn-block { width: 100%; }
.s-btn-primary { background: var(--s-accent); color: #fff; box-shadow: 0 6px 18px rgb(15 118 110 / .28); }
.s-btn-primary:hover { background: var(--s-accent-strong); }
.s-btn-ghost { border-color: rgb(255 255 255 / .35); color: #fff; }
.s-btn-ghost:hover { background: rgb(255 255 255 / .1); }
.s-btn-outline { border-color: var(--s-line); color: var(--s-ink); background: var(--s-surface); }
.s-btn-outline:hover { border-color: var(--s-accent); color: var(--s-accent); }
.s-btn-light { background: #fff; color: var(--s-night-2, #0a3833); }
.s-btn-light:hover { background: #eaf6f4; }
.s-btn.is-static { cursor: default; box-shadow: none; opacity: .85; }
.s-btn.is-static:active { transform: none; }
.s-btn:focus-visible, .s-nav a:focus-visible, .s-billing label:focus-visible { outline: 3px solid var(--s-gold); outline-offset: 2px; }

/* ── Header ──────────────────────────────────── */
.s-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--s-bg) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--s-line) 70%, transparent);
    transition: background .25s, border-color .25s, color .25s;
}
.has-dark-hero .s-header:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .s-header { position: fixed; left: 0; right: 0; }
.s-header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.s-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em; text-decoration: none; }
.s-brand svg { width: 26px; height: 26px; fill: var(--s-accent); }
.has-dark-hero .s-header:not(.is-scrolled):not(.is-open) .s-brand svg { fill: #5fd0c3; }
.s-nav { display: flex; align-items: center; gap: .25rem; }
.s-nav a:not(.s-btn) { padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: .97rem; opacity: .85; }
.s-nav a:not(.s-btn):hover, .s-nav a.is-active { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.s-nav .s-btn { margin-left: .4rem; }
.s-menu-btn { display: none; }
.s-theme {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: .25rem;
    border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer; flex: none;
}
.s-theme:hover { background: rgb(127 127 127 / .14); }
.s-theme svg { width: 20px; height: 20px; fill: currentColor; }
.s-theme .s-sun { display: none; }
:root[data-theme="dark"] .s-theme .s-sun { display: block; }
:root[data-theme="dark"] .s-theme .s-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .s-theme .s-sun { display: block; }
    :root:not([data-theme="light"]) .s-theme .s-moon { display: none; }
}
@media (max-width: 880px) {
    .s-menu-btn {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
        width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 10px;
    }
    .s-menu-btn span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
    .s-header.is-open .s-menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
    .s-header.is-open .s-menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .s-nav {
        position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .15rem;
        padding: .75rem 20px 1.25rem; background: var(--s-bg); color: var(--s-ink);
        border-bottom: 1px solid var(--s-line); box-shadow: 0 20px 40px rgb(0 0 0 / .12);
        transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--s-ease);
    }
    .s-header.is-open .s-nav { transform: none; opacity: 1; pointer-events: auto; }
    .s-nav a:not(.s-btn) { padding: .85rem .5rem; font-size: 1.05rem; border-radius: 10px; }
    .s-nav .s-btn { margin: .6rem 0 0; padding: .9rem; }
}

.s-flash {
    max-width: 640px; margin: 24px auto 0; padding: .9rem 1.2rem; border-radius: 14px;
    background: var(--s-accent-soft); color: var(--s-ink); text-align: center; font-weight: 550;
}

/* ── Hero ────────────────────────────────────── */
.s-hero {
    position: relative; overflow: hidden; color: #f2f7f5;
    background:
        radial-gradient(1200px 600px at 75% 40%, rgb(43 179 165 / .22), transparent 60%),
        radial-gradient(800px 500px at 10% 100%, rgb(231 169 59 / .10), transparent 60%),
        linear-gradient(180deg, var(--s-night) 0%, var(--s-night-2) 100%);
    padding: 120px 0 72px;
}
.s-hero::after { /* soft stars */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image:
        radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 68%, #fff, transparent),
        radial-gradient(1px 1px at 47% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 63% 82%, #fff, transparent),
        radial-gradient(1px 1px at 86% 18%, #fff, transparent), radial-gradient(1px 1px at 92% 64%, #fff, transparent),
        radial-gradient(1px 1px at 6% 86%, #fff, transparent), radial-gradient(1px 1px at 38% 40%, #fff, transparent);
}
.s-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.s-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--s-accent); margin-bottom: .9rem !important; }
.s-hero .s-eyebrow { color: #7fe0d4; }
.s-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); color: #fff; }
.s-lead { font-size: 1.15rem; color: var(--s-muted); max-width: 40rem; margin-top: 1.1rem !important; line-height: 1.6; }
.s-hero .s-lead { color: rgb(233 242 239 / .82); font-size: 1.2rem; }
.s-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.s-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 1.6rem 0 0; font-size: .95rem; color: rgb(233 242 239 / .8); }
.s-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.s-trust svg { width: 18px; height: 18px; fill: #5fd0c3; }

.s-hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.s-globe {
    position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
    background: radial-gradient(circle at 35% 30%, #1d5d6a 0%, #0c3340 45%, #041a22 75%);
    box-shadow: 0 0 0 1px rgb(127 224 212 / .12), 0 0 80px rgb(43 179 165 / .25), var(--s-shadow-lg);
}
/* MapLibre's own .maplibregl-map sets position: relative, which would collapse the sphere */
.s-globe.maplibregl-map { position: absolute; }
.s-globe .maplibregl-canvas { outline: none; }
.s-globe .maplibregl-ctrl-bottom-right, .s-globe .maplibregl-ctrl-bottom-left { display: none; }
.s-globe-shade { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
    background: radial-gradient(circle at 70% 75%, transparent 55%, rgb(4 20 18 / .55) 100%); }
.s-globe-credit { position: absolute; right: 18%; bottom: 3%; z-index: 3; font-size: .68rem; color: rgb(255 255 255 / .55); }
.s-float {
    position: absolute; z-index: 4; display: flex; gap: .75rem; align-items: center;
    background: rgb(255 255 255 / .94); color: #13201d; border-radius: 16px; padding: .7rem .9rem;
    box-shadow: 0 18px 40px rgb(0 0 0 / .3); backdrop-filter: blur(8px);
    animation: s-float 6s ease-in-out infinite;
}
.s-float-story { left: -6%; bottom: 12%; max-width: 300px; }
.s-float-thumb { width: 54px; height: 54px; border-radius: 12px; flex: none; background: #0c3340 center / cover; }
.s-float small { display: block; font-size: .72rem; color: #5d6965; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.s-float strong { display: block; font-size: .98rem; }
.s-float em { display: block; font-style: normal; font-size: .84rem; color: #3c4744; line-height: 1.35; margin-top: .1rem; }
.s-float-stats { right: -4%; top: 10%; gap: 1rem; font-size: .82rem; color: #5d6965; animation-delay: -3s; }
.s-float-stats strong { display: block; font-size: 1.15rem; color: #13201d; }
@keyframes s-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .s-float { animation: none; } }

@media (max-width: 960px) {
    .s-hero { padding: 104px 0 56px; }
    .s-hero-in { grid-template-columns: 1fr; gap: 36px; }
    .s-hero-copy { text-align: center; }
    .s-hero .s-lead { margin-left: auto; margin-right: auto; }
    .s-cta, .s-trust { justify-content: center; }
    .s-hero-visual { max-width: 440px; }
    .s-float-story { left: 0; bottom: 4%; max-width: 270px; }
    .s-float-stats { right: 0; top: 4%; }
}
@media (max-width: 480px) {
    .s-hero h1 { font-size: 2.45rem; }
    .s-hero .s-lead { font-size: 1.08rem; }
    .s-cta .s-btn { width: 100%; }
    .s-float { padding: .55rem .7rem; border-radius: 13px; }
    .s-float-thumb { width: 44px; height: 44px; }
    .s-float em { display: none; }
    .s-float-stats { gap: .7rem; }
}

/* ── Sections ────────────────────────────────── */
.s-section { padding: 96px 0; }
.s-section-tint { background: var(--s-tint); }
.s-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.s-head h2, .s-split-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.s-head .s-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .s-section { padding: 68px 0; } .s-head { margin-bottom: 40px; } }

.s-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s-feature {
    background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius);
    padding: 28px; transition: transform .2s var(--s-ease), box-shadow .2s;
}
.s-feature:hover { transform: translateY(-3px); box-shadow: var(--s-shadow); }
.s-feature-h { font-size: 1.2rem; }
.s-feature p { color: var(--s-muted); margin-top: .5rem; font-size: 1rem; }
.s-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--s-accent-soft); margin-bottom: 1.1rem; }
.s-icon svg { width: 24px; height: 24px; fill: var(--s-accent); }
@media (max-width: 960px) { .s-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .s-features { grid-template-columns: 1fr; } .s-feature { padding: 22px; } }

/* How it works: three numbered steps on a dashed route */
.s-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0 0 72px; counter-reset: s; }
.s-steps::before {
    content: ""; position: absolute; top: 27px; left: 16%; right: 16%; height: 0;
    border-top: 2.5px dashed color-mix(in srgb, var(--s-accent) 45%, transparent);
}
.s-steps li { position: relative; text-align: center; padding: 0 8px; }
.s-step-n {
    position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--s-accent); color: #fff; font: 400 1.6rem/1 var(--s-display); margin-bottom: 1rem;
    box-shadow: 0 0 0 8px var(--s-tint);
}
.s-steps p { color: var(--s-muted); margin-top: .45rem; }
@media (max-width: 760px) {
    .s-steps { grid-template-columns: 1fr; gap: 32px; }
    .s-steps::before { top: 28px; bottom: 28px; left: 50%; right: auto; border-top: 0; border-left: 2.5px dashed color-mix(in srgb, var(--s-accent) 45%, transparent); }
    .s-steps li { background: var(--s-tint); }
}

.s-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.s-showcase-copy h3 { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--s-display); }
.s-showcase-copy p { color: var(--s-muted); margin: 1rem 0 1.6rem; font-size: 1.08rem; }
.s-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.s-timeline::before { content: ""; position: absolute; left: 37px; top: 30px; bottom: 30px; width: 2px; background: color-mix(in srgb, var(--s-accent) 30%, transparent); }
.s-stop {
    position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center;
    background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 18px; padding: 12px 18px 12px 12px; box-shadow: var(--s-shadow);
}
.s-stop-img { width: 76px; height: 76px; border-radius: 13px; background: #0c3340 center / cover; }
.s-stop-body small { display: block; font-size: .75rem; font-weight: 700; color: var(--s-accent); text-transform: uppercase; letter-spacing: .07em; }
.s-stop-body strong { display: block; font-size: 1.05rem; }
.s-stop-body span { display: block; color: var(--s-muted); font-size: .93rem; line-height: 1.4; margin-top: .15rem; }
.s-stop-media { font-size: .8rem; color: var(--s-muted); white-space: nowrap; align-self: start; padding-top: .3rem; }
@media (max-width: 900px) { .s-showcase { grid-template-columns: 1fr; gap: 36px; } .s-showcase-copy { text-align: center; } }
@media (max-width: 480px) {
    .s-stop { grid-template-columns: 60px 1fr; padding-right: 14px; }
    .s-stop-img { width: 60px; height: 60px; }
    .s-stop-media { display: none; }
    .s-timeline::before { left: 41px; }
}

/* Photo book */
.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.s-split-copy .s-lead { margin-bottom: 1.4rem; }
.s-checks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .65rem; }
.s-checks li { position: relative; padding-left: 2rem; }
.s-checks li::before {
    content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--s-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f766e'%3E%3Cpath d='m9.5 16.2-4-4L4 13.7l5.5 5.5L20 8.7l-1.5-1.5z'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.s-book { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; justify-self: center; perspective: 1600px; }
.s-book-back, .s-book-cover { position: absolute; top: 8%; bottom: 8%; border-radius: 6px 14px 14px 6px; }
.s-book-back { z-index: 1; left: 18%; right: 4%; background: #e9e4d8; transform: rotate(6deg); box-shadow: var(--s-shadow); }
.s-book-cover {
    z-index: 2; left: 8%; right: 14%; overflow: hidden; transform: rotate(-3deg); transform-origin: left center;
    box-shadow: inset 10px 0 18px rgb(0 0 0 / .35), var(--s-shadow-lg); background: #0c3340;
}
.s-book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; z-index: 2; background: linear-gradient(90deg, rgb(0 0 0 / .35), rgb(255 255 255 / .08), transparent); }
.s-book-tiles { position: absolute; inset: -10%; display: grid; grid-template-columns: 1fr 1fr; }
.s-book-tiles img { width: 100%; height: 100%; object-fit: cover; }
.s-book-title {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 48px 26px 26px; color: #fff;
    background: linear-gradient(transparent, rgb(3 18 16 / .82));
}
.s-book-title small { font-weight: 700; letter-spacing: .2em; font-size: .78rem; opacity: .85; }
.s-book-title strong { display: block; font: 400 2.3rem/1.05 var(--s-display); margin: .2rem 0 .3rem; }
.s-book-title em { font-style: normal; font-size: .92rem; opacity: .85; }
@media (max-width: 900px) { .s-split { grid-template-columns: 1fr; gap: 40px; } .s-book { max-width: 360px; } }

/* ── Pricing ─────────────────────────────────── */
.s-pricing { position: relative; }
.s-bill-radio { position: absolute; opacity: 0; pointer-events: none; }
.s-billing {
    display: flex; width: max-content; margin: 0 auto 32px; padding: 5px; gap: 4px;
    background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 999px;
}
.s-billing label { padding: .6rem 1.2rem; border-radius: 999px; font-weight: 650; font-size: .95rem; cursor: pointer; color: var(--s-muted); transition: background .15s, color .15s; }
.s-save { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 999px; background: var(--s-gold); color: #2b1d02; font-size: .75rem; font-weight: 750; }
#s-bill-year:checked ~ .s-billing label[for="s-bill-year"],
#s-bill-month:checked ~ .s-billing label[for="s-bill-month"] { background: var(--s-accent); color: #fff; }
#s-bill-year:focus-visible ~ .s-billing label[for="s-bill-year"],
#s-bill-month:focus-visible ~ .s-billing label[for="s-bill-month"] { outline: 3px solid var(--s-gold); outline-offset: 2px; }
#s-bill-year:checked ~ .s-plans .when-month,
#s-bill-month:checked ~ .s-plans .when-year { display: none !important; }

.s-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; align-items: start; }
.s-plan {
    position: relative; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 24px; padding: 32px;
}
.s-plan.is-pro {
    border: 2px solid var(--s-accent);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--s-accent) 18%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--s-accent-soft) 55%, var(--s-surface)) 0%, var(--s-surface) 40%);
}
.s-plan h3 { font: 400 1.9rem/1.1 var(--s-display); }
.s-plan-badge {
    position: absolute; top: -13px; right: 24px; padding: .3rem .8rem; border-radius: 999px;
    background: var(--s-gold); color: #2b1d02; font-size: .76rem; font-weight: 750; letter-spacing: .03em;
}
.s-plan-tag { color: var(--s-muted); margin-top: .3rem !important; min-height: 3em; font-size: .97rem; }
.s-price { margin-top: 1rem !important; display: flex; align-items: baseline; gap: .35rem; }
.s-price strong { font: 400 2.9rem/1 var(--s-display); letter-spacing: -.02em; }
.s-price span { color: var(--s-muted); font-weight: 550; }
.s-price-note { color: var(--s-muted); font-size: .9rem; margin: .35rem 0 1.4rem !important; min-height: 1.4em; }
.s-plan-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; font-size: .98rem; }
.s-plan-list li { position: relative; padding-left: 1.75rem; }
.s-plan-list li::before {
    content: ""; position: absolute; left: 0; top: .32rem; width: 1.05rem; height: 1.05rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f766e'%3E%3Cpath d='m9.5 16.2-4-4L4 13.7l5.5 5.5L20 8.7l-1.5-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.s-plan-list .s-plan-all { font-weight: 700; padding-left: 0; }
.s-plan-list .s-plan-all::before { display: none; }
.s-plan-list.is-pro li:not(.s-plan-all) { font-weight: 550; }
.s-pricing-foot { text-align: center; color: var(--s-muted); font-size: .88rem; margin-top: 1.4rem !important; }
@media (max-width: 760px) { .s-plans { grid-template-columns: 1fr; max-width: 480px; } .s-plan.is-pro { order: -1; } .s-plan { padding: 26px; } .s-plan-tag { min-height: 0; } }

/* ── FAQ ─────────────────────────────────────── */
.s-faq { display: grid; gap: 12px; }
.s-faq details { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.s-faq details[open] { box-shadow: var(--s-shadow); }
.s-faq summary {
    list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-weight: 650; font-size: 1.04rem;
}
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after {
    content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid var(--s-muted); border-bottom: 2px solid var(--s-muted); transform: rotate(45deg); transition: transform .2s;
}
.s-faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.s-faq details p { color: var(--s-muted); padding: 0 0 20px; margin: 0; }

/* ── Closing band ────────────────────────────── */
.s-final { background: linear-gradient(135deg, var(--s-night-2, #0a3833) 0%, var(--s-accent, #0f766e) 100%); color: #fff; padding: 88px 0; text-align: center; }
.s-final h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 820px; margin: 0 auto; }
.s-final p { opacity: .85; margin: 1rem 0 2rem; font-size: 1.12rem; }

/* ── Footer ──────────────────────────────────── */
.s-footer { background: var(--s-night); color: rgb(233 242 239 / .75); padding: 64px 0 28px; font-size: .95rem; }
.s-footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.s-footer .s-brand { color: #fff; }
.s-footer .s-brand svg { fill: #5fd0c3; }
.s-footer-brand p { margin-top: .9rem; max-width: 22rem; line-height: 1.55; }
.s-footer-links { display: flex; flex-direction: column; gap: .5rem; }
.s-footer-links strong { color: #fff; font-weight: 650; margin-bottom: .3rem; }
.s-footer a { text-decoration: none; }
.s-footer a:hover { color: #fff; }
.s-langs { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.s-langs a.is-active { color: #fff; font-weight: 650; }
.s-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
@media (max-width: 860px) { .s-footer-in { grid-template-columns: 1fr 1fr; } .s-footer-brand { grid-column: 1 / -1; } }

/* ── Pro page (site and app) ─────────────────── */
.s-pro-page { color: var(--s-ink); }
.site .s-pro-page { padding: 56px 20px 88px; max-width: 1040px; margin: 0 auto; }
.s-pro-page .s-pro-hero { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.s-pro-page .s-pro-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.s-pro-page .s-lead { margin-left: auto; margin-right: auto; color: var(--s-muted); font-size: 1.12rem; margin-top: 1rem; line-height: 1.6; }
.s-pro-page .s-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--s-accent); margin: 0 0 .9rem; }
.s-pro-page h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-align: center; margin-bottom: 28px; }
.s-pro-page h3 { font-size: 1.1rem; margin: 0; }
.s-pro-page p { margin: 0; }
.s-pro-page .s-plan h3 { font: 400 1.9rem/1.1 var(--s-display); }
.s-pro-page section + section { margin-top: 72px; }
.s-pro-page .s-pricing { margin-top: 8px; }

.s-manage {
    display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
    margin: 0 auto 48px; max-width: 900px; padding: 22px 26px; border-radius: 20px;
    background: var(--s-surface); border: 1.5px solid var(--s-accent); box-shadow: var(--s-shadow);
}
.s-manage h2 { font-size: 1.5rem; text-align: left; margin: .4rem 0 .25rem; }
.s-manage p { color: var(--s-muted); font-size: .95rem; }
.s-pro-pill { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--s-gold); color: #2b1d02; font-size: .75rem; font-weight: 800; letter-spacing: .06em; }
.s-error { color: #b42318 !important; margin-top: .4rem !important; font-weight: 600; }

.s-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.s-perks article { background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 26px; }
.s-perks p { color: var(--s-muted); margin-top: .45rem; font-size: .98rem; line-height: 1.55; }
@media (max-width: 760px) { .s-perks { grid-template-columns: 1fr; } }

.s-compare { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 20px; overflow: hidden; font-size: .98rem; }
.s-compare th, .s-compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--s-line); }
.s-compare tr:last-child th, .s-compare tr:last-child td { border-bottom: 0; }
.s-compare thead th { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--s-muted); background: var(--s-tint); }
.s-compare thead th:last-child { color: var(--s-accent); }
.s-compare tbody th { font-weight: 550; }
.s-compare td { width: 26%; }
.s-compare td:last-child { background: color-mix(in srgb, var(--s-accent-soft) 40%, transparent); }
.s-compare .yes { color: var(--s-accent); font-weight: 800; }
.s-compare .no { color: var(--s-muted); }
@media (max-width: 560px) { .s-compare th, .s-compare td { padding: 12px 10px; font-size: .9rem; } .s-compare td { width: 28%; } }

.s-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin-left: auto; margin-right: auto; }
.s-promise div { padding: 20px 22px; border-radius: 18px; background: var(--s-tint); }
.s-promise strong { display: block; margin-bottom: .25rem; }
.s-promise span { color: var(--s-muted); font-size: .94rem; }
@media (max-width: 760px) { .s-promise { grid-template-columns: 1fr; } }
.s-faq-wrap { max-width: 820px; margin-left: auto; margin-right: auto; }
.s-faq-wrap .s-center { margin-top: 1.4rem; }

.s-welcome { text-align: center; max-width: 620px; margin: 24px auto; padding: 40px 28px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 24px; box-shadow: var(--s-shadow); }
.s-welcome h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 1rem 0 .2rem; }
.s-welcome .s-lead { margin-bottom: 1.6rem; }
.s-welcome-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; }
.s-welcome-icon svg { width: 36px; height: 36px; fill: #fff; }
.s-welcome-icon.is-ok { background: var(--s-accent); box-shadow: 0 0 0 10px var(--s-accent-soft); }
.s-welcome-icon.is-fail { background: #b42318; }
.s-welcome-list { text-align: left; max-width: 420px; margin: 0 auto 1.8rem; }
.s-welcome .spinner { width: 44px; height: 44px; border-width: 4px; margin: 0 auto; display: block; }

/* ── Switch from Polarsteps ──────────────────── */
.s-ps-hero { padding: 72px 0 80px; background: radial-gradient(900px 500px at 85% 30%, var(--s-accent-soft), transparent 70%); }
.s-ps-hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.s-ps-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.s-ps-hero .s-cta { margin-top: 1.8rem; }
.s-ps-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; }
.s-ps-file {
    display: flex; gap: .7rem; align-items: center; padding: 16px 18px; border-radius: 18px;
    background: var(--s-surface); border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
}
.s-ps-file svg { width: 38px; height: 38px; fill: var(--s-muted); flex: none; }
.s-ps-file strong { display: block; font-size: .98rem; }
.s-ps-file small { color: var(--s-muted); font-size: .8rem; }
.s-ps-arrow { position: relative; width: 56px; height: 2px; background: repeating-linear-gradient(90deg, var(--s-accent) 0 6px, transparent 6px 11px); flex: none; }
.s-ps-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--s-accent); }
.s-ps-arrow span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--s-gold); animation: s-ps-move 2.2s ease-in-out infinite; }
@keyframes s-ps-move { from { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { left: 46px; opacity: 0; } }
.s-ps-trips { display: grid; gap: 10px; }
.s-ps-trip {
    display: flex; gap: .7rem; align-items: center; padding: 9px 14px 9px 9px; border-radius: 15px; min-width: 200px;
    background: var(--s-surface); border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
    animation: s-ps-in .6s var(--s-ease) both; animation-delay: calc(.25s + var(--i) * .18s);
}
.s-ps-trip-img { width: 46px; height: 46px; border-radius: 11px; background: #0c3340 center / cover; flex: none; }
.s-ps-trip strong { display: block; font-size: .95rem; }
.s-ps-trip small { color: var(--s-muted); font-size: .8rem; }
@keyframes s-ps-in { from { opacity: 0; transform: translateX(-10px); } }
@media (prefers-reduced-motion: reduce) { .s-ps-arrow span, .s-ps-trip { animation: none; } }
.s-ps-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.s-ps-split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.2rem; }
.s-ps-split .s-muted { font-size: 1.08rem; }
.s-ps-disclaimer { margin-top: 2.2rem !important; font-size: .8rem; opacity: .65 !important; max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 900px) {
    .s-ps-hero-in, .s-ps-split { grid-template-columns: 1fr; gap: 40px; }
    .s-ps-hero { padding: 48px 0 56px; text-align: center; }
    .s-ps-hero .s-cta { justify-content: center; }
}
@media (max-width: 520px) {
    .s-ps-visual { flex-direction: column; }
    .s-ps-arrow { transform: rotate(90deg); margin: 14px 0; }
    .s-cta .s-btn { width: 100%; }
}
.s-switch { padding: 0 0 72px; }
.s-switch-in {
    display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
    padding: 24px 28px; border-radius: 20px; background: var(--s-surface); border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
}
.s-switch-in strong { display: block; font: 400 1.5rem/1.2 var(--s-display); margin-bottom: .25rem; }
.s-switch-in span { color: var(--s-muted); }
.s-footer-legal { margin-top: 10px; font-size: .78rem; color: rgb(233 242 239 / .5); line-height: 1.6; }
.s-footer-legal a { text-decoration: underline; }

/* ── Sample photo book ───────────────────────────── */
.s-flip { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.s-flip-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 0; aspect-ratio: 909 / 1286; max-height: 640px; margin: 0 auto; width: 100%; }
.s-flip.is-spread .s-flip-stage, .s-flip:has(.is-single) .s-flip-stage { aspect-ratio: 1818 / 1286; }
.s-flip-stage img { display: none; height: 100%; width: auto; max-width: 100%; object-fit: contain; background: #fff; box-shadow: var(--s-shadow-lg); animation: s-flip-in .35s var(--s-ease); }
.s-flip-stage img.is-on { display: block; }
.s-flip-stage img.is-left, .s-flip-stage img.is-right { max-width: 50%; }
.s-flip-stage img.is-left { border-radius: 4px 0 0 4px; box-shadow: var(--s-shadow-lg), inset -18px 0 24px -18px rgb(0 0 0 / .25); }
.s-flip-stage img.is-right { border-radius: 0 4px 4px 0; }
.s-flip-stage img.is-single { border-radius: 3px 10px 10px 3px; }
@keyframes s-flip-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.s-flip-nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--s-line); background: var(--s-surface); color: var(--s-ink); cursor: pointer; box-shadow: var(--s-shadow); }
.s-flip-nav svg { width: 24px; height: 24px; fill: currentColor; }
.s-flip-nav:disabled { opacity: .35; cursor: default; }
.s-flip-count { text-align: center; color: var(--s-muted); font-weight: 600; font-variant-numeric: tabular-nums; margin: 18px 0 0; }
.s-flip-cta { display: flex; justify-content: center; margin-top: 22px; }
.s-flip-credit { text-align: center; color: var(--s-muted); font-size: .8rem; margin-top: 14px; }
@media (max-width: 759px) {
    .s-flip { grid-template-columns: 1fr; }
    .s-flip-stage, .s-flip:has(.is-single) .s-flip-stage { aspect-ratio: 909 / 1286; max-height: none; width: min(100%, 420px); }
    .s-flip-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; }
    .s-flip-nav.is-prev { left: -6px; }
    .s-flip-nav.is-next { right: -6px; }
}
@media (prefers-reduced-motion: reduce) { .s-flip-stage img { animation: none; } }
.s-flip:not(.is-ready) .s-flip-stage img:first-child { display: block; }

/* ── Why Footprintbook ───────────────────────────── */
.s-why-hero { text-align: center; max-width: 820px; padding-block: 40px 20px; }
.s-why-hero .s-cta { justify-content: center; }
.s-note { color: var(--s-muted); font-size: .9rem; margin-top: 14px; }
.s-why-editor { display: grid; place-items: center; }
.s-why-page { position: relative; width: min(100%, 440px); aspect-ratio: 210 / 297; background: #fff; border-radius: 4px; box-shadow: var(--s-shadow-lg); overflow: hidden; }
.s-why-photo { position: absolute; border-radius: 2px; }
.s-why-photo.is-a { left: 8%; top: 7%; width: 84%; height: 40%; background: linear-gradient(160deg, #2f8f83, #0f4c45 60%, #e7a93b); outline: 2px dashed #0f766e; outline-offset: 3px; }
.s-why-photo.is-a::after { content: ""; position: absolute; right: -9px; bottom: -9px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #0f766e; }
.s-why-photo.is-b { left: 8%; top: 52%; width: 50%; height: 28%; background: linear-gradient(200deg, #9ccfc6, #3b6f68); transform: rotate(-3deg); }
.s-why-text { position: absolute; left: 62%; top: 54%; right: 8%; display: grid; gap: 7px; }
.s-why-text b { height: 12px; width: 80%; background: #13201d; border-radius: 2px; }
.s-why-text i { height: 6px; background: #c9cfcc; border-radius: 2px; }
.s-why-polaroid { position: absolute; right: 9%; bottom: 6%; width: 30%; aspect-ratio: 1 / 1.15; background: linear-gradient(#f3d9a7 78%, #fff 78%); border: 6px solid #fff; box-shadow: 0 6px 16px rgb(0 0 0 / .2); transform: rotate(6deg); }
.s-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.s-compare-3 { max-width: 1100px; font-size: .92rem; }
.s-compare-3 td { width: 27%; vertical-align: top; line-height: 1.5; }
.s-compare-3 thead th:nth-child(2) { color: var(--s-accent); }
.s-compare-3 thead th:last-child { color: var(--s-muted); }
@media (max-width: 760px) { .s-compare-3 { min-width: 720px; } }
.s-ref { text-decoration: none; color: var(--s-accent); font-weight: 700; margin-left: 2px; }
.s-sources { max-width: 1100px; margin: 18px auto 0; padding-left: 22px; color: var(--s-muted); font-size: .82rem; line-height: 1.7; }
.s-sources a { color: inherit; }
.s-compare-3 td:last-child { background: none; }
.s-compare-3 td:nth-child(2) { background: color-mix(in srgb, var(--s-accent-soft) 40%, transparent); }
/* Editor picture with real photos */
.s-why-photo { background: #cfe3df center / cover no-repeat; }
.s-why-photo.is-a { overflow: visible; }
.s-why-photo.is-a::after { display: none; }
.s-why-handle { position: absolute; width: 12px; height: 12px; background: #fff; border: 2px solid #0f766e; border-radius: 3px; }
.h-nw { left: -9px; top: -9px; } .h-ne { right: -9px; top: -9px; } .h-sw { left: -9px; bottom: -9px; } .h-se { right: -9px; bottom: -9px; }
.s-why-rot { position: absolute; left: 50%; top: -30px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid #0f766e; }
.s-why-rot::after { content: ""; position: absolute; left: 50%; top: 12px; width: 2px; height: 14px; margin-left: -1px; background: #0f766e; }
.s-why-tools { position: absolute; right: 6px; top: 6px; display: flex; gap: 4px; padding: 5px; border-radius: 10px; background: rgb(17 24 39 / .82); box-shadow: 0 6px 16px rgb(0 0 0 / .3); }
.s-why-tools i { width: 22px; height: 22px; border-radius: 6px; background: rgb(255 255 255 / .14) center / 14px no-repeat; }
.t-crop { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 1v4H3v2h4v10a2 2 0 0 0 2 2h10v4h2v-4h2v-2H9V1H7Zm10 14h2V7a2 2 0 0 0-2-2H11v2h6v8Z'/%3E%3C/svg%3E"); }
.t-rotate { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 4V1L8 5l4 4V6a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8Z'/%3E%3C/svg%3E"); }
.t-frame { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M4 3h16v18H4V3Zm2 2v10h12V5H6Z'/%3E%3C/svg%3E"); }
.s-why-text { gap: 6px; }
.s-why-text strong { font: 400 1.25rem/1.05 var(--s-display); color: #13201d; }
.s-why-text small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #0f766e; font-weight: 700; margin-bottom: 4px; }
.s-why-polaroid { background: #fff; display: grid; grid-template-rows: 1fr auto; padding: 0; border: 7px solid #fff; border-bottom-width: 0; aspect-ratio: auto; height: 34%; }
.s-why-polaroid span { display: block; background: #f3d9a7 center / cover no-repeat; }
.s-why-polaroid em { font-style: normal; font-size: .62rem; text-align: center; color: #374151; padding: 6px 0 7px; font-weight: 600; }
.s-why-cursor { position: absolute; left: 66%; top: 41%; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-7 1.5L9 20 4 2Z' fill='%23111827' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .3)); }
.s-facts { max-width: 820px; }
.s-facts th { width: 34%; }
.s-facts td { width: auto; background: none !important; }
.s-why-photo.is-b { left: 7%; top: 53%; width: 52%; height: 30%; }
.s-why-text { top: 53%; }
.s-why-polaroid { right: 7%; bottom: 4%; width: 31%; height: 27%; }
.s-why-photo.is-a, .s-why-photo.is-b { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* ── Language & currency ─────────────────────────── */
.s-locale { position: relative; }
.s-locale summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border-radius: 999px; font-weight: 650; font-size: .88rem; }
.s-locale summary::-webkit-details-marker { display: none; }
.s-locale summary svg { width: 18px; height: 18px; fill: currentColor; opacity: .85; }
.s-locale summary:hover, .s-locale[open] summary { background: rgb(127 127 127 / .14); }
.s-locale-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 200px; display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: var(--s-surface); color: var(--s-ink); border: 1px solid var(--s-line); box-shadow: var(--s-shadow-lg); }
.s-locale-menu strong { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); margin: 8px 8px 4px; }
.s-locale-menu strong:first-child { margin-top: 0; }
.s-locale-menu a { padding: 7px 10px; border-radius: 10px; color: inherit; text-decoration: none; font-size: .95rem; }
.s-locale-menu a:hover { background: var(--s-tint); }
.s-locale-menu a.is-active { background: var(--s-accent-soft); color: var(--s-accent); font-weight: 650; }
@media (max-width: 900px) { .s-locale-menu { position: static; box-shadow: none; border: 0; padding: 4px 0; background: transparent; color: inherit; } }
.s-currency { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.s-currency a { padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 650; color: var(--s-muted); text-decoration: none; border: 1px solid var(--s-line); }
.s-currency a.is-active { color: var(--s-accent); border-color: var(--s-accent); background: var(--s-accent-soft); }

/* ── Videos behind the QR code in a photo book (/v/{token}) ── */
.s-video-page { padding: 120px 0 72px; }
.s-video-wrap { max-width: 760px; }
.s-video-page h1 { font-size: clamp(2rem, 6vw, 3rem); margin-top: .35rem; }
.s-video-date { color: var(--s-muted); margin-top: .4rem; font-style: italic; }
.s-video-list { display: grid; gap: 18px; margin-top: 28px; }
.s-video-list video { width: 100%; max-height: 78vh; background: #000; border-radius: var(--s-radius); box-shadow: var(--s-shadow); }
.s-video-cta { margin-top: 40px; padding: 24px; border-radius: var(--s-radius); background: var(--s-surface); border: 1px solid var(--s-line); display: grid; gap: .6rem; justify-items: start; }
.s-video-cta strong { font-family: var(--s-display); font-weight: 400; font-size: 1.5rem; }
.s-video-cta p { color: var(--s-muted); }

/* Gift page: the intro as a pull quote, close to the hero and the features below it */
.s-gift-intro { padding: 12px 0 8px; }
.s-gift-intro + .s-section { padding-top: 48px; }
.s-pull {
    position: relative; margin: 0; padding: 34px 40px 34px 64px; border-radius: var(--s-radius);
    background: var(--s-accent-soft); border-left: 6px solid var(--s-accent);
    font: 400 clamp(1.25rem, 2.3vw, 1.65rem)/1.5 var(--s-display); color: var(--s-ink);
}
.s-pull::before {
    content: "\201C"; position: absolute; left: 18px; top: 4px; font: 400 4.5rem/1 var(--s-display); color: var(--s-accent);
}
@media (max-width: 640px) {
    .s-gift-intro { padding-top: 4px; }
    .s-pull { padding: 28px 22px 26px 48px; }
    .s-pull::before { left: 12px; font-size: 3.6rem; }
}

/* Landing pages: copy on the left, a picture on the right */
.s-lp-copy .s-cta { margin-top: 1.8rem; }
.s-lp-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.s-lp-visual { max-width: 520px; width: 100%; justify-self: center; }
.s-lp-map {
    position: absolute; inset: 6%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
    border-radius: 28px; background: #0c3340; box-shadow: var(--s-shadow-lg);
}
.s-lp-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-float-story-2 { right: -2%; top: 12%; max-width: 290px; animation-delay: -3s; }
.s-showcase-h { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--s-display); }
@media (max-width: 960px) { .s-float-story { left: 0; } .s-float-story-2 { right: 0; } .s-float-stats { right: 0; } }
