/* Fairgage — coming soon */

:root {
  --ink: #14110e;
  --ink-2: #1b1713;
  --panel: #221e19;
  --panel-2: #2a241e;
  --line: rgba(243, 238, 228, 0.11);
  --line-strong: rgba(243, 238, 228, 0.18);
  --copper: #e8923a;
  --copper-deep: #c46e1c;
  --gold: #e6c078;
  --cream: #f3eee4;
  --dim: #a89f91;
  --faint: #6e675c;
  --sage: #8fba8a;
  --danger: #e08a7a;
  --display: "Fraunces", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html, body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 17, 14, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--cream);
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.brand-by {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.brand-by span { color: var(--gold); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  list-style: none;
}
.nav-links a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--cream); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-solid {
  background: var(--copper);
  color: #1a1208;
  border-color: var(--copper);
}
.btn-solid:hover { background: var(--gold); color: #1a1208; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.nav .btn { padding: 10px 16px; font-size: 0.9rem; }

/* Hero */
.hero {
  padding: 64px 0 28px;
}
.hero-grid {
  display: grid;
  gap: 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.lede {
  font-size: 1.18rem;
  color: var(--dim);
  max-width: 38em;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.meaning {
  max-width: 36em;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 1rem;
}
.meaning strong { color: var(--cream); font-weight: 600; }
.meaning dfn { font-style: italic; font-family: var(--display); color: var(--gold); font-weight: 500; }

/* Preview / mockup */
.preview {
  padding: 12px 0 72px;
}
.preview-frame {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 12px 12px 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-frame img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.preview-bar {
  display: flex;
  align-items: center;
  padding: 4px 6px 10px;
}
.preview-tag {
  background: var(--gold);
  color: #1a1408;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px 4px;
  border-radius: 999px;
}
.preview-cap {
  color: var(--faint);
  font-size: 0.88rem;
  text-align: center;
  padding: 10px 8px 6px;
}

/* Sections */
.section { padding: 72px 0; }
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-intro {
  color: var(--dim);
  max-width: 40em;
  margin-bottom: 36px;
}
.band { background: var(--ink-2); border-block: 1px solid var(--line); }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  counter-reset: step;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { color: var(--dim); font-size: 0.98rem; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p { color: var(--dim); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: rgba(232, 146, 58, 0.45);
  background: linear-gradient(180deg, #2a2218 0%, var(--panel) 100%);
}
.price-plan {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.price-amt {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-amt span { font-size: 1.1rem; color: var(--dim); font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
.price-or { color: var(--dim); font-size: 0.95rem; margin-bottom: 16px; }
.price-card p { color: var(--dim); }
.planned {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 10px 3px;
}

/* Waitlist */
.waitlist-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.waitlist-box h2 { margin-bottom: 10px; }
.note { color: var(--faint); font-size: 0.92rem; margin-top: 12px; }
form {
  display: grid;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
label .lbl {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
}
input[type="email"]:hover { border-color: var(--dim); }
input[type="email"]::placeholder { color: var(--faint); }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status.ok { color: var(--sage); }
.form-status.err { color: var(--danger); }
form .btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  color: var(--dim);
  padding: 0 0 16px;
  max-width: 52em;
}

/* Footer + legal */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--faint);
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--dim); text-decoration: none; }
.footer-links a:hover { color: var(--cream); }

.legal { padding: 48px 0 80px; }
.legal h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.legal .updated { color: var(--faint); margin-bottom: 32px; font-size: 0.95rem; }
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 28px 0 8px;
}
.legal p, .legal li { color: var(--dim); max-width: 44em; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 1.2em; }
.legal li { margin-bottom: 6px; }

/* Mobile */
@media (max-width: 800px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20, 17, 14, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a, .nav-links .btn { display: block; padding: 12px 4px; text-align: left; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .hero { padding-top: 36px; }
  .steps, .features, .price-grid, .waitlist-box { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

.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;
}

.note a { white-space: nowrap; }
