:root {
  --ink: #080706;
  --ink-soft: #12100e;
  --paper: #f7efe4;
  --cream: #fff9ef;
  --sand: #ead9c2;
  --text: #fff8ee;
  --text-dark: #17130f;
  --muted: #c7b9a6;
  --muted-dark: #665c4f;
  --flame: #ef5c24;
  --gold: #f7c63f;
  --green: #0d5d47;
  --green-bright: #84d62c;
  --line: rgba(255, 248, 238, 0.16);
  --line-dark: rgba(23, 19, 15, 0.13);
  --shadow: 0 24px 70px rgba(8, 7, 6, 0.28);
  --radius: 8px;
  --shell: 1180px;
  --ease: 200ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--ink);
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
.button {
  cursor: pointer;
}

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

h1,
h2,
h3,
.brand {
  font-family: "Outfit", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 4.75rem;
  line-height: 0.94;
  font-weight: 800;
}

h2 {
  max-width: 13ch;
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.12;
  font-weight: 700;
}

p {
  line-height: 1.65;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.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: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 248, 238, 0.08);
  background: rgba(8, 7, 6, 0.78);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 800;
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: var(--radius);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 238, 0.04);
}

.menu-toggle span[aria-hidden="true"] {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform var(--ease), opacity var(--ease);
}

.site-header.is-open .menu-toggle span[aria-hidden="true"]:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span[aria-hidden="true"]:nth-child(3) {
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease), opacity var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary,
.button--small {
  background: var(--gold);
  color: var(--text-dark);
}

.button--small {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
}

.button--ghost {
  border-color: rgba(255, 248, 238, 0.34);
  color: var(--text);
  background: rgba(255, 248, 238, 0.04);
}

.button--google {
  width: 100%;
  gap: 0.65rem;
  color: var(--text-dark);
  background: var(--cream);
  border-color: rgba(23, 19, 15, 0.22);
}

.button--google span {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #fff;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: #4285f4;
}

.button[disabled],
.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.9) 0%, rgba(8, 7, 6, 0.64) 42%, rgba(8, 7, 6, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.28) 0%, rgba(8, 7, 6, 0.76) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 2rem;
  padding: 9.5rem 0 5rem;
}

.hero__copy,
.section__intro,
.product-story__copy,
.feature-split__copy,
.cta-copy {
  display: grid;
  gap: 1rem;
}

.kicker {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.hero__lede {
  max-width: 43rem;
  font-size: 1.22rem;
  color: rgba(255, 248, 238, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.hero__micro {
  max-width: 40rem;
  color: rgba(255, 248, 238, 0.72);
}

.decision-panel {
  padding: 1.25rem;
  border: 1px solid rgba(255, 248, 238, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 7, 6, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.decision-panel__label {
  color: var(--green-bright);
  font-size: 0.82rem;
  font-weight: 800;
}

.decision-panel h2 {
  margin-top: 0.55rem;
  font-size: 1.65rem;
  line-height: 1.1;
}

.decision-panel__signals {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
}

.decision-panel__signals div {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 248, 238, 0.14);
}

.decision-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.decision-panel dd {
  margin: 0.24rem 0 0;
  color: var(--text);
}

.section {
  padding: 5.25rem 0;
}

.section--paper {
  color: var(--text-dark);
  background: var(--paper);
}

.section--cream {
  color: var(--text-dark);
  background: var(--cream);
}

.section--dark {
  color: var(--text);
  background: linear-gradient(180deg, #090807, #12100e);
}

.section--cta {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(239, 92, 36, 0.18), rgba(8, 7, 6, 0) 32%),
    var(--ink);
}

.section__intro p,
.product-story__copy p,
.feature-split__copy p,
.cta-copy p {
  max-width: 45rem;
  color: inherit;
}

.section__intro--wide h2,
.section__intro--wide p {
  max-width: 56rem;
}

.split,
.product-story,
.feature-split,
.cta-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: start;
}

.friction-grid,
.value-grid,
.scenario-grid,
.comparison-grid,
.use-case-list {
  display: grid;
  gap: 1rem;
}

.friction-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.friction-grid article,
.value-card,
.steps li,
.use-case-list article,
.comparison-grid article,
.faq-list details,
.waitlist-form {
  border-radius: var(--radius);
}

.friction-grid article {
  min-height: 255px;
  padding: 1.2rem;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.46);
}

.friction-grid span,
.value-card span,
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-weight: 800;
}

.friction-grid span {
  color: var(--text);
  background: var(--green);
}

.friction-grid h3,
.value-card h3,
.steps h3,
.scenario-card h3,
.use-case-list h3,
.comparison-grid h3 {
  margin-bottom: 0.7rem;
}

.friction-grid p,
.steps p,
.use-case-list p,
.comparison-grid p,
.faq-list p {
  color: var(--muted-dark);
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.value-card {
  min-height: 275px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.05);
}

.value-card span {
  color: var(--text-dark);
  background: var(--gold);
}

.value-card p,
.comparison-grid__focus p {
  color: rgba(255, 248, 238, 0.76);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line-dark);
  background: rgba(234, 217, 194, 0.34);
}

