:root {
  color-scheme: light;
  --bg: #f6efe4;
  --bg-strong: #fffaf1;
  --surface: rgba(255, 252, 245, 0.88);
  --surface-strong: #fffdf7;
  --ink: #171512;
  --ink-soft: #312b23;
  --muted: #6f6355;
  --muted-strong: #504638;
  --line: rgba(47, 38, 24, 0.14);
  --line-strong: rgba(47, 38, 24, 0.24);
  --gold: #f5cd75;
  --gold-deep: #b67820;
  --teal: #2bbfb0;
  --clay: #d7a879;
  --blue: #1f6feb;
  --shadow-soft: 0 24px 80px rgba(54, 40, 20, 0.12);
  --shadow-hard: 0 28px 70px rgba(30, 24, 16, 0.22);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --legal-max: 920px;
  --font-display: "Source Serif 4", "Georgia", serif;
  --font-body: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 205, 117, 0.48), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(43, 191, 176, 0.13), transparent 26rem),
    linear-gradient(180deg, var(--bg-strong) 0%, var(--bg) 44%, #eee1d1 100%);
  font-family: var(--font-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 38, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 38, 24, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 78%);
  transform: translateZ(0);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(23, 21, 18, 0.16) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  transform: translateZ(0);
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(245, 205, 117, 0.75);
  color: var(--ink);
}

.marketing-page {
  overflow-x: hidden;
}

.site-header,
.site-footer,
.section-shell,
.landing-hero {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.header-login {
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 800;
}

.header-nav a {
  text-decoration: none;
}

.header-nav a:not(.button-link):hover {
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark img {
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(20, 18, 14, 0.16);
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  min-height: 760px;
  padding: 42px 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(182, 120, 32, 0.28);
  border-radius: 999px;
  background: rgba(245, 205, 117, 0.28);
  color: #81510e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.landing-hero h1 {
  max-width: 18ch;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-badge-link,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  line-height: 0;
  text-decoration: none;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.store-badge-link:hover {
  transform: translateY(-2px);
}

.store-badge-image {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
  filter: drop-shadow(0 12px 18px rgba(23, 21, 18, 0.1));
}

.store-badge--disabled {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
}

.availability-note {
  max-width: 58ch;
  margin: 14px 0 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}

.availability-note a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.button-link,
.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button-link:hover,
.waitlist-form button:hover {
  transform: translateY(-2px);
}

.button-link.primary,
.button-link:not(.secondary),
.waitlist-form button {
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 18px 34px rgba(23, 21, 18, 0.18);
}

.button-link.primary:hover,
.button-link:not(.secondary):hover,
.waitlist-form button:hover {
  background: #070604;
  box-shadow: 0 24px 44px rgba(23, 21, 18, 0.24);
}

.button-link.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 252, 245, 0.76);
  color: var(--ink);
  box-shadow: none;
}

.button-link.secondary:hover {
  background: var(--surface-strong);
  box-shadow: 0 14px 28px rgba(54, 40, 20, 0.08);
}

.button-link.is-disabled,
.button-link[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.proof-strip li {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.58);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.store-row {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 540px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.store-row img {
  width: 154px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 18px rgba(23, 21, 18, 0.1));
}

.hero-visual {
  position: relative;
  min-height: 720px;
  perspective: 1600px;
}

.visual-orbit {
  position: absolute;
  inset: 9% 2% 4% 10%;
  border: 1px solid rgba(182, 120, 32, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 205, 117, 0.44), transparent 38%),
    radial-gradient(circle at 72% 32%, rgba(43, 191, 176, 0.17), transparent 28%),
    rgba(255, 252, 245, 0.34);
  filter: blur(0.2px);
  transform: rotate(-12deg);
}

.phone-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid #171512;
  border-radius: 36px;
  background: #171512;
  box-shadow: var(--shadow-hard);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-frame-main {
  z-index: 3;
  top: 0;
  left: 50%;
  width: min(64%, 350px);
  aspect-ratio: 1080 / 2424;
  transform: translateX(-50%) rotate(-2deg);
}

.phone-frame-left {
  z-index: 2;
  top: 24%;
  left: 1%;
  width: min(48%, 258px);
  aspect-ratio: 1080 / 2424;
  transform: rotate(-11deg) translateZ(-80px);
  opacity: 0.96;
}

.phone-frame-right {
  z-index: 1;
  top: 30%;
  right: 0;
  width: min(47%, 252px);
  aspect-ratio: 1080 / 2424;
  transform: rotate(10deg) translateZ(-120px);
  opacity: 0.94;
}

.section-shell {
  padding: clamp(54px, 8vw, 104px) 0;
}

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

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.pain-section h2,
.demo-copy h2,
.waitlist-card h2,
.content-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.7vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.pain-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

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

.pain-card,
.feature-slide,
.waitlist-card,
.video-card,
.content-card,
.hero-card,
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.pain-card,
.feature-slide,
.panel {
  padding: 24px;
  border-radius: var(--radius-md);
}

.pain-card span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  color: var(--ink);
}

