/* ==========================================================================
   Loki Focus — marketing site
   Palette: Lemon Focus (the app's default theme). Poppins headings, Inter text.
   No build step. No frameworks. Just a cat and some CSS.
   ========================================================================== */

:root {
  --paper: #F3F4EF;
  --white: #FFFFFF;
  --cloud: #EEEEF1;
  --cloud-deep: #E2E2E8;
  --line: #E4E6DE;
  --line-strong: #C9CBD4;
  --ink: #3E4152;
  --ink-muted: #5F6270;
  --ink-faint: #787A87;
  --lemon: #F5E51B;
  --lemon-soft: #F9EE6E;
  --lemon-milk: #FBF8D9;
  --lemon-deep: #B5A606;
  --rose: #E85C72;
  --rose-milk: #F9E4E8;
  --fish: #F0875F;
  --fish-deep: #D9683F;
  --fish-milk: #FDEBE2;
  --mint-milk: #E3F3EA;
  --r-card: 22px;
  --r-pill: 12px;
  --r-round: 999px;
  --shadow-soft: 0 10px 30px rgba(62, 65, 82, .08), 0 2px 6px rgba(62, 65, 82, .05);
  --shadow-lift: 0 22px 50px rgba(62, 65, 82, .14), 0 4px 12px rgba(62, 65, 82, .06);
  --font-head: 'Poppins', 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --nav-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--lemon); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-muted); line-height: 1.55; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.small { font-size: .92rem; }
.tnum { font-variant-numeric: tabular-nums; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.hero-grid > *, .relate-grid > *, .shield-grid > *, .never-grid > *, .cta-inner > *, .feat-grid > *, .steps > *, .frow > * { min-width: 0; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Kicker: a small lemon tag that introduces a section */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lemon); color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 8px;
  transform: rotate(-1.5deg);
}
.kicker.plain { background: var(--cloud); transform: none; }
.kicker.fish { background: var(--fish-milk); color: var(--fish-deep); }

