@font-face {
  font-family: "Fraunces Quizel";
  src: url("/assets/fonts/Fraunces-Display-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: light;
  --bg: #f8f7fd;
  --bg-warm: #fffaf3;
  --ink: #171521;
  --muted: #615e70;
  --muted-strong: #454151;
  --line: #ded9ec;
  --panel: #ffffff;
  --primary: #6049dd;
  --primary-deep: #3d2aad;
  --primary-ink: #2b1c83;
  --lavender: #e9e5ff;
  --lavender-soft: #f2efff;
  --peach: #ffe1b5;
  --success: #148567;
  --shadow-sm: 0 10px 30px rgba(42, 31, 91, 0.08);
  --shadow-lg: 0 28px 80px rgba(50, 37, 119, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: #cfc7ff;
  color: var(--ink);
}

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

a {
  color: var(--primary-ink);
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #f2a73b;
  outline-offset: 4px;
}

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

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

header,
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(67, 54, 118, 0.12);
  background: rgba(248, 247, 253, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
}

.topbar {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 820;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(72, 52, 177, 0.16);
}

.mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
}

nav,
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

nav a,
.site-nav a {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.site-nav .nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--primary-deep);
  color: #fff;
}

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

h1,
h2 {
  letter-spacing: -0.035em;
}

h1,
h2,
.pull-quote {
  font-family: "Fraunces Quizel", Georgia, serif;
  font-weight: 600;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #c9c0ff;
}

.marketing-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 4%, rgba(255, 224, 179, 0.42), transparent 27rem),
    radial-gradient(circle at 88% 14%, rgba(207, 199, 255, 0.48), transparent 34rem),
    var(--bg);
}

.landing-hero {
  display: grid;
  min-height: 740px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
  padding-block: clamp(66px, 9vw, 116px) 76px;
}

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

.hero-copy h1 em {
  display: block;
  color: var(--primary);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 30px 0 16px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  flex-direction: column;
  min-width: 216px;
  background: linear-gradient(135deg, var(--primary), #7c65ef);
  box-shadow: 0 14px 34px rgba(85, 62, 202, 0.28);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 18px 40px rgba(85, 62, 202, 0.36);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #bdb3ea;
  background: #fff;
}

.button-kicker {
  opacity: 0.78;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-note {
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 750;
  list-style: none;
}

.trust-row li {
  position: relative;
  padding-left: 19px;
}

.trust-row li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
}

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

.visual-glow {
  position: absolute;
  inset: 5% 1% 8%;
  border-radius: 48% 52% 40% 60%;
  background: linear-gradient(160deg, rgba(197, 187, 255, 0.78), rgba(255, 224, 179, 0.74));
  filter: blur(2px);
  transform: rotate(-5deg);
}

.phone-shot {
  margin: 0;
}

.phone-shot-main {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 7%;
  width: min(385px, 82vw);
  /* The panel is taller than the hero; crop it inside the frame instead of
     letting it run into the step strip below. */
  max-height: 700px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.88);
  border-radius: 48px;
  background: #e9e5ff;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.3deg);
}

.phone-shot-main img {
  width: 100%;
  height: auto;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.float-card-source {
  top: 29%;
  left: -2%;
}

.float-card-answer {
  right: -5%;
  bottom: 11%;
}

.float-card strong,
.float-card small {
  display: block;
  white-space: nowrap;
}

.float-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.float-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.float-icon,
.float-check {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--lavender);
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
}

.float-check {
  background: #ddf4ec;
  color: var(--success);
  font-size: 17px;
}

.proof-strip {
  border-block: 1px solid rgba(71, 57, 126, 0.11);
  background: rgba(255, 255, 255, 0.67);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding-block: 25px;
}

.proof-grid > div:not(.proof-arrow) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
}

.proof-grid span {
  grid-row: 1 / 3;
  color: var(--primary);
  font-family: "Fraunces Quizel", Georgia, serif;
  font-size: 26px;
  line-height: 1.15;
}

.proof-grid strong,
.proof-grid small {
  display: block;
}

.proof-grid strong {
  font-size: 14px;
  line-height: 1.35;
}

.proof-grid small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.proof-arrow {
  color: #aaa2c3;
  font-size: 22px;
}

