:root {
  --bg: #f5f1eb;
  --bg-alt: #e9e2d6;
  --surface: rgba(253, 251, 248, 0.82);
  --surface-strong: #fdfbf8;
  --surface-soft: #f0e8db;
  --surface-hero: #fff8f0;
  --surface-mint: #e2ede6;
  --text: #2c2926;
  --text-2: #5a5450;
  --text-3: #7e7872;
  --moss: #2a5b40;
  --vine: #648a70;
  --coral: #c4816a;
  --line: #d4cec3;
  --line-faint: rgba(200, 193, 182, 0.42);
  --shadow-1: 0 14px 28px rgba(44, 41, 38, 0.08);
  --shadow-2: 0 24px 60px rgba(44, 41, 38, 0.12);
  --radius-card: 20px;
  --radius-sheet: 32px;
  --radius-control: 14px;
  --radius-pill: 999px;
  --font-display: ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(960px 540px at 0% 0%, rgba(100, 138, 112, 0.18), transparent 62%),
    radial-gradient(820px 420px at 100% 8%, rgba(196, 129, 106, 0.16), transparent 56%),
    linear-gradient(140deg, var(--bg) 0%, var(--bg-alt) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 46%);
  opacity: 0.6;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

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

.topbar-wrap,
.header {
  position: relative;
  z-index: 4;
  padding-top: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(253, 251, 248, 0.72);
  border: 1px solid rgba(212, 206, 195, 0.64);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(18px);
}

.brand,
.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(42, 91, 64, 0.18);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav,
.topbar__nav {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a,
.topbar__nav a,
.footer a {
  color: var(--text-2);
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.nav a,
.topbar__nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
}

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

.nav a:hover,
.topbar__nav a:hover {
  background: rgba(255, 255, 255, 0.58);
}

.hero {
  display: grid;
  gap: 26px;
  padding: 30px 0 24px;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--compact {
  margin-bottom: 8px;
}

.hero h1,
.section-head h2,
.privacy-card h2,
.waitlist-card h2,
.founder-quote,
.hero--simple h1,
.card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.2rem);
  max-width: 10.5ch;
}

.hero__lede,
.section-copy,
.waitlist-card p,
.card p,
.card li {
  color: var(--text-2);
}

.hero__lede {
  margin: 18px 0 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 2.5vw, 1.34rem);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.button:hover,
.social-link:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fdfbf8;
  background: linear-gradient(135deg, var(--moss) 0%, var(--vine) 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(42, 91, 64, 0.18);
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(212, 206, 195, 0.82);
  backdrop-filter: blur(12px);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.waitlist-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(212, 206, 195, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.waitlist-form input::placeholder {
  color: var(--text-3);
}

.waitlist-form input:focus {
  outline: 2px solid rgba(42, 91, 64, 0.2);
  outline-offset: 2px;
  border-color: rgba(42, 91, 64, 0.36);
}

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

[hidden] {
  display: none !important;
}

.waitlist-form__success,
.waitlist-form__error {
  margin: 4px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.waitlist-form__success {
  background: rgba(42, 91, 64, 0.1);
  border: 1px solid rgba(42, 91, 64, 0.28);
  color: var(--text);
}

.waitlist-form__success strong {
  color: #2a5b40;
}

.waitlist-form__error {
  background: rgba(176, 58, 46, 0.08);
  border: 1px solid rgba(176, 58, 46, 0.32);
  color: #8a2a1f;
}

.waitlist-form__error a {
  color: inherit;
  text-decoration: underline;
}

.hero__microcopy,
.waitlist-note,
.fineprint {
  margin: 12px 0 0;
  color: var(--text-3);
  font-size: 0.94rem;
}

.hero__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}

.hero__proof li {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(253, 251, 248, 0.72);
  border: 1px solid var(--line-faint);
  color: var(--text-2);
}

.hero__visual {
  position: relative;
  min-height: 660px;
  display: grid;
  align-content: center;
}

.hero__glow {
  position: absolute;
  inset: 8% 14% 16%;
  background:
    radial-gradient(circle, rgba(196, 129, 106, 0.22), transparent 56%),
    radial-gradient(circle at 75% 35%, rgba(100, 138, 112, 0.24), transparent 48%);
  filter: blur(28px);
}

.phone-stack {
  position: relative;
  width: min(100%, 500px);
  height: 650px;
  margin: 0 auto;
}

.phone {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-2);
}

.phone img,
.screen-card img {
  width: 100%;
  height: auto;
  background: var(--surface-strong);
}

.phone--back {
  width: 50%;
  left: 4%;
  top: 96px;
  transform: rotate(-4deg);
}

.phone--front {
  width: 58%;
  right: 4%;
  top: 18px;
  transform: rotate(4deg);
}

.relief-card {
  position: relative;
  z-index: 1;
  max-width: 18rem;
  margin: -20px auto 0 0;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.95), rgba(240, 232, 219, 0.92));
  border: 1px solid rgba(212, 200, 184, 0.76);
  box-shadow: var(--shadow-1);
}