/* Highlighter: a hand-drawn lemon stroke behind a word */
.hl {
  position: relative; display: inline-block; white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em;
  height: .42em; z-index: -1; border-radius: 6px;
  background: var(--lemon);
  transform: rotate(-1.2deg) skewX(-6deg);
}
.hl.fish::after { background: var(--fish-milk); }
.hl.rose::after { background: var(--rose-milk); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 24px; border-radius: 14px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1.1; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(62,65,82,.22); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(62,65,82,.28); }
.btn-lemon { background: var(--lemon); color: var(--ink); box-shadow: 0 10px 24px rgba(245,229,27,.35); }
.btn-lemon:hover { transform: translateY(-2px); background: #F9EA3C; }
.btn-ghost { background: var(--white); color: var(--ink); border: 2px solid var(--cloud-deep); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 18px 30px; border-radius: 16px; }
.btn .apple { width: 20px; height: 20px; flex: none; }
.btn .soon {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--lemon); color: var(--ink); padding: 3px 7px; border-radius: 6px; margin-left: 2px;
}
.btn-primary .soon { background: var(--lemon); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: .88rem; color: var(--ink-faint); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav.scrolled { background: rgba(243,244,239,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(62,65,82,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--ink-faint); letter-spacing: .02em; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 14px; border-radius: 10px; color: var(--ink-muted); transition: background .15s ease, color .15s ease; }
.nav-links a:hover { background: var(--white); color: var(--ink); }
.nav-links a.active { color: var(--ink); background: var(--lemon-milk); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav .btn { padding: 11px 18px; font-size: .92rem; border-radius: 12px; }
.nav-toggle { display: none; background: var(--white); border: 2px solid var(--cloud-deep); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: calc(var(--nav-h) - 6px); left: 20px; right: 20px; flex-direction: column; align-items: stretch; background: var(--white); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lift); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 22px; max-width: 540px; }
.hero .btn-row { margin-top: 34px; }
.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .92rem; color: var(--ink-muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 16px; height: 16px; }

.hero-art { position: relative; min-height: 540px; display: flex; align-items: flex-end; justify-content: flex-end; padding-right: 4%; }
.hero-cat { position: absolute; left: 0; bottom: -12px; width: 46%; max-width: 235px; z-index: 3; filter: drop-shadow(0 18px 24px rgba(62,65,82,.18)); }
.hero-fish { position: absolute; z-index: 4; width: 64px; }
.hero-fish.f1 { top: 4%; right: 6%; transform: rotate(-12deg); }
.hero-fish.f2 { top: 42%; left: -2%; width: 40px; transform: rotate(18deg) scaleX(-1); }
.hero-fish.f3 { bottom: 20%; right: -3%; width: 48px; transform: rotate(-30deg); }
.hero-blob { position: absolute; inset: 8% -4% -2% 6%; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: var(--lemon); z-index: 0; }
.hero-blob.two { inset: 30% 30% -6% -10%; background: var(--lemon-milk); border-radius: 58% 42% 48% 52% / 46% 56% 44% 54%; z-index: 0; }

/* Phone mockup — everything in flow, sized by the screen width (cqw) */
.phone {
  position: relative; z-index: 2; width: 300px; aspect-ratio: 9 / 19;
  background: var(--ink); border-radius: 46px; padding: 12px;
  box-shadow: 0 40px 80px rgba(62,65,82,.28), 0 0 0 2px rgba(62,65,82,.4);
  transform: rotate(3deg);
}
.phone-screen { width: 100%; height: 100%; background: var(--paper); border-radius: 36px; overflow: hidden; position: relative; display: flex; flex-direction: column; container-type: inline-size; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 33%; height: 28px; background: var(--ink); border-radius: 20px; z-index: 5; }
.ps-top { padding: 50px 7% 0; display: flex; justify-content: space-between; align-items: center; font-size: clamp(.6rem, 4.2cqw, .74rem); font-weight: 600; color: var(--ink-faint); }
.ps-top .pill { background: var(--white); border-radius: 8px; padding: 4px 9px; color: var(--ink); display: inline-flex; gap: 5px; align-items: center; }
.ps-top .pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--lemon); display: inline-block; }
.ps-goal { padding: 5% 8% 0; }
.ps-goal .label { font-size: clamp(.55rem, 3.8cqw, .66rem); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.ps-goal .text { font-family: var(--font-head); font-weight: 600; font-size: clamp(.8rem, 6cqw, 1.02rem); margin-top: 3px; line-height: 1.25; }
.ps-ring { position: relative; margin: 4% auto 0; width: 62%; aspect-ratio: 1; flex: none; }
.ps-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ps-ring .trail { fill: none; stroke: #E6E9E1; stroke-width: 12; }
.ps-ring .prog { fill: none; stroke: var(--lemon); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ps-ring .time { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 13cqw, 2.2rem); letter-spacing: -0.03em; }
.ps-ring .time small { font-family: var(--font-body); font-weight: 500; font-size: clamp(.5rem, 3.6cqw, .64rem); color: var(--ink-faint); letter-spacing: .04em; margin-top: -2px; }
.ps-cat { width: 27%; margin: 2% auto 0; flex: none; }
.ps-held { margin: 3% 6% 0; background: var(--white); border-radius: 14px; padding: 8px 10px; font-size: clamp(.6rem, 4cqw, .72rem); display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-soft); }
.ps-held .dots { display: flex; flex: none; }
.ps-held .dot { width: 18px; height: 18px; border-radius: 6px; margin-right: -6px; border: 2px solid var(--white); }
.ps-held .dots .dot:last-child { margin-right: 0; }
.ps-held b { font-weight: 600; }
.ps-actions { margin-top: auto; padding: 3% 6% 6%; display: flex; gap: 8px; }
.ps-actions span { flex: 1; text-align: center; font-size: clamp(.62rem, 4.2cqw, .78rem); font-weight: 600; padding: 10px 0; border-radius: 12px; background: var(--white); }
.ps-actions span.dark { background: var(--ink); color: var(--white); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 500px; margin-top: 24px; justify-content: center; padding-right: 0; }
  .phone { width: 280px; margin-left: 170px; }
  .hero-cat { width: 220px; left: calc(50% - 240px); }
}
@media (max-width: 520px) {
  .hero-art { min-height: 430px; }
  .phone { width: 230px; margin-left: 150px; transform: rotate(2deg); }
  .hero-cat { width: 150px; left: 6px; }
  .hero-fish.f2 { display: none; }
  .btn-lg { white-space: normal; text-align: center; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Marquee of shield lines ---------- */
.marquee { padding: 0; background: var(--ink); color: var(--white); overflow: hidden; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track p { padding: 16px 28px; font-family: var(--font-head); font-weight: 500; font-size: 1rem; white-space: nowrap; display: flex; align-items: center; gap: 22px; margin: 0; }
.marquee-track p::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lemon); display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- Relatable ---------- */
.relate { background: var(--white); }
.relate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.relate blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.02em; }
.relate blockquote em { font-style: normal; color: var(--ink-faint); }
.relate .lead { margin-top: 22px; }
.relate-art { position: relative; display: flex; justify-content: center; }
.relate-art img { width: min(100%, 420px); }
.relate-art .tag { position: absolute; background: var(--lemon); font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.relate-art .tag.a { top: 6%; left: 4%; transform: rotate(-6deg); }
.relate-art .tag.b { bottom: 10%; right: 2%; transform: rotate(4deg); background: var(--white); }
@media (max-width: 820px) { .relate-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--white); border-radius: var(--r-card); padding: 28px 26px 0;
  box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 420px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.step .num { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink); background: var(--lemon); width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { margin-top: 18px; font-size: 1.4rem; }
.step p { margin-top: 10px; color: var(--ink-muted); }
.step .art { margin-top: auto; display: flex; justify-content: center; align-items: flex-end; height: 190px; padding-top: 16px; }
.step .art img { max-height: 100%; width: auto; }
.step .art.wide img { max-height: 150px; }
.step .ui { margin-top: 18px; background: var(--paper); border-radius: 14px; padding: 12px 14px; font-size: .85rem; display: flex; gap: 8px; align-items: center; }
.step .ui .cursor { width: 2px; height: 16px; background: var(--ink); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.step .ui .chip { background: var(--white); border-radius: 8px; padding: 5px 9px; font-weight: 600; font-size: .78rem; }
.step .ui .chip.on { background: var(--lemon); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step .art { height: 170px; } }

/* ---------- Shield showcase ---------- */
.shield { background: var(--ink); color: var(--white); overflow: hidden; }
.shield h2, .shield h3 { color: var(--white); }
.shield .kicker { background: var(--lemon); color: var(--ink); }
.shield .lead { color: rgba(255,255,255,.72); }
.shield-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.shield-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.shield-list li { display: flex; gap: 14px; align-items: flex-start; }
.shield-list li .ico { flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.shield-list li .ico svg { width: 18px; height: 18px; }
.shield-list li b { display: block; font-family: var(--font-head); font-weight: 600; }
.shield-list li span { color: rgba(255,255,255,.7); font-size: .95rem; }

.shield-phone { position: relative; margin: 0 auto; width: 300px; aspect-ratio: 9/19; background: #2A2C3A; border-radius: 46px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.08); transform: rotate(-3deg); }
.shield-screen { width: 100%; height: 100%; background: var(--paper); border-radius: 36px; overflow: hidden; position: relative; display: flex; flex-direction: column; color: var(--ink); }
.shield-screen .app-row { padding: 52px 22px 0; display: flex; justify-content: center; }
.shield-screen .app-ico { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.shield-screen .held { text-align: center; padding: 14px 24px 0; }
.shield-screen .held .t { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.shield-screen .held .s { margin-top: 6px; font-size: .78rem; color: var(--ink-faint); }
.shield-screen .cat { margin: 8px auto 0; width: 200px; }
.shield-tip { margin: 6px 18px 0; background: var(--white); border-radius: 14px; padding: 12px 14px; font-size: .82rem; line-height: 1.4; min-height: 66px; display: flex; align-items: center; box-shadow: var(--shadow-soft); }
.shield-tip span { transition: opacity .35s ease; }
.shield-tip span.fade { opacity: 0; }
.shield-screen .actions { margin-top: auto; padding: 0 18px 20px; display: grid; gap: 8px; }
.shield-screen .actions span { text-align: center; font-size: .82rem; font-weight: 600; padding: 12px; border-radius: 12px; background: var(--ink); color: var(--white); }
.shield-screen .actions span.ghost { background: var(--white); color: var(--ink); }
.shield-screen .goal-pill { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: .68rem; font-weight: 600; background: var(--lemon); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
@media (max-width: 900px) { .shield-grid { grid-template-columns: 1fr; } .shield-phone { margin-top: 24px; } }

/* ---------- Features grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--white); border-radius: var(--r-card); padding: 26px 24px; box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease; position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feat .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--lemon-milk); display: inline-flex; align-items: center; justify-content: center; }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { margin-top: 16px; }
.feat p { margin-top: 8px; color: var(--ink-muted); font-size: .98rem; }
.feat.lemon { background: var(--lemon); }
.feat.lemon .ico { background: rgba(255,255,255,.55); }
.feat.lemon p { color: var(--ink); opacity: .8; }
.feat.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.feat.wide img { width: 200px; }
.feat .tag { position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cloud); padding: 4px 8px; border-radius: 6px; color: var(--ink-muted); }
.feat-more { margin-top: 28px; display: flex; justify-content: center; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } .feat.wide { grid-column: span 2; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } .feat.wide { grid-column: span 1; grid-template-columns: 1fr; } .feat.wide img { width: 160px; margin: 0 auto; } }

/* ---------- Never list ---------- */
.never { background: var(--white); }
.never-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.never-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.never-list li { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: 14px; padding: 14px 16px; font-weight: 500; }
.never-list li .x { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--rose-milk); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--font-head); }
.never-list li s { text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.never-list li small { display: block; font-weight: 400; color: var(--ink-muted); font-size: .9rem; }
.never-art { position: relative; display: flex; justify-content: center; }
.never-art img { width: min(100%, 400px); }
.never-art .bubble { position: absolute; top: -6px; right: 4%; background: var(--lemon); font-family: var(--font-head); font-weight: 600; padding: 12px 16px; border-radius: 16px 16px 16px 4px; font-size: .95rem; max-width: 220px; line-height: 1.3; box-shadow: var(--shadow-soft); transform: rotate(2deg); }
@media (max-width: 820px) { .never-grid { grid-template-columns: 1fr; } .never-art { order: -1; } }

/* ---------- Psychology ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { background: var(--white); border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--shadow-soft); }
.why .q { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.why .q::before { content: "“"; color: var(--lemon-deep); }
.why .q::after { content: "”"; color: var(--lemon-deep); }
.why p { margin-top: 12px; color: var(--ink-muted); font-size: .98rem; }
.why .src { margin-top: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price { background: var(--white); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { border-radius: var(--r-card); padding: 30px 28px; background: var(--paper); position: relative; display: flex; flex-direction: column; }
.plan.hero-plan { background: var(--lemon); }
.plan .name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.plan .cost { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.03em; margin-top: 8px; line-height: 1; }
.plan .cost small { font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: 0; color: var(--ink-muted); margin-left: 6px; }
.plan .desc { margin-top: 10px; color: var(--ink-muted); }
.plan.hero-plan .desc { color: var(--ink); opacity: .8; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.plan .sticker { position: absolute; top: -14px; right: 22px; background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 7px 12px; border-radius: 10px; transform: rotate(3deg); }
.price-note { margin-top: 24px; text-align: center; color: var(--ink-muted); font-size: .95rem; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: var(--white); border-radius: 18px; padding: 0 24px; box-shadow: var(--shadow-soft); }
.faq-list summary { cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 500; font-size: 1.5rem; color: var(--ink-faint); line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-muted); }

/* ---------- Final CTA ---------- */
.cta-final { background: var(--lemon); overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.cta-inner h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-inner .lead { color: var(--ink); opacity: .78; margin-top: 16px; max-width: 480px; }
.cta-inner .btn-row { margin-top: 30px; }
.cta-art { position: relative; display: flex; justify-content: center; }
.cta-art img { width: min(100%, 440px); filter: drop-shadow(0 18px 24px rgba(62,65,82,.18)); }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } .cta-art { order: -1; } .cta-art img { width: min(80%, 360px); } }

/* ---------- Footer ---------- */
footer { padding: 48px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.foot-brand p { margin-top: 12px; color: var(--ink-muted); font-size: .95rem; max-width: 320px; }
.foot-col h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.foot-col ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.foot-col a { text-decoration: none; color: var(--ink); font-weight: 500; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--ink-faint); }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }

/* ---------- Document pages (privacy, terms) ---------- */
.doc-hero { padding: clamp(40px, 6vw, 72px) 0 24px; }
.doc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 14px; }
.doc-hero .meta { margin-top: 14px; color: var(--ink-faint); font-size: .95rem; }
.doc { padding: 24px 0 96px; }
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--nav-h) + 20px); font-size: .9rem; }
.doc-toc h4 { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 10px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.doc-toc a { text-decoration: none; color: var(--ink-muted); font-weight: 500; }
.doc-toc a:hover { color: var(--ink); }
.doc-body { max-width: 720px; }
.doc-body h2 { font-size: 1.6rem; margin-top: 44px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 1.12rem; margin-top: 26px; }
.doc-body p, .doc-body li { color: var(--ink-muted); }
.doc-body p { margin-top: 12px; }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body ul, .doc-body ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.doc-body a { color: var(--ink); text-decoration-color: var(--lemon); text-decoration-thickness: 2px; }
.tldr { background: var(--lemon-milk); border-radius: 18px; padding: 22px 24px; margin-top: 8px; }
.tldr h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.tldr h3 img { width: 30px; height: 30px; }
.tldr ul { margin-top: 12px; }
.tldr li { color: var(--ink); }
.plain { background: var(--white); border-left: 4px solid var(--lemon); border-radius: 12px; padding: 14px 18px; margin-top: 16px; font-size: .96rem; color: var(--ink); }
.plain b { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 4px; }
.doc-body table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .95rem; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); vertical-align: top; color: var(--ink-muted); }
.doc-body th { color: var(--ink); font-weight: 600; font-family: var(--font-head); font-size: .85rem; }
.table-scroll { overflow-x: auto; }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; } .doc-toc { position: static; } }

