/* Warm Product — cream/stone, charcoal, sage accent; soft shadows; no glass blur */
:root {
  --cream: #FAF8F5;
  --cream-2: #F3EFE9;
  --stone: #E8E2D9;
  --ink: #292524;
  --ink-soft: #57534E;
  --muted: #78716C;
  --line: #E7E0D6;
  --sage: #5F7A61;
  --sage-hover: #4E6650;
  --sage-soft: #E8F0E9;
  --white: #FFFEFC;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --display: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1100px;
  --shadow: 0 1px 2px rgba(41,37,36,0.04), 0 8px 24px rgba(41,37,36,0.05);
}

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

/* Continuous end color for iPhone overscroll / safe-area (matches footer cream-2) */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--cream-2);
  min-height: 100%;
  min-height: 100dvh;
}
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-hover); }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.5rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2.25rem, var(--max)); margin-inline: auto; }

h1, h2, h3 {
  color: var(--ink); margin: 0; line-height: 1.15;
}
h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.5rem); letter-spacing: -0.025em;
}
h1 em { font-style: italic; font-weight: 550; color: var(--sage); }

.hero__subline {
  margin: 0.35rem 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 0.7rem;
}
h3 {
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; margin-bottom: 0.4rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.925rem;
  border-radius: 999px; border: 1px solid transparent;
  padding: 0.65rem 1.25rem; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn--sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn--lg { padding: 0.8rem 1.4rem; font-size: 0.975rem; }
.btn--primary {
  background: var(--sage); color: #fff; border-color: var(--sage);
  box-shadow: 0 1px 2px rgba(95,122,97,0.2);
}
.btn--primary:hover { background: var(--sage-hover); color: #fff; border-color: var(--sage-hover); }
.btn--ghost {
  background: var(--white); color: var(--ink); border-color: var(--stone);
  box-shadow: 0 1px 2px rgba(41,37,36,0.03);
}
.btn--ghost:hover { background: var(--cream-2); color: var(--ink); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 3.75rem;
  gap: 0.75rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); text-decoration: none; font-weight: 650;
  min-width: 0;
}
.logo__mark { color: var(--sage); flex-shrink: 0; }
.logo__text { font-family: var(--display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.nav__links { display: none; align-items: center; gap: 1.35rem; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-size: 0.925rem; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__links .btn { color: #fff; }
.nav__links .btn:hover { color: #fff; }
.nav__actions {
  display: flex; align-items: center; gap: 0.65rem; margin-left: auto;
}
.nav__lang {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.02em;
  color: var(--muted);
}
.nav__lang a {
  color: var(--ink-soft); text-decoration: none; padding: 0.2rem 0.15rem;
}
.nav__lang a:hover { color: var(--ink); }
.nav__lang a.is-active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.nav__lang-sep { color: var(--stone); user-select: none; }
.nav__toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 0.4rem; cursor: pointer;
}
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 1px; }
.nav__mobile {
  display: none;
  flex-direction: column; gap: 0.2rem;
  padding: 0.65rem 1.15rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--cream);
}
.nav__mobile.is-open {
  display: flex;
}
.nav__mobile a {
  color: var(--ink); text-decoration: none; padding: 0.6rem 0.25rem; font-weight: 500;
}
.nav__mobile .nav__lang {
  padding: 0.55rem 0.25rem 0.25rem;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
}
@media (min-width: 800px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
  .nav__actions .nav__lang { margin-right: 0.15rem; }
}

.hero { padding: 4rem 0 4.5rem; }
.hero__grid { display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; }
}
.hero__category {
  font-size: 0.925rem; color: var(--ink-soft); margin: 0 0 0.7rem; font-weight: 500;
}
.hero__lede {
  font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; margin: 1.15rem 0 1.65rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1rem; }
.hero__note { font-size: 0.85rem; color: var(--muted); margin: 0; }

.panel-mock {
  position: relative; background: var(--white);
  border: 1px solid var(--stone); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.panel-mock__chrome {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--line); background: var(--cream-2);
}
.panel-mock__dots { display: flex; gap: 5px; flex-shrink: 0; }
.panel-mock__dots span { width: 8px; height: 8px; border-radius: 50%; background: #CABBAA; }
.panel-mock__chrome { min-width: 0; max-width: 100%; }
.panel-mock, .hero__visual, .hero__copy, .hero__grid { min-width: 0; max-width: 100%; }
.panel-mock__url {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted);
  background: var(--white); border: 1px solid var(--stone); border-radius: 999px;
  padding: 0.25rem 0.65rem; flex: 1; min-width: 0; max-width: 100%;
}
.panel-mock__url svg { flex-shrink: 0; }
.panel-mock__url span {
  min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.panel-mock__gate {
  position: relative; z-index: 2; padding: 2rem 1.2rem; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.gate-card {
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-sm);
  padding: 1.5rem 1.35rem; max-width: 280px; width: 100%; text-align: center;
  box-shadow: var(--shadow);
}
.gate-card__icon {
  width: 42px; height: 42px; margin: 0 auto 0.85rem;
  display: grid; place-items: center; color: var(--sage);
  border-radius: 50%; background: var(--sage-soft);
}
.gate-card h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 0.4rem; }
.gate-card p { font-size: 0.875rem; color: var(--ink-soft); margin: 0 0 1rem; line-height: 1.5; }
.gate-card__btn {
  display: block; background: var(--sage); color: #fff; font-weight: 600; font-size: 0.875rem;
  padding: 0.65rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.gate-card__meta { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); margin: 0 !important; }
.panel-mock__blur {
  position: absolute; inset: 42px 0 0; z-index: 1; padding: 1.2rem;
  opacity: 0.2; pointer-events: none; display: grid; gap: 0.7rem; grid-template-columns: 1fr 1fr;
}
.fake-chart { background: var(--stone); border-radius: 8px; height: 72px; }
.fake-chart--b { height: 96px; }
.fake-rows { grid-column: 1 / -1; display: grid; gap: 0.4rem; }
.fake-rows div { height: 10px; background: var(--stone); border-radius: 4px; }
.fake-rows div:nth-child(2) { width: 78%; }
.fake-rows div:nth-child(3) { width: 55%; }

.section { padding: 4.25rem 0; }
.section--alt { background: var(--cream-2); border-block: 1px solid var(--line); }
.section__head { max-width: 36rem; margin-bottom: 2.35rem; }
.section__lede { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

.pain-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 720px) { .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; } }
.card {
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 1.4rem 1.3rem; box-shadow: var(--shadow);
  min-width: 0; max-width: 100%;
}
.card__icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--sage); margin-bottom: 0.9rem;
  border-radius: 10px; background: var(--sage-soft);
}
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.steps { display: grid; gap: 1.15rem; margin-bottom: 2.25rem; }
.step {
  display: grid; gap: 1rem; grid-template-columns: auto minmax(0, 1fr);
  align-items: start; background: var(--white); border: 1px solid var(--stone);
  border-radius: var(--radius); padding: 1.35rem 1.3rem; box-shadow: var(--shadow);
  max-width: 100%; min-width: 0;
}
.step__num {
  font-family: var(--display); font-size: 1.35rem; color: var(--sage);
  line-height: 1; min-width: 2.2rem; font-weight: 600;
}
.step__body { min-width: 0; max-width: 100%; }
.step__body p { color: var(--ink-soft); margin: 0.35rem 0 0; }
.code-block {
  margin: 0; padding: 0.9rem 1rem; max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: #2C2926; color: #F5F0E8; border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 0.72rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
}
@media (min-width: 720px) {
  .code-block { white-space: pre; word-break: normal; font-size: 0.78rem; }
}
.c-muted { color: #A8A29E; }

.proof-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem 1.25rem; border: 1px solid var(--stone); border-radius: var(--radius);
  background: var(--white); margin-bottom: 1.85rem; box-shadow: var(--shadow);
  min-width: 0; max-width: 100%;
}
.proof-strip__label {
  font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sage); margin: 0 0 0.3rem;
}
.proof-strip__copy { min-width: 0; max-width: 100%; flex: 1 1 14rem; }
.proof-strip__copy h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 0.35rem; }
.proof-strip__copy p { margin: 0; color: var(--ink-soft); max-width: 34rem; font-size: 0.95rem; }
.proof-strip .btn { flex-shrink: 0; }

