@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #fbf7fd;
  --paper-deep: #f0e9f7;
  --ink: #2a2234;
  --muted: #6b6073;
  --rose: #ca4f9b;
  --rose-soft: #f5dced;
  --sage: #e6dcf7;
  --mint: #cdbcf1;
  --lilac: #8060ce;
  --pink: #e66eaf;
  --cyan: #c7edf0;
  --white: #fff;
  --line: rgba(38, 37, 34, .12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --radius: 1.35rem;
  --shadow: 0 24px 70px rgba(55, 45, 38, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--rose-soft); }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 99; padding: .7rem 1rem; background: var(--ink); color: var(--white); border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(38,37,34,.08); background: rgba(248,246,242,.93); backdrop-filter: blur(16px); }
.header-inner { min-height: 4.75rem; width: min(100% - 3rem, 1240px); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font: 500 1.75rem/1 var(--serif); letter-spacing: -.04em; white-space: nowrap; }
.wordmark-mark { display: block; width: 1.75rem; height: 1.75rem; flex: 0 0 auto; overflow: hidden; color: transparent; font-size: 0; transform: none; background: url('/images/clarra-mark.svg') center / contain no-repeat; }
.site-nav { display: flex; align-items: center; gap: clamp(.85rem, 1.65vw, 1.5rem); font-size: .77rem; color: #55534f; }
.site-nav a { padding: .45rem 0; transition: color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--rose); }
.site-nav a[aria-current="page"] { box-shadow: 0 1px var(--rose); }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 50%; width: 2.75rem; height: 2.75rem; background: transparent; color: var(--ink); cursor: pointer; }

main { overflow: clip; }
.container { width: min(100% - 3rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 8.5rem); }
.section--tight { padding-block: clamp(3.25rem, 5vw, 5.5rem); }
.kicker { margin: 0 0 1rem; color: var(--rose); font-size: .7rem; line-height: 1.4; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .99; }
h1 { max-width: 11ch; margin-bottom: 1.4rem; font-size: clamp(3.6rem, 7.1vw, 7.4rem); }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.65rem, 5vw, 5rem); }
h3 { margin-bottom: .65rem; font-size: clamp(1.65rem, 2.4vw, 2.2rem); }
.lead { max-width: 39rem; color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.14rem); line-height: 1.8; }
.body-copy { max-width: 39rem; color: var(--muted); }
.small-copy { color: var(--muted); font-size: .82rem; }

