:root {
  color-scheme: light;
  --page: #fcf8f8;
  --surface: rgba(255, 255, 255, 0.64);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --surface-subtle: #f6f2f1;
  --ink: #1c1b1b;
  --muted: rgba(28, 27, 27, 0.62);
  --faint: rgba(28, 27, 27, 0.38);
  --line: rgba(28, 27, 27, 0.08);
  --line-strong: rgba(28, 27, 27, 0.14);
  --white-line: rgba(255, 255, 255, 0.78);
  --success: #2f6b50;
  --error: #9d2f2f;
  --shadow: 0 24px 80px rgba(28, 27, 27, 0.10), 0 8px 28px rgba(28, 27, 27, 0.06);
  --soft-shadow: 0 14px 48px rgba(28, 27, 27, 0.075);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --content: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(252, 248, 248, 0) 420px),
    var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 27, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 27, 27, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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: sticky;
  top: 0;
  z-index: 10;
  width: min(var(--content), calc(100% - 40px));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(28, 27, 27, 0.10);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  height: 42px;
  padding: 3px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 34px rgba(28, 27, 27, 0.045);
}

.lang-button {
  min-width: 42px;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.lang-button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(28, 27, 27, 0.09);
}

.hero,
.section,
.product-band,
.final-cta,
.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
  padding: 56px 0 78px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.48);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 680;
}

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

h1,
h2 {
  max-width: 780px;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 690;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.04;
  font-weight: 680;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 680;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.waitlist-form {
  max-width: 640px;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

input[type="email"] {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  outline: 0;
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

input[type="email"]::placeholder {
  color: var(--faint);
}

input[type="email"]:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(28, 27, 27, 0.22);
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(28, 27, 27, 0.20);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(28, 27, 27, 0.23);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.primary-button:focus-visible,
.lang-button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(28, 27, 27, 0.75);
  outline-offset: 3px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  padding-left: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.privacy-note {
  margin: 8px 0 0;
  padding-left: 8px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.55;
}

.privacy-note a {
  color: var(--ink);
  font-weight: 650;
  text-underline-offset: 3px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin: 0;
}

.trust-row div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
}

.trust-row dt {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 720;
}

.trust-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 510px);
  padding: 18px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.preview-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 8px 16px;
  border-bottom: 1px solid var(--line);
}

.preview-copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 720;
}

.device-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 30px 18px 10px;
  overflow: hidden;
}

.phone-frame,
.product-phone-frame {
  aspect-ratio: 426 / 926;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(28, 27, 27, 0.08);
  background: #fff;
  box-shadow: 0 22px 60px rgba(28, 27, 27, 0.16);
}

.phone-frame img,
.product-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.phone-frame-main {
  width: min(82%, 300px);
  z-index: 2;
}

.phone-frame-secondary {
  position: absolute;
  right: -26px;
  bottom: 26px;
  width: min(48%, 190px);
  opacity: 0.96;
  transform: rotate(3deg);
}

.section {
  padding: 82px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  flex: none;
  margin-bottom: 6px;
}

.insight-section {
  padding-top: 34px;
}

.insight-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  padding: 48px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46)),
    var(--surface-subtle);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.insight-copy {
  max-width: 620px;
}

.insight-copy h2 {
  margin-bottom: 18px;
}

.insight-copy p,
.insight-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.insight-list {
  display: grid;
  gap: 0;
}

.insight-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.insight-item:first-child {
  padding-top: 2px;
  border-top: 0;
}

.insight-item:last-child {
  padding-bottom: 0;
}

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

.step-card,
.recipe-card,
.faq-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 12px 42px rgba(28, 27, 27, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.step-number {
  display: block;
  margin-bottom: 44px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 720;
}

.step-card p,
.recipe-card p,
.faq-grid p,
.product-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(28px, 7vw, 92px);
  padding: 58px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.45)),
    var(--surface-subtle);
  box-shadow: var(--shadow);
}

.product-copy {
  max-width: 620px;
}

.product-copy h2 {
  margin-bottom: 18px;
}

.product-phone-frame {
  width: min(100%, 300px);
  justify-self: center;
}

.product-image {
  width: 100%;
}

.recipe-section {
  padding-bottom: 58px;
}

.recipe-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.50)),
    var(--surface-subtle);
}

.faq-grid article {
  min-height: 190px;
}

.final-cta {
  margin-top: 34px;
  margin-bottom: 78px;
  padding: 58px;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--soft-shadow);
  text-align: center;
}

.final-cta .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 26px;
}

.final-button {
  min-width: 190px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: center;
  padding: 28px 0 44px;
  color: var(--faint);
  font-size: 13px;
}

.site-footer a {
  text-underline-offset: 3px;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
  }

  .device-stage {
    min-height: 500px;
  }

  .section-heading,
  .insight-panel,
  .product-band {
    display: block;
  }

  .insight-panel {
    padding: 36px;
  }

  .insight-list {
    margin-top: 30px;
  }

  .product-band {
    padding: 36px;
  }

  .product-phone-frame {
    margin-top: 32px;
  }

  .steps-grid,
  .recipe-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .recipe-card,
  .faq-grid article {
    min-height: 0;
  }

  .step-number {
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .product-band,
  .final-cta,
  .site-footer {
    width: min(100% - 28px, var(--content));
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.22em;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 28px 0 58px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .form-row {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 30px;
  }

  .primary-button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-row div {
    min-height: 0;
  }

  .hero-visual {
    padding: 12px;
    border-radius: 28px;
  }

  .preview-copy {
    display: block;
  }

  .device-stage {
    min-height: 430px;
    padding-inline: 6px;
  }

  .phone-frame-main {
    width: min(78%, 260px);
  }

  .phone-frame-secondary {
    right: -34px;
    width: min(46%, 160px);
  }

  .section {
    padding: 58px 0;
  }

  .product-band,
  .insight-panel,
  .final-cta {
    padding: 28px;
    border-radius: 28px;
  }

  .final-cta {
    margin-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
