:root {
  --paper: #efe6d4;
  --paper-2: #e7dcc6;
  --ink: #171410;
  --muted: #6d6456;
  --line: #d7cbb4;
  --card: #fff8ec;
  --teal: #215e58;
  --teal-deep: #163f3b;
  --gold: #e8c27a;
  --accent: #c44512;
  --accent-hover: #a3360d;
  --danger: #9b2c14;
  --shadow: 0 22px 50px rgba(40, 24, 8, 0.1);
  --radius: 22px;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 194, 122, 0.35), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(33, 94, 88, 0.12), transparent 45%),
    var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 32px; height: 32px; display: block; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.brand-name span { color: var(--teal); }

.top-nav { display: flex; gap: 8px; flex-wrap: wrap; }

.ghost {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
}

.ghost:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; }
h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 8px; }
h3 { font-size: 17px; }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}

.lead {
  font-size: 18px;
  max-width: 42rem;
  color: #3a342b;
}

.lead.tight { font-size: 16px; margin-top: 0; }

.hero { padding: 28px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.meta { color: var(--muted); font-size: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: 650 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff8ef;
  box-shadow: 0 10px 24px rgba(196, 69, 18, 0.28);
}

.btn-accent:hover { background: var(--accent-hover); }

.btn-quiet {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid var(--teal);
}

.btn-disabled {
  background: #d8d0c0;
  color: #6a6256;
  cursor: not-allowed;
  box-shadow: none;
}

.steps, .split, .local, .faq, .prose { padding: 28px 0; }

.step-grid {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
}

.n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff8ec;
  font-family: var(--display);
  font-size: 13px;
  margin-bottom: 10px;
}

.phone {
  margin-top: 16px;
  background: linear-gradient(180deg, #f7f1e4, #eadfcb);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 168px;
  padding: 14px 12px;
  position: relative;
}

.phone.wide { min-height: 132px; }
.phone-bar {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: #cbbda4;
  margin: 0 auto 14px;
}

.bubble {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 13px;
  margin-bottom: 8px;
}

.bubble.in { background: #fff; color: var(--ink); }
.bubble.out {
  background: var(--teal);
  color: #f4efe4;
  margin-left: auto;
}
.bubble.voice {
  background: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
}

.chip {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed var(--muted);
  font-size: 12px;
  color: var(--muted);
}

.chip.accent {
  border-style: solid;
  border-color: var(--accent);
  color: var(--accent);
}

.mini-player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  font-variant-numeric: tabular-nums;
}

.mini-player .play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.mini-player .bars {
  flex: 1;
  height: 22px;
  background: repeating-linear-gradient(
    90deg,
    var(--teal) 0 3px,
    transparent 3px 7px
  );
  opacity: 0.55;
  border-radius: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.mini-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mini-btns span {
  flex: 1;
  text-align: center;
  background: var(--teal);
  color: #fff8ec;
  border-radius: 999px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: start;
}

.note {
  background: var(--teal-deep);
  color: #f3ead9;
  border-radius: var(--radius);
  padding: 22px;
}

.note h3 { color: var(--gold); }
.note ul { margin: 0; padding-left: 18px; }
.note li { margin: 8px 0; }

.local {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.upload {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.file {
  position: relative;
  overflow: hidden;
  border: 1.5px dashed var(--teal);
  border-radius: 999px;
  padding: 11px 18px;
  color: var(--teal-deep);
  font-weight: 650;
  cursor: pointer;
}

.file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.error { color: var(--danger); font-weight: 650; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px;
  margin: 8px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
}

.faq details p { margin: 0 0 14px; color: #3a342b; }

.sheet {
  width: min(560px, 100%);
  margin: 28px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}

.sheet.slim { text-align: left; }
.sheet h1 { font-size: clamp(28px, 5vw, 40px); }

.player {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #171410;
  color: #f6efe2;
  border-radius: 20px;
  padding: 12px;
  margin: 20px 0 16px;
}

.player .play {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #171410;
  cursor: pointer;
  flex: none;
  display: grid;
  place-items: center;
}

.player .play svg { width: 22px; height: 22px; fill: currentColor; }
.player .play .icon-pause { display: none; }
.player.is-on .icon-play { display: none; }
.player.is-on .icon-pause { display: block; }

.player-body { flex: 1; min-width: 0; }
.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  cursor: pointer;
}

.wave i {
  display: block;
  flex: 1;
  height: calc(8px + var(--h) * 32px);
  border-radius: 2px;
  background: rgba(246, 239, 226, 0.28);
}

.wave i.on { background: var(--gold); }

.times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: rgba(246, 239, 226, 0.7);
  margin-top: 4px;
}

audio { display: none; }

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.hint, .foot, .prose { color: var(--muted); }
.hint { font-size: 14px; }

.feedback {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.feedback label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--muted); }

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  font: 16px/1.4 var(--sans);
  background: #fff;
  resize: vertical;
  margin-bottom: 10px;
}

.fb-ok { color: var(--teal); font-weight: 650; }

.prose {
  background: var(--card);
  border-radius: 28px;
  padding: 28px;
  border: 1px solid var(--line);
}

.prose h1 { font-size: clamp(28px, 5vw, 40px); }
.prose a { color: var(--accent); }
.prose ol, .prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }

.blog-list { list-style: none; padding: 0; margin: 16px 0 0; }
.blog-list li { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.blog-list a { font-weight: 700; color: var(--ink); text-decoration: none; display: block; }
.blog-list a:hover { color: var(--accent); }
.blog-list span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }

.cta-box {
  background: #171410;
  color: #f6efe2;
  border-radius: 18px;
  padding: 18px;
  margin-top: 28px;
}
.cta-box .btn { margin-top: 12px; }

.paybox { margin: 8px 0 16px; }

.foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.foot a { color: var(--teal-deep); }

@media (max-width: 860px) {
  .step-grid, .split { grid-template-columns: 1fr; }
  h1 br { display: none; }
}
