/* ============================================================
   Pot — landing page styles
   Warm earth tones, fintech calm. Playfair Display + Inter.
   ============================================================ */

:root {
  --bg:        #F5F0E8;   /* warm paper */
  --bg-warm:   #EFE6D8;   /* slightly deeper section */
  --bg-dark:   #2C1810;   /* dark warm brown */
  --ink:       #2C1810;   /* primary text */
  --ink-soft:  #5A4434;   /* secondary text */
  --ink-mute:  #8A776A;   /* muted */
  --terracotta:#C2714F;   /* primary accent */
  --terracotta-deep:#A85A3C;
  --cream:     #FBF8F2;
  --line:      #E2D6C5;
  --gold:      #D9A441;   /* highlight for amounts */
  --max:       1140px;
  --radius:    18px;
  --shadow:    0 18px 50px -24px rgba(44, 24, 16, 0.35);
  --shadow-sm: 0 8px 24px -14px rgba(44, 24, 16, 0.30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
a { color: inherit; }

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

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 0.9rem;
}
.eyebrow--center { display: block; text-align: center; }
.eyebrow--light { color: #E8B58F; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--terracotta-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }

.btn--ghost-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 248, 242, 0.35);
}
.btn--ghost-dark:hover { border-color: var(--cream); }

.btn--small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.1rem, 4vw, 2.4rem);
  background: rgba(245, 240, 232, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__mark {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid var(--terracotta);
  position: relative;
  flex: none;
}
.nav__mark::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.nav__links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--terracotta-deep); }

/* ---------- Layout ---------- */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.2rem, 5vw, 2.4rem);
}
.section__head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.8rem);
  text-align: center;
}
.section__head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.section__sub, .section__sub p {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.section__aside {
  max-width: 640px;
  margin: clamp(2.4rem, 5vw, 3.4rem) auto 0;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--terracotta-deep);
  line-height: 1.5;
}
.section--warm { background: var(--bg-warm); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 5vw, 2.4rem) clamp(3.5rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(4.5rem, 13vw, 8.5rem);
  font-weight: 800;
  line-height: 0.92;
  margin: 0.2rem 0 0;
  background: linear-gradient(135deg, var(--terracotta-deep), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 600;
  margin: 0.3rem 0 1.4rem;
  color: var(--ink);
}
.hero__lede {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 30rem;
  margin-bottom: 2rem;
}
.hero__lede strong { color: var(--ink); }
.hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.hero__note {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
  margin: 0;
}

/* Hero circle graphic */
.hero__visual { display: flex; justify-content: center; }
.circlegraphic {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1;
}
.circlegraphic__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--line);
  background:
    radial-gradient(circle at center, rgba(194,113,79,0.06), transparent 62%);
}
.circlegraphic__pot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--line);
}
.circlegraphic__amount {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--terracotta-deep);
  line-height: 1;
}
.circlegraphic__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-top: 0.4rem;
}
.seat {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 2px solid var(--terracotta);
  top: 50%; left: 50%;
  margin: -13px;
}
/* place six seats around the ring */
.seat--1 { transform: rotate(0deg)   translateY(-150px) rotate(0deg); }
.seat--2 { transform: rotate(60deg)  translateY(-150px) rotate(-60deg); }
.seat--3 { transform: rotate(120deg) translateY(-150px) rotate(-120deg); }
.seat--4 { transform: rotate(180deg) translateY(-150px) rotate(-180deg); }
.seat--5 { transform: rotate(240deg) translateY(-150px) rotate(-240deg); }
.seat--6 { transform: rotate(300deg) translateY(-150px) rotate(-300deg); }
.seat--active {
  background: var(--terracotta);
  box-shadow: 0 0 0 6px rgba(194,113,79,0.18);
}

