/* Sreem Labs — shared styles
   Layout: one centered column (max 1040px), sections stacked, generous air.
   Palette: deep indigo ink, saffron gold (the brand's warmth), Beamo blue for app pages. */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --fg: #171a2e;
  --muted: #5a6075;
  --line: #e2e0d8;
  --ink: #23205c;        /* Sreem indigo */
  --gold: #e8a317;       /* saffron gold */
  --accent: #2d5be3;     /* Beamo blue */
  --accent-ink: #ffffff;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1020; --surface: #181a30; --fg: #ecebf5; --muted: #a6a8bf;
    --line: #2a2c48; --ink: #c9c4ff; --gold: #f2b73a; --accent: #7b9bff; --accent-ink: #0f1020;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap {
  max-width: 1040px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }

/* Type */
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 600; font-family: var(--body); }
p { margin: 0; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 40ch; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

section { padding-block: clamp(48px, 8vw, 88px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 12px; border: 1.5px solid var(--line); color: var(--fg); background: var(--surface);
}
.btn:hover { border-color: var(--fg); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.badge-link img { height: 48px; width: auto; display: block; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 > *, .grid-2 > * { min-width: 0; }
.point { display: flex; flex-direction: column; gap: 6px; }
.point .num { font-family: var(--display); font-weight: 700; color: var(--gold); font-size: 15px; }

/* Cards */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 32px); }
.app-card { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
.app-card .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 18px rgba(20, 20, 60, .18); }
@media (max-width: 520px) { .app-card { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; gap: 14px; }
.plan.pro { border: 2px solid var(--accent); }
.price { font-family: var(--display); font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { margin-top: 10px; color: var(--muted); max-width: 65ch; }
.faq-group { display: flex; flex-direction: column; gap: 12px; }

/* Policy */
.policy { display: flex; flex-direction: column; gap: 28px; }
.policy section { padding: 0; display: flex; flex-direction: column; gap: 8px; }
.policy ul { margin: 4px 0 0; padding-left: 22px; max-width: 68ch; }
.policy li + li { margin-top: 6px; }
.policy p { max-width: 68ch; }
.summary-box { border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 14px 14px 0; padding: 16px 20px; font-weight: 500; max-width: 68ch; }

/* Contact */
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.email { font-weight: 600; font-size: 19px; user-select: all; overflow-wrap: anywhere; }
.copy-btn { font: 600 14px var(--body); background: var(--ink); color: var(--bg); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }

/* Hero */
.hero { padding-block: clamp(56px, 10vw, 112px) clamp(40px, 6vw, 72px); }
.hero .stack-lg { max-width: 760px; }
.hero-mark { width: clamp(72px, 12vw, 104px); height: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
