:root {
  --surface: #fbf9f4;
  --surface-low: #f5f3ee;
  --surface-container: #f0eee9;
  --surface-high: #e4e2dd;
  --card: #ffffff;
  --text: #1b1c19;
  --muted: #58413f;
  --outline: #dfbfbb;
  --primary: #a6332c;
  --primary-soft: #ffdad6;
  --primary-bright: #e05d52;
  --sage: #516350;
  --sage-soft: #d4e8d0;
  --sand: #ffdbce;
  --shadow: 0 24px 70px rgba(88, 65, 63, 0.16);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(251, 249, 244, 0.88);
  border-bottom: 1px solid rgba(223, 191, 187, 0.55);
  backdrop-filter: blur(18px);
}

.brand,
.site-footer strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-bright);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-mark {
  width: 18px;
  height: 18px;
  background: var(--primary-bright);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(224, 93, 82, 0.13);
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3.25rem, 7vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.lede {
  max-width: 620px;
  margin: 28px 0 34px;
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(166, 51, 44, 0.22);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--primary-bright);
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(166, 51, 44, 0.24);
  outline-offset: 3px;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.button-secondary {
  color: var(--text);
  background: var(--surface-container);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--surface-high);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  width: min(280px, 48vw);
  min-height: 570px;
  padding: 20px 16px;
  background: #20201d;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--surface);
  border-radius: 32px;
  z-index: 0;
}

.phone > * {
  position: relative;
  z-index: 1;
}

.phone-speaker {
  width: 62px;
  height: 6px;
  margin: 0 auto 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.phone-send {
  top: 10px;
  right: 28px;
  z-index: 2;
}

.phone-circle {
  left: 8px;
  bottom: 8px;
  z-index: 3;
}

.app-top,
.tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.app-top span:first-child {
  color: var(--text);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.app-top span:last-child,
.tab-bar,
small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.send-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 54px 14px 28px;
  text-align: center;
}

.send-panel p {
  margin: 0;
}

.send-panel h2 {
  font-size: 2.05rem;
}

.heartbeat-button {
  width: 166px;
  height: 166px;
  color: #fff;
  background: var(--primary-bright);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(224, 93, 82, 0.36);
  cursor: default;
  font-weight: 700;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 93, 82, 0.36);
  }
  70% {
    box-shadow: 0 0 0 28px rgba(224, 93, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(224, 93, 82, 0);
  }
}

.tab-bar {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 22px;
  min-height: 46px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.tab-bar .active {
  color: var(--primary);
}

.circle-list {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.circle-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 191, 187, 0.45);
  border-radius: 20px;
}

.circle-list strong {
  display: block;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-weight: 700;
}

.avatar.sage {
  color: var(--sage);
  background: var(--sage-soft);
}

.avatar.sand {
  color: #854e38;
  background: var(--sand);
}

.status {
  padding: 5px 9px;
  color: var(--sage);
  background: rgba(81, 99, 80, 0.13);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.status.pending {
  color: #854e38;
  background: rgba(254, 181, 154, 0.3);
}

.notification-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(315px, 86vw);
  padding: 15px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 191, 187, 0.55);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(88, 65, 63, 0.16);
  backdrop-filter: blur(12px);
}

.notification-card span:not(.notification-icon) {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.notification-card strong {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  line-height: 1.35;
}

.notification-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  font-weight: 800;
}

.notification-icon.check {
  background: var(--sage);
}

.notification-reminder {
  top: 18px;
  left: 0;
}

.notification-success {
  right: 0;
  bottom: 16px;
}

.calm-band {
  max-width: none;
  background: var(--surface-low);
}

.calm-band > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 54px;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps article,
.feature-grid article,
.who-image-card,
.waitlist-card,
.faq-list details {
  background: var(--card);
  border: 1px solid rgba(223, 191, 187, 0.42);
  border-radius: var(--radius);
}

.steps article {
  padding: 34px;
  text-align: center;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: #350f02;
  background: var(--sand);
  border-radius: 18px;
  font-weight: 800;
}

.step-icon.clay {
  color: #410002;
  background: var(--primary-soft);
}

.step-icon.sage {
  color: #0f1f10;
  background: var(--sage-soft);
}

.story-section {
  max-width: none;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-low) 100%);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.story-intro {
  position: sticky;
  top: 120px;
}