.feature-row { display: grid; gap: 1rem; }
@media (min-width: 720px) { .feature-row { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 1.3rem 1.15rem; background: var(--white);
  border: 1px solid var(--stone); border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 0; max-width: 100%;
}
.feature h3 { font-size: 1rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.925rem; }
.feature__note {
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 0.65rem;
}
.feature .code-block { margin: 0.55rem 0 0.65rem; }

.trust-badges {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
}
@media (max-width: 359px) {
  .trust-badges { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 800px) { .trust-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.badge {
  border: 1px solid var(--stone); background: var(--white);
  padding: 1.15rem 0.95rem; border-radius: var(--radius-sm);
  display: flex; flex-direction: column; gap: 0.3rem; box-shadow: var(--shadow);
  min-width: 0; max-width: 100%;
}
.badge__label, .badge__desc {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.badge__label { font-weight: 650; font-size: 0.9rem; line-height: 1.3; }
.badge__desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

.section--cta {
  padding-bottom: 3.5rem;
  background: var(--cream);
}
.cta-panel {
  border: 1px solid var(--stone); background: var(--white);
  border-radius: calc(var(--radius) + 4px); padding: 2.25rem 1.75rem;
  display: grid; gap: 1.75rem; box-shadow: var(--shadow);
  min-width: 0; max-width: 100%;
}
@media (max-width: 399px) {
  .section { padding: 3.25rem 0; }
  .hero { padding: 3rem 0 3.5rem; }
  .cta-panel { padding: 1.5rem 1.1rem; gap: 1.35rem; }
  .step { padding: 1.15rem 1rem; gap: 0.85rem; }
  .proof-strip { padding: 1.25rem 1.05rem; }
  .feature { padding: 1.15rem 1rem; }
  .badge { padding: 1rem 0.85rem; }
}
@media (min-width: 800px) {
  .cta-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; padding: 2.75rem; }
}
.cta-panel__copy, .waitlist-form { min-width: 0; max-width: 100%; }
.cta-panel__copy p { color: var(--ink-soft); margin: 0.5rem 0 0; max-width: 32rem; overflow-wrap: break-word; }
.waitlist-form { display: grid; gap: 0.7rem; }
.waitlist-form .btn { width: 100%; max-width: 100%; }
.waitlist-form input {
  font: inherit; padding: 0.85rem 1.1rem; border: 1px solid var(--stone);
  border-radius: 999px; background: var(--cream); color: var(--ink);
  width: 100%; max-width: 100%; min-width: 0;
}
.waitlist-form input:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.waitlist-form input.is-invalid { border-color: #B45309; }
.form-hint { margin: 0; font-size: 0.85rem; color: #B45309; min-height: 1.25em; }
.waitlist-success { text-align: center; padding: 1rem 0; }
.success-icon { color: var(--sage); margin: 0 auto 0.75rem; width: fit-content; }
.waitlist-success h3 { font-family: var(--display); }
.waitlist-success p { color: var(--ink-soft); margin: 0.35rem 0 0; }

/* Footer: cream-2 full-bleed to bottom + iPhone safe-area; html bg matches */
.footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--cream-2);
  width: 100%;
}
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; align-items: center;
  justify-content: space-between; color: var(--muted); font-size: 0.85rem;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 0.45rem; color: var(--ink); font-weight: 650;
}
.footer__brand .logo__mark { color: var(--sage); }
.footer__domain { font-family: var(--mono); font-size: 0.78rem; margin: 0; }
.footer__copy { margin: 0; }


.install-example {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.install-example__label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.install-example .code-block { margin: 0; }
.install-example__then {
  margin: 0.7rem 0 0.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.install-example__prompt {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 550;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
}


.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}
.trust-list li {
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  line-height: 1.55;
}
.trust-list strong {
  color: var(--ink);
  font-weight: 600;
}

.trust-notes {
  margin-top: 1.25rem;
  max-width: 42rem;
  padding: 1rem 1.1rem;
  background: var(--sage-soft);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
}
.trust-notes p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.trust-notes p + p { margin-top: 0.55rem; }
.trust-notes strong { color: var(--ink); font-weight: 600; }
