:root {
  --bg: #f7f1e8;
  --bg-band: #efe5d6;
  --surface: #fffaf3;
  --ink: #1c1712;
  --ink-soft: #5b5046;
  --line: #e0d3c0;
  --accent: #e2601a;
  --accent-ink: #fff;
  --green: #2f7a4b;
  --green-soft: #dcebdf;
  --phone: #14110d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110d;
    --bg-band: #1c1813;
    --surface: #221d17;
    --ink: #f3ece2;
    --ink-soft: #b9ad9f;
    --line: #3a3229;
    --accent: #f26b1d;
    --green: #5fbf80;
    --green-soft: #1f3326;
    --phone: #050403;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: inherit; }
img, svg { display: block; }

/* Language: both texts are in the page; the root attribute picks one. */
html[data-lang="sw"] .en, html[data-lang="en"] .sw { display: none; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.logo svg { width: 32px; height: 32px; }
.logo small { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--ink-soft); margin-left: 2px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.nav a:hover { color: var(--ink); }
.lang {
  font: 600 .9rem var(--sans); color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
}
.lang:hover { border-color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  transition: transform .15s ease, background .15s ease;
}
.btn svg { width: 22px; height: 22px; }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; margin: 22px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--ink-soft); font-size: .9rem; margin-top: 18px; }

.phone {
  justify-self: center;
  width: 300px; padding: 12px;
  background: var(--phone); border-radius: 40px;
  box-shadow: 0 30px 60px -20px rgba(40, 20, 0, .45);
  transform: rotate(2.5deg);
}
.phone-screen { background: #f4efe8; color: #1c1712; border-radius: 30px; padding: 22px 16px 16px; min-height: 520px; }
.sms { background: #e4ddd2; border-radius: 18px 18px 18px 4px; padding: 12px 14px; font-size: .85rem; line-height: 1.45; }
.sms-from { margin: 0 0 4px; font-weight: 700; font-size: .72rem; letter-spacing: .08em; color: #6d6155; }
.sms-text { margin: 0; }
.receipt { margin-top: 18px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 2px 0 #e4ddd2; }
.receipt-head { margin: 0 0 10px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #a24813; }
.row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e4ddd2; font-size: .88rem; color: #6d6155; }
.row b { color: #1c1712; font-weight: 600; }
.choices { display: grid; gap: 8px; margin-top: 14px; }
.chip { display: block; text-align: center; padding: 9px; border-radius: 12px; border: 1px solid #e0d3c0; font-size: .85rem; font-weight: 600; }
.chip-yes { background: #2f7a4b; border-color: #2f7a4b; color: #fff; }
.phone-caption { text-align: center; font-size: .72rem; color: #8a7d70; margin: 14px 0 0; }

/* Sections */
.band { background: var(--bg-band); }
section { padding: 88px 0; }
.hero { padding-top: 72px; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 40em; margin: 14px 0 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.pillar-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { margin-top: 10px; }
.pillar p:last-child { color: var(--ink-soft); margin: 10px 0 0; }
.tag { display: inline-block; margin: 20px 0 0; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid var(--line); color: var(--ink-soft); }
.tag-live { background: var(--green-soft); border-color: transparent; color: var(--green); }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.steps li { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step-no { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.steps h3 { margin: 12px 0 8px; }
.steps p { margin: 0; color: var(--ink-soft); }

.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 52px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.faq-section h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 20px; color: var(--ink-soft); }

.closing { padding-top: 24px; }
.closing-box {
  background: var(--phone); color: #f3ece2; border-radius: 32px;
  padding: 56px 40px; text-align: center; display: grid; justify-items: center; gap: 26px;
}

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-soft); font-size: .92rem; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .privacy-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .phone { transform: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 64px; }
  section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
  .phone { width: 270px; }
  .phone-screen { min-height: 0; }
  .closing-box { padding: 40px 22px; border-radius: 24px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.sprite { position: absolute; }
