:root {
  color-scheme: light;
  --ink: #241c16;
  --muted: #6e6258;
  --soft: #8b7b6d;
  --line: #eadfce;
  --paper: #fffaf2;
  --surface: #ffffff;
  --warm: #f7efe2;
  --accent: #a14e2a;
  --accent-dark: #743619;
  --green: #556b4d;
  --shadow: 0 18px 48px rgba(75, 49, 27, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 18px;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff8ec;
  font-size: 12px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav > a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(38px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.language-switcher button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff8ec;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.hero-subtitle,
.policy-hero p,
.section-heading p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.product-visual {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 356px);
  border-radius: 34px;
  padding: 14px;
  background: #211913;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 82px;
  height: 6px;
  border-radius: 999px;
  margin: 2px auto 12px;
  background: #4f4135;
}

.app-screen {
  min-height: 520px;
  border-radius: 24px;
  padding: 28px 22px;
  background: linear-gradient(180deg, #fff8ee 0%, #f5e6d3 100%);
  border: 1px solid #34261e;
}

.app-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 13px;
}

.app-screen h2 {
  margin-top: 16px;
  font-size: 30px;
  line-height: 1.16;
}

.waveform {
  height: 118px;
  margin: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.waveform span {
  width: 100%;
  max-width: 28px;
  border-radius: 999px;
  background: var(--accent);
}

.waveform span:nth-child(1) { height: 38px; opacity: 0.56; }
.waveform span:nth-child(2) { height: 78px; opacity: 0.76; }
.waveform span:nth-child(3) { height: 112px; }
.waveform span:nth-child(4) { height: 68px; opacity: 0.72; }
.waveform span:nth-child(5) { height: 96px; opacity: 0.86; }
.waveform span:nth-child(6) { height: 48px; opacity: 0.6; }

.chapter-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 16px;
}

.chapter-preview p {
  margin: 0 0 8px;
  font-weight: 800;
}

.chapter-preview span {
  color: var(--muted);
  line-height: 1.65;
}

.section-band,
.split-section,
.privacy-band,
.policy-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-band,
.privacy-band {
  padding: 72px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.trust-card,
.audience-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(75, 49, 27, 0.06);
}

.feature-card p,
.trust-card p,
.audience-item p,
.policy-section p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-list {
  display: grid;
  gap: 12px;
}

.privacy-band {
  background: var(--warm);
  width: 100%;
  max-width: none;
}

.privacy-band > * {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.policy-main {
  padding: 58px 0 78px;
}

.policy-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.policy-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.effective-date {
  font-weight: 750;
  color: var(--accent-dark) !important;
}

.policy-content {
  display: grid;
  gap: 14px;
}

.policy-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.policy-section ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 860px) {
  .site-header {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .product-visual {
    min-height: auto;
  }

  .feature-grid,
  .trust-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section {
    gap: 26px;
  }
}

@media (max-width: 540px) {
  .site-header,
  .hero,
  .section-band,
  .split-section,
  .policy-main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .language-switcher {
    grid-template-columns: repeat(4, 1fr);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-subtitle,
  .policy-hero p,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .app-screen {
    min-height: 470px;
  }
}
