/* Dularo Pa More — shared styles for the marketing site, privacy and terms.
   Warm sand-and-dirt palette lifted straight from the app (lib/core/theme.dart)
   rather than the ube night ground the Pa More apex uses: this is a game about
   a sun-baked street at three in the afternoon, and a dark page would sell the
   wrong thing. Typography follows the family (Bricolage + Instrument Sans) so
   it still reads as a Pa More property. */

:root {
  --cream: #f5ecdc;
  --cream-deep: #e6dcc6;
  --sand: #f0d9a8;
  --ink: #2b2218;
  --ink-soft: #4a3f30;
  --muted: #8a7c68;
  --muted-label: #9a8c78;
  --orange: #d9542f;
  --orange-deep: #b8401f;
  --gold: #eaa72c;
  --teal: #2f8f83;
  --teal-deep: #1f6b61;
  --violet: #7a6cd9;
  --line: rgba(43, 34, 24, 0.12);
  --panel: rgba(255, 255, 255, 0.55);
  --r: 22px;
  --r-sm: 14px;
  --r-pill: 999px;
  --disp: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --ui: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ui);
  color: var(--ink-soft);
  line-height: 1.6;
  background: var(--cream);
  background-image:
    radial-gradient(60% 42% at 12% 4%, rgba(234, 167, 44, 0.20) 0, transparent 62%),
    radial-gradient(54% 38% at 90% 6%, rgba(217, 84, 47, 0.16) 0, transparent 62%),
    radial-gradient(58% 46% at 82% 96%, rgba(47, 143, 131, 0.14) 0, transparent 62%),
    linear-gradient(180deg, #f7f0e2 0%, var(--cream) 55%, var(--cream-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal-deep); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ── header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(245, 236, 220, 0.92), rgba(245, 236, 220, 0.55));
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--gold), var(--orange));
  display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 3px 10px rgba(217, 84, 47, 0.32);
}
.brand b {
  font-family: var(--disp); font-weight: 800; font-size: 20px;
  color: var(--ink); letter-spacing: 0.2px;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.cta { color: var(--orange-deep); }
@media (max-width: 640px) { .nav a:not(.cta) { display: none; } }

/* ── hero ───────────────────────────────────────────────────────── */
.hero { padding: 74px 0 34px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-deep);
  background: rgba(217, 84, 47, 0.10);
  border: 1px solid rgba(217, 84, 47, 0.22);
  padding: 7px 15px; border-radius: var(--r-pill);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 10px var(--orange);
}
.hero h1 {
  font-family: var(--disp); font-weight: 800; line-height: 0.95;
  margin: 22px 0 6px; font-size: clamp(44px, 8vw, 88px);
  color: var(--ink); text-wrap: balance;
}
.hero h1 span {
  background: linear-gradient(100deg, var(--orange) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  font-family: var(--disp); font-weight: 700; color: var(--ink);
  font-size: clamp(19px, 3vw, 27px); margin: 10px 0 14px;
}
.hero .lead {
  color: var(--ink-soft); font-size: clamp(16px, 2vw, 18.5px);
  max-width: 54ch; margin: 0 auto 28px;
}
.hero .lead b { color: var(--ink); font-weight: 700; }

.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; color: #fff;
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  padding: 14px 26px; border-radius: var(--r-pill);
  box-shadow: 0 4px 0 #a8381c, 0 10px 22px rgba(168, 56, 28, 0.28);
}
.btn:hover { text-decoration: none; transform: translateY(1px); box-shadow: 0 3px 0 #a8381c, 0 8px 18px rgba(168, 56, 28, 0.26); }
.btn.ghost {
  color: var(--ink); background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line); box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.85); transform: none; box-shadow: none; }

/* Store buttons are deliberately not links yet — see index.html. */
.soon {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  margin-top: 18px;
}
.soon .pill {
  border: 1px dashed rgba(43, 34, 24, 0.25); border-radius: var(--r-pill);
  padding: 5px 13px; color: var(--ink-soft); background: rgba(255, 255, 255, 0.4);
}

/* ── sections ───────────────────────────────────────────────────── */
section { padding: 46px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-label);
}
.section-head h2 {
  font-family: var(--disp); font-weight: 800; color: var(--ink);
  font-size: clamp(27px, 4vw, 38px); margin: 8px 0 6px;
}
.section-head p { color: var(--muted); max-width: 56ch; margin: 0 auto; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 11px; } }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 16px 15px;
}
.card .emoji { font-size: 26px; line-height: 1; }
.card h3 {
  font-family: var(--disp); font-weight: 800; color: var(--ink);
  font-size: 16px; margin: 10px 0 5px;
}
.card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.features .card { padding: 20px 19px; }
.features .card h3 { font-size: 17.5px; }
.features .card p { font-size: 14.5px; }

/* ── footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 30px;
  padding: 34px 0 40px; background: rgba(255, 255, 255, 0.32);
}
.site-footer .cols {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: flex-start;
}
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .links a { color: var(--muted); font-size: 14.5px; }
.site-footer .links a:hover { color: var(--ink); text-decoration: none; }
.site-footer .fine {
  margin-top: 24px; font-size: 12.5px; color: var(--muted-label);
  border-top: 1px solid var(--line); padding-top: 18px;
}

/* ── legal pages ────────────────────────────────────────────────── */
.legal { max-width: 760px; padding: 54px 24px 20px; margin: 0 auto; }
.legal h1 {
  font-family: var(--disp); font-weight: 800; color: var(--ink);
  font-size: clamp(32px, 5vw, 46px); line-height: 1.05; margin: 0 0 8px;
}
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.legal h2 {
  font-family: var(--disp); font-weight: 800; color: var(--ink);
  font-size: 21px; margin: 38px 0 10px;
}
.legal h3 {
  font-family: var(--disp); font-weight: 700; color: var(--ink);
  font-size: 16px; margin: 24px 0 6px;
}
.legal p, .legal li { font-size: 15.5px; color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal .lede {
  font-size: 17px; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--r-sm); padding: 16px 18px;
}
.legal table {
  width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14.5px;
}
.legal th, .legal td {
  text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal th {
  font-family: var(--disp); font-weight: 700; color: var(--ink);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
}
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px; background: rgba(43, 34, 24, 0.07);
  padding: 2px 6px; border-radius: 5px; color: var(--ink);
}
.table-scroll { overflow-x: auto; }
