/* Sauti Audio — site styles
   Brand: orange #E8842A, red #B0313A, gold #E99D3E, cream #F8E6CC, black #161314.
   Modern, Western-store layout; the East African accent is kept to the pattern
   band, the triangle-and-dot motif and the "Sauti" story. */

:root {
  --black: #161314;
  --bg: #161314;
  --bg-2: #1d191a;
  --bg-3: #252022;
  --line: rgba(248, 230, 204, 0.10);
  --line-2: rgba(248, 230, 204, 0.18);
  --cream: #F8E6CC;
  --text: #F8E6CC;
  --text-2: #c9b9a3;
  --muted: #9a8b79;
  --orange: #E8842A;
  --orange-hi: #f2963f;
  --red: #B0313A;
  --gold: #E99D3E;
  --paper: #F3E4C5;
  --paper-ink: #2a2224;
  --paper-rule: rgba(42, 34, 36, 0.14);

  --display: "Michroma", "Eurostile", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--black); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 4.6vw, 58px); }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-2); max-width: 36em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .tri { width: 12px; height: 11px; flex: none; }
.accent { color: var(--orange); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--cream); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 19, 20, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a:not(.btn) {
  text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 99px; transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(248,230,204,.06); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 99px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--cream); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { font-size: 18px; padding: 14px 12px; }
  .nav .btn { margin: 10px 0 0; }
  .brand img { height: 40px; }
}

/* ---------- pattern band (the cultural accent, used sparingly) ---------- */
.band {
  height: 14px;
  background: url("../img/sauti-pattern-band.svg") left center / auto 100% repeat-x;
  opacity: 0.55;
}
.band.thin { height: 10px; opacity: 0.4; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.alt { background: var(--bg-2); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(232,132,42,.16), rgba(176,49,58,.06) 55%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 .line { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text-2);
}
.hero-note { font-size: 14px; color: var(--muted); }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- product window / screenshot frame ---------- */
.window {
  position: relative; border-radius: 14px; overflow: hidden;
  background: #0e0c0d; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), 0 0 120px -40px rgba(232,132,42,.35);
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #221d1f; border-bottom: 1px solid rgba(0,0,0,.4); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3234; }
.window-bar i:nth-child(1) { background: #c24a40; }
.window-bar i:nth-child(2) { background: #d39a3a; }
.window-bar i:nth-child(3) { background: #5f9a4a; }
.window-bar span { margin-left: auto; margin-right: auto; font: 500 12px/1 var(--body); color: var(--muted); transform: translateX(-20px); }
.window-stage { position: relative; aspect-ratio: 1400 / 920; }
.window-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.window-stage img.out { opacity: 0; }

.theme-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.theme-pick .label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; padding: 0; cursor: pointer;
  background: var(--sw); box-shadow: inset 0 0 0 2px rgba(0,0,0,.35); transition: transform .2s var(--ease), border-color .2s;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { border-color: var(--cream); }

/* ---------- logos / trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; padding-top: 26px; padding-bottom: 26px; }
.strip-item { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.strip-item b { font-family: var(--display); font-weight: 400; color: var(--text); font-size: 15px; letter-spacing: .04em; }
.strip-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---------- pain → fix cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: grid; gap: 12px; align-content: start;
}
.alt .card { background: var(--bg-3); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,132,42,.12); color: var(--orange); }
.card .icon svg { width: 22px; height: 22px; }
.card p { color: var(--text-2); font-size: 16px; }
.card .strike { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; font-size: 15px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; }
.feature-copy p { color: var(--text-2); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M2 22h22L13 2z' fill='none' stroke='%23E99D3E' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='13' cy='15.5' r='2.6' fill='%23B0313A'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticks b { color: var(--text); font-weight: 600; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); background: #0e0c0d; }
.shot.crop { aspect-ratio: 16 / 11; }
.shot.crop img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
}

/* ---------- stamp demo (paper) ---------- */
.demo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); background: #1a1617; }
.demo-bar { display: flex; align-items: center; gap: 10px; padding: 12px; background: #1a1617; flex-wrap: wrap; }
.pill {
  min-height: 40px; padding: 0 18px; border-radius: 99px; border: 0; cursor: pointer;
  background: #2a2426; color: var(--text); font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s;
}
.pill:hover { background: #352e30; }
.pill.hot { background: var(--orange); color: var(--black); }
.pill.hot:hover { background: var(--orange-hi); }
.pill svg { width: 14px; height: 14px; }
.transport { margin-left: auto; font: 500 15px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--gold); padding: 0 6px; min-width: 6.5ch; text-align: right; }
.paper {
  position: relative; min-height: 300px; padding: 14px 18px 18px 58px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 40px, rgba(176,49,58,.55) 40px, rgba(176,49,58,.55) 41.5px, transparent 41.5px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--paper-rule) 39px, var(--paper-rule) 40px);
  background-position: 0 0, 0 14px;
  color: var(--paper-ink);
  font: 400 21px/40px var(--body);
}
.paper [contenteditable] { outline: none; min-height: 260px; white-space: pre-wrap; word-break: break-word; }
.paper .stamp { color: #a3472a; font-weight: 600; }
.paper-hint { position: absolute; right: 14px; bottom: 10px; font: 500 12px/1 var(--body); color: rgba(42,34,36,.5); }

/* ---------- theme gallery ---------- */
.gallery { display: grid; gap: 22px; }
.gallery-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.theme-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-tab {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: 15px; color: var(--text-2); transition: all .2s;
}
.theme-tab i { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px rgba(0,0,0,.3); }
.theme-tab[aria-pressed="true"] { border-color: var(--cream); color: var(--text); background: rgba(248,230,204,.06); }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line); }
.seg button { border: 0; background: none; min-height: 38px; padding: 0 18px; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--black); }

/* ---------- specs ---------- */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--bg); padding: 26px; display: grid; gap: 8px; align-content: start; }
.alt .spec { background: var(--bg-2); }
.spec dt { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; font-size: 17px; color: var(--text); }
@media (max-width: 900px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }

