:root {
  --paper: #f7f3ec;
  --paper-soft: #fbfaf6;
  --ink: #271f1a;
  --muted: #756a60;
  --faint: #a99d91;
  --ember: #bd5634;
  --ember-dark: #9e442a;
  --sage: #d8ded1;
  --sage-dark: #435242;
  --blue: #dce5eb;
  --blue-dark: #415260;
  --line: rgba(39, 31, 26, 0.13);
  --shadow: 0 24px 70px rgba(39, 31, 26, 0.14);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: 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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 64px);
  background: rgba(247, 243, 236, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 246, 0.94);
}

.brand {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}

.brand span {
  color: var(--ember);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.main-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta,
.beta-section a,
.email-row button,
.reflection-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--ember);
  color: #fffaf3;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-cta {
  padding: 0 20px;
  white-space: nowrap;
}

.header-cta:hover,
.beta-section a:hover,
.email-row button:hover,
.reflection-card button:hover {
  background: var(--ember-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(189, 86, 52, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(86vh - 84px);
  padding: clamp(30px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(34px, 4.5vw, 62px);
  overflow: hidden;
}

.hero-copy {
  max-width: 620px;
}

.hero h1,
.section-heading h2,
.mirror-copy h2,
.privacy-copy h2,
.founder-copy h2,
.beta-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(46px, 5.7vw, 74px);
}

.hero-text {
  max-width: 560px;
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
}

.waitlist-form {
  width: min(100%, 580px);
}

.email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.email-row input,
.optional-panel input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: 0;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.email-row input:focus,
.optional-panel input:focus {
  border-color: rgba(189, 86, 52, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(189, 86, 52, 0.11);
}

.email-row button {
  padding: 0 22px;
  white-space: nowrap;
}

.form-note {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.optional-panel {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

.hero .optional-panel {
  display: none;
}

.optional-title,
.optional-panel label,
.optional-panel legend {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.optional-panel fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.optional-panel legend {
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.chip:hover {
  border-color: rgba(189, 86, 52, 0.5);
  color: var(--ember);
}

.chip.is-selected {
  border-color: var(--ember);
  background: var(--ember);
  color: #fffaf3;
}

.success-panel {
  width: min(100%, 580px);
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(67, 82, 66, 0.22);
  border-radius: 8px;
  background: rgba(216, 222, 209, 0.56);
}

.success-panel p {
  margin: 0;
  color: var(--sage-dark);
}

.success-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink) !important;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-dark);
}

.hero-media {
  position: relative;
  align-self: center;
  height: min(58vh, 600px);
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 50%;
}

.intro-band,
.spaces-section,
.privacy-section,
.founder-section,
.beta-section,
.mirror-section {
  padding: clamp(70px, 9vw, 126px) clamp(20px, 5vw, 64px);
}

.section-heading {
  width: min(100%, 790px);
  margin: 0 auto clamp(40px, 6vw, 68px);
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 42px;
}

.section-heading h2,
.mirror-copy h2,
.privacy-copy h2,
.founder-copy h2,
.beta-section h2 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.section-heading p,
.mirror-copy p,
.privacy-copy p,
.founder-copy p,
.beta-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.85;
}

.intro-band {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 980px);
  margin: 0 auto;
  background: var(--line);
}

.principles article {
  min-height: 260px;
  padding: 36px 32px;
  background: var(--paper-soft);
  text-align: center;
}

.principles svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 26px;
  color: var(--sage-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principles h3,
.space-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}

.principles p,
.space-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.spaces-section {
  background: linear-gradient(90deg, rgba(216, 222, 209, 0.58), rgba(220, 229, 235, 0.62));
}

.spaces-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 990px);
  margin: 0 auto;
}

.space-panel {
  min-height: 310px;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(39, 31, 26, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.space-label {
  margin: 0 0 28px !important;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 82px) !important;
  line-height: 0.85 !important;
  color: var(--ember) !important;
}

.us-panel .space-label {
  color: var(--blue-dark) !important;
}

.mirror-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  background: var(--ink);
  color: #fffaf3;
}

.mirror-copy {
  max-width: 720px;
}

.mirror-copy p {
  color: rgba(255, 250, 243, 0.68);
}

.reflection-card {
  padding: 28px;
  border: 1px solid rgba(255, 250, 243, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.08);
}

.card-topline {
  margin: 0 0 18px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reflection-question {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
}

.reflection-input {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-radius: 8px;
  color: rgba(255, 250, 243, 0.52);
  font-size: 14px;
}

.reflection-card button {
  width: 100%;
  margin-top: 14px;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  background: var(--paper-soft);
}

.privacy-copy {
  max-width: 520px;
}

.privacy-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.privacy-list li {
  position: relative;
  min-height: 92px;
  padding: 26px 28px 24px 58px;
  background: var(--paper-soft);
  color: var(--muted);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 28px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--sage-dark);
  border-radius: 50%;
}

.founder-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 720px);
  gap: clamp(24px, 5vw, 56px);
  justify-content: center;
  align-items: start;
  background: var(--paper);
}

.founder-mark {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(189, 86, 52, 0.25);
  border-radius: 50%;
  background: #ead7cf;
  color: var(--ember);
  font-family: var(--serif);
  font-size: 44px;
}

.founder-copy p {
  margin-top: 16px;
  font-size: 16px;
}

.beta-section {
  max-width: calc(100% - clamp(40px, 10vw, 128px));
  margin: 0 auto clamp(54px, 7vw, 84px);
  border-radius: 8px;
  background: var(--sage-dark);
  color: #fffaf3;
  text-align: center;
}

.beta-section p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 250, 243, 0.7);
}

.beta-section a {
  margin-top: 34px;
  padding: 0 26px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.legal {
  justify-self: end;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero,
  .mirror-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    height: min(58vh, 520px);
    min-height: 420px;
  }

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

  .principles article {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 17px 18px;
  }

  .brand {
    font-size: 27px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    gap: 22px;
    padding: 22px 18px 24px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 48px);
    line-height: 1;
  }

  .hero-text {
    margin: 16px 0 20px;
    font-size: 14px;
    line-height: 1.65;
  }

  .email-row,
  .spaces-layout,
  .founder-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .email-row button {
    width: 100%;
  }

  .hero-media {
    height: 140px;
    min-height: 140px;
  }

  .optional-panel,
  .trust-row {
    display: none;
  }

  .intro-band,
  .spaces-section,
  .privacy-section,
  .founder-section,
  .beta-section,
  .mirror-section {
    padding: 62px 18px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .mirror-copy h2,
  .privacy-copy h2,
  .founder-copy h2,
  .beta-section h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .space-panel {
    min-height: 0;
  }

  .founder-mark {
    width: 86px;
    height: 86px;
    font-size: 34px;
  }

  .beta-section {
    max-width: calc(100% - 36px);
  }

  .site-footer {
    text-align: center;
  }

  .legal {
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero-media {
    height: 140px;
    min-height: 140px;
  }

  .optional-panel {
    padding: 15px;
  }
}
