:root {
  --ink: #14202b;
  --ink-soft: #3e4c58;
  --paper: #f3f0e8;
  --paper-2: #e6e1d4;
  --white: #fffcf7;
  --line: #d4cec2;
  --teal: #0c6e68;
  --teal-deep: #084e4a;
  --teal-soft: #d7ebe8;
  --on-teal: #f4fffd;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 1rem;
  --shadow: 0 1px 0 rgba(20, 32, 43, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
ol,
ul,
figure {
  margin: 0;
}

h1,
h2,
.price-num,
.steps span {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1.12;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  max-width: 22ch;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ink);
}

p,
li,
dd {
  overflow-wrap: anywhere;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

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

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 4.25rem;
  padding: 0.4rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.mark {
  width: 2rem;
  height: 2rem;
  color: var(--teal);
  flex: none;
}

.brand-name {
  font-size: 1.125rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.55rem;
  border-radius: 999px;
}

.nav a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.band {
  padding: 3.5rem 0 4rem;
}

.band-contrast {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.kicker {
  margin-bottom: 0.7rem;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts div {
  background: var(--white);
  padding: 1rem 1.15rem 1.1rem;
  min-width: 0;
}

.facts dt {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin-top: 0.3rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.prose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  max-width: 78ch;
}

.prose-grid p {
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.25rem 1.4rem;
  min-width: 0;
}

.band-contrast .panel {
  background: var(--paper);
}

.offer {
  border-top: 4px solid var(--teal);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0.2rem 0 0.45rem;
}

.price-num {
  font-size: 3rem;
  line-height: 1;
  color: var(--teal-deep);
}

.price-note {
  color: var(--ink-soft);
  font-weight: 600;
}

.panel-lead {
  color: var(--ink-soft);
  max-width: 40ch;
}

.preview-form {
  margin-top: 1.15rem;
}

label,
legend {
  font-weight: 700;
  font-size: 0.95rem;
}

.field,
.preview-form,
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  min-width: 0;
}

.field label,
.preview-form > label,
fieldset legend {
  display: block;
  margin-bottom: 0.4rem;
}

.optional {
  font-weight: 600;
  color: var(--ink-soft);
}

.address-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  overflow: hidden;
}

.band-contrast .address-row {
  background: var(--white);
}

input,
textarea,
button {
  font: inherit;
  color: inherit;
}

.address-row input {
  border: 0;
  background: transparent;
  min-width: 0;
  flex: 1 1 7rem;
  padding: 0.75rem 0.85rem;
  min-height: 48px;
}

.suffix {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 58%;
  overflow-wrap: anywhere;
}

input[type="url"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  padding: 0.75rem 0.85rem;
  min-height: 48px;
}

.band-contrast input[type="url"],
.band-contrast input[type="email"],
.band-contrast textarea {
  background: var(--white);
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.45;
}

.hint,
.fine {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hint {
  margin-top: 0.55rem;
}

.fine {
  margin-top: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: var(--teal);
  color: var(--on-teal);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: var(--on-teal);
}

.cta-row {
  margin-top: 1.75rem;
}

.btn-xl {
  width: min(100%, 36rem);
  min-height: 4.5rem;
  padding: 1rem 2.25rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

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

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

.spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.85rem;
}

.spec th,
.spec td {
  text-align: left;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-weight: 600;
}

.spec td {
  text-align: right;
  font-weight: 400;
  padding-left: 1rem;
}

.spec tr:last-child th,
.spec tr:last-child td {
  border-bottom: 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.25rem;
}

.steps li {
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.steps span {
  color: var(--teal);
  font-size: 1.85rem;
  line-height: 1;
  flex: none;
}

.steps h3 {
  margin-bottom: 0.25rem;
}

.steps p,
.how p,
.how li {
  color: var(--ink-soft);
}

.attribution {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  max-width: 68ch;
  font-size: 0.98rem;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.3rem 0.8rem 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}

.choices label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.choices input,
.check input {
  accent-color: var(--teal-deep);
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  min-height: 44px;
}

.form-intro {
  margin: 0.35rem 0 1rem;
}

.status {
  margin: 0.2rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.status-error {
  background: var(--paper-2);
  color: var(--ink);
}

.status-ok {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.ready {
  margin-top: 1rem;
}

.ready-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.ready-bar p {
  font-weight: 700;
}

.ready pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem;
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
  font-size: 0.86rem;
  line-height: 1.45;
}

.plain {
  margin: 0.55rem 0 1.1rem;
  padding-left: 1.15rem;
}

.plain li + li {
  margin-top: 0.4rem;
}

.how h3 + .plain {
  margin-top: 0.55rem;
}

.callout {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--teal);
  background: var(--white);
  color: var(--ink) !important;
  border-radius: 0 0.75rem 0.75rem 0;
}

.foot {
  background: var(--ink);
  color: #e7e2d6;
  padding: 2rem 0 2.4rem;
}

.foot a {
  color: #f3f0e8;
}

.foot a:hover {
  color: #fff;
}

.foot-inner {
  display: grid;
  gap: 0.8rem;
}

.foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  padding: 0;
}

.foot .fine {
  color: #c9c2b4;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .split,
  .steps,
  .prose-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .top-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0 0.35rem;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(1080px, calc(100% - 1.75rem));
  }

  .actions,
  .ready-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .btn-xl {
    width: 100%;
    max-width: none;
  }

  .suffix {
    max-width: 48%;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav a {
    transition: none;
  }
}