:root {
  color-scheme: light;
  --bg: #f8fbfb;
  --surface: #ffffff;
  --soft: #f3f8f8;
  --ink: #172033;
  --muted: #64748b;
  --line: rgba(23, 32, 51, 0.1);
  --teal: #258f89;
  --teal-dark: #17645f;
  --teal-soft: #e6f5f3;
  --cream: #fffaf0;
  --navy: #0f172a;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 251, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.nav-cta {
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(37, 143, 137, 0.24);
  border-radius: 999px;
  color: var(--teal-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 54px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 56px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-lede,
.section-heading p,
.waitlist-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

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

.button {
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 18px 36px rgba(37, 143, 137, 0.2);
}

.button.primary:disabled {
  cursor: progress;
  transform: none;
  opacity: 0.78;
}

.button.primary.is-submitted,
.button.primary.is-submitted:disabled {
  color: #334155;
  cursor: default;
  background: #e5e7eb;
  box-shadow: none;
  opacity: 1;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--teal-dark);
  background: #fff;
}

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-card::before {
  position: absolute;
  inset: 50px 0;
  border-radius: 8px;
  background: var(--teal-soft);
  content: "";
}

.mock-phone {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  padding: 20px;
  border: 10px solid #111827;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-weight: 900;
}

.mock-header img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.member-card {
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #35aaa3);
}

.member-card span,
.member-card p,
.qr-box span,
.mini-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.member-card span,
.member-card p {
  color: rgba(255, 255, 255, 0.82);
}

.member-card strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 24px;
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.progress span {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.qr-box {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed rgba(37, 143, 137, 0.36);
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 96px;
  margin: 0 auto;
}

.qr-grid b {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--ink);
}

.mini-stat {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 86px;
  width: 176px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mini-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: 44px;
}

.problem,
.usage-illustration,
.why-now,
.fit,
.workflow,
.trust,
.beta-value,
.waitlist,
.faq,
.final-cta {
  padding: 104px max(16px, calc((100% - 1120px) / 2));
}

.problem,
.usage-illustration,
.trust,
.waitlist,
.final-cta {
  background: #fff;
}

.usage-illustration {
  padding-top: 0;
}

.usage-illustration img {
  display: block;
  width: 100%;
  height: min(52vw, 560px);
  object-fit: cover;
  object-position: center 52%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

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

.problem-grid,
.fit-grid,
.workflow-grid,
.trust-grid,
.beta-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.problem-grid article,
.fit-grid article,
.flow-step,
.trust-grid article,
.beta-grid article,
.waitlist-form,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.problem-grid article,
.flow-step,
.trust-grid article,
.beta-grid article,
.faq-grid article {
  min-height: 230px;
  padding: 26px;
}

.problem-grid article span,
.flow-step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 13px;
  font-weight: 900;
}

.problem-grid p,
.fit-grid p,
.flow-step p,
.trust-grid p,
.beta-grid p,
.owner-card p,
.faq-grid p,
.final-cta p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.why-now,
.beta-value {
  background: var(--bg);
}

.why-now .section-heading {
  max-width: 900px;
  margin-bottom: 0;
}

.fit {
  background: var(--bg);
}

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

.fit-grid article {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.fit-icon {
  display: block;
  font-size: 48px;
  line-height: 1;
}

.fit-grid h3 {
  margin: 12px 0 8px;
}

.fit-grid strong {
  display: block;
  color: var(--teal-dark);
  font-size: 17px;
}

.owner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 56px;
  padding: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.owner-card h3 {
  max-width: 620px;
  color: #5eead4;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.owner-card p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.owner-button {
  flex: 0 0 auto;
  color: #083835;
  background: #8dece1;
}

.workflow {
  background: #fff;
}

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

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

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

.faq {
  background: var(--bg);
}

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

.faq-grid article {
  min-height: 0;
}

.final-cta {
  text-align: center;
}

.final-cta > div {
  max-width: 780px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 19px;
}

.flow-step {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.flow-step.active {
  border-color: rgba(37, 143, 137, 0.46);
  box-shadow: 0 16px 36px rgba(37, 143, 137, 0.1);
  transform: translateY(-6px);
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.cta-note {
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 900;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(37, 143, 137, 0.12);
}

textarea {
  min-height: 104px;
  padding-top: 13px;
  resize: vertical;
}

.form-note {
  position: relative;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.form-note.is-loading,
.form-note.is-success,
.form-note.is-error {
  padding: 16px 18px 16px 54px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.form-note.is-loading::before,
.form-note.is-success::before,
.form-note.is-error::before {
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.form-note.is-loading {
  color: #35615f;
  background: #eefbf9;
  border-color: #c8eeeb;
}

.form-note.is-loading::before {
  content: "...";
  color: var(--teal);
  background: #d9f3f0;
}

.form-note.is-success {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: #14524e;
  background: #e8f8f5;
  border-color: #9edbd4;
}

.form-note.is-success::before {
  content: "\2713";
  background: var(--teal);
}

.form-note.is-error {
  color: #8a2d2d;
  background: #fff1f1;
  border-color: #f2bbbb;
}

.form-note.is-error::before {
  content: "!";
  background: #c94a4a;
}

.edit-submission {
  justify-self: center;
  width: fit-content;
  border: 0;
  color: var(--teal);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.edit-submission[hidden] {
  display: none;
}

.edit-submission-inline {
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 84px;
  margin: 0 auto;
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-card {
    min-height: 500px;
  }

  .problem-grid,
  .fit-grid,
  .workflow-grid,
  .trust-grid,
  .beta-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .owner-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    font-size: 16px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
  }

  .hero {
    gap: 18px;
    padding: 28px 0 34px;
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 42px);
    margin-bottom: 16px;
  }

  h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-lede,
  .section-heading p,
  .waitlist-copy p {
    font-size: 16px;
    line-height: 1.58;
  }

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

  .hero-card {
    min-height: 272px;
  }

  .hero-card::before {
    inset: 28px 0;
  }

  .mock-phone {
    width: min(250px, 82vw);
    padding: 14px;
    border-width: 7px;
  }

  .member-card {
    padding: 16px;
  }

  .member-card strong {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .qr-box {
    display: none;
  }

  .mini-stat {
    display: none;
  }

  .problem,
  .usage-illustration,
  .why-now,
  .fit,
  .workflow,
  .trust,
  .beta-value,
  .waitlist,
  .faq,
  .final-cta {
    padding: 72px 12px;
  }

  .usage-illustration {
    padding-top: 0;
  }

  .usage-illustration img {
    height: 300px;
    object-position: center center;
  }

  .problem-grid,
  .fit-grid,
  .workflow-grid,
  .trust-grid,
  .beta-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .fit-grid article,
  .flow-step,
  .trust-grid article,
  .beta-grid article,
  .faq-grid article {
    min-height: auto;
  }

  .owner-card {
    padding: 28px;
  }

  .flow-step.active {
    transform: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}