/* ---------- buy / waitlist panel ---------- */
.buy {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2a1d17 0%, #1d191a 55%, #22171a 100%);
  border: 1px solid var(--line-2);
}
.buy::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: url("../img/sauti-pattern-band.svg") left center / auto 100% repeat-x; opacity: .5;
}
.buy-copy { display: grid; gap: 16px; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price .amount { font-family: var(--display); font-size: clamp(34px, 4vw, 46px); }
.price .was { color: var(--muted); text-decoration: line-through; }
.price .was-line { flex-basis: 100%; color: var(--muted); font-size: 15px; margin-top: -2px; }
.price .tag { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 7px 10px; border-radius: 99px; }
.signup { display: grid; gap: 12px; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 220px; min-height: 52px; padding: 0 20px; border-radius: 99px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-2); color: var(--text); font-size: 16px;
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus { outline: none; border-color: var(--gold); }
.signup .fine { font-size: 13px; color: var(--muted); }
.signup .msg { font-size: 15px; min-height: 1.4em; }
.signup .msg.ok { color: var(--gold); }
.signup .msg.err { color: #ff8a7a; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; }
.alt .faq details { background: var(--bg-3); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); display: grid; gap: 10px; }
.faq code { font-size: 14px; background: rgba(248,230,204,.07); padding: 2px 6px; border-radius: 6px; word-break: break-all; }

/* ---------- workshop teaser ---------- */
.bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bench-slot {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px dashed var(--line-2);
  display: grid; place-items: center; text-align: center; padding: 24px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(232,132,42,.10), transparent 60%),
    var(--bg-2);
}
.bench-slot .knob { width: 64px; height: 64px; opacity: .55; filter: grayscale(.3); }
.bench-slot p { margin-top: 14px; font: 600 12px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bench-slot.live { border-style: solid; border-color: rgba(232,132,42,.45); text-decoration: none; }
.bench-slot.live p { color: var(--orange); }
.bench-slot.live .name { font-family: var(--display); font-size: 22px; line-height: 1.15; }
@media (max-width: 760px) { .bench { grid-template-columns: 1fr; } .bench-slot { aspect-ratio: 16 / 7; } }

/* ---------- about / name story ---------- */
.story { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.story img { width: clamp(140px, 22vw, 260px); }
.word { font-family: var(--display); font-size: clamp(40px, 7vw, 84px); line-height: 1; }
.pron { color: var(--gold); font-size: 15px; letter-spacing: .06em; }
.story p { color: var(--text-2); max-width: 40em; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final .wrap { display: grid; justify-items: center; gap: 22px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 40px); }
.page-hero .wrap { display: grid; gap: 18px; justify-items: start; }
.prose { max-width: 760px; display: grid; gap: 16px; color: var(--text-2); }
.prose h2 { font-size: clamp(20px, 2.2vw, 26px); color: var(--text); margin-top: 26px; }
.prose a { color: var(--orange); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-grid .card a { color: var(--orange); font-weight: 600; text-decoration: none; word-break: break-all; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; color: var(--text-2); font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer .brand img { height: 52px; }
.site-footer h4 { margin: 0 0 14px; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.site-footer .blurb { margin-top: 14px; max-width: 30em; color: var(--muted); }
.site-footer .bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .window-stage img { transition: none; }
}