.button { min-height: 3.1rem; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(112deg, var(--lilac), var(--rose) 58%, var(--pink)); color: var(--white); font-size: .82rem; font-weight: 600; transition: background .25s ease, color .2s ease, transform .25s ease, box-shadow .25s ease; }
.button:hover { background: linear-gradient(112deg, #6748b7, #b83d87 58%, #d655a0); border-color: transparent; transform: translateY(-3px); box-shadow: 0 13px 28px rgba(202,79,155,.26); }
.button--secondary { border-color: rgba(128,96,206,.36); background: transparent; color: var(--ink); }
.button--secondary:hover { color: var(--white); }
.button--disabled, .button[aria-disabled="true"] { cursor: not-allowed; border-color: #c7c2ba; background: #e9e6e0; color: #716d66; box-shadow: none; transform: none; }
.button--text { min-height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); }
.button--text:hover { border: 0; background: none; color: var(--rose); box-shadow: none; transform: translateX(3px); }
.arrow { font-size: 1.1rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.7rem; }

.hero { position: relative; isolation: isolate; min-height: min(790px, calc(100svh - 4.75rem)); display: grid; grid-template-columns: minmax(340px, .92fr) minmax(400px, 1.08fr); align-items: center; gap: clamp(2rem, 5vw, 5.7rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0rem, 3vw, 2.7rem); }
.hero-copy .lead { max-width: 32rem; }
.hero-art { position: relative; min-height: 540px; height: clamp(490px, 58vw, 710px); }
.hero-photo { width: 84%; height: 100%; margin-left: auto; overflow: hidden; border-radius: 46% 46% 2.5rem 2.5rem; background: var(--paper-deep); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
.hero-photo { position: relative; isolation: isolate; }
.hero-scan-frame { position: absolute; z-index: 2; top: 19%; right: 7%; bottom: 25%; left: 42%; border: 1px solid rgba(255,255,255,.7); border-radius: 48% 48% 43% 43%; box-shadow: 0 0 0 999px rgba(67, 35, 109, .055), inset 0 0 45px rgba(245, 178, 226, .12); pointer-events: none; }
.hero-scan-frame::before, .hero-scan-frame::after { content: ''; position: absolute; width: 1.3rem; height: 1.3rem; border-top: 3px solid white; top: 12%; filter: drop-shadow(0 2px 4px rgba(32, 20, 42, .45)); }
.hero-scan-frame::before { left: 9%; border-left: 3px solid white; border-radius: .3rem 0 0; }
.hero-scan-frame::after { right: 9%; border-right: 3px solid white; border-radius: 0 .3rem 0 0; }
.hero-scan-frame i { position: absolute; width: .45rem; height: .45rem; border: 1px solid white; border-radius: 50%; background: #f39adb; box-shadow: 0 0 0 .35rem rgba(233, 145, 216, .3), 0 0 18px rgba(255, 173, 230, .8); animation: scan-point 3.6s ease-in-out infinite alternate; }
.hero-scan-frame i:nth-of-type(1) { top: 42%; left: 17%; }
.hero-scan-frame i:nth-of-type(2) { top: 43%; right: 16%; animation-delay: 1s; }
.hero-scan-frame i:nth-of-type(3) { bottom: 26%; left: 50%; animation-delay: 1.8s; }
.hero-scan-line { position: absolute; z-index: 2; top: 10%; left: 4%; right: 4%; height: 2px; border-radius: 99px; background: rgba(255, 202, 244, .95); box-shadow: 0 0 15px 4px rgba(232, 130, 226, .7); animation: hero-scan-sweep 5.8s ease-in-out infinite; }
.hero-scan-label { position: absolute; z-index: 3; right: 5%; bottom: 4%; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border: 1px solid rgba(255,255,255,.65); border-radius: 99px; background: rgba(255,255,255,.87); box-shadow: 0 5px 20px rgba(58,38,73,.1); backdrop-filter: blur(9px); color: #553879; font-size: .7rem; font-weight: 700; }
.hero-note { position: absolute; right: auto; bottom: 8%; left: -2%; max-width: 15.5rem; padding: 1.15rem 1.35rem; border: 1px solid rgba(255,255,255,.65); border-radius: 1rem; background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-note strong { display: block; margin-bottom: .25rem; font: 500 1.35rem/1.1 var(--serif); }
.hero-note span { color: var(--muted); font-size: .76rem; }
.hero-note a { display: inline-block; margin-top: .65rem; color: #7653b7; font-size: .74rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-orbit { position: absolute; top: 11%; left: 4%; width: 6rem; height: 6rem; border: 1px solid rgba(201,142,131,.55); border-radius: 50%; }
.hero-orbit::after { content: ''; position: absolute; inset: .8rem; border: 1px solid rgba(201,142,131,.35); border-radius: 50%; }

.chapter { display: grid; grid-template-columns: minmax(250px, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.chapter--reverse .chapter-copy { order: 2; }
.chapter--reverse .chapter-visual { order: 1; }
.chapter-copy { max-width: 31rem; }
.chapter-visual { min-height: 360px; position: relative; }
.editorial-photo { width: 100%; height: clamp(340px, 43vw, 570px); object-fit: cover; border-radius: 44% 44% .9rem .9rem; background: var(--paper-deep); }
.photo-caption { position: absolute; right: -1rem; bottom: 1.6rem; max-width: 13rem; padding: 1rem; background: var(--white); border-radius: 1rem; box-shadow: var(--shadow); font-size: .77rem; color: var(--muted); }
.photo-caption strong { color: var(--ink); display: block; margin-bottom: .25rem; }
.chapter-index { display: inline-block; margin-bottom: 1.4rem; color: var(--rose); font-size: .68rem; letter-spacing: .17em; font-weight: 700; }

.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.pill { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .74rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2.5rem; }
.feature-card { padding: clamp(1.3rem, 2.7vw, 2.1rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.45); }
.feature-icon { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; margin-bottom: 1.25rem; border-radius: 50%; background: var(--rose-soft); color: #8b5f58; font-size: 1.05rem; }
.feature-card:nth-child(2) .feature-icon { background: var(--sage); color: #4e6550; }
.feature-card:nth-child(3) .feature-icon { background: #ece7f3; color: #796791; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.icon { display: inline-block; width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon--small { width: 1.1rem; height: 1.1rem; }
.feature-icon .icon { width: 1.35rem; height: 1.35rem; }
.demo-teaser { position: relative; isolation: isolate; display: grid; grid-template-columns: 5rem minmax(0,1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding: clamp(1.5rem, 4vw, 2.8rem); overflow: hidden; border: 1px solid rgba(177, 130, 221, .32); border-radius: 2rem; background: linear-gradient(115deg, #eae0fb 0%, #f8e0f0 57%, #e7eff8 100%); box-shadow: 0 18px 55px rgba(95, 55, 125, .07); }
.demo-teaser::before { content: ''; position: absolute; z-index: -1; width: 22rem; aspect-ratio: 1; top: -13rem; right: 11%; border-radius: 50%; background: rgba(212, 142, 221, .24); filter: blur(28px); animation: halo-breathe 8s ease-in-out infinite; }
.demo-teaser-symbol { display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 1.25rem; background: #fff; color: #8058be; box-shadow: 0 12px 36px rgba(121, 75, 164, .15); transform: rotate(-8deg); }
.demo-teaser-symbol .icon { width: 2.3rem; height: 2.3rem; }
.demo-teaser h2 { max-width: none; margin-bottom: .3rem; font-size: clamp(2rem, 3vw, 3rem); }
.demo-teaser p:not(.kicker) { max-width: 40rem; margin-bottom: 0; color: #635971; font-size: .84rem; }
.demo-teaser .kicker { margin-bottom: .4rem; }
.demo-teaser .button { white-space: nowrap; }

.band { padding: clamp(2rem, 5vw, 4rem); border-radius: 2rem; background: linear-gradient(125deg, #eee6fb 0%, #e2eff1 100%); }
.band--rose { background: linear-gradient(125deg, #f7dfef 0%, #eee1fa 100%); }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.band-inner h2 { max-width: 12ch; margin-bottom: .5rem; }
.band-inner p { max-width: 34rem; margin-bottom: 0; color: #53564f; }

.page-hero { padding-block: clamp(5.5rem, 10vw, 9.5rem) clamp(3rem, 5vw, 5rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); align-items: end; gap: clamp(2rem, 8vw, 9rem); }
.page-hero h1 { max-width: 12ch; font-size: clamp(3.4rem, 6.4vw, 6.7rem); }
.page-hero-aside { max-width: 29rem; padding-bottom: .3rem; }
.page-hero-aside .lead { font-size: 1.02rem; }
.page-hero-photo { margin-top: 1rem; max-height: 520px; overflow: hidden; border-radius: 2rem; }
.page-hero-photo img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 35%; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.app-preview { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(1.5rem, 5vw, 4.5rem); border-radius: 2rem; background: #f0e7e2; }
.phone-shell { width: min(100%, 350px); margin: auto; padding: .65rem; border: 7px solid #242321; border-radius: 2.4rem; background: var(--white); box-shadow: 0 20px 50px rgba(40,35,31,.18); transform: rotate(-3deg); }
.phone-top { width: 38%; height: .75rem; margin: 0 auto .4rem; border-radius: 0 0 .7rem .7rem; background: #242321; }
.phone-screen { min-height: 375px; padding: 1.5rem 1rem; border-radius: 1.7rem; background: var(--paper); }
.phone-screen .kicker { font-size: .55rem; }
.phone-score { display: flex; align-items: center; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.score-ring { width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border: 4px solid var(--mint); border-radius: 50%; font: 500 1.1rem var(--serif); }
.phone-screen small { display: block; color: var(--muted); font-size: .65rem; }
.phone-screen strong { font-size: .82rem; }
.phone-task { display: flex; align-items: center; gap: .65rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .75rem; }
.phone-task i { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); font-style: normal; }
.scan-shell { width: min(100%, 405px); height: 535px; margin: auto; padding: .6rem; border: 7px solid #242321; border-radius: 2.8rem; background: #242321; box-shadow: var(--shadow); }
.scan-screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.2rem; background: var(--paper-deep); }
.scan-screen img { width: 100%; height: 100%; object-fit: cover; }
.scan-frame { position: absolute; inset: 15% 14%; border: 1px solid rgba(255,255,255,.9); border-radius: 48% 48% 42% 42%; box-shadow: 0 0 0 999px rgba(36,37,34,.08); }
.scan-label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .75rem 1rem; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.88); text-align: center; font-size: .72rem; }

.food-photo { width: 100%; min-height: 360px; max-height: 520px; object-fit: cover; border-radius: 2rem; }
.food-notes { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: -2.6rem; padding-inline: 1.1rem; position: relative; }
.food-note { padding: .9rem; border: 1px solid rgba(255,255,255,.85); border-radius: 1rem; background: rgba(255,255,255,.93); box-shadow: 0 8px 28px rgba(45,40,35,.08); text-align: center; font-size: .75rem; }
.food-note strong { display: block; font: 500 1.2rem/1.2 var(--serif); }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: .9rem; margin-top: 2.8rem; }
.step { padding: 1.2rem 1.1rem 1.4rem; border-top: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin: -2.5rem 0 1.5rem; border-radius: 50%; background: #eee9e4; color: var(--rose); font: 500 1.3rem var(--serif); }
.step p { margin-bottom: 0; color: var(--muted); font-size: .84rem; }

.habit-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.habit-panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.7rem; background: var(--white); box-shadow: var(--shadow); }
.habit-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.habit-head span { color: var(--muted); font-size: .75rem; }
.habit-days { display: grid; grid-template-columns: repeat(7,1fr); gap: .4rem; margin: 1rem 0 1.3rem; text-align: center; }
.habit-days span { padding: .45rem .1rem; border-radius: 999px; color: var(--muted); font-size: .63rem; }
.habit-days .active { background: var(--rose-soft); color: #80584f; }
.habit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .78rem 0; border-top: 1px solid #f0ede8; font-size: .82rem; }
.habit-row-label { display: flex; align-items: center; gap: .7rem; }
.habit-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--rose); }
.habit-row:nth-of-type(2) .habit-dot { background: #91ae98; }
.habit-row:nth-of-type(3) .habit-dot { background: #a79bc4; }
.habit-check { width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #516657; font-size: .7rem; }
.progress-track { height: .35rem; margin-top: 1.2rem; overflow: hidden; border-radius: 999px; background: #eeeae5; }
.progress-track span { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--rose); }

.faq-list { max-width: 850px; margin: 2rem auto 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.15rem 2.4rem 1.15rem 0; list-style: none; cursor: pointer; font: 500 1.45rem/1.2 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: .25rem; top: .85rem; color: var(--rose); font: 400 1.5rem var(--sans); }
details[open] summary::after { content: '−'; }
details p { max-width: 45rem; padding: 0 2rem 1rem 0; color: var(--muted); }

.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.feedback-form { padding: clamp(1.3rem, 3vw, 2.3rem); border: 1px solid var(--line); border-radius: 1.7rem; background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .8rem .9rem; border: 1px solid #d8d4cd; border-radius: .75rem; outline: none; background: var(--paper); color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(201,142,131,.18); }
.form-note { padding: .9rem 1rem; border-left: 3px solid var(--rose); background: #f5eeeb; color: #5d514e; font-size: .78rem; }
.form-status { min-height: 1.5rem; margin: .85rem 0 0; color: #8b5f58; font-size: .82rem; }
.rating-options { display: flex; gap: .5rem; }
.rating-options label { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 400; }

.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.value { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.value p { color: var(--muted); font-size: .86rem; }
.value-number { color: var(--rose); font-size: .72rem; letter-spacing: .14em; }

.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--line); background: #f2efea; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2.6rem; }
.footer-brand p { max-width: 23rem; color: var(--muted); font-size: .85rem; }
.footer-column h2 { margin: 0 0 .8rem; font: 700 .72rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin: .45rem 0; color: var(--muted); font-size: .8rem; }
.footer-column a:hover { color: var(--rose); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }

@media (max-width: 980px) {
  .header-inner { width: min(100% - 2rem, 1240px); }
  .site-nav { gap: .85rem; font-size: .7rem; }
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(270px,.9fr) minmax(300px,1.1fr); gap: 1rem; }
  .hero-art { min-height: 450px; height: 53vw; }
  .hero-note { left: -1rem; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 4.2rem; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .45rem 1.25rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 28px rgba(40,35,31,.07); font-size: .88rem; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem .1rem; border-bottom: 1px solid rgba(38,37,34,.07); }
  .container { width: min(100% - 2rem, 1240px); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 2rem; padding-top: 3.5rem; }
  .hero-copy { padding-left: 0; }
  h1 { max-width: 10ch; font-size: clamp(3.5rem, 15vw, 5.4rem); }
  .hero-art { height: 112vw; max-height: 610px; min-height: 400px; margin-inline: -1rem; }
  .hero-photo { width: 88%; border-radius: 46% 46% 1.5rem 1.5rem; }
  .hero-note { left: .2rem; bottom: 5%; }
  .hero-orbit { left: 1%; top: 6%; }
  .chapter, .chapter--reverse, .page-hero-grid, .app-preview, .habit-layout, .form-layout { grid-template-columns: 1fr; }
  .chapter--reverse .chapter-copy, .chapter--reverse .chapter-visual { order: initial; }
  .chapter-visual { min-height: auto; }
  .editorial-photo { height: 108vw; max-height: 490px; }
  .page-hero { padding-top: 4.5rem; }
  .page-hero h1 { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .page-hero-aside { max-width: 35rem; }
  .feature-grid, .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
  .step { margin-top: 1.4rem; }
  .step-number { margin-top: -2.9rem; }
  .band-inner { align-items: flex-start; flex-direction: column; }
  .demo-teaser { grid-template-columns: 4rem minmax(0, 1fr); }
  .demo-teaser .button { grid-column: 2; justify-self: start; }
  .demo-teaser-symbol { width: 3.8rem; height: 3.8rem; }
  .scan-shell { max-width: 330px; height: 470px; }
  .food-notes { grid-template-columns: 1fr; margin: .75rem 0 0; padding: 0; }
  .food-note { text-align: left; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .step { margin-top: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .demo-teaser { grid-template-columns: 1fr; }
  .demo-teaser .button { grid-column: 1; justify-self: stretch; }
}

body { background: radial-gradient(ellipse at 92% 4%, rgba(230,110,175,.10), transparent 34rem), radial-gradient(ellipse at 4% 38%, rgba(128,96,206,.07), transparent 40rem), var(--paper); }
.hero::before { content: ''; position: absolute; z-index: -1; top: -8rem; left: 26%; width: min(55vw, 52rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 64% 38%, rgba(230,110,175,.16), rgba(128,96,206,.09) 42%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-orbit { animation: halo-breathe 7s ease-in-out infinite; }
.hero-orbit::after { animation: halo-breathe 7s ease-in-out -3.5s infinite; }
.hero-note { animation: soft-float 6s ease-in-out infinite; }
.hero-photo img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.hero-art:hover .hero-photo img { transform: scale(1.025); }
.feature-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(202,79,155,.34); box-shadow: 0 18px 42px rgba(93,62,121,.11); }
.habit-panel { transition: transform .4s ease, box-shadow .4s ease; }
.habit-panel:hover { transform: translateY(-4px) rotate(.3deg); box-shadow: 0 28px 75px rgba(93,62,121,.15); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(128,96,206,.58); outline-offset: 4px; }
.motion-enabled .motion-item { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--motion-delay, 0ms); }
.motion-enabled .motion-item.is-visible { opacity: 1; transform: translateY(0); }
@keyframes soft-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes halo-breathe { 0%, 100% { opacity: .62; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes hero-scan-sweep { 0%, 10% { transform: translateY(0); opacity: 0; } 18% { opacity: .95; } 70% { opacity: .95; } 80%, 100% { transform: translateY(18rem); opacity: 0; } }
@keyframes scan-point { from { opacity: .45; transform: scale(.8); } to { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .motion-enabled .motion-item { opacity: 1; transform: none; }
  .hero-scan-line { top: 54%; opacity: .65; }
}
