:root {
  --bg: #ffffff;
  --bg-strong: #f7f7f5;
  --surface: rgba(255, 252, 247, 0.52);
  --surface-strong: rgba(255, 252, 247, 0.7);
  --text: #1f1a17;
  --muted: #685b51;
  --line: rgba(79, 62, 48, 0.1);
  --line-strong: rgba(79, 62, 48, 0.16);
  --accent: #cf5a1e;
  --accent-strong: #4f3422;
  --success: #2f6b48;
  --error: #9d3b30;
  --shadow: 0 10px 30px rgba(68, 47, 29, 0.04);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: none;
  --body-font: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body-font);
  line-height: 1.5;
}

body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.container {
  width: calc(100% - 3rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a,
.text-link {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--text);
}

.nav-signin {
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: #fffaf4;
}

.site-nav .nav-signin-secondary {
  background: color-mix(in srgb, var(--text) 78%, white 22%);
  color: #fffaf4;
  border-color: color-mix(in srgb, var(--text) 78%, white 22%);
}

.site-nav .nav-signin-secondary:hover {
  color: #fffaf4;
  border-color: var(--text);
  background: var(--text);
}

.hero,
.subpage-hero {
  padding: 5rem 0 2.25rem;
}

.hero-grid {
  display: block;
  min-height: auto;
}

.hero-copy h1,
.section-intro h2,
.subpage-hero h1 {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.14;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
}

.hero-accent {
  color: var(--accent);
}

.hero-subhead,
.hero-note,
.section-intro p,
.step p,
.principle-copy p,
.faq-list p,
.footer-copy,
.prose-shell p {
  color: var(--muted);
}

.hero-subhead {
  margin: 1.5rem 0 0;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  line-height: 1.6;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0;
  background: var(--accent);
  color: #fffaf4;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 180ms ease, opacity 180ms ease;
}

.primary-action:hover {
  transform: translateY(-1px);
}

.eyebrow {
  display: none;
}

.waitlist-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.waitlist-panel-compact {
  max-width: none;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
}

.waitlist-form label {
  display: grid;
  gap: 0.5rem;
}

.waitlist-form span {
  font-size: 0.95rem;
  font-weight: 600;
}

.waitlist-form em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: var(--text);
  resize: vertical;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  outline: none;
  border-color: rgba(79, 52, 34, 0.45);
  box-shadow: 0 0 0 3px rgba(109, 76, 53, 0.12);
}

.waitlist-form button {
  min-height: 3.25rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fffaf4;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.form-feedback {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.95rem;
}

.form-feedback[data-state="success"] {
  color: var(--success);
}

.form-feedback[data-state="error"] {
  color: var(--error);
}

.form-feedback[data-state="pending"] {
  color: var(--muted);
}

.section {
  padding: 4.75rem 0;
  border-top: 1px solid var(--line);
}

.section-principle,
.section-cta {
  background: rgba(255, 255, 255, 0.08);
}

.section-principle {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 158, 78, 0.22), transparent 22%),
    radial-gradient(circle at 88% 84%, rgba(255, 110, 60, 0.28), transparent 26%),
    radial-gradient(circle at 68% 22%, rgba(114, 86, 255, 0.16), transparent 20%),
    linear-gradient(125deg, #0c1320 0%, #131f31 30%, #241d31 58%, #5a2e2b 78%, #cf5a1e 100%);
  color: #fffaf4;
}

.section-principle .container {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.section-intro {
  max-width: none;
}

.section-intro h2,
.subpage-hero h1 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.section-intro p,
.prose-shell p {
  margin-bottom: 0;
  max-width: none;
  font-size: 1.05rem;
}

.section-principle .section-intro h2,
.section-principle .principle-copy p {
  color: #fffaf4;
}

.section-principle .section-intro h2 {
  max-width: none;
}

.narrow {
  max-width: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  border-top: 0;
}

.step {
  min-height: 100%;
  padding: 1.2rem 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.step-number {
  display: inline-block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step h3 {
  margin: 0.85rem 0 0.6rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.step p,
.faq-list p,
.principle-copy p {
  margin: 0;
  font-size: 1rem;
}

.principle-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  align-items: start;
}

.principle-copy {
  display: grid;
  gap: 1rem;
}

.principle-copy p {
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.65;
  max-width: none;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  line-height: 1.45;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 0.8rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-copy {
  max-width: none;
  margin: 0.8rem 0 0;
}

.cta-layout {
  gap: 1.5rem;
}

.section-cta .container {
  width: calc(100% - 3rem);
  max-width: none;
}

.waitlist-panel-full {
  max-width: none;
  width: 100%;
}

.prose-shell {
  max-width: none;
}

.prose-shell h1 {
  margin-bottom: 1.4rem;
}

@media (max-width: 900px) {
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.8rem, 10vw, 3.2rem);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .site-shell {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .header-row {
    min-height: 4rem;
  }

  .site-nav {
    gap: 0.65rem;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .nav-signin {
    padding-inline: 0.85rem;
  }

  .section,
  .subpage-hero {
    padding: 4rem 0;
  }

  .waitlist-panel {
    padding: 1.1rem;
  }
}
