/* ---------- Tokens ---------- */
:root {
  /* Warm paper / ink palette — feels like a private listing memorandum */
  --paper: #f5f1e8;
  --paper-2: #efe9dc;
  --ink: #161513;
  --ink-soft: #2a2825;
  --muted: #6b6862;
  --rule: #d8d2c4;
  --rule-soft: #e6dfce;
  --accent: #8b6f3f;          /* muted antique gold, used very sparingly */
  --accent-soft: #b3935c;

  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
}

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

html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

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

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Background atmosphere ---------- */

/* Subtle paper grain via SVG noise */
.paper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Decorative "channels" — thin horizontal strokes flowing through the page */
.channels-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: grid;
  grid-template-rows: repeat(15, 1fr);
}
.channels-bg span {
  display: block;
  border-top: 1px solid var(--rule-soft);
  opacity: 0;
  transform: translateX(-2%);
  animation: channelDraw 1.6s cubic-bezier(.2,.7,.2,1) forwards;
}
.channels-bg span:nth-child(odd)  { border-top-style: solid; }
.channels-bg span:nth-child(even) { border-top-color: transparent; }

.channels-bg span:nth-child(1)  { animation-delay: .05s; }
.channels-bg span:nth-child(3)  { animation-delay: .12s; }
.channels-bg span:nth-child(5)  { animation-delay: .18s; }
.channels-bg span:nth-child(7)  { animation-delay: .24s; }
.channels-bg span:nth-child(9)  { animation-delay: .30s; }
.channels-bg span:nth-child(11) { animation-delay: .36s; }
.channels-bg span:nth-child(13) { animation-delay: .42s; }
.channels-bg span:nth-child(15) { animation-delay: .48s; }

@keyframes channelDraw {
  0%   { opacity: 0;    transform: translateX(-2%); }
  100% { opacity: 0.55; transform: translateX(0); }
}

/* ---------- Layout ---------- */

main {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(60px, 8vw, 120px);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.section-head__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "opsz" 96;
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(to bottom, rgba(245,241,232,0.92), rgba(245,241,232,0.78));
  backdrop-filter: saturate(140%) blur(6px);
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.mark__icon { width: 22px; height: 22px; }
.mark__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.mark__dot { color: var(--accent); }

.status {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a8a52;
  box-shadow: 0 0 0 0 rgba(74, 138, 82, 0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 138, 82, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74, 138, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 138, 82, 0); }
}

.record {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.record__value { color: var(--ink); }
.record__unit  { color: var(--muted); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 9vw, 132px) 0 clamp(48px, 6vw, 88px);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  opacity: 0;
  animation: rise 0.9s 0.15s cubic-bezier(.2,.7,.2,1) forwards;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--ink);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(44px, 8.4vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  max-width: 14ch;
}

.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__line:nth-child(1) { animation-delay: 0.25s; }
.hero__line:nth-child(2) { animation-delay: 0.45s; }

.hero__line--sub {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.hero__domain {
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.035em;
  display: inline-block;
  position: relative;
}
.hero__tld {
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "opsz" 144;
}
.hero__accent {
  position: relative;
  white-space: nowrap;
}
.hero__accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.08em;
  background: var(--accent);
  opacity: 0.3;
  transform-origin: left;
  transform: scaleX(0);
  animation: underline 1.1s 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes underline { to { transform: scaleX(1); } }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  margin: clamp(32px, 4vw, 56px) 0 0;
  max-width: 58ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0;
  animation: rise 1.1s 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__cta {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: rise 1.1s 0.85s cubic-bezier(.2,.7,.2,1) forwards;
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px -10px rgba(22,21,19,0.45);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  --bg: var(--ink);
  --fg: var(--paper);
}

.btn__arrow {
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Price ---------- */

.price {
  margin-top: clamp(40px, 5vw, 80px);
  position: relative;
}

.price__rule {
  height: 1px;
  background: var(--ink);
  width: 100%;
  margin-bottom: clamp(28px, 3vw, 48px);
}

.price__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.price__figure {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price__currency {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 12px;
}
.price__amount {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(56px, 8vw, 104px);
  letter-spacing: -0.035em;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}

.price__note {
  margin: 18px 0 0;
  font-style: italic;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
}

.meta {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.meta > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
}

/* ---------- Terms / Steps ---------- */

.terms { margin-top: clamp(72px, 9vw, 128px); }
.terms__intro {
  max-width: 64ch;
  margin: 0 0 36px;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--ink-soft);
}
.terms__intro strong { color: var(--ink); font-weight: 600; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.steps li {
  padding: 28px 22px 28px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.steps li:last-child { border-right: 0; padding-right: 0; }
.steps li:first-child { padding-left: 0; }
.steps li:not(:first-child) { padding-left: 22px; }

.steps__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.steps h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.steps p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Form ---------- */

.form-section { margin-top: clamp(72px, 9vw, 128px); }
.form-section__intro {
  max-width: 60ch;
  margin: 0 0 36px;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 18px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__hint {
  text-transform: none;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--muted);
  opacity: 0.8;
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 12px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .25s ease, padding .25s ease;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input::placeholder { color: var(--muted); opacity: 0.6; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field--full { grid-column: 1 / -1; }

/* Honeypot — hidden from users, visible to bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.form__legal {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.5;
}

.form__status {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  min-height: 18px;
}
.form__status[data-state="ok"]   { color: #4a8a52; }
.form__status[data-state="err"]  { color: #a23b3b; }
.form__status[data-state="info"] { color: var(--muted); }

/* ---------- Confirmation (replaces the form on successful submit) ---------- */

.confirm {
  display: grid;
  gap: 18px;
  padding: 6px 0 8px;
  outline: none;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}

.confirm__seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 6px;
  background: var(--paper);
}
.confirm__seal::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dashed var(--rule);
  opacity: 0.7;
}
.confirm__seal svg {
  width: 24px;
  height: 24px;
}
.confirm__seal svg path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: sealDraw 0.9s 0.35s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes sealDraw { to { stroke-dashoffset: 0; } }

.confirm__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.confirm__eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.confirm__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  max-width: 22ch;
}
.confirm__name {
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
}

.confirm__body {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.confirm__body strong { color: var(--ink); font-weight: 500; }

.confirm__meta {
  margin: 14px 0 0;
  display: grid;
  border-top: 1px solid var(--rule);
  max-width: 520px;
}
.confirm__meta > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.confirm__meta dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.confirm__meta dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

.confirm__hint {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rule);
  margin-top: 0;
  background: var(--paper-2);
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.foot__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.foot__line {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--ink-soft);
}
.foot__line--mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot__k {
  display: inline-block;
  width: 70px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.foot__col--right { text-align: right; align-self: end; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .status { justify-self: start; }
  .record { justify-self: start; align-items: flex-start; }
}

@media (max-width: 880px) {
  .price__grid { grid-template-columns: 1fr; }
  .meta > div { grid-template-columns: 110px 1fr; }

  .steps {
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--rule);
  }
  .steps li { border-right: 1px solid var(--rule); padding: 22px; }
  .steps li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .steps li:nth-child(2n+1) { padding-left: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }

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

  .foot__inner { grid-template-columns: 1fr; }
  .foot__col--right { text-align: left; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .steps li,
  .steps li:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 22px 0;
  }
  .steps li:last-child { border-bottom: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__line, .eyebrow, .hero__lede, .hero__cta { opacity: 1; transform: none; }
  .channels-bg span { opacity: 0.45; transform: none; }
}