/* ---------- Features page ---------- */
.feature-rows { display: grid; gap: clamp(28px, 5vw, 64px); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-soft); scroll-margin-top: calc(var(--nav-h) + 16px); }
.frow:nth-child(even) .frow-art { order: -1; }
.frow h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 14px; }
.frow .lead { margin-top: 14px; font-size: 1.08rem; }
.frow ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.frow li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-muted); }
.frow li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.frow-art { display: flex; justify-content: center; align-items: center; min-height: 220px; background: var(--paper); border-radius: 22px; padding: 24px; position: relative; overflow: hidden; }
.frow-art img { max-height: 240px; width: auto; max-width: 100%; }
.frow-art.lemon { background: var(--lemon-milk); }
.frow-art .card { background: var(--white); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-soft); font-size: .88rem; width: min(100%, 320px); }
.frow-art .card + .card { margin-top: 10px; }
.frow-art .stack { display: grid; gap: 10px; width: min(100%, 320px); }
.frow-art .card b { font-family: var(--font-head); font-weight: 600; display: block; }
.frow-art .card .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.frow-art .chiprow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.frow-art .chip { background: var(--paper); border-radius: 8px; padding: 5px 9px; font-weight: 600; font-size: .78rem; }
.frow-art .chip.on { background: var(--lemon); }
.frow-art .chip.pink { background: var(--rose-milk); }
.frow-art .bar { height: 8px; border-radius: 4px; background: var(--cloud); margin-top: 8px; overflow: hidden; }
.frow-art .bar i { display: block; height: 100%; width: 62%; background: var(--lemon); border-radius: 4px; }
.frow-art .level { display: grid; gap: 8px; }
.frow-art .level span { display: flex; justify-content: space-between; align-items: center; background: var(--white); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-soft); width: 260px; }
.frow-art .level span i { font-style: normal; font-weight: 500; font-size: .78rem; color: var(--ink-faint); }
.frow-art .level span.on { outline: 2px solid var(--lemon); }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(100%, 300px); }
.themes i { display: block; aspect-ratio: 1; border-radius: 12px; border: 3px solid var(--white); box-shadow: var(--shadow-soft); }
.feature-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feature-index a { text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--white); padding: 8px 14px; border-radius: 10px; color: var(--ink); box-shadow: var(--shadow-soft); }
.feature-index a:hover { background: var(--lemon); }
@media (max-width: 820px) { .frow { grid-template-columns: 1fr; } .frow:nth-child(even) .frow-art { order: 0; } .frow-art { order: -1; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.float { animation: float 5s ease-in-out infinite; }
.float.slow { animation-duration: 7s; }
.float.fast { animation-duration: 3.8s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); } }
.bob { animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-4px) scaleY(1.015); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .bob { animation: none; }
  .ps-ring .prog { transition: none; }
}

/* skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--lemon); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