.pain-card h3,
.feature-slide h3,
.mechanism-card h3,
.content-card h3,
.panel h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pain-card p,
.feature-slide p,
.mechanism-card p,
.demo-copy p,
.waitlist-card p,
.content-card p,
.content-card li,
.panel p,
.panel li {
  margin: 0;
  color: var(--muted);
}

.mechanism-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.36fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.mechanism-card {
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 520px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.94), rgba(255, 248, 236, 0.72)),
    radial-gradient(circle at top, rgba(245, 205, 117, 0.3), transparent 36%);
  box-shadow: var(--shadow-soft);
}

.mechanism-card img {
  width: 100%;
  max-height: 395px;
  border: 1px solid rgba(47, 38, 24, 0.12);
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 18px 38px rgba(30, 24, 16, 0.16);
}

.mechanism-card:not(.featured-card) img {
  aspect-ratio: 1080 / 1700;
}

.featured-card img {
  aspect-ratio: 16 / 10;
}

.mechanism-card div {
  padding: 0 4px 4px;
}

.feature-carousel {
  display: grid;
  grid-auto-columns: minmax(320px, 420px);
  grid-auto-flow: column;
  gap: 16px;
  margin-top: 32px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(47, 38, 24, 0.28) transparent;
}

.feature-slide {
  display: grid;
  grid-template-rows: 260px auto;
  gap: 18px;
  min-height: 470px;
  background:
    linear-gradient(145deg, rgba(255, 252, 245, 0.92), rgba(255, 246, 230, 0.72)),
    radial-gradient(circle at top right, rgba(43, 191, 176, 0.1), transparent 44%);
  scroll-snap-align: start;
}

.feature-slide img {
  width: 100%;
  height: 260px;
  border: 1px solid rgba(47, 38, 24, 0.12);
  border-radius: 18px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 16px 30px rgba(30, 24, 16, 0.13);
}

.feature-slide:not(.wide-slide) img {
  object-position: top center;
}

.wide-slide img {
  object-position: center;
}

.feature-slide h3 {
  font-size: 1.28rem;
}

.feature-slide p {
  font-size: 1rem;
}

.demo-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.demo-copy p:not(.section-kicker) {
  max-width: 55ch;
  margin-top: 18px;
  font-size: 1.05rem;
}

.video-card {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 34px;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(245, 205, 117, 0.38), transparent 42%),
    linear-gradient(315deg, rgba(43, 191, 176, 0.18), transparent 48%);
}

.video-card video {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 430px);
  max-height: 720px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(47, 38, 24, 0.14);
  border-radius: 24px;
  background: #171512;
  aspect-ratio: 1080 / 2424;
  object-fit: contain;
}

.case-lab {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.case-tabs {
  display: grid;
  align-content: start;
  gap: 10px;
}

.case-tab {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.72);
  cursor: pointer;
  color: var(--muted-strong);
  text-align: left;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(54, 40, 20, 0.06);
}

.case-tab.is-active {
  border-color: rgba(182, 120, 32, 0.42);
  background: rgba(245, 205, 117, 0.32);
  color: var(--ink);
}

.case-stack {
  position: relative;
  min-height: 520px;
}

.case-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: end;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 205, 117, 0.28), transparent 34%),
    rgba(255, 252, 245, 0.82);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.case-card::before,
.case-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(47, 38, 24, 0.08);
  border-radius: 30px;
  background: rgba(255, 252, 245, 0.54);
  transform: rotate(-1.5deg) translateY(12px);
}

.case-card::after {
  transform: rotate(1.5deg) translateY(24px);
}