.section {
  padding-block: clamp(88px, 11vw, 150px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 70px;
}

.section-heading > p:last-child,
.trust-intro p {
  color: var(--muted);
  font-size: 19px;
}

.feature {
  display: grid;
  min-height: 640px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  margin-bottom: clamp(90px, 13vw, 170px);
}

.feature:last-child {
  margin-bottom: 0;
}

.feature-answer {
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1fr);
}

.feature-copy {
  max-width: 560px;
}

.feature-copy > p {
  color: var(--muted-strong);
  font-size: 18px;
}

.step-number {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 15px;
  background: var(--lavender);
  color: var(--primary-ink);
  font-family: "Fraunces Quizel", Georgia, serif;
  font-size: 20px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted-strong);
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.pull-quote {
  margin-top: 28px;
  padding: 24px 26px;
  border-left: 4px solid var(--primary);
  border-radius: 0 18px 18px 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--primary-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.feature-shot {
  position: relative;
  height: 650px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.feature-shot img {
  width: 100%;
  height: auto;
}

.shot-soft {
  background: linear-gradient(145deg, #ddd8ff, #fff);
  transform: rotate(1.7deg);
}

.shot-warm {
  background: linear-gradient(145deg, #ffe5bf, #f2eeff);
  transform: rotate(-1.5deg);
}

.dual-shots {
  position: relative;
  min-height: 690px;
}

.dual-shots .feature-shot {
  position: absolute;
  width: 68%;
  height: 610px;
}

.shot-feedback {
  z-index: 2;
  top: 0;
  left: 0;
  border: 7px solid #fff;
  background: #f2efff;
  transform: rotate(-4deg);
}

.shot-progress {
  right: 0;
  bottom: 0;
  border: 7px solid #262139;
  background: #17131f;
  transform: rotate(4deg);
}

/* Generation workshop clip: same card treatment as a screenshot, a little
   taller so the step list stays in view. */
.shot-video {
  height: 700px;
  border: 10px solid rgba(255, 255, 255, 0.88);
  background: #e9e5ff;
  transform: rotate(-1.5deg);
}

.shot-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.price-card-pro {
  background: #fff;
}

.price-card-best {
  border-color: #bdb3ea;
  box-shadow: var(--shadow-sm);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--peach);
  color: #6b4300;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-name {
  margin: 0 0 12px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

.price-amount {
  margin: 0 0 6px;
  font-family: "Fraunces Quizel", Georgia, serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-amount span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price-card .check-list {
  margin-top: 20px;
  gap: 9px;
  font-size: 15px;
}

.pricing-footnote {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Official App Store badge (Apple artwork, not restyled) */
.store-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.store-badge:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.store-badge img {
  width: auto;
  height: 60px;
}

.store-badge-large {
  margin-top: 16px;
}

.store-badge-hero img {
  height: 58px;
}

.final-cta .cta-meta {
  margin: 16px 0 0;
  color: #d8d2ee;
  font-size: 14px;
}

.footer-badge img {
  height: 40px;
}

.statement-section {
  padding-block: clamp(82px, 10vw, 132px);
  background:
    radial-gradient(circle at 85% 15%, rgba(128, 105, 240, 0.35), transparent 26rem),
    #20173e;
  color: #fff;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: clamp(50px, 9vw, 120px);
}

.statement-grid h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.statement-grid > p {
  margin-bottom: 5px;
  color: #d8d2ee;
  font-size: 19px;
}

.trust-section {
  padding-bottom: 60px;
}

.trust-intro {
  display: grid;
  max-width: 900px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
  margin-bottom: 56px;
}

.trust-icon-wrap {
  padding: 10px;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.trust-icon-wrap img {
  width: 134px;
  height: 134px;
  border-radius: 28px;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-cards article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.trust-cards article > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 13px;
  background: var(--lavender);
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}

.trust-cards h3 {
  font-size: 21px;
}

.trust-cards p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-footnote {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--lavender-soft);
}

.trust-footnote p {
  max-width: 750px;
  margin: 0;
  color: var(--muted-strong);
}

.text-links {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
}

.text-links a {
  font-size: 14px;
  font-weight: 750;
}

.compact-heading {
  margin-bottom: 38px;
}

.faq-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--primary);
  content: "+";
  font-size: 24px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 760px;
  padding: 0 4px 23px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 80px;
  padding: clamp(42px, 7vw, 78px);
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 224, 179, 0.38), transparent 18rem),
    linear-gradient(135deg, #4a35c2, #765ee8);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 710px;
}

.cta-copy h2 {
  margin-bottom: 12px;
}

.cta-copy p:not(.eyebrow) {
  max-width: 590px;
  color: #eeeaff;
  font-size: 18px;
}

.button-light {
  flex-direction: column;
  margin-top: 13px;
  background: #fff;
  color: var(--primary-ink);
  box-shadow: 0 14px 34px rgba(30, 20, 84, 0.22);
}

.button-light:hover {
  color: var(--primary-ink);
  box-shadow: 0 18px 40px rgba(30, 20, 84, 0.3);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cta-icon {
  position: relative;
  z-index: 1;
  width: min(245px, 24vw);
  height: auto;
  border-radius: 28%;
  filter: drop-shadow(0 24px 32px rgba(27, 17, 80, 0.28));
  transform: rotate(6deg);
}

.site-footer,
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-main,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0;
}

.footer-brand .brand-icon {
  width: 40px;
  height: 40px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(67, 54, 118, 0.08);
}

/* Legal, privacy, terms, support, and error pages */
body:not(.marketing-page):not(.launch-page) main {
  padding: 54px 0 80px;
}

.hero {
  padding: 34px 0 20px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.language-links a {
  font-weight: 700;
}

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

.card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  text-decoration: none;
}

.card strong,
.card span {
  display: block;
}

.card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.card span {
  color: var(--muted);
}

.doc {
  max-width: 800px;
}

.doc h1 {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 66px);
}

.doc h2 {
  margin: 46px 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.doc h3 {
  margin: 30px 0 8px;
  font-size: 19px;
}

.doc ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.doc li + li {
  margin-top: 7px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
}

.notice {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

/* App Store fallback page; production redirects /app-store/ to Apple's listing. */
.launch-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 224, 179, 0.45), transparent 28rem),
    radial-gradient(circle at 80% 80%, rgba(151, 129, 255, 0.42), transparent 30rem),
    #211846;
  color: #fff;
}

.launch-shell {
  width: min(720px, 100%);
  text-align: center;
}

.launch-shell > img {
  width: 150px;
  margin: 0 auto 28px;
  border-radius: 34px;
  box-shadow: 0 28px 60px rgba(11, 6, 37, 0.35);
}

.launch-shell h1 {
  font-size: clamp(44px, 8vw, 78px);
}

.launch-shell > p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  color: #ded8f7;
  font-size: 18px;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 30px;
}