.story-intro h2 {
  max-width: 520px;
}

.story-quote {
  margin: 34px 0 0;
  padding: 24px 0 24px 24px;
  color: var(--primary);
  border-left: 4px solid var(--primary-bright);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.story-copy {
  max-width: 700px;
  padding: 8px 0;
}

.story-copy p {
  margin: 0;
  font-size: 1.08rem;
}

.story-copy p + p {
  margin-top: 22px;
}

.story-copy p:first-child {
  color: var(--text);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-grid article {
  min-height: 220px;
  padding: 32px;
}

.feature-grid .feature-large {
  grid-column: span 2;
  min-height: 300px;
  padding: 44px;
}

.feature-large p:last-child {
  max-width: 660px;
  font-size: 1.08rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 64px;
  align-items: center;
}

.help-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.help-list article {
  padding-left: 18px;
  border-left: 4px solid var(--primary-bright);
}

.help-list h3 {
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 1.05rem;
}

.help-list p {
  margin: 6px 0 0;
}

.who-image-card {
  width: min(100%, 480px);
  justify-self: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.who-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.trust-caption {
  padding: 30px;
  background: rgba(255, 255, 255, 0.92);
}

.trust-caption p {
  margin-bottom: 0;
}

.waitlist-section {
  max-width: 920px;
}

.waitlist-card {
  position: relative;
  padding: clamp(32px, 7vw, 72px);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}

.waitlist-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, rgba(224, 93, 82, 0.2), var(--primary-bright), rgba(224, 93, 82, 0.2));
}

.waitlist-card > p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.waitlist-form {
  margin-top: 34px;
  text-align: left;
}

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

label span {
  display: block;
  margin: 0 0 9px 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  color: var(--text);
  background: var(--surface-low);
  border: 1px solid transparent;
  border-radius: 16px;
}

select {
  appearance: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-button {
  width: 100%;
  margin-top: 20px;
  border-radius: 16px;
}

.form-button[disabled] {
  cursor: wait;
  opacity: 0.74;
  transform: none;
}

.form-note,
.form-message {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.form-note a {
  color: var(--primary);
  font-weight: 700;
}

.form-message {
  min-height: 24px;
  font-weight: 700;
}

.form-message.success {
  color: var(--sage);
}

.form-message.error {
  color: var(--primary);
}

.faq-section {
  max-width: 850px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.6rem;
}

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

.faq-list p {
  margin-top: 0;
  padding-bottom: 22px;
}

.final-cta {
  max-width: 760px;
  text-align: center;
}

.legal-page {
  max-width: 860px;
}

.legal-page h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.legal-updated {
  margin: 20px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-content {
  margin-top: 52px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.legal-content p {
  margin: 14px 0 0;
  font-size: 1.04rem;
}

.legal-content a {
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid rgba(223, 191, 187, 0.65);
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero,
  .split-section,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-intro {
    position: static;
  }

  .who-image-card {
    width: min(100%, 420px);
  }

  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 650px;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .steps,
  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid .feature-large {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 1.42rem;
  }

  .button-small {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.78rem;
  }

  .section {
    padding: 76px 18px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 565px;
  }

  .phone {
    width: 238px;
    min-height: 492px;
    border-radius: 34px;
  }

  .phone::before {
    border-radius: 26px;
  }

  .phone-send {
    right: 0;
  }

  .phone-circle {
    left: 0;
  }

  .send-panel {
    padding-top: 34px;
  }

  .send-panel h2 {
    font-size: 1.65rem;
  }

  .heartbeat-button {
    width: 130px;
    height: 130px;
  }

  .circle-list article {
    grid-template-columns: 36px 1fr;
  }

  .status {
    display: none;
  }

  .notification-card {
    width: calc(100vw - 36px);
  }

  .notification-reminder {
    top: 2px;
    left: 0;
  }

  .notification-success {
    right: 0;
    bottom: 0;
  }

  .steps article,
  .feature-grid article,
  .feature-grid .feature-large,
  .trust-caption {
    padding: 26px;
  }

  .story-layout {
    gap: 34px;
  }

  .story-quote {
    margin-top: 24px;
    padding: 20px 0 20px 18px;
  }

  .story-copy p {
    font-size: 1rem;
  }

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

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