.case-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.case-card img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  border: 1px solid rgba(47, 38, 24, 0.12);
  border-radius: 24px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 18px 38px rgba(30, 24, 16, 0.16);
}

.case-card figcaption {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 252, 245, 0.84);
  color: var(--muted);
  font-size: 1rem;
}

.case-card figcaption strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.waitlist-section {
  padding-bottom: 72px;
}

.waitlist-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 5vw, 58px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 4% 0%, rgba(245, 205, 117, 0.38), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 245, 0.95), rgba(255, 246, 231, 0.82));
}

.waitlist-card p:not(.section-kicker) {
  margin-top: 16px;
  font-size: 1.05rem;
}

.waitlist-form {
  display: grid;
  gap: 10px;
}

.waitlist-form > label:not(.consent-row):not(.honeypot) {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.waitlist-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.waitlist-form input[type="email"]:focus {
  border-color: rgba(182, 120, 32, 0.62);
  box-shadow: 0 0 0 4px rgba(245, 205, 117, 0.28);
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--ink);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 410px;
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer nav a {
  color: var(--muted-strong);
  font-weight: 800;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Legal and compliance pages */
.shell {
  width: min(calc(100% - 32px), var(--legal-max));
  margin: 0 auto;
}

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

.hero-card,
.content-card {
  border-radius: 24px;
}

.hero-card {
  padding: 32px;
}

.content {
  padding: 0 0 56px;
}

.content-card {
  padding: 32px;
}

.content-card h1,
.hero-card h1 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.content-card h2 {
  margin-top: 42px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.content-card h3 {
  margin-top: 24px;
}

.lede {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.meta-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

ul,
ol {
  padding-left: 20px;
}

code {
  padding: 0.12rem 0.3rem;
  border-radius: 6px;
  background: rgba(28, 26, 23, 0.07);
  color: var(--ink-soft);
  font-family: "SFMono-Regular", "Menlo", "Monaco", monospace;
  font-size: 0.92em;
}

.footer {
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  background: rgba(31, 111, 235, 0.08);
}

.seo-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: 0 14px 34px rgba(54, 40, 20, 0.06);
}

.seo-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.seo-card p {
  margin: 0;
  color: var(--muted);
}

.seo-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.seo-page .hero-card {
  background:
    radial-gradient(circle at top left, rgba(245, 205, 117, 0.22), transparent 40%),
    var(--surface);
}

.seo-page .content-card {
  background:
    radial-gradient(circle at top right, rgba(43, 191, 176, 0.08), transparent 30%),
    var(--surface);
}

.seo-page .content-card > h2:first-child {
  margin-top: 0;
}

@media (max-width: 980px) {
  .landing-hero,
  .pain-section,
  .demo-section,
  .waitlist-card {
    grid-template-columns: 1fr;
  }

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

  .landing-hero h1 {
    max-width: 14ch;
  }

  .hero-visual {
    min-height: 660px;
    order: 1;
  }

  .mechanism-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .feature-carousel {
    grid-auto-columns: minmax(300px, 76vw);
  }

  .case-lab {
    grid-template-columns: 1fr;
  }

  .case-tabs {
    grid-auto-columns: minmax(190px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .case-stack {
    min-height: 640px;
  }

  .case-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .case-card img {
    max-height: 430px;
  }

  .mechanism-card {
    min-height: 0;
  }

  .mechanism-card img {
    max-height: 440px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
  }

  .header-login {
    width: auto;
  }

  .landing-hero {
    width: min(calc(100% - 28px), var(--max));
    padding-bottom: 44px;
  }

  .landing-hero h1 {
    margin-top: 18px;
    font-size: clamp(3rem, 14vw, 4.45rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions,
  .quick-links,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .quick-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .header-login {
    width: auto;
    flex: 0 0 auto;
  }

  .store-badge-link,
  .store-badge {
    align-self: flex-start;
  }

  .store-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-row img {
    width: 142px;
  }

  .hero-visual {
    min-height: 480px;
    margin-top: 12px;
  }

  .phone-frame {
    border-width: 7px;
    border-radius: 28px;
  }

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

  .phone-frame-left,
  .phone-frame-right {
    width: min(45%, 188px);
  }

  .section-shell {
    width: min(calc(100% - 28px), var(--max));
    padding: 50px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .pain-section h2,
  .demo-copy h2,
  .waitlist-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .feature-carousel {
    grid-auto-columns: minmax(270px, 86vw);
  }

  .feature-slide {
    min-height: 430px;
    grid-template-rows: 220px auto;
  }

  .feature-slide img {
    height: 220px;
  }

  .case-stack {
    min-height: 580px;
  }

  .case-card {
    padding: 12px;
    border-radius: 24px;
  }

  .case-card img {
    max-height: 330px;
    border-radius: 18px;
  }

  .case-card figcaption {
    border-radius: 18px;
  }

  .waitlist-card {
    padding: 24px;
    border-radius: 28px;
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--max));
    display: grid;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-card,
  .content-card {
    padding: 24px;
    border-radius: 20px;
  }

  .meta {
    flex-direction: column;
  }
}

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

/* Feature Showcase Redesign */
.feature-showcase-section {
  padding: clamp(120px, 18vw, 240px) 0;
}

.feature-blocks {
  display: grid;
  gap: clamp(120px, 18vw, 240px);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.feature-block.reverse .feature-text {
  order: 2;
}

.feature-block.reverse .feature-visual {
  order: 1;
}

.feature-text h3 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
}

.feature-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.feature-text ul li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.feature-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-size: 1.5rem;
  line-height: 1;
}

.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-visual img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(47, 38, 24, 0.12);
  display: block;
  margin-inline: auto;
}

.video-stage {
  position: relative;
  width: 110%;
  margin-inline: auto;
  margin-top: 48px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-color: var(--surface);
  background-image: var(--demo-poster);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-origin: content-box;
  background-clip: content-box;
  box-shadow: 0 32px 64px rgba(20, 18, 14, 0.25);
}

.video-stage::before {
  content: "";
  display: block;
  padding-top: 61.710037%;
}

.video-stage video {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  display: block;
  object-fit: contain;
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 220ms ease;
}

.video-stage.is-playing video {
  opacity: 1;
}

.placeholder-visual {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 205, 117, 0.1), rgba(43, 191, 176, 0.05));
  text-align: center;
  padding: 32px;
}

.placeholder-content span {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--muted-strong);
  margin-bottom: 12px;
}

.placeholder-content p {
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 980px) {
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }
  
  .feature-block.reverse .feature-text {
    order: unset;
  }

  .feature-block.reverse .feature-visual {
    order: unset;
  }
  
  .feature-text h3 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }
}