.relief-card p {
  margin: 0;
  color: var(--text-2);
}

.signal-band,
.screens-section,
.privacy-section,
.section {
  padding: 32px 0;
}

.features,
.founder,
.waitlist-section {
  padding: 28px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.privacy-card h2,
.waitlist-card h2,
.hero--simple h1 {
  font-size: clamp(2rem, 5.8vw, 3.4rem);
  max-width: 13ch;
}

.section-head--centered {
  text-align: center;
}

.section-head--centered h2,
.section-copy--centered {
  margin-inline: auto;
}

.section-head--narrow h2 {
  max-width: 16ch;
}

.section-copy {
  max-width: 42rem;
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.tension-grid,
.feature-grid,
.screens-grid,
.privacy-list,
.social-row {
  display: grid;
  gap: 16px;
}

.tension-card,
.feature-card,
.screen-card,
.privacy-point,
.founder-card,
.waitlist-card,
.card {
  border-radius: var(--radius-card);
  background: rgba(253, 251, 248, 0.76);
  border: 1px solid var(--line-faint);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(18px);
}

.tension-card,
.feature-card,
.privacy-point {
  padding: 22px;
}

.tension-card h3,
.feature-card h3,
.screen-card figcaption strong,
.privacy-point strong {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tension-card p,
.feature-card p,
.screen-card figcaption span,
.privacy-point span {
  margin: 0;
  color: var(--text-2);
}

.feature-card {
  background: linear-gradient(180deg, rgba(253, 251, 248, 0.92), rgba(240, 232, 219, 0.88));
}

.screens-grid {
  align-items: start;
}

.screen-card {
  overflow: hidden;
}

.screen-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.screen-card--tall {
  grid-row: auto;
}

.privacy-card,
.waitlist-card,
.founder-card,
.card {
  padding: 26px;
}

.privacy-card {
  border-radius: var(--radius-sheet);
  background:
    linear-gradient(135deg, rgba(255, 248, 240, 0.96), rgba(226, 237, 230, 0.88));
  border-color: rgba(212, 200, 184, 0.8);
  box-shadow: var(--shadow-2);
}

.founder-card {
  gap: 20px;
}

.founder-quote {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  max-width: 16ch;
}

.founder-body p {
  margin: 0;
  color: var(--text-2);
  font-size: 1.04rem;
}

.founder-body p + p {
  margin-top: 14px;
}

.waitlist-card {
  border-radius: var(--radius-sheet);
  background: linear-gradient(135deg, rgba(42, 91, 64, 0.98), rgba(100, 138, 112, 0.92));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(42, 91, 64, 0.18);
  color: #fdfbf8;
}

.waitlist-card .eyebrow {
  color: rgba(255, 248, 240, 0.8);
}

.waitlist-card p,
.waitlist-card .waitlist-note {
  color: rgba(253, 251, 248, 0.82);
}

.waitlist-card .waitlist-form {
  margin-top: 0;
}

.waitlist-card .waitlist-form input {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  box-shadow: none;
}

.waitlist-card .waitlist-form input::placeholder,
.waitlist-card .waitlist-note a {
  color: rgba(255, 255, 255, 0.74);
}

.waitlist-card .button--primary {
  color: var(--moss);
  background: linear-gradient(135deg, #fff8f0 0%, #f0e8db 100%);
  box-shadow: none;
}

.social-row {
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fdfbf8;
  text-decoration: none;
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero--simple {
  min-height: auto;
  padding: 34px 0 12px;
}

.hero__content {
  max-width: 44rem;
}

.card h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.card h2:first-child {
  margin-top: 0;
}

.card p {
  margin: 0 0 14px;
}

.card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.footer {
  padding: 0 0 34px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 115, 107, 0.18);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

@media (min-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 40px));
  }

  .waitlist-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .waitlist-form .button {
    width: auto;
    min-width: 190px;
  }

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

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

  .social-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .hero {
    overflow: hidden;
  }

  .hero__visual {
    min-height: auto;
    margin-top: 8px;
  }

  .hero__glow {
    display: none;
  }

  .phone-stack {
    width: min(100%, 280px);
    height: auto;
  }

  .phone {
    position: relative;
    width: 100%;
    border-radius: 30px;
  }

  .phone--back {
    display: none;
  }

  .phone--front {
    top: auto;
    right: auto;
    width: 100%;
    transform: none;
  }

  .relief-card {
    max-width: none;
    margin: 14px 0 0;
  }
}

@media (min-width: 980px) {
  .nav,
  .topbar__nav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: 40px;
    padding: 46px 0 34px;
  }

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

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

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

  .screen-card--tall {
    grid-row: span 2;
  }

  .privacy-card,
  .waitlist-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 24px;
    align-items: start;
  }

  .founder-card {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .relief-card {
    position: absolute;
    left: 0;
    bottom: 32px;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .social-link,
  .nav a,
  .topbar__nav a,
  .footer a {
    transition: none;
  }
}
