@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Figtree:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  --canvas: #f8f6f1;
  --paper: #fffefa;
  --ink: #211c17;
  --muted: #756c62;
  --soft: #a1988d;
  --line: #e4ded4;
  --line-strong: #d2c8bb;
  --clay: #a9784e;
  --deep-clay: #30251d;
  --sage: #758f80;
  --slate: #798ba5;
  --plum: #987f94;
  --gutter: clamp(1.25rem, 5vw, 5.25rem);
  --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--ink);
  background: var(--canvas);
  font-family: Figtree, Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-shell { display: grid; grid-template-rows: auto 1fr auto; width: min(var(--max), calc(100% - var(--gutter) * 2)); min-height: 100svh; margin: 0 auto; }

main { min-width: 0; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; }

.brand-logo { display: block; width: 30px; height: 30px; object-fit: contain; }
.header-status { color: var(--clay); font: 500 .67rem/1.2 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(400px, .94fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; height: 100%; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hero-copy { max-width: 650px; }
.hero-visual { display: grid; justify-items: center; min-width: 0; }

.eyebrow, .section-index { margin: 0 0 1.4rem; color: var(--clay); font: 500 .68rem/1.2 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.hero .eyebrow { margin-bottom: 1rem; }

h1, h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 650px; font-size: clamp(3.5rem, 5vw, 5.35rem); line-height: .94; }
h2 { max-width: 680px; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .96; }

.hero-body { max-width: 590px; margin: 1.25rem 0 0; color: var(--muted); font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.6; }
.hero-body p { margin: 0; }

.button { display: inline-flex; align-items: center; gap: .65rem; min-height: 46px; padding: .75rem 1rem; border: 1px solid transparent; border-radius: 999px; font-size: .78rem; font-weight: 600; text-decoration: none; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--clay); }
.button-primary:hover, .button-primary:focus-visible { background: #8f623f; }
.button-dark { color: var(--paper); background: var(--deep-clay); }
.button-dark:hover, .button-dark:focus-visible { background: #4a392c; }
.button:disabled { cursor: default; opacity: .65; transform: none; }

.orbit-stage { position: relative; width: min(100%, 560px); aspect-ratio: 1.3; overflow: hidden; border-radius: 48% 52% 43% 57% / 58% 44% 56% 42%; background: radial-gradient(ellipse at 50% 48%, #fffefa 0 18%, #f2eee7 47%, #e5ded4 100%); box-shadow: inset 0 0 80px rgb(255 255 255 / 50%); }
.orbit-glow { position: absolute; inset: 24%; border-radius: 50%; background: rgb(169 120 78 / 13%); filter: blur(25px); }
.orbit { position: absolute; inset: 10% 16%; border: 1px solid rgb(169 120 78 / 23%); border-radius: 50%; transform: rotate(-26deg) scaleY(.55); }
.orbit-two { inset: 18% 9%; border-color: rgb(117 143 128 / 30%); transform: rotate(45deg) scaleY(.55); }
.orbit-three { inset: 5% 28%; border-color: rgb(121 139 165 / 28%); transform: rotate(79deg) scaleY(.58); }
.orbit-center { position: absolute; top: 50%; left: 50%; display: grid; width: 120px; height: 120px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--deep-clay); box-shadow: 0 18px 45px rgb(48 37 29 / 20%); text-align: center; font: 500 .72rem/1.25 'DM Mono', monospace; letter-spacing: .02em; text-transform: uppercase; transform: translate(-50%, -50%); }
.value-node { position: absolute; display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid rgb(255 255 255 / 80%); border-radius: 50%; color: var(--ink); background: rgb(255 254 250 / 85%); box-shadow: 0 10px 26px rgb(74 58 43 / 10%); font: 500 .58rem/1.3 'DM Mono', monospace; text-align: center; }
.node-one { top: 14%; left: 18%; color: #5f7a6b; }
.node-two { top: 9%; right: 17%; color: #6b7d9a; }
.node-three { right: 12%; bottom: 18%; color: #8a6f85; }
.node-four { bottom: 10%; left: 26%; color: #8f633f; }
.node-five { top: 44%; left: 10%; color: #667567; }

.access-form { width: min(100%, 520px); margin-top: 2rem; text-align: left; }
.access-label { display: block; margin-bottom: .6rem; color: var(--ink); font-size: .76rem; font-weight: 650; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
input[type="email"] { min-width: 0; flex: 1; height: 46px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); font: inherit; }
input[type="email"]::placeholder { color: var(--soft); }
input:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid rgb(169 120 78 / 45%); outline-offset: 3px; }
input[type="email"]:focus-visible { border-color: var(--clay); }
.consent-row { display: flex; align-items: flex-start; gap: .55rem; margin-top: .75rem; color: var(--muted); font-size: .7rem; font-weight: 400; line-height: 1.45; }
.consent-row input { appearance: none; display: grid; width: 14px; height: 14px; flex: 0 0 14px; margin: .08rem 0 0; place-content: center; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); }
.consent-row input::before { width: 7px; height: 7px; border-radius: 1px; background: var(--clay); content: ""; transform: scale(0); transition: transform 120ms ease; }
.consent-row input:checked::before { transform: scale(1); }
.consent-row a, .site-footer a { color: inherit; text-underline-offset: 2px; }
.bot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-note { min-height: 1em; margin: .55rem 0 0 1.2rem; color: var(--soft); font-size: .72rem; }
.form-note.is-confirmed { color: var(--sage); }
.form-note.is-error { color: #9a5147; }

.access-confirmation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  width: min(100%, 520px);
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgb(255 254 250 / 88%), rgb(242 238 231 / 76%));
  box-shadow: 0 18px 45px rgb(48 37 29 / 6%);
  text-align: left;
  animation: confirmation-in 420ms ease both;
}
.access-confirmation[hidden] { display: none; }
.access-confirmation:focus { outline: none; }
.confirmation-mark {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgb(169 120 78 / 35%);
  border-radius: 50%;
}
.confirmation-mark::before {
  position: absolute;
  width: 48px;
  height: 28px;
  border: 1px solid rgb(117 143 128 / 45%);
  border-radius: 50%;
  content: "";
  transform: rotate(-28deg);
}
.confirmation-mark span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--deep-clay);
  box-shadow: 0 5px 14px rgb(48 37 29 / 22%);
}
.confirmation-copy { min-width: 0; }
.confirmation-eyebrow {
  margin: 0;
  color: var(--clay);
  font: 500 .62rem/1.2 'DM Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.confirmation-copy h2 {
  margin-top: .22rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.confirmation-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.3;
}

@keyframes confirmation-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.25rem; border-top: 1px solid var(--line); color: var(--soft); font: .68rem 'DM Mono', monospace; }

.privacy-page { min-height: 100svh; }
.privacy-main { width: min(720px, 100%); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0; }
.privacy-main h1 { max-width: none; font-size: clamp(3rem, 7vw, 5.5rem); }
.privacy-intro { margin: 1.5rem 0 3rem; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.privacy-updated { margin: -2rem 0 3rem; color: var(--soft); font: .68rem/1.4 'DM Mono', monospace; }
.privacy-section { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.privacy-section h2 { margin-bottom: .75rem; font-family: Figtree, Inter, system-ui, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.privacy-section p { margin: 0; color: var(--muted); line-height: 1.65; }
.privacy-section a { text-underline-offset: 3px; }
.privacy-section p + p { margin-top: .75rem; }
.privacy-back { display: inline-block; margin-top: 2.5rem; color: var(--clay); font-size: .78rem; font-weight: 600; text-decoration: none; }

@media (max-width: 900px) {
  .page-shell { display: block; min-height: 0; }
  .hero { grid-template-columns: 1fr; gap: 4.5rem; height: auto; min-height: auto; padding: 5rem 0; text-align: center; }
  .hero-copy { display: grid; justify-items: center; max-width: 760px; margin: 0 auto; }
  .hero-body { max-width: 650px; }
  .orbit-stage { width: min(100%, 560px); }
}

@media (max-width: 560px) {
  .site-header { min-height: 72px; }
  h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .hero { gap: 3.25rem; padding: 4rem 0; }
  .orbit-stage { width: 100%; aspect-ratio: 1.15; }
  .orbit-center { width: 96px; height: 96px; font-size: .6rem; }
  .value-node { width: 68px; height: 68px; font-size: .48rem; }
  .access-form { margin-top: 1.75rem; }
  .access-confirmation { margin-top: 1.75rem; padding: 1.1rem; border-radius: 20px; }
  .confirmation-mark { width: 56px; height: 56px; }
  .confirmation-mark::before { width: 42px; height: 24px; }
  .confirmation-copy h2 { font-size: 1.85rem; }
  .form-row { grid-template-columns: minmax(0, 1fr) auto; }
  .form-row .button { min-width: 76px; padding-inline: .9rem; white-space: nowrap; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .access-confirmation { animation: none; }
}