/* Centered Feature Block */
.feature-block-center {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  margin: clamp(48px, 8vw, 96px) auto;
  max-width: 1080px;
}

.feature-block-center .feature-visual {
  width: 100%;
}

.feature-block-center .center-text {
  text-align: center;
}

.feature-block-center .center-text h3 {
  margin: 0;
  max-width: 24ch;
  margin-inline: auto;
}

/* Editorial Accent Color based on Huashu Design Principles */
.accent-text {
  color: #176b55; /* Sophisticated deep teal / dark green */
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Phone Mockup Wrapper for Feature Blocks */
.feature-visual.phone-visual {
  background: #171512;
  padding: 0;
  border: 10px solid #171512;
  border-radius: 36px;
  max-width: 280px;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-visual.phone-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 26px;
  border: none;
}

/* Google Play beta page */
body.beta-page .landing-hero {
  min-height: 0;
  padding: 40px 0 60px;
  align-items: center;
}

body.beta-page .landing-hero h1 {
  max-width: 10ch;
}

body.beta-page .hero-subtitle {
  max-width: 52ch;
}

body.beta-page .availability-note {
  max-width: 30ch;
  font-size: 0.96rem;
}

.beta-visual {
  position: relative;
  min-height: 420px;
  overflow: visible;
  display: block;
}

.beta-visual-orbit {
  position: absolute;
  inset: 10% 5% 8% 6%;
  border: 1px solid rgba(182, 120, 32, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 38%, rgba(245, 205, 117, 0.36), transparent 34%),
    radial-gradient(circle at 68% 26%, rgba(43, 191, 176, 0.14), transparent 22%),
    rgba(255, 252, 245, 0.24);
  transform: rotate(-10deg);
}

.beta-figure {
  position: absolute;
  margin: 0;
}

.beta-figure-badge {
  top: 12%;
  right: 2%;
  width: min(88%, 400px);
  height: auto;
  transform: rotate(1.5deg);
  filter: drop-shadow(0 14px 26px rgba(23, 21, 18, 0.12));
}

.beta-figure-icon {
  left: 8%;
  bottom: 16%;
  width: 124px;
  height: 124px;
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(23, 21, 18, 0.14);
}

.beta-figure-label {
  left: 34%;
  bottom: 10%;
  max-width: 220px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.beta-flow {
  padding-top: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.beta-step-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.beta-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(47, 38, 24, 0.12);
}

.beta-step:last-child {
  border-bottom: 1px solid rgba(47, 38, 24, 0.12);
}

.beta-step-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.48);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.beta-step-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.beta-step-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted-strong);
  font-size: 1.02rem;
  line-height: 1.65;
}