/* ---------- Steps ---------- */
.steps {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.step__icon {
  font-size: 1.8rem;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.4rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Ladder ---------- */
.ladder {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ladder__row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1.1fr 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.ladder__row--head {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 0;
  padding-bottom: 0.2rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  font-weight: 600;
}
.ladder__tier {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
}
.ladder__circle { color: var(--ink-soft); font-size: 0.96rem; }
.ladder__in { color: var(--ink-soft); font-weight: 500; }
.ladder__out {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--terracotta-deep);
  text-align: right;
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot--seed   { background: #D9C4A3; }
.dot--circle { background: #D9A441; }
.dot--fund   { background: #C2714F; }
.dot--major  { background: #A85A3C; }
.dot--home   { background: #2C1810; }

.ladder__row--peak {
  background: linear-gradient(120deg, #2C1810, #4A2C1C);
  border-color: transparent;
}
.ladder__row--peak .ladder__tier,
.ladder__row--peak .ladder__circle,
.ladder__row--peak .ladder__in { color: #F2E6D6; }
.ladder__row--peak .ladder__out { color: var(--gold); }
.ladder__row--peak .dot--home { background: var(--gold); }

/* ---------- Split sections ---------- */
.section__split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.section__col h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.section__col p { color: var(--ink-soft); font-size: 1.08rem; }
.callout {
  border-left: 3px solid var(--terracotta);
  padding-left: 1.2rem;
  font-style: italic;
  color: var(--ink) !important;
  margin-top: 1.4rem;
}

/* Record card */
.recordcard {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  max-width: 380px;
  margin: 0 auto;
}
.recordcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}
.recordcard__name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.recordcard__badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: var(--terracotta);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.recordcard__rows { display: flex; flex-direction: column; gap: 0.1rem; }
.recordcard__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.recordcard__line span { color: var(--ink-soft); font-size: 0.96rem; }
.recordcard__line strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--ink);
}
.recordcard__line--muted strong { color: var(--ink-mute); }
.recordcard__foot {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  text-align: center;
}

/* ---------- Why (dark) ---------- */
.section--dark {
  background: var(--bg-dark);
  color: #EAD9C7;
}
.section--dark h2 { color: var(--cream); }
.why {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}
.why__lead p { color: #D4BFAB; font-size: 1.15rem; }
.why__lead em, .why__quote em { color: #E8B58F; font-style: italic; }
.why__quote {
  margin: 0;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--radius);
  background: rgba(251, 248, 242, 0.05);
  border: 1px solid rgba(251, 248, 242, 0.12);
}
.why__quote p { color: #D4BFAB; font-size: 1.12rem; }
.why__quote-punch {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  font-weight: 700;
  color: var(--cream) !important;
  margin: 0.6rem 0 0;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.why__card {
  background: rgba(251, 248, 242, 0.06);
  border: 1px solid rgba(251, 248, 242, 0.10);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.why__card h3 { color: var(--cream); font-size: 1.3rem; }
.why__card p { color: #D4BFAB; margin: 0; font-size: 1rem; }

/* ---------- Open-source promise ---------- */
.section--promise { background: var(--bg-warm); }
.promise {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.promise h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.promise p { color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 1.8rem; }

/* ---------- Waitlist ---------- */
.section--join {
  background:
    radial-gradient(circle at 50% 0%, rgba(194,113,79,0.10), transparent 60%),
    var(--bg);
}
.join {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.join h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.join__terms {
  font-weight: 600;
  color: var(--terracotta-deep);
  margin-bottom: 2rem;
}
.join__form {
  display: flex;
  gap: 0.7rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.join__form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.join__form input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194,113,79,0.14);
}
.join__msg {
  font-weight: 600;
  color: var(--terracotta-deep);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.join__fineprint {
  font-size: 0.86rem;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: #C9B4A1;
  padding: clamp(2.6rem, 5vw, 3.6rem) clamp(1.2rem, 5vw, 2.4rem);
}
.footer__inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.9rem;
}
.footer__brand .nav__mark { border-color: #E8B58F; }
.footer__brand .nav__mark::after { background: var(--cream); }
.footer__line {
  font-style: italic;
  font-family: "Playfair Display", serif;
  color: #D4BFAB;
  max-width: 560px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
}
.footer__legal { font-size: 0.86rem; color: var(--ink-mute); margin: 0; }
.footer__legal a { color: #E8B58F; text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }

/* ---------- Onboarding (frictionless) ---------- */
.onboard {
  max-width: 760px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.onboard__head { text-align: center; margin-bottom: 1.8rem; }
.onboard__head h3 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin: 0;
}
.onboard__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.8rem;
}
.onboard__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.onboard__num {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.onboard__item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: var(--ink);
  line-height: 1.25;
}
.onboard__item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ---------- Explainer (inline animation, scoped under .mcx) ---------- */
.explainer-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--cream);
}
/* Reduced motion turns the animation into stacked static cards, which need
   to grow taller than 16/9 — release the fixed ratio so nothing clips. */
@media (prefers-reduced-motion: reduce) {
  .explainer-wrap { aspect-ratio: auto; overflow: visible; }
}
/* On narrow screens a 16/9 box is too short to hold heading + visual + copy
   without clipping. Relax the ratio to a portrait-friendly min-height so every
   scene's text stays fully visible; the .mcx container query sizing adapts. */
@media (max-width: 620px) {
  .explainer-wrap {
    aspect-ratio: auto;
    min-height: clamp(420px, 86vw, 520px);
    height: clamp(420px, 86vw, 520px);
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq__item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: var(--terracotta); }
.faq__q {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.08rem, 2.3vw, 1.28rem);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  position: relative;
  line-height: 1.3;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after {
  content: "−";
  color: var(--terracotta-deep);
}
.faq__q:hover { color: var(--terracotta-deep); }
.faq__a {
  padding: 0 1.4rem 1.3rem;
}
.faq__a p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

/* ---------- Calculator ---------- */
.calc {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.calc__tabs {
  display: flex;
  gap: 0.4rem;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem;
  margin-bottom: 1.8rem;
}
.calc__tab {
  flex: 1;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.calc__tab:hover { color: var(--terracotta-deep); }
.calc__tab.is-active {
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.calc__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}
.calc__field { display: flex; flex-direction: column; }
.calc__field--wide { grid-column: 1 / -1; }
.calc__field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
}
.calc__inputwrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.calc__inputwrap:focus-within {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194,113,79,0.14);
}
.calc__prefix {
  color: var(--ink-mute);
  font-weight: 600;
  margin-right: 0.3rem;
}
.calc__inputwrap input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.8rem 0;
  width: 100%;
}
.calc select {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 0.85rem 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A776A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}
.calc select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194,113,79,0.14);
}
.calc__sliderrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.calc__sliderrow input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
}
.calc__sliderrow input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.calc__sliderrow input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.calc__slidervalue {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--terracotta-deep);
  min-width: 4.5rem;
  text-align: right;
}
.calc__result {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.calc__hint, .calc__note {
  color: var(--ink-mute);
  font-size: 0.96rem;
  margin: 0;
}
.calc__note {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  background: var(--bg-warm);
  border-radius: 10px;
  color: var(--ink-soft);
}
.calc__pick {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  margin-bottom: 1.2rem;
}
.calc__pickdot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex: none;
}
.calc__pickdot--seed   { background: #D9C4A3; }
.calc__pickdot--circle { background: #D9A441; }
.calc__pickdot--fund   { background: #C2714F; }
.calc__pickdot--major  { background: #A85A3C; }
.calc__pickdot--home   { background: #2C1810; }
.calc__pickname {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.15;
}
.calc__picksub {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.calc__pickpay {
  margin-left: auto;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--terracotta-deep);
}
.calc__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.4rem;
  margin-bottom: 1.2rem;
}
.calc__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.calc__stat span { color: var(--ink-soft); font-size: 0.92rem; }
.calc__stat strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: right;
}
.calc__say {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--terracotta);
  background: rgba(194,113,79,0.06);
  border-radius: 0 10px 10px 0;
}
.calc__say strong { color: var(--terracotta-deep); }
.calc__foot {
  margin: 1.6rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------- Social sharing ---------- */
/* A share host is positioned so its fallback popover can anchor above the
   trigger. The native Web Share sheet (mobile) needs none of this. */
[data-share] { position: relative; }

.share__icon { flex: none; }

/* Hero: a quiet, link-weight share affordance under the CTAs. */
.share--hero {
  display: inline-flex;
  margin: 0 0 1.4rem;
}
.share__trigger--link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  transition: color 0.15s ease;
}
.share__trigger--link:hover { color: var(--terracotta-deep); }
.share--hero { justify-content: center; }
@media (min-width: 901px) {
  .share--hero { justify-content: flex-start; }
}

/* Share prompts after the ladder and waitlist. */
.sharebar {
  max-width: 920px;
  margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  text-align: center;
}
.sharebar__prompt {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--terracotta-deep);
}
.sharebar--join {
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  flex-direction: column;
  gap: 0.8rem;
}

/* Calculator result share. */
.calc__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.calc__sharelabel {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Fallback popover: small, anchored above the trigger, subtle. */
.share__pop {
  position: absolute;
  bottom: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: 11.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: sharePopIn 0.16s ease;
}
/* little pointer toward the trigger */
.share__pop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--cream);
  filter: drop-shadow(0 1px 0 var(--line));
}
@keyframes sharePopIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.share__opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.share__opt svg { flex: none; color: var(--ink-soft); transition: color 0.14s ease; }
.share__opt:hover { background: var(--bg-warm); }
.share__opt:hover svg { color: var(--terracotta-deep); }
.share__opt--copy.is-copied {
  color: var(--terracotta-deep);
  background: rgba(194, 113, 79, 0.10);
}
.share__opt--copy.is-copied svg { color: var(--terracotta-deep); }

/* ---------- Scroll reveal ---------- */
.reveal--armed {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--armed.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2.5rem;
  }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; margin-bottom: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .section__split { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .recordcard { margin-top: 0.5rem; }
  .onboard__list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .ladder__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "tier out"
      "circle out"
      "in in";
    row-gap: 0.35rem;
    padding: 1rem 1.2rem;
  }
  .ladder__row--head { display: none; }
  .ladder__tier   { grid-area: tier; }
  .ladder__circle { grid-area: circle; }
  .ladder__in     { grid-area: in; font-size: 0.9rem; }
  .ladder__out    { grid-area: out; align-self: center; }
  .join__form { flex-direction: column; }
  .join__form .btn { width: 100%; }
  .calc__fields { grid-template-columns: 1fr; }
  .calc__stats { grid-template-columns: 1fr; gap: 0; }
  .calc__tab { font-size: 0.88rem; padding: 0.65rem 0.5rem; }
  .calc__pickpay { font-size: 1.35rem; }
  .circlegraphic { width: min(280px, 78vw); }
  /* tighten seat radius on small screens */
  .seat--1 { transform: rotate(0deg)   translateY(-118px) rotate(0deg); }
  .seat--2 { transform: rotate(60deg)  translateY(-118px) rotate(-60deg); }
  .seat--3 { transform: rotate(120deg) translateY(-118px) rotate(-120deg); }
  .seat--4 { transform: rotate(180deg) translateY(-118px) rotate(-180deg); }
  .seat--5 { transform: rotate(240deg) translateY(-118px) rotate(-240deg); }
  .seat--6 { transform: rotate(300deg) translateY(-118px) rotate(-300deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal--armed { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .share__pop { animation: none; }
}
