:root {
  --ink: #1b1914;
  --ink-soft: #5c564b;
  --ivory: #f4f0e6;
  --sheet: #fffdf8;
  --gold: #a6843c;
  --gold-deep: #6f5420;
  --gold-line: #d9c48a;
  --gold-wash: #f3e7c8;
  --line: #e6dcc6;
  --bar: 78px;
  --display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --hard: 7px 7px 0 #e4d3a2;
  --inset: min(1120px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 14px);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--ivory);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(166, 132, 60, 0.045) 0 1px,
    transparent 1px 34px
  );
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

img {
  display: block;
  border: 0;
}

a {
  color: var(--gold-deep);
  text-underline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--sheet);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px 0 18px;
  background: var(--sheet);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 2px 0 var(--sheet), 0 3px 0 var(--gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 148px;
  height: 40px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand span {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gold-line);
  background: var(--sheet);
  box-shadow: 3px 3px 0 var(--gold-wash);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars {
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a.is-on,
.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.wrap {
  width: var(--inset);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 42px;
  align-items: end;
  padding: 64px 0 28px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.lede {
  max-width: 48ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.short {
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: 22px;
  color: var(--ink);
}

.cta {
  width: 264px;
  height: 52px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f6e7c1;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--hard);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(246, 231, 193, 0.45), transparent);
  transform: translateX(-140%);
}

.cta:hover {
  background: var(--gold-deep);
  color: var(--sheet);
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 #e4d3a2;
}

.cta:hover::after {
  animation: sweep 0.65s ease;
}

@keyframes sweep {
  to { transform: translateX(340%); }
}

.cta:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.plate {
  background: var(--sheet);
  border: 1px solid var(--gold-line);
  box-shadow: var(--hard);
  padding: 22px 22px 8px;
  position: relative;
}

.plate::before,
.plate::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
}

.plate::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.plate::after {
  right: 8px;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

.plate-title {
  margin: 6px 0 12px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.facts {
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  margin: 0;
  color: var(--gold-deep);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

.block {
  padding: 28px 0 10px;
}

.block-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  margin-bottom: 8px;
}

.index {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 680;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.snap {
  margin: 14px 0 0;
  max-width: 68ch;
}

.snap + p,
.block p {
  max-width: 68ch;
}

.steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--gold);
  counter-reset: step;
}

.steps li {
  min-height: 196px;
  padding: 16px 16px 8px 0;
  margin-right: 16px;
  border-right: 1px solid var(--line);
  counter-increment: step;
}

.steps li:last-child {
  border-right: 0;
  margin-right: 0;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  width: 36px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 20px;
  line-height: 28px;
}

.plain {
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  max-width: 68ch;
}

.plain li + li {
  margin-top: 6px;
}

.split {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  background: var(--sheet);
  border: 1px solid var(--gold-line);
  box-shadow: var(--hard);
}

.split-gap {
  background: var(--gold);
}

.pane {
  padding: 20px 22px 16px;
}

.pane h3,
.qa h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding: 8px 0 8px 16px;
  border-top: 1px solid var(--line);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.spec {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border-top: 1px solid var(--gold);
}

.spec dt,
.spec dd {
  margin: 0;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  color: var(--gold-deep);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: flow;
}

.flow li {
  min-height: 92px;
  padding: 12px 14px 0 0;
  border-top: 3px solid var(--gold);
  counter-increment: flow;
}

.flow li::before {
  content: counter(flow);
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  background: var(--ink);
  color: #f6e7c1;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.qa {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.qa .index {
  padding-top: 4px;
}

.notice {
  margin: 34px 0 10px;
  padding: 28px 28px 22px;
  background: var(--gold-wash);
  border: 1px solid var(--gold);
  box-shadow: var(--hard);
}

.notice h2 {
  font-size: clamp(28px, 3vw, 36px);
}

.foot {
  margin-top: 28px;
  background: var(--sheet);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -2px 0 var(--sheet), 0 -3px 0 var(--gold);
}

.foot-grid {
  width: var(--inset);
  margin: 0 auto;
  padding: 28px 0 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 28px;
}

.foot h2 {
  font-size: 28px;
}

.foot p,
.foot li {
  color: var(--ink-soft);
  font-size: 15px;
}

.foot ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.foot li + li {
  margin-top: 6px;
}

.stamp {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--bar);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 18px 14px;
    background: var(--sheet);
    border-bottom: 3px solid var(--gold);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .steps,
  .split,
  .spec,
  .flow,
  .foot-grid,
  .qa {
    grid-template-columns: 1fr;
  }

  .steps li,
  .flow li {
    min-height: 0;
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split-gap {
    height: 1px;
    width: 100%;
  }

  .spec dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .block-head {
    grid-template-columns: 48px 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --inset: calc(100% - 28px);
  }

  h1 {
    font-size: 38px;
  }

  .cta {
    width: 100%;
    max-width: 264px;
  }

  .notice,
  .pane {
    padding: 16px;
  }
}