.steps span {
  grid-row: span 2;
  margin-bottom: 0;
  color: var(--text);
  background: var(--flame);
}

.scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.scenario-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 238, 0.05);
}

.scenario-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.scenario-card div {
  padding: 1.05rem;
}

.scenario-card p {
  color: rgba(255, 248, 238, 0.76);
}

.use-case-list {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 1rem;
}

.use-case-list article {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.04);
}

.use-case-list h3 {
  font-size: 1rem;
}

.use-case-list p {
  color: rgba(255, 248, 238, 0.72);
  font-size: 0.94rem;
}

.feature-split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.feature-split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-split__image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-split__image img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
}

.comparison-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.comparison-grid article {
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.05);
}

.comparison-grid__focus {
  background: linear-gradient(180deg, rgba(13, 93, 71, 0.86), rgba(8, 7, 6, 0.7)) !important;
  border-color: rgba(132, 214, 44, 0.42) !important;
}

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

.faq-list details {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.48);
}

.faq-list summary {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--flame);
}

.faq-list details[open] summary::after {
  content: "-";
}

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

.cta-layout {
  align-items: center;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 248, 238, 0.07);
  box-shadow: var(--shadow);
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.consent-field input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  accent-color: var(--gold);
}

.consent-field label {
  color: rgba(255, 248, 238, 0.82);
  font-size: 0.94rem;
  line-height: 1.55;
}

.consent-field a {
  color: var(--gold);
  font-weight: 700;
}

.google-button-wrap {
  min-height: 48px;
}

.google-button-wrap.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.waitlist-status,
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.waitlist-status.is-error {
  color: #ffb199;
}

.waitlist-status.is-success {
  color: var(--green-bright);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 248, 238, 0.1);
  background: #050403;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 248, 238, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  padding: 8.5rem 0 4rem;
  color: var(--text-dark);
  background: var(--paper);
}

.legal-article {
  max-width: 880px;
  margin: 0 auto;
}

.legal-article h1 {
  max-width: 14ch;
  color: var(--text-dark);
  font-size: 3.5rem;
}

.legal-article h2 {
  max-width: none;
  margin-top: 2rem;
  font-size: 1.65rem;
  line-height: 1.15;
}

.legal-article p,
.legal-article li {
  color: var(--text-dark);
  line-height: 1.7;
}

.legal-article p,
.legal-article ul,
.legal-article ol,
.legal-article blockquote {
  margin: 1rem 0 0;
}

.legal-article ul,
.legal-article ol {
  padding-left: 1.3rem;
}

.legal-article code {
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  background: rgba(23, 19, 15, 0.09);
}

.legal-article blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--flame);
  color: var(--muted-dark);
}

.legal-article hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line-dark);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .hero__content,
  .split,
  .product-story,
  .feature-split,
  .feature-split--reverse,
  .cta-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .decision-panel {
    max-width: 520px;
  }

  .friction-grid,
  .value-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-case-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 7, 6, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity var(--ease), transform var(--ease);
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 0.75rem;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero {
    min-height: 920px;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(8, 7, 6, 0.42) 0%, rgba(8, 7, 6, 0.92) 52%, rgba(8, 7, 6, 0.96) 100%);
  }

  .hero__content {
    padding-top: 7.25rem;
    padding-bottom: 3rem;
  }

  .section {
    padding: 4rem 0;
  }

  .friction-grid,
  .value-grid,
  .scenario-grid,
  .comparison-grid,
  .use-case-list {
    grid-template-columns: 1fr;
  }

  .friction-grid article,
  .value-card {
    min-height: auto;
  }

  .feature-split__image img {
    height: 20rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-article h1 {
    font-size: 2.5rem;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
