:root {
  color-scheme: dark;
  --ink: #120f0b;
  --ink-soft: #1d1711;
  --copper: #a85d34;
  --carmine: #6f1f22;
  --parchment: #ead7ad;
  --paper: #f2e4c5;
  --gold: #d6aa5b;
  --olive: #5e6b3e;
  --smoke: rgba(18, 15, 11, 0.74);
  --line: rgba(234, 215, 173, 0.24);
  --text: #f6ead0;
  --muted: rgba(246, 234, 208, 0.74);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: linear-gradient(180deg, rgba(18, 15, 11, 0.86), rgba(18, 15, 11, 0.18));
  transition: background 180ms ease, border-color 180ms ease;
}

.topbar[data-elevated="true"] {
  border-bottom: 1px solid var(--line);
  background: rgba(18, 15, 11, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 126px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

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

.nav-cta,
.button,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.nav-cta {
  color: var(--ink);
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 112px clamp(20px, 5vw, 64px) clamp(46px, 8vh, 78px);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 15, 11, 0.92), rgba(18, 15, 11, 0.58) 42%, rgba(18, 15, 11, 0.22)),
    linear-gradient(0deg, rgba(18, 15, 11, 0.94), rgba(18, 15, 11, 0.05) 46%, rgba(18, 15, 11, 0.58));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(3.4rem, 9vw, 8.4rem);
}

h2 {
  margin-bottom: 22px;
  color: var(--paper);
  font-size: clamp(2.15rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.08rem;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(1.06rem, 2.4vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  color: var(--ink);
  background: var(--paper);
}

.button.secondary {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(18, 15, 11, 0.46);
}

.section {
  padding: clamp(70px, 11vw, 128px) clamp(20px, 5vw, 64px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro {
  background:
    linear-gradient(90deg, rgba(111, 31, 34, 0.18), transparent 36%),
    var(--ink);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: start;
}

.lead-stack {
  color: var(--muted);
  font-size: 1.08rem;
}

.lead-stack p:last-child {
  margin-bottom: 0;
}

.feature-band {
  background:
    linear-gradient(135deg, rgba(94, 107, 62, 0.25), rgba(111, 31, 34, 0.14)),
    #19130e;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
}

.feature-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  border-left: 3px solid var(--gold);
  padding: 2px 0 4px 18px;
}

.timeline span {
  display: block;
  margin-bottom: 4px;
  color: var(--copper);
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 5px;
  color: var(--paper);
  font-size: 1.18rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.ritual {
  background: var(--ink-soft);
}

.ritual-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.poster-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090806;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ritual-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.06rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.principles article {
  min-height: 150px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
}

.signup {
  background:
    linear-gradient(180deg, rgba(18, 15, 11, 0.08), rgba(18, 15, 11, 0.88)),
    var(--carmine);
}

.signup-inner {
  max-width: 760px;
}

.signup-form {
  margin-top: 30px;
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--paper);
  font-weight: 800;
}

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

.signup-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(242, 228, 197, 0.38);
  border-radius: 6px;
  padding: 0 15px;
  color: var(--paper);
  background: rgba(18, 15, 11, 0.42);
  font: inherit;
}

.signup-form input[name="company"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup-form input::placeholder {
  color: rgba(246, 234, 208, 0.54);
}

.signup-form input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  margin-top: 1px;
  padding: 0;
  border: 2px solid rgba(242, 228, 197, 0.86);
  border-radius: 6px;
  background: rgba(18, 15, 11, 0.7);
  box-shadow: inset 0 0 0 2px rgba(18, 15, 11, 0.92);
  cursor: pointer;
}

.signup-form input[type="checkbox"]::after {
  content: "";
  width: 8px;
  height: 14px;
  margin-top: -3px;
  border: solid var(--ink);
  border-width: 0 3px 3px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.85);
}

.signup-form input[type="checkbox"]:checked {
  border-color: var(--paper);
  background: var(--paper);
}

.signup-form input[type="checkbox"]:checked::after {
  opacity: 1;
}

.signup-form input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(226, 166, 72, 0.42);
  outline-offset: 3px;
}

.signup-form button {
  min-height: 52px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.consent-check {
  display: flex !important;
  gap: 14px;
  align-items: flex-start;
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(242, 228, 197, 0.34);
  border-radius: 8px;
  color: rgba(246, 234, 208, 0.86) !important;
  background: rgba(18, 15, 11, 0.3);
  font-size: 0.94rem;
  font-weight: 600 !important;
  line-height: 1.5;
  cursor: pointer;
}

.consent-check strong {
  display: block;
  margin-bottom: 3px;
  color: var(--paper);
  font-size: 0.95rem;
}

.consent-check:focus-within,
.consent-check:hover {
  border-color: rgba(242, 228, 197, 0.68);
  background: rgba(18, 15, 11, 0.42);
}

.consent-check.is-error {
  border-color: rgba(255, 208, 191, 0.92);
  background: rgba(117, 34, 26, 0.28);
}

.consent-check a,
.footer a,
.legal-content a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin: 12px 0 0;
  color: rgba(246, 234, 208, 0.76);
  font-size: 0.95rem;
}

.form-note[data-state="success"] {
  color: #bfe5a5;
}

.form-note[data-state="error"] {
  color: #ffd0bf;
}

.footer {
  border-top: 1px solid var(--line);
  background: #0c0907;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  color: var(--muted);
}

.footer-inner span:first-child {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(18, 15, 11, 0.82), rgba(18, 15, 11, 0.96)),
    var(--ink);
}

.legal-hero {
  padding: 132px 0 36px;
}

.legal-content {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 74px;
}

.legal-content h1,
.legal-content h2 {
  max-width: 760px;
}

.legal-content h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 0.96;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-meta {
  color: var(--bronze);
  font-weight: 800;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 64px;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 96px;
  }

  .hero-media img {
    object-position: 58% 48%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(18, 15, 11, 0.42), rgba(18, 15, 11, 0.18) 34%, rgba(18, 15, 11, 0.96)),
      linear-gradient(90deg, rgba(18, 15, 11, 0.82), rgba(18, 15, 11, 0.24));
  }

  .two-column,
  .feature-grid,
  .ritual-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand {
    min-width: auto;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
