/* Flip It website. Colours and fonts match the app (docs/DESIGN.md).
   The app is light only, so the site is too. */

/* Both fonts are self-hosted variable files, so no third-party requests. */
@font-face { font-family: "Unbounded"; src: url(/fonts/Unbounded.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --cream: #fcfbf9;
  --ink: #18181a;
  --ink3: #727272;
  --line: #ecebe8;
  --purple: #b587f7;
  --purple-l: #f0ebfc;
  --violet: #8b5cf6;
  --pink: #d946ef;
  --card: #ffffff;
  --radius: 24px;
  /* One easing curve everywhere: quick start, long soft landing. */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: "Unbounded", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  /* Small labels and body text in cards, like the app (SF on Apple devices). */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --border: #dedcd8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.55 var(--serif);
  font-variation-settings: "SOFT" 50;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
/* Headings are ink only; the gradient stays on the wordmark. */
h1 em, h2 em { font-style: normal; font-weight: inherit; color: inherit; }
.brand em {
  font-style: normal; font-weight: 800;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 { font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-size: clamp(24px, 3.6vw, 38px); }
h3 { font: 500 14px/1.35 var(--display); letter-spacing: -0.01em; }
.center { text-align: center; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.section { padding-top: 72px; }
@media (min-width: 900px) { .section { padding-top: 120px; } }
.section > h2, .section > .wrap > h2 { margin-bottom: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 500 15px/1 var(--display); white-space: nowrap;
  transition: transform .5s var(--ease);
}
.btn svg { fill: currentColor; margin-top: -2px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 13px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; max-width: 1080px; margin: 0 auto;
  background: rgba(252, 251, 249, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
@media (min-width: 720px) { .topbar { padding: 14px 32px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 21px/1 var(--display); letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }

/* Hero */
.hero { display: grid; gap: 16px; align-items: center; padding-top: 24px; }
.hero-copy { text-align: center; }
.lead { font-size: 19px; color: var(--ink3); max-width: 30ch; margin: 18px auto 28px; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--ink3); }
.hero-art { position: relative; max-width: 420px; margin: 0 auto; width: 100%; }
.hero-art img { position: relative; width: 100%; }
.glow {
  position: absolute; inset: 8% -10% 0;
  background: radial-gradient(closest-side, #e6dafd, rgba(240, 235, 252, 0) 72%);
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; gap: 40px; padding-top: 56px; }
  .hero-copy { text-align: left; }
  .lead { margin-left: 0; }
  .hero-art { max-width: 460px; }
}

/* Spiral thoughts rise out of the storm clouds and fade. */
.spiral { position: absolute; inset: 0; pointer-events: none; }
.whisper {
  position: absolute; margin: 0; width: max-content; max-width: 34%;
  padding: 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 22px -14px rgba(60, 30, 110, .5);
  font: 500 11.5px/1.3 var(--serif); color: var(--ink3);
  opacity: 0; transform: translateY(6px) scale(.9);
  transition: opacity .9s var(--ease), transform 3.6s var(--ease);
}
.whisper.on { opacity: 1; transform: translateY(-6px) scale(1); }
/* Each one sits just off a cloud's open mouth, tail pointing at it. */
.w1 { right: 77%; top: 58%; border-bottom-right-radius: 3px; transform-origin: right bottom; }
.w2 { left: 70%; top: 38%; border-bottom-left-radius: 3px; transform-origin: left bottom; }
.w3 { left: 82%; top: 62%; border-bottom-left-radius: 3px; transform-origin: left bottom; }
@media (max-width: 520px) { .whisper { font-size: 10.5px; padding: 3px 7px; } }

/* The hero drifts a few pixels, like breathing. */
.hero-art > img { animation: drift 9s var(--ease-io) infinite alternate; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* Scroll reveal: only when JS is running, so nothing hides without it. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
/* App-style card label: small purple text, no pill. */
.label { margin: 0; font: 500 16px/1.3 var(--sans); color: var(--purple); }

/* Try a reframe */
.tryit { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.picks { display: grid; gap: 10px; }
/* Choices are a plain list, not boxes: the phone is the only object here. */
.picks { gap: 0; }
.pick {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink3); text-align: left; cursor: pointer;
  font: 600 18px/1.3 var(--serif); font-variation-settings: "SOFT" 50;
  transition: color .6s var(--ease);
}
.pick:last-child { border-bottom: 0; }
.pick img { width: 36px; height: 36px; flex: none; opacity: .55; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pick:hover { color: var(--ink); }
.pick[aria-pressed="true"] { color: var(--ink); }
.pick[aria-pressed="true"] img { opacity: 1; transform: scale(1.08); }
.pick:focus-visible, .btn:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.reframe { display: grid; gap: 14px; }
.rf-card, .rf-thought {
  background: var(--card); border: 1px solid var(--border); border-radius: 28px;
}
.rf-thought {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px;
}
.rf-thought img { width: 56px; flex: none; }
.rf-thought p { margin: 0; font: 400 16px/1.4 var(--sans); color: var(--ink3); }
/* The strike is drawn left to right, like crossing a thought out by hand. */
#rf-thought {
  background: linear-gradient(currentColor, currentColor) 0 55% / 0% 1.5px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--ease), color 1s var(--ease);
}
.reframe:not([data-stage="0"]) #rf-thought { background-size: 100% 1.5px; color: #a1a1aa; }
.rf-card { padding: 22px 22px 24px; }
.headline { margin: 6px 0 0; font: 500 22px/1.3 var(--serif); font-variation-settings: "SOFT" 50; }
.rf-card hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0 16px; }
.body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink); }
.rf-action .body { margin-top: 6px; }
.rf-step {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reframe[data-stage="2"] .rf-step:nth-child(2), .reframe[data-stage="3"] .rf-step:nth-child(2), .reframe[data-stage="4"] .rf-step:nth-child(2),
.reframe[data-stage="3"] .rf-step:nth-child(3), .reframe[data-stage="4"] .rf-step:nth-child(3),
.reframe[data-stage="4"] .rf-step:nth-child(4) { opacity: 1; transform: none; }
/* A wide stage of soft sky. The phone rises from below the bottom edge and
   a cloud bank in front hides where it is cut off. */
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  height: 560px; border-radius: 40px;
  background: linear-gradient(180deg, #c9b3ff 0%, #ddd0ff 45%, #f1ebff 100%);
}
.fog { position: absolute; border-radius: 50%; background: #fff; pointer-events: none; will-change: transform; }
.fog-b1 { z-index: 0; width: 70%; height: 170px; top: 2%; left: -22%; filter: url(#fog-a); animation: drift-a 26s var(--ease-io) infinite alternate; }
.fog-b2 { z-index: 0; width: 64%; height: 160px; top: 26%; right: -26%; filter: url(#fog-b); opacity: .95; animation: drift-b 32s var(--ease-io) infinite alternate; }
.fog-b3 { z-index: 0; width: 50%; height: 120px; top: 54%; left: -18%; filter: url(#fog-a); opacity: .9; animation: drift-b 28s var(--ease-io) infinite alternate; }
.fog-shade { z-index: 2; width: 130%; height: 150px; bottom: -70px; left: -15%; background: #d9cdf7; filter: url(#fog-b); opacity: .6; animation: drift-a 30s var(--ease-io) infinite alternate; }
.fog-f1 { z-index: 2; width: 120%; height: 160px; bottom: -110px; left: -12%; filter: url(#fog-a); animation: drift-b 24s var(--ease-io) infinite alternate; }
.fog-f2 { z-index: 2; width: 60%; height: 120px; bottom: -70px; right: -18%; filter: url(#fog-b); opacity: .95; animation: drift-a 22s var(--ease-io) infinite alternate; }
@keyframes drift-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, -8px, 0); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-36px, 6px, 0); } }
.stage .phone {
  position: absolute; z-index: 1; left: 50%; top: 44px; transform: translateX(-50%);
  width: min(300px, 80%); height: calc(100% + 40px); aspect-ratio: auto; margin: 0;
}
/* Room to scroll the last card above the cloud bank. */
.stage .screen { padding-bottom: 150px; }

/* The reading plays inside a phone, the way it looks in the app. */
.phone {
  position: relative; width: min(340px, 100%); margin: 8px auto 0;
  aspect-ratio: 9 / 19; padding: 11px; border-radius: 54px;
  background: #18181a;
  box-shadow: inset 0 0 0 2px #3b3b40, 0 40px 80px -40px rgba(91, 33, 182, .55), 0 18px 40px -24px rgba(24, 24, 26, .4);
}
.island {
  position: absolute; z-index: 3; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 27px; border-radius: 20px; background: #000;
}
.statusbar {
  position: absolute; z-index: 2; top: 11px; left: 11px; right: 11px; height: 58px;
  display: flex; justify-content: space-between; align-items: center; padding: 0 30px 6px;
  border-radius: 44px 44px 0 0;
  background: linear-gradient(var(--cream) 70%, rgba(252, 251, 249, 0));
  font: 600 14px/1 var(--sans);
}
.sb-icons { display: flex; gap: 4px; align-items: flex-end; }
.sb-icons i { display: block; width: 4px; background: var(--ink); border-radius: 1px; }
.sb-icons i:nth-child(1) { height: 5px; } .sb-icons i:nth-child(2) { height: 8px; } .sb-icons i:nth-child(3) { height: 11px; }
.screen {
  height: 100%; overflow-y: auto; border-radius: 44px; background: var(--cream);
  padding: 62px 12px 28px; scrollbar-width: none; overscroll-behavior: contain;
}
.screen::-webkit-scrollbar { display: none; }
.screen .reframe { gap: 10px; }
.screen .rf-thought { padding: 0 4px; border: 0; background: none; }
.screen .rf-thought img { width: 44px; }
.screen .rf-thought p { font-size: 13px; }
.rf-ctx { margin: 6px 0 0 !important; font: 500 12px/1.3 var(--sans) !important; color: var(--purple) !important; }
.screen .rf-card { padding: 16px 16px 18px; border-radius: 22px; }
/* Need and action cards, as on the app's Results screen. */
.rf-need { position: relative; overflow: hidden; background: #fff; }
.rf-need .hearts { position: absolute; top: -6px; right: -14px; width: 54px; opacity: .8; }
.rf-need .headline { padding-right: 26px; }
.hint { margin: 4px 0 12px; font: 400 12px/1.4 var(--sans); color: var(--ink3); }
#rf-actions { display: grid; gap: 8px; }
#rf-actions li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 8px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  font: 400 13px/1.45 var(--sans);
}
#rf-actions img { width: 40px; height: 40px; flex: none; }
.screen .label { font-size: 13px; }
.screen .headline { font-size: 18px; }
.screen .body { font-size: 13.5px; line-height: 1.6; }
.screen .rf-card hr { margin: 12px 0; }

@media (min-width: 900px) {
  .tryit { grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
  .stage { height: 600px; }
  .stage .phone { width: 330px; }
  .pick { font-size: 21px; padding: 22px 4px; }
  .pick img { width: 46px; height: 46px; }
}

/* Patterns: the app's Theme Explorer, with one observation beside it. */
.patterns { display: grid; gap: 32px; align-items: center; }
.patterns-copy { text-align: center; }
.patterns-copy h2 { margin-bottom: 0; }
.patterns-copy .lead { margin: 16px auto 0; max-width: 34ch; }

.explorer {
  width: 100%; max-width: 440px; margin: 0 auto; padding: 8px 22px 26px;
  border-radius: 36px; background: #fff; border: 1px solid var(--line);
}
.aura { position: relative; height: 340px; }
.aura-char {
  position: absolute; z-index: 2; left: 50%; top: 8px; height: 300px; width: auto; transform: translateX(-50%);
  animation: float 7s var(--ease-io) infinite alternate;
}
@keyframes float { from { transform: translate(-50%, 0); } to { transform: translate(-50%, -12px); } }
.aura-shadow {
  position: absolute; left: 50%; bottom: 14px; width: 150px; height: 14px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 246, .28), transparent);
  animation: breathe 7s var(--ease-io) infinite alternate;
}
@keyframes breathe { to { transform: translateX(-50%) scale(.82); opacity: .7; } }
/* Theme bubbles, after the app's Theme Aura: a soap-bubble shell in the
   theme's pastel, a pale soul glowing inside it, a white halo when selected. */
.ring { position: absolute; inset: 0; }
.tb {
  position: absolute; padding: 0; border: 0; background: none; cursor: pointer;
  transition: opacity .6s var(--ease), filter .6s var(--ease);
  animation: bob 6s var(--ease-io) var(--delay) infinite alternate;
}
.tb > span { position: absolute; inset: 0; }
.halo {
  inset: -120% !important; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.55) 24%, rgba(255,255,255,0) 70%);
  opacity: 0; transition: opacity .8s var(--ease);
}
.tb.on .halo { opacity: 1; }
/* The shell: an irregular rounded blob with a feathered, glowing edge and
   soft bands of pastel inside, as in the app's expanded bubble. */
.shell {
  background:
    linear-gradient(170deg, rgba(255,255,255,0) 18%, rgba(255,255,255,.28) 30%, rgba(255,255,255,0) 42%, rgba(255,255,255,0) 62%, rgba(255,255,255,.22) 74%, rgba(255,255,255,0) 86%),
    var(--shell);
  opacity: .8;
  border-radius: 38% 62% 46% 54% / 44% 36% 64% 56%;
  filter: blur(.7px);
  box-shadow: 0 0 10px 3px var(--edge), inset 0 0 14px 4px rgba(255,255,255,.55);
  animation: morph 10s var(--ease-io) var(--delay) infinite alternate;
}
.tb.on .shell { opacity: .72; }
.soul { opacity: .8; filter: blur(2.5px); transition: opacity .8s var(--ease); }
.tb.on .soul { opacity: .92; }
/* The soul: pale spheres with crisp edges and pinker middles, overlapping. */
.core, .moon {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 52% 55%, var(--tint) 0%, var(--core) 42%, rgba(255,255,255,.9) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), inset -4px -6px 12px rgba(255,255,255,.5);
  opacity: .85;
}
.core { left: 20%; top: 25%; width: 52%; height: 52%; }
.orbit { position: absolute; inset: 0; transform: rotate(54deg) scaleY(.55); }
.moon { left: 50%; top: 50%; animation: moon 11s linear infinite; }
.m1 { width: 46%; height: 46%; margin: -23% 0 0 -23%; }
.m2 { width: 22%; height: 22%; margin: -11% 0 0 -11%; animation-delay: -5.5s; opacity: .7; }
@keyframes moon { from { transform: rotate(0) translateX(28%) rotate(0) scaleY(1.82); } to { transform: rotate(360deg) translateX(28%) rotate(-360deg) scaleY(1.82); } }
@keyframes morph {
  33% { border-radius: 56% 44% 40% 60% / 38% 56% 44% 62%; }
  66% { border-radius: 44% 56% 62% 38% / 58% 42% 58% 42%; }
  100% { border-radius: 56% 44% 50% 50% / 48% 58% 42% 52%; }
}
.tb:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 50%; }
@keyframes bob { to { transform: translateY(-6px); } }

.dots { display: flex; justify-content: center; gap: 10px; margin: 6px 0 18px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: #d9d9de; cursor: pointer;
  transition: width .6s var(--ease), background-color .6s var(--ease);
}
.dots button[aria-selected="true"] { width: 30px; background: var(--tc, #f273c7); }
.dots button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.theme { transition: opacity .35s var(--ease); }
.explorer.swap .theme { opacity: 0; }
.theme-name { margin: 0 0 18px; text-align: center; font: 500 28px/1.2 var(--serif); font-variation-settings: "SOFT" 50; }
.theme-stats { display: grid; gap: 12px; }
.theme-stats li { display: flex; gap: 12px; align-items: center; font: 400 15px/1.35 var(--sans); color: var(--ink3); }
.theme-stats b { font-weight: 600; color: var(--ink); }
.theme-stats svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--tc, #f273c7); stroke-width: 1.6; transition: stroke .6s var(--ease); }
.theme-stats li:last-child svg path { fill: var(--tc-pale, #f9c4e6); stroke: none; transition: fill .6s var(--ease); }
.example { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.example img { width: 46px; height: 46px; flex: none; }
.example p { margin: 0; }
#th-quote { font: 400 15px/1.4 var(--sans); }
.area { margin-top: 4px !important; font: 500 13px/1 var(--sans); color: var(--purple); }

@media (min-width: 900px) {
  .patterns { grid-template-columns: 1fr 1fr; gap: 56px; }
  .patterns-copy { text-align: left; }
  .patterns-copy .lead { margin-left: 0; }
    .explorer { margin: 0; justify-self: end; }
}

/* Credibility: who built it and the rules every reading follows. */
.trust { display: grid; gap: 32px; }
.trust-copy h2 { margin-bottom: 0; }
.trust-copy .lead { margin: 16px 0 0; max-width: 36ch; text-align: left; }
.trust-rules { display: grid; gap: 26px; counter-reset: r; }
.trust-rules li { counter-increment: r; padding-top: 16px; border-top: 1px solid var(--line); }
.trust-rules li::before { content: "0" counter(r); display: block; margin-bottom: 10px; font: 600 14px/1 var(--display); color: var(--purple); }
.trust-rules h3 { font-size: 16px; margin-bottom: 6px; }
.trust-rules p { margin: 0; font: 400 15px/1.6 var(--sans); color: var(--ink3); }
@media (min-width: 900px) {
  .trust { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .trust-rules { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
}

/* Feature tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiles li { text-align: center; }
.tiles img { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 8px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* Final ask */
.final { display: grid; gap: 24px; align-items: center; text-align: center; }
.final img { max-width: 360px; width: 100%; margin: 0 auto; border-radius: 32px; }
.promises { display: grid; gap: 10px; margin: 24px 0 28px; justify-content: center; text-align: left; }
.promises li { display: flex; gap: 10px; align-items: center; }
.promises li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--purple-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
@media (min-width: 900px) {
  .final { grid-template-columns: 1fr 1fr; gap: 56px; text-align: left; }
  .promises { justify-content: start; }
}

/* Footer */
.footer { padding-top: 80px; padding-bottom: 110px; text-align: center; color: var(--ink3); font-size: 14px; }
.footer nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.safety { max-width: 46ch; margin: 0 auto; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }


/* Sticky download button, phones only */
.sticky-cta {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); z-index: 20;
  transition: transform .7s var(--ease);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta:hover { transform: translate(-50%, -2px); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art > img, .fog { animation: none; }
  .whisper, .dots button, .theme { transition: none; }
  .aura-char, .aura-shadow, .tb, .shell, .moon { animation: none; }
  .btn, .sticky-cta, .tiles li { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* About and FAQ: short sections, app art, and an accordion. */
.about { padding-bottom: 24px; }
.ab-hero { display: grid; gap: 8px; align-items: center; padding-top: 24px; }
.ab-hero h1 { font-size: clamp(34px, 5.6vw, 56px); }
.ab-hero .lead { margin: 16px 0 0; max-width: 34ch; text-align: left; }
.ab-hero img { width: min(320px, 80%); margin: 0 auto; }
.ab-section { padding-top: 72px; }
.ab-section h2 { margin-bottom: 28px; }
.ab-for { display: grid; gap: 18px; }
.ab-for li { display: flex; gap: 14px; align-items: center; font: 500 18px/1.35 var(--serif); }
.ab-for img { width: 44px; height: 44px; flex: none; }
.ab-steps { display: grid; gap: 26px; }
.ab-steps span { display: block; margin-bottom: 8px; font: 600 15px/1 var(--display); color: var(--purple); }
.ab-steps h3 { font-size: 16px; margin-bottom: 6px; }
.ab-steps p, .ab-features p { margin: 0; font: 400 15px/1.55 var(--sans); color: var(--ink3); }
.ab-reading { display: grid; gap: 20px; align-items: start; }
.ab-input dl { display: grid; gap: 10px; margin: 18px 0 0; }
.ab-input dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ab-input dt { font: 400 14px/1.4 var(--sans); color: var(--ink3); }
.ab-input dd { margin: 0; font: 500 14px/1.4 var(--sans); }
.ab-input .ab-thought { margin: 6px 0 0; font: 600 20px/1.35 var(--serif); color: var(--ink); }
.ab-output { display: grid; gap: 12px; }
.ab-output .rf-card { padding: 22px; }
.ab-output hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.rf-actions ul { display: grid; gap: 8px; }
.rf-actions li {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 8px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  font: 400 15px/1.45 var(--sans);
}
.rf-actions li img { width: 40px; height: 40px; flex: none; }
.ab-thought { margin: 0 0 18px; font: 400 15px/1.5 var(--sans); color: var(--ink3); }
.ab-features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.ab-features img { width: 88px; height: 88px; object-fit: contain; margin-bottom: 10px; }
.ab-features h3 { font-size: 15px; margin-bottom: 6px; }
.ab-split { display: grid; gap: 8px; }
.ab-split h2 { margin-bottom: 12px; }
.ab-split p { margin: 0; color: #3a3a3e; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px; cursor: pointer; list-style: none;
  font: 600 18px/1.35 var(--serif); font-variation-settings: "SOFT" 50;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--purple-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%238b5cf6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat;
  transition: transform .5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; padding-right: 38px; font: 400 16px/1.65 var(--sans); color: #3a3a3e; }
.faq details[open] p { animation: faq-in .6s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.ab-end { text-align: center; padding-top: 88px; }
.ab-end h2 { margin-bottom: 24px; }
@media (min-width: 900px) {
  .ab-hero { grid-template-columns: 1.2fr 1fr; padding-top: 56px; }
  .ab-hero img { width: 340px; }
  .ab-for { grid-template-columns: 1fr 1fr; gap: 22px 40px; }
  .ab-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .ab-reading { grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
  .ab-input { position: sticky; top: 90px; }
  .ab-features { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .ab-split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .faq { max-width: 760px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after, .faq details[open] p { transition: none; animation: none; } }
