/* Siroo website — one stylesheet for every page. Brand: caramel #C97A2E (Siro's eye patch), cream background. */
:root {
  --bg: #FFF8EF;
  --surface: #FFFFFF;
  --surface-2: #FBEFDF;
  --text: #2A1F17;
  --muted: #6E5B4C;
  --line: #EEDFCB;
  --brand: #C97A2E;
  --brand-strong: #9A5516;
  --brand-soft: #F6E3CB;
  --on-brand: #FFFFFF;
  --plus: #7A4BC2;
  --plus-soft: #EFE6FA;
  --ok: #2F8A55;
  --warn-bg: #FFF1E0;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 35, 10, .06), 0 8px 24px rgba(60, 35, 10, .07);
  --maxw: 1080px;
  --readw: 760px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17120E;
    --surface: #221B15;
    --surface-2: #2B221A;
    --text: #F5ECE2;
    --muted: #BCA996;
    --line: #3A2F25;
    --brand: #E3A866;
    --brand-strong: #F0C08A;
    --brand-soft: #3A2A1B;
    --on-brand: #23170C;
    --plus: #C3A2F2;
    --plus-soft: #2D2340;
    --ok: #6CCB92;
    --warn-bg: #33261A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--readw); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 14px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.2rem; }
.brand img { width: 36px; height: 36px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--brand-soft); color: var(--text); }
.nav a[aria-current="page"] { background: var(--brand-soft); }
.nav .lang { border: 1px solid var(--line); }
@media (max-width: 560px) {
  .nav .hide-sm { display: none; }
  .brand span { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-art { position: relative; justify-self: center; width: min(360px, 80vw); aspect-ratio: 1; }
.hero-art::before {
  content: ""; position: absolute; inset: 6%;
  background: radial-gradient(circle at 50% 45%, var(--brand-soft), transparent 70%);
  border-radius: 50%;
}
.hero-art img { position: relative; width: 100%; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; font-size: .85rem; margin-bottom: 14px; }
.store-note { font-size: .92rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 820px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(240px, 60vw); }
}

/* Sections */
section { padding: 40px 0; }
.section-head { max-width: 640px; margin-bottom: 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { color: var(--muted); margin: 0; }
.ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); font-size: 1.3rem; }
.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Plus */
.plus-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--plus-soft); color: var(--plus); font-weight: 800; font-size: .8rem; letter-spacing: .02em; vertical-align: middle; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 24px 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.plan.featured { border: 2px solid var(--plus); }
.plan ul { margin: 12px 0 0; padding-left: 1.2em; }
.plan li { margin: 6px 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--surface-2); font-size: .95rem; }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { width: 28%; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--muted); }

/* Legal / long-form */
.doc { padding: 40px 0 56px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { margin-top: 2em; padding-top: .4em; font-size: 1.35rem; }
.doc h3 { margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.meta { color: var(--muted); font-size: .95rem; margin-bottom: 1.5em; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 1.5em; }
.toc ol { margin: 0; columns: 2 260px; }
.callout { background: var(--warn-bg); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 18px; margin: 1em 0 1.5em; }
.callout p:last-child { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.doc-table { overflow-x: auto; }
.doc table th, .doc table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc table th { background: var(--surface-2); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 10px 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style-position: outside; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
details > *:last-child { margin-bottom: 12px; }

/* Contact cards */
.contact { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin: 1em 0 1.5em; }
.contact a.card { text-decoration: none; color: var(--text); display: block; }
.contact a.card:hover { border-color: var(--brand); }
.contact strong { display: block; margin-bottom: 4px; }
.contact span { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: .95rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand-strong); }
.site-footer p { margin: 0 0 6px; }
@media (max-width: 600px) {
  table.compare { min-width: 0; font-size: .88rem; }
  .compare th, .compare td { padding: 10px 10px; }
  .compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { width: 30%; }
  .doc table { font-size: .88rem; }
  .doc table th, .doc table td { padding: 8px; }
}
.toc li { margin: 0 0 8px; break-inside: avoid; }
