/* Whyworld brand site. Self-contained: no shared srofia.com styles.
   Tokens mirror the app (src/theme/tokens.ts, "Atlas Editoryal"): one accent, coral. */
:root {
    --bg: #F3F6FA;
    --surface: #FFFFFF;
    --surface-alt: #E8EEF5;
    --border: #D7DEE8;
    --text: #172338;
    --muted: #566A86;
    --accent: #F4875E;
    --on-accent: #172338;
    --accent-ink: #B9471F;
    --accent-soft: #FBDCCF;
    --night: #0B1628;
    --night-surface: #132238;
    --night-text: #EEF3FA;
    --night-muted: #9DB0CB;
    --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-note: "Newsreader", Georgia, "Times New Roman", serif;
    --r: 20px;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0B1628;
        --surface: #132238;
        --surface-alt: #1B2D48;
        --border: #243755;
        --text: #EEF3FA;
        --muted: #9DB0CB;
        --accent-ink: #F4875E;
        --accent-soft: #3A2A2E;
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight: 800; margin-bottom: 1.25rem; }
h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: .4rem; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }

.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text); font-weight: 500; font-size: .9375rem; text-decoration: none; border-radius: 999px; }
.top-nav a:hover { background: var(--surface-alt); }
@media (max-width: 559px) { .top-nav a:not([href="#contact"]) { display: none; } }

/* Hero (always night, like the app's dark map) */
.hero { background: var(--night); color: var(--night-text); overflow: hidden; }
.hero-inner { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 0; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; padding-top: 72px; } }
.kicker { font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .75rem; }
.hero .kicker { color: var(--accent); }
.hero h1 { font-size: clamp(2.25rem, 1.4rem + 4vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 1.25rem; font-size: 1.125rem; color: var(--night-muted); max-width: 36rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px; border: 1px solid #3A4F72; border-radius: 14px; color: var(--night-text); background: var(--night-surface); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.1; }
.store small { font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--night-muted); }
.hero-link { margin-top: 1.5rem; }
.hero-link a { color: var(--night-text); font-weight: 500; }
.hero-phone { justify-self: center; width: min(300px, 78vw); margin-bottom: -60px; }
.hero-phone img { border-radius: 32px 32px 0 0; border: 6px solid #22365A; border-bottom: 0; box-shadow: 0 30px 80px rgba(244, 135, 94, .18); }
@media (min-width: 900px) { .hero-phone { width: 340px; margin-bottom: -40px; } }

/* Bands */
.band { padding: 72px 0; }
.band-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lede { max-width: 40rem; color: var(--muted); margin: -0.5rem 0 1.75rem; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.features li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.features h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 14px; }
.features p { color: var(--muted); }
.features em { font-family: var(--font-note); font-style: italic; font-size: 1.0625em; color: var(--text); }

.shots { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shots img { border-radius: 22px; border: 1px solid var(--border); background: var(--surface-alt); }
.shots figcaption { margin-top: 10px; font-size: .9375rem; font-weight: 500; color: var(--muted); text-align: center; }

.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); column-gap: 24px; border-top: 1px solid var(--border); }
.countries li { border-bottom: 1px solid var(--border); }
.countries a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; color: var(--text); text-decoration: none; font-weight: 500; }
.countries a::after { content: "\2192"; color: var(--accent-ink); transition: transform .15s ease; }
.countries a:hover::after { transform: translateX(3px); }
.more { margin-top: 1.75rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn-line { border: 1.5px solid var(--text); color: var(--text); }
.btn-line:hover { background: var(--text); color: var(--bg); }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.plan { border: 1px solid var(--border); border-radius: var(--r); padding: 24px; background: var(--bg); }
.plan-plus { border: 2px solid var(--accent); }
.plan ul { margin-top: .75rem; display: grid; gap: .5rem; }
.plan li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.fine { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); max-width: 46rem; }

.trust { display: grid; gap: 48px; }
@media (min-width: 900px) { .trust { grid-template-columns: 1.2fr 1fr; } }
.checks { display: grid; gap: 1rem; }
.checks li { padding-left: 1.75rem; position: relative; color: var(--muted); }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-ink); font-weight: 700; }
.checks strong { color: var(--text); font-weight: 600; }

.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; color: var(--accent-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 1.25rem; color: var(--muted); max-width: 62ch; }

.contact p + p { margin-top: 1rem; }
.contact .email { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); overflow-wrap: anywhere; }
.contact .email a { color: var(--text); text-decoration-color: var(--accent); }

.foot { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: .9375rem; color: var(--muted); }
.foot-inner { display: grid; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