.launch-en {
  font-size: 14px !important;
}

@media (max-width: 980px) {
  .landing-hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 26px;
  }

  .hero-visual {
    min-height: 610px;
  }

  .phone-shot-main {
    max-height: 590px;
  }

  .float-card-source {
    left: -8%;
  }

  .float-card-answer {
    right: -12%;
  }

  .feature,
  .feature-answer {
    grid-template-columns: 1fr 0.72fr;
    gap: 55px;
  }

  .feature-answer .feature-shot {
    order: 2;
  }

  .feature-answer .feature-copy {
    order: 1;
  }

  .dual-shots {
    min-height: 620px;
  }

  .dual-shots .feature-shot {
    height: 540px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 640px);
  }

  html {
    scroll-behavior: auto;
  }

  .topbar {
    min-height: 64px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .site-nav > a:not(.nav-cta):not([hreflang]) {
    display: none;
  }

  .site-nav {
    gap: 9px;
  }

  .site-nav .nav-cta {
    padding: 9px 12px;
    font-size: 12px;
  }

  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 62px 54px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    gap: 8px 16px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .store-badge-hero img {
    margin-inline: auto;
  }

  .phone-shot-main {
    position: relative;
    top: auto;
    right: auto;
    max-height: none;
    width: min(340px, 84vw);
    margin-inline: auto;
    transform: rotate(1.2deg);
  }

  .float-card-source {
    top: 31%;
    left: -1%;
  }

  .float-card-answer {
    right: -2%;
    bottom: 8%;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .proof-arrow {
    display: none;
  }

  .proof-grid > div:not(.proof-arrow) {
    padding: 4px 0;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .feature,
  .feature-answer {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    margin-bottom: 108px;
  }

  .feature-answer .feature-shot {
    order: 2;
  }

  .feature-shot {
    width: min(390px, 88vw);
    height: 600px;
    margin-inline: auto;
  }

  .dual-shots {
    min-height: 590px;
  }

  .dual-shots .feature-shot {
    width: 64%;
    height: 530px;
  }

  .shot-video {
    height: 640px;
    transform: rotate(-1deg);
  }

  .footer-main .footer-badge {
    order: 3;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust-icon-wrap {
    width: max-content;
  }

  .trust-icon-wrap img {
    width: 100px;
    height: 100px;
  }

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

  .trust-footnote {
    flex-direction: column;
  }

  .text-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .final-cta {
    min-height: 560px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
    padding: 42px 28px;
    border-radius: 30px;
  }

  .cta-icon {
    position: absolute;
    right: 24px;
    bottom: 20px;
    width: clamp(132px, 38vw, 156px);
    opacity: 0.94;
    transform: rotate(4deg);
  }

  .footer-main,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main nav,
  .footer-inner nav {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.marketing-page):not(.launch-page) .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 14px;
  }

  body:not(.marketing-page):not(.launch-page) .topbar nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  body:not(.marketing-page):not(.launch-page) header {
    position: static;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(100% - 22px, 390px);
  }

  .brand span {
    font-size: 17px;
  }

  .marketing-page .topbar {
    gap: 8px;
  }

  .marketing-page .site-nav {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .site-nav .nav-cta {
    max-width: 126px;
    line-height: 1.15;
    text-align: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .float-card {
    padding: 10px 12px;
  }

  .float-card-answer {
    bottom: 3%;
  }

  .visual-glow {
    inset-inline: 4%;
  }

  .shot-feedback {
    left: 1%;
  }

  .cta-icon {
    right: 20px;
    bottom: 18px;
    width: 140px;
  }

  .feature-shot {
    height: 555px;
  }

  .dual-shots .feature-shot {
    height: 500px;
  }

  .final-cta {
    min-height: 610px;
  }
}

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

/* September 2026: current app screens and flashcards. Versioned for immutable caching. */
.marketing-page { background: #f8f7fd; }
.marketing-page .landing-hero { min-height: 740px; padding-block: 72px 64px; gap: 32px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.marketing-page h1 { font-size: clamp(48px, 5.8vw, 76px); line-height: 1.04; letter-spacing: -0.045em; }
.release-pill { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 9px 15px; background: #eae5ff; border: 1px solid #d9d0fa; border-radius: 30px; color: #4f38be; font-size: 13px; font-weight: 750; text-decoration: none; }
.hero-lead { font-size: 20px; max-width: 500px; }
.hero-text-link { padding: 14px 0; font-size: 14px; font-weight: 750; text-underline-offset: 5px; }
.hero-actions { gap: 22px; }
.offer-note { max-width: 460px; }
.hero-visual { min-height: 600px; }
.visual-glow { inset: 10% 0 0; background: radial-gradient(ellipse, #ddd5fa 0, #eee9fc 55%, transparent 72%); filter: none; transform: none; }
.hero-phone { position: absolute; margin: 0; border-radius: 31px; border: 5px solid #fff; background: #f1eef9; box-shadow: 0 22px 58px #43325c24, 0 0 0 1px #ded8ec; }
.hero-phone img { width: 100%; height: auto; border-radius: 26px; }
.hero-phone figcaption { position: absolute; top: calc(100% + 16px); left: 0; width: 100%; text-align: center; color: #655975; font-size: 13px; font-weight: 700; }
.hero-phone-quiz { width: 46%; left: 0; top: 24px; transform: rotate(-7deg); }
.hero-phone-card { width: 54%; right: 0; top: 72px; transform: rotate(5deg); z-index: 2; }
.hero-mascot { position: absolute; width: 150px; height: auto; left: 4%; bottom: -16px; z-index: 3; filter: drop-shadow(0 15px 14px #58406c21); transform: rotate(-8deg); }
.flashcards-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding-bottom: 80px; }
.card-demo-stage { padding: 32px; background: #eee9f8; border: 1px solid #e4ddef; border-radius: 36px; }
.demo-label { color: #70647e; font-size: 13px; font-weight: 750; margin-bottom: 28px; }
.card-demo { position: relative; }
.card-demo summary { list-style: none; cursor: pointer; }
.card-demo summary::-webkit-details-marker { display: none; }
.demo-front, .demo-back { min-height: 285px; display: flex; flex-direction: column; justify-content: center; padding: 52px 30px 38px; border: 1px solid #fff; border-radius: 26px; background: linear-gradient(135deg, #faf8ff, #f0eafa); box-shadow: 8px 12px 22px #6d587a20, -6px -6px 16px #ffffffb3; position: relative; }
.demo-front p, .demo-back p { margin: 15px 0 0; font-size: 27px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.demo-back p { font-size: 22px; }
.card-side-label { position: absolute; top: 24px; color: #6550b9; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.card-corner { position: absolute; top: 20px; right: 26px; color: #7458d0; }
.reveal-label, .hide-label { display: flex; justify-content: space-between; margin-top: 24px; padding: 16px 20px; border: 1px solid #806be1; border-radius: 17px; color: #fff; background: #6950d8; font-size: 15px; font-weight: 750; box-shadow: 0 4px 0 #5138bb; }
.card-demo .demo-back, .card-demo .hide-label { display: none; }
.card-demo[open] .demo-front, .card-demo[open] .reveal-label { display: none; }
.card-demo[open] .demo-back { display: flex; }
.card-demo[open] .hide-label { display: flex; }
.card-demo[open] .demo-back { animation: answer-in 220ms ease-out; }
@keyframes answer-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .card-demo[open] .demo-back { animation: none; } }
.marketing-page section[id] { scroll-margin-top: 90px; }
.card-demo summary:hover .reveal-label, .card-demo summary:hover .hide-label { background: #5b42c7; }
.card-demo summary:focus-visible { outline: 3px solid #4f38be; outline-offset: 8px; border-radius: 20px; }
.demo-note { color: #70647e; font-size: 12px; line-height: 1.6; margin: 24px 0 0; }
.learning-section { padding-top: 64px; }
.current-feature { min-height: 640px; margin-bottom: 96px; }
.current-feature.feature-answer { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.current-feature.feature-answer .feature-copy { order: 2; }
.screen-stage { display: grid; place-items: center; padding: 36px; border-radius: 38px; background: #eee9f8; }
.current-feature:nth-of-type(2) .screen-stage { background: #f5eee3; }
.current-screen { width: min(270px, 100%); margin: 0; border: 5px solid white; border-radius: 30px; overflow: hidden; box-shadow: 0 22px 44px #4f385b20; }
.current-screen img { display: block; width: 100%; height: auto; }
.trust-icon-wrap { background: transparent; box-shadow: none; padding: 0; }
.final-cta .cta-icon { border-radius: 0; }
@media (max-width: 1000px) {
 .site-nav { gap: 10px 16px; }
 .hero-visual { min-height: 535px; }
 .hero-mascot { width: 125px; }
 .flashcards-section { gap: 40px; }
}
@media (max-width: 760px) {
 .marketing-page .landing-hero { grid-template-columns: 1fr; padding-block: 44px 65px; gap: 40px; }
 .marketing-page h1 { font-size: clamp(43px, 9vw, 64px); }
 .hero-lead { font-size: 18px; }
 .hero-actions { flex-direction: row; align-items: center; gap: 18px; }
 .store-badge-hero img { margin: 0; }
 .hero-visual { width: min(480px, 100%); min-height: 615px; margin-inline: auto; }
 .hero-phone-quiz { top: 10px; left: 3%; width: 43%; transform: rotate(-5deg); }
 .hero-phone-card { top: 55px; right: 3%; width: 51%; transform: rotate(4deg); }
 .hero-mascot { left: 5%; bottom: 5px; width: 145px; }
 .flashcards-section { grid-template-columns: 1fr; gap: 38px; padding-block: 76px; }
 .card-demo-stage { padding: 26px; }
 .demo-front, .demo-back { min-height: 265px; }
 .demo-front p { font-size: 26px; }
 .demo-back p { font-size: 22px; }
 .current-feature, .current-feature.feature-answer { grid-template-columns: 1fr; min-height: auto; gap: 32px; margin-bottom: 72px; }
 .current-feature.feature-answer .feature-copy { order: 0; }
 .screen-stage { width: 100%; padding: 30px; }
 .current-screen { width: min(280px, 90%); }
 .learning-section { padding-top: 20px; }
 .section-heading { margin-bottom: 44px; }
 .final-cta { min-height: 520px; }
 .final-cta .cta-icon { width: 135px; }
}
@media (max-width: 420px) {
 .hero-visual { min-height: 505px; }
 .hero-mascot { width: 125px; bottom: -4px; }
 .hero-text-link { font-size: 13px; }
 .hero-actions { gap: 10px 18px; }
 .card-demo-stage { padding: 22px; }
 .demo-front, .demo-back { padding-inline: 23px; min-height: 280px; }
 .final-cta { min-height: 580px; }
}
