:root {
  --ink: #17140f;
  --paper: #f6f1e7;
  --sheet: #fffdf8;
  --copper: #c65a2e;
  --copper-btn: #9a4124;
  --muted: #5c564e;
  --line: #d9d0c3;
  --font-display: "Unbounded", "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.045;
  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='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--paper) 92%, white);
  border-bottom: 1px solid var(--line);
}

.header-bar,
.nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-bar {
  min-height: 64px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
}

.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.wordmark {
  font-size: 14px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.wordmark b {
  font-weight: 700;
}

.wordmark i {
  font-style: normal;
  color: var(--copper-btn);
  font-weight: 700;
}

.header-actions,
.actions,
.dock,
.final-actions {
  display: flex;
  gap: 8px;
}

.header-actions .btn-ghost {
  display: none;
}

.nav-row {
  overflow-x: auto;
  padding-bottom: 10px;
  gap: 16px;
  font-size: 14px;
}

.nav-row a {
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

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

.btn-main {
  background: var(--copper-btn);
  color: #fff8f3;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--line);
  min-width: 48px;
  padding-inline: 12px;
}

.hero {
  display: grid;
  gap: 16px;
  padding: 28px 0 12px;
}

.kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}

h1,
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.5rem);
  max-width: 11ch;
}

.sub,
.lead,
.price-row p,
.step p,
.fit p,
.faq-panel p,
.metal-link span,
.note,
.fine {
  color: var(--muted);
}

.sub {
  margin: 0;
  max-width: 38ch;
}

.actions {
  flex-direction: column;
}

.actions .btn,
.final-actions .btn,
.form-actions .btn {
  width: 100%;
}

.trust,
.fine,
.note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.trust {
  color: var(--ink);
}

.hero-photo {
  margin: 8px 0 0;
}

.hero-photo img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: 68% center;
}

.hero-photo figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.ticket {
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  padding: 18px 18px 16px;
  transform: rotate(-0.6deg);
}

.ticket-kicker,
.stamp {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticket-price {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--copper-btn);
}

.ticket-price span {
  font-size: 0.38em;
  letter-spacing: 0;
}

.ticket p {
  margin: 8px 0 0;
}

.section,
#lead {
  scroll-margin-top: 92px;
}

.section {
  padding: 56px 0;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.theses {
  display: grid;
  border-top: 1px solid var(--ink);
}

.theses article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.theses strong {
  display: block;
  margin-bottom: 4px;
}

.price-list {
  display: grid;
  border-top: 1.5px solid var(--ink);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.price-row h3,
.step h3,
.fit h3,
.metal-link strong {
  margin: 0;
  font-size: 18px;
}

.price-row p {
  margin: 2px 0 0;
  font-size: 14px;
}

.price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.metal-list {
  display: grid;
  margin-top: 22px;
}

.metal-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  min-height: 48px;
}

.metal-link span {
  font-size: 14px;
  text-align: right;
}

.calc {
  margin-top: 28px;
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  padding: 18px;
}

.calc h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.fields,
.form-grid {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: #fff;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 14px 0;
  padding-top: 12px;
  border-top: 1px dashed var(--ink);
}

.calc-result b {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
}

.calc-result b.is-num {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.steps span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper-btn);
  line-height: 1;
}

.aside-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1.5px solid var(--ink);
}

.fit-grid {
  display: grid;
  gap: 12px;
}

.fit article {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--sheet);
}

.fit article:first-child {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.fit article:first-child p {
  color: #d7d0c6;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid var(--line);
  background: var(--sheet);
  padding: 8px 10px;
  font-size: 14px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  min-height: 52px;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: none;
  border: 0;
  font-weight: 700;
}

.faq-item button::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--copper-btn);
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-panel p {
  margin: 0 0 14px;
  max-width: 62ch;
}

.final {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 36px;
}

.final h2 {
  color: var(--paper);
  max-width: 14ch;
}

.final .fine {
  color: #cfc6ba;
  margin-top: 10px;
}

.on-dark {
  color: #f6f1e7;
  border-color: #f6f1e7;
}

.phone-line {
  margin: 14px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.phone-line a {
  color: var(--paper);
}

.lead-form {
  margin-top: 28px;
  background: var(--paper);
  color: var(--ink);
  padding: 18px;
  border: 1px solid #3a342c;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 14px;
}

.check span {
  flex: 1;
  min-width: 0;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
}

.form-note {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 14px;
}

.footer {
  padding: 28px 0 20px;
  font-size: 14px;
}

.footer p {
  margin: 0 0 8px;
}

.footer a {
  color: var(--copper-btn);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 94%, white);
  border-top: 1px solid var(--ink);
  transform: translateY(110%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock.is-on {
  transform: none;
}

.dock .btn {
  min-height: 46px;
  padding-inline: 8px;
  font-size: 13px;
}

.legal {
  padding: 28px 0 48px;
}

.legal h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 16ch;
  margin-bottom: 16px;
}

.legal p {
  max-width: 62ch;
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .header-actions .btn-ghost {
    display: inline-flex;
  }

  .actions,
  .final-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .actions .btn,
  .final-actions .btn {
    width: auto;
  }

  .hero-photo img {
    height: 320px;
  }

  .fields {
    grid-template-columns: 1fr 140px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .wide {
    grid-column: 1 / -1;
  }

  .fit-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .fit article:first-child {
    grid-row: span 2;
  }

  .dock {
    display: none;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: 36px;
    align-items: start;
    padding-top: 48px;
  }

  .hero {
    align-items: stretch;
    grid-template-areas:
      "kicker photo"
      "title photo"
      "sub photo"
      "actions ticket"
      "trust ticket"
      "note ticket";
  }

  .kicker { grid-area: kicker; }
  h1 { grid-area: title; }
  .sub { grid-area: sub; }
  .actions { grid-area: actions; }
  .trust { grid-area: trust; }
  .hero .fine { grid-area: note; }
  .hero-photo { grid-area: photo; margin: 0; }
  .ticket { grid-area: ticket; margin: 0; align-self: start; }

  .hero-photo {
    height: 100%;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
  }

  .how-grid {
    display: block;
  }

  .steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
  }

  .aside-note {
    margin-top: 8px;
  }

  .theses {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .theses article {
    padding-right: 22px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .theses article:last-child {
    border-right: 0;
  }

  .final-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
  }

  .lead-form {
    margin-top: 0;
  }
}