.beta-step-link {
  justify-self: end;
  white-space: nowrap;
}

.beta-footnote {
  max-width: 70ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing page */
body.pricing-page {
  background:
    linear-gradient(180deg, var(--bg-strong) 0%, var(--bg) 48%, #eee1d1 100%);
}

.pricing-hero {
  display: block;
  padding-top: clamp(12px, 3vw, 34px);
  padding-bottom: clamp(24px, 4vw, 44px);
  text-align: center;
}

.pricing-hero-copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.pricing-hero-copy h1 {
  max-width: 18ch;
  margin: 0 auto 22px;
  font-family: var(--font-body);
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1;
}

.pricing-hero-copy .hero-subtitle {
  margin-inline: auto;
}

.pricing-section {
  padding-top: 0;
  padding-bottom: clamp(88px, 12vw, 150px);
}

.pricing-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.pricing-toolbar h2 {
  max-width: 28ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.06;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.72);
}

.billing-toggle-option {
  min-height: 48px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
}

.billing-toggle-option span {
  display: block;
  margin-top: 2px;
  color: var(--gold-deep);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.billing-toggle-option.is-active {
  background: var(--ink);
  color: #fffaf0;
  box-shadow: 0 10px 22px rgba(23, 21, 18, 0.15);
}

.billing-toggle-option.is-active span {
  color: var(--gold);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 560px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 245, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.pricing-card-pro {
  position: relative;
  border-color: rgba(23, 107, 85, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(240, 250, 244, 0.82));
}

.pricing-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.pricing-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.pricing-card-header p,
.billing-copy {
  margin: 0;
  max-width: 32ch;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.6;
}

.price-lockup {
  min-width: 132px;
  text-align: right;
}

.price-lockup strong {
  display: block;
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 0.98;
}

.price-lockup span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #176b55;
  box-shadow: 0 0 0 5px rgba(23, 107, 85, 0.12);
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-card-note {
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.pricing-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-legal-links a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  body.beta-page .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  body.beta-page .landing-hero h1 {
    max-width: 12ch;
  }

  .beta-visual {
    min-height: 310px;
    order: 1;
  }

  .beta-figure-badge {
    width: min(84%, 360px);
  }

  .beta-figure-icon {
    left: 6%;
    bottom: 18%;
    width: 108px;
    height: 108px;
  }

  .pricing-hero-copy h1,
  .pricing-toolbar h2 {
    max-width: 18ch;
  }

  .billing-toggle {
    width: min(100%, 420px);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .header-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .beta-flow {
    padding-top: 12px;
    padding-bottom: 92px;
  }

  .beta-step {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px 14px;
    align-items: start;
    padding: 20px 0;
  }

  .beta-step-link {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
  }

  .beta-step-copy h3 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .beta-visual {
    min-height: 250px;
  }

  .beta-figure-badge {
    right: 0;
    width: min(92%, 320px);
  }

  .beta-figure-icon {
    left: 5%;
    bottom: 16%;
    width: 92px;
    height: 92px;
    border-radius: 20px;
  }

  .beta-figure-label {
    left: 26%;
    bottom: 10%;
    max-width: 160px;
    font-size: 0.72rem;
  }

  .pricing-hero {
    padding-top: 26px;
    padding-bottom: 48px;
  }

  .pricing-hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-card-header {
    grid-template-columns: 1fr;
  }

  .price-lockup {
    text-align: left;
  }

  .billing-toggle {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .billing-toggle-option {
    border-radius: 999px;
  }
}
