:root {
  --ink: #12110f;
  --coal: #171512;
  --coal-2: #211f1a;
  --graphite: #3f3d38;
  --muted: #6d685f;
  --paper: #f4efe5;
  --paper-soft: #fffaf0;
  --gold: #c98f31;
  --gold-strong: #9a6716;
  --line: rgba(18, 17, 15, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --display: "Libre Baskerville", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", sans-serif;
  --wide: 1360px;
  --gutter: clamp(18px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  min-height: 100vh;
  background: var(--paper);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 14px max(var(--gutter), calc((100vw - var(--wide)) / 2));
  color: #fff;
  background: rgba(23, 21, 18, 0.94);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark,
.brand-mark img {
  width: 48px;
  height: 48px;
}

.brand-mark img {
  object-fit: contain;
}

.brand strong {
  display: inline-flex;
  gap: 8px;
  color: #fff;
  font-size: clamp(1.26rem, 1.82vw, 2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand strong span {
  font-weight: 900;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.button,
.button-secondary,
.button-plain,
.topbar-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button,
.topbar-links a:last-child {
  background: var(--gold);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(18, 17, 15, 0.18);
  background: transparent;
  color: var(--ink);
}

.button-plain,
.topbar-links a:first-child {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button:hover,
.button-secondary:hover,
.button-plain:hover,
.topbar-links a:hover {
  opacity: 0.86;
}

.capture-hero,
.confirm-hero {
  min-height: calc(100vh - 77px);
  background:
    radial-gradient(circle at 10% 12%, rgba(201, 143, 49, 0.22), transparent 26rem),
    linear-gradient(135deg, var(--coal), #0f0e0c);
  color: #fff;
}

.capture-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wide)) / 2));
}

.confirm-hero {
  display: grid;
  align-content: center;
  width: 100%;
  padding: clamp(70px, 9vw, 130px) max(var(--gutter), calc((100vw - var(--wide)) / 2));
}

.capture-copy,
.confirm-hero > * {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  color: #f0bd63;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 780px;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(2.35rem, 4.1vw, 4.1rem);
}

h2 {
  color: var(--ink);
  font-size: clamp(1.75rem, 2.55vw, 2.65rem);
}

.lede,
.article-lede {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
}

.plain-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 14px;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid var(--line-dark);
}

.plain-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.form-panel {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.28);
}

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

.form-head .eyebrow {
  color: var(--gold-strong);
}

.form-head h2 {
  font-family: var(--body);
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  font-weight: 900;
  line-height: 1.2;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.honey-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.material-summary {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(154, 103, 22, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201, 143, 49, 0.13), rgba(255, 255, 255, 0.64));
}

.material-summary span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-summary strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(18, 17, 15, 0.18);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field input::placeholder {
  color: #8d877c;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 4px rgba(201, 143, 49, 0.18);
}

.form-status {
  min-height: 1.45em;
  color: var(--graphite);
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #8b2f1f;
}

.form-status.is-success {
  color: var(--gold-strong);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.article-shell {
  width: min(880px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0;
}

.article-header {
  padding-bottom: clamp(28px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.article-header .eyebrow {
  color: var(--gold-strong);
}

.article-header h1 {
  color: var(--ink);
}

.article-lede {
  color: var(--graphite);
}

.article-body {
  display: grid;
  gap: 22px;
  padding-top: clamp(30px, 5vw, 56px);
  color: var(--graphite);
  font-size: clamp(1.03rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.article-body h2 {
  margin-top: clamp(12px, 2vw, 24px);
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1.12;
}

.article-body blockquote {
  margin: 10px 0;
  padding: clamp(22px, 4vw, 34px);
  border-left: 6px solid var(--gold);
  border-radius: 0 22px 22px 0;
  background: var(--paper-soft);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.22rem, 1.8vw, 1.65rem);
  line-height: 1.45;
}

.article-cta {
  display: grid;
  gap: 14px;
  margin-top: clamp(18px, 4vw, 34px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-soft);
}

.article-cta p {
  color: var(--ink);
  font-weight: 900;
}

.article-cta .button {
  width: fit-content;
}

@media (max-width: 1120px) {
  .capture-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .topbar-links {
    justify-content: flex-start;
  }

  .brand strong {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

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

  .form-panel,
  .article-cta {
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
