/* Read 2 Play site: one stylesheet for every page (landing, support, privacy, terms). */
:root {
    --cream: #FFF6DE;
    --parchment: #F5EACC;
    --peach: #FFE3C4;
    --coral: #FF6B6B;
    --coral-deep: #E85454;
    --teal: #2FB5AA;
    --gold: #D4A84A;
    --gold-light: #F3DE8C;
    --ink: #2D3436;
    --muted: #5F6A6E;
    --card: #FFFDF8;
    --radius: 24px;
    --shadow: 0 10px 30px rgba(150, 100, 30, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: radial-gradient(1400px 700px at 50% -10%, var(--cream) 0%, var(--parchment) 50%, var(--peach) 100%) fixed;
    min-height: 100vh;
    padding: 20px 16px 48px;
}

a { color: var(--coral-deep); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }

/* Gilded panel: the same double gold rule the app uses for featured frames. */
.panel {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(212, 168, 74, 0.55), inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(243, 222, 140, 0.8);
}

/* ---------- Top bar ---------- */
.topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    max-width: 1040px; margin: 0 auto 18px; padding: 0 4px;
}
.topbar .brand img { height: 76px; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
.topbar nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.topbar nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.topbar nav a:hover { color: var(--coral-deep); }

/* ---------- App Store button ---------- */
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: #111; color: #fff; text-decoration: none;
    padding: 12px 22px 12px 14px; border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3); }
.store-btn img { width: 40px; height: 40px; border-radius: 10px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 12px; opacity: .85; }
.store-btn strong { font-size: 20px; letter-spacing: .2px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
    padding: 44px 44px 40px; margin-bottom: 28px;
}
.hero .logo { width: min(460px, 100%); height: auto; display: block; filter: drop-shadow(0 8px 16px rgba(0,0,0,.14)); }
.hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 22px 0 12px; }
.hero p.lead { font-size: 19px; color: var(--muted); margin-bottom: 26px; }
.hero .mascot { justify-self: center; position: relative; }
.hero .mascot img {
    width: min(300px, 70vw); border-radius: 22%;
    box-shadow: 0 24px 50px rgba(200, 90, 40, .35), 0 0 0 6px #fff, 0 0 0 9px var(--gold-light);
    transform: rotate(-4deg);
}

/* ---------- Screenshots ---------- */
.section-title { text-align: center; font-size: clamp(24px, 3vw, 32px); margin: 8px 0 6px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.shots {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px;
}
.shots img {
    width: 100%; border-radius: 22px; display: block;
    box-shadow: 0 14px 34px rgba(120, 70, 20, .22);
}

/* ---------- Features ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 36px; }
.card { padding: 26px 24px; transition: transform .15s ease; }
.card:hover { transform: translateY(-3px); }
.card .ico { font-size: 34px; line-height: 1; }
.card h3 { font-size: 19px; margin: 12px 0 6px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.step { padding: 24px; text-align: center; }
.step b {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--coral); color: #fff; font-size: 20px; margin-bottom: 10px;
}
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Final call to action ---------- */
.final { text-align: center; padding: 40px 28px; margin-bottom: 28px; }
.final h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.final p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Document pages (support, privacy, terms) ---------- */
.doc { padding: 40px; }
.doc h1 { font-size: 32px; margin-bottom: 6px; }
.doc .updated { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.doc h2 { font-size: 21px; margin: 28px 0 10px; }
.doc p, .doc li { margin-bottom: 12px; color: var(--muted); }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--ink); }
.doc .summary {
    background: #F0FAF3; border-radius: 16px; padding: 18px 20px; margin-top: 28px;
    box-shadow: inset 0 0 0 1.5px rgba(107, 203, 119, .5);
}
.doc .cta-box { text-align: center; margin: 30px 0 4px; }
details { border-radius: 16px; background: #FFF9EC; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(212,168,74,.35); }
details summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--ink); list-style: none; }
details summary::after { content: "+"; float: right; color: var(--coral); font-weight: 800; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 18px 14px; }
details > div p { margin-bottom: 8px; }

/* ---------- Footer ---------- */
footer { text-align: center; margin-top: 28px; font-size: 14px; color: #7d8589; }
footer nav { margin-bottom: 8px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
footer nav a { color: var(--coral-deep); text-decoration: none; font-weight: 600; }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; }
    .hero .logo { margin: 0 auto; }
    .hero .mascot { order: -1; }
    .hero .mascot img { width: 180px; }
    .shots { grid-template-columns: repeat(6, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .shots img { scroll-snap-align: center; }
    .steps { grid-template-columns: 1fr; }
    .doc { padding: 26px 20px; }
    .topbar nav { gap: 12px; }
    .topbar .brand img { height: 58px; }
    .topbar nav a { font-size: 14px; }
}
