/* ============================================================
   Penny — marketing site styles
   Aesthetic: clean, flat, airy, light — closely inspired by
   invoko.ai. Centered hero, rating badge, floating product
   "ecosystem" tiles, hand-drawn pencil-sketch doodles, a coin
   mascot, minimal cards, lots of whitespace. Sage-leaf brand.
   Tokens mirror penny-app/constants/theme.ts
   ============================================================ */

:root {
  /* Brand palette */
  --sage: #6fa17c;
  --mint: #dceadd;
  --cream: #f6f2ea;
  --peach: #eeb892;
  --blush: #f0d4cc;
  --ink: #1d2a23;
  --muted: #7a857c;

  --primary: #2f9d6b;
  --primary-dark: #237a52;
  --primary-light: #c2e3d2;

  /* Surfaces — light & clean */
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --bg-warm: #f5f8f5;
  --surface: #ffffff;
  --border: #ebeeec;
  --border-strong: #dde2df;
  --logo-gap: #ffffff; /* color behind the header logo — the coin-gap stroke */

  /* Text */
  --text: #1d2a23;
  --text-2: #5a655d;
  --text-3: #98a29a;

  /* Effects — soft & subtle */
  --shadow-sm: 0 1px 3px rgba(29, 42, 35, 0.05);
  --shadow-md: 0 10px 30px rgba(29, 42, 35, 0.07);
  --shadow-lg: 0 30px 70px rgba(29, 42, 35, 0.13);
  --radius: 20px;
  --radius-lg: 28px;

  --maxw: 1140px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 11px 18px; font-size: .92rem; border-radius: 11px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(47, 157, 107, .28);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(47,157,107,.34); }
.btn--ghost {
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--primary-dark);
  margin-bottom: 16px;
}
.section-head { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -.03em;
  color: var(--ink);
}
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.1rem; }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
/* The mark's coin gaps are drawn with a stroke that must match the surface
   behind the header. Override --logo-gap on a dark nav (e.g. #0b0b0d). */
.brand__mark { display: block; flex-shrink: 0; }
.brand__mark circle { stroke: var(--logo-gap, #ffffff); stroke-width: 4; }
.brand__name { font-weight: 800; font-size: 1.3rem; color: #171717; letter-spacing: -.03em; }

/* ============================================================
   Header / Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a { color: var(--text-2); font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Language switcher (dropdown) ---------- */
.lang-switch { position: relative; margin-left: 6px; flex-shrink: 0; }
.lang-switch__trigger {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px;
  transition: color .15s, border-color .15s;
}
.lang-switch__trigger:hover { color: var(--ink); border-color: var(--border-strong); }
.lang-switch__chevron { width: 10px; height: 7px; flex-shrink: 0; transition: transform .2s ease; }
.lang-switch__chevron path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang-switch.is-open .lang-switch__trigger { color: var(--ink); border-color: var(--border-strong); }
.lang-switch.is-open .lang-switch__chevron { transform: rotate(180deg); }

.lang-switch__menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  min-width: 150px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px;
}
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__opt {
  display: block; width: 100%; text-align: left;
  padding: 9px 10px; font-size: .92rem; font-weight: 600; color: var(--text-2); border-radius: 8px;
  transition: background .15s, color .15s;
}
.lang-switch__opt:hover { background: var(--bg-soft); color: var(--ink); }
.lang-switch__opt.is-active { background: var(--primary-light); color: var(--primary-dark); }

/* ============================================================
   Hero — centered, invoko-style
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 76px) 0 clamp(40px, 6vw, 70px); }
.hero__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 50% -6%, rgba(220, 234, 221, .6), transparent 70%),
    radial-gradient(420px 360px at 88% 22%, rgba(238, 184, 146, .14), transparent 70%),
    radial-gradient(420px 360px at 10% 26%, rgba(240, 212, 204, .16), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* rating badge (invoko PH-badge slot) */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-weight: 600; font-size: .85rem;
  padding: 7px 16px 7px 13px; border-radius: 999px; margin-bottom: 28px;
  box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s;
}
.badge:hover { border-color: var(--primary-light); transform: translateY(-1px); }
.badge__stars { color: #e3a948; letter-spacing: 1px; }
.badge__text { color: var(--text-2); }

.hero__title {
  font-weight: 800; max-width: 20ch;
  font-size: clamp(2.7rem, 7vw, 5rem); line-height: 1.0; letter-spacing: -.045em; color: var(--ink);
}
.hero__title .accent { color: var(--primary); position: relative; white-space: nowrap; }

@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.1rem, 9.5vw, 5rem); }
  .hero__title .accent { white-space: normal; }
}
.squiggle {
  position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .34em;
  overflow: visible;
}
.squiggle path { fill: none; stroke: var(--peach); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

.hero__sub { margin-top: 24px; font-size: 1.22rem; color: var(--text-2); max-width: 580px; }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero__note {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 12px;
  color: var(--text-2); font-weight: 600; font-size: .95rem; position: relative;
}
.doodle-arrow { width: 46px; height: 30px; overflow: visible; flex-shrink: 0; }
.doodle-arrow path { fill: none; stroke: var(--text-3); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Showcase: phone + floating tiles + mascot ---------- */
.showcase {
  position: relative; z-index: 1;
  margin-top: clamp(34px, 5vw, 52px); padding-top: 54px;
  width: 100%; display: flex; justify-content: center;
}

.float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 11px 16px 11px 13px; border-radius: 16px; box-shadow: var(--shadow-md);
  font-weight: 700; font-size: 1.45rem; color: var(--ink);
  animation: bob 7s ease-in-out infinite;
}
.float i { font-style: normal; font-size: .9rem; font-weight: 600; color: var(--text-2); }
.float--1 { top: 8%;  left: 7%;  animation-delay: 0s;    }
.float--2 { top: 0;   left: 50%; animation-delay: .6s; }
.float--3 { top: 8%;  right: 8%; animation-delay: 1.2s; }
.float--4 { top: 46%; left: 2%;  animation-delay: 1.8s; }
.float--5 { top: 42%; right: 3%; animation-delay: 1.0s; }
.float--6 { top: 76%; right: 12%; animation-delay: .3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
/* float--2 sits centered in the padding band above the phone */
.float--2 { animation-name: bobx; }
@keyframes bobx { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -12px); } }

.mascot {
  position: absolute; bottom: -6px; left: 8%; z-index: 3; width: 150px; height: auto;
  animation: float-soft 6s ease-in-out infinite;
}
@keyframes float-soft { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; z-index: 2; width: 300px; height: 610px;
  background: #11211a; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 130px; height: 26px; background: #11211a; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { width: 100%; height: 100%; background: var(--bg-warm); border-radius: 36px; overflow: hidden; }
.phone__add {
  position: absolute; right: -14px; bottom: 88px; z-index: 4;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary);
  font-size: 0; /* hide the text "+"; drawn geometrically below */
  box-shadow: 0 12px 28px rgba(47,157,107,.45);
  animation: bob 6s ease-in-out infinite reverse;
}
/* perfectly centered plus, drawn as two bars (no font-metric drift) */
.phone__add::before,
.phone__add::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: #fff; border-radius: 2px;
}
.phone__add::before { width: 22px; height: 3px; transform: translate(-50%, -50%); }
.phone__add::after  { width: 3px; height: 22px; transform: translate(-50%, -50%); }

/* in-phone app UI */
.app { padding: 40px 18px 18px; height: 100%; font-size: 13px; }
.app__top { display: flex; justify-content: space-between; align-items: flex-start; }
.app__hello { font-weight: 700; font-size: 1rem; color: var(--ink); }
.app__date { color: var(--text-3); font-size: .78rem; margin-top: 2px; }
.app__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--primary-dark); display: grid; place-items: center; font-weight: 700; }
.app__budget { margin-top: 18px; background: var(--ink); border-radius: 22px; padding: 18px; color: #fff; }
.app__budget-label { font-size: .76rem; opacity: .8; }
.app__budget-amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 2px; }
.app__budget-amount span { font-size: 1.3rem; opacity: .7; }
.app__bar { height: 7px; background: rgba(255,255,255,.18); border-radius: 99px; margin: 12px 0 8px; overflow: hidden; }
.app__bar span { display: block; height: 100%; background: var(--primary-light); border-radius: 99px; }
.app__budget-foot { font-size: .76rem; opacity: .8; }
.app__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; }
.stat__label { font-size: .72rem; color: var(--text-3); }
.stat__value { font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-top: 3px; }
.app__section { margin: 16px 4px 8px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); }
.app__list { display: flex; flex-direction: column; gap: 8px; }
.tx { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 9px 11px; }
.tx__icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; background: var(--bg-warm); flex-shrink: 0; }
.tx__icon--in { background: var(--mint); color: var(--primary-dark); font-weight: 700; }
.tx__body { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.tx__body b { font-size: .85rem; color: var(--ink); }
.tx__body em { font-style: normal; font-size: .72rem; color: var(--text-3); }
.tx__amt { font-weight: 700; font-size: .85rem; color: var(--ink); }
.tx__amt--in { color: var(--primary); }

/* ============================================================
   Trust strip
   ============================================================ */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.strip__inner { padding: 30px 24px; text-align: center; }
.strip p { font-size: 1.08rem; color: var(--text-2); max-width: 760px; margin: 0 auto; }
.strip strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   Features
   ============================================================ */
.features { padding: clamp(72px, 10vw, 120px) 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card--wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; background: var(--bg-soft); }
.card__icon { width: 54px; height: 54px; border-radius: 15px; background: var(--mint); display: grid; place-items: center; font-size: 27px; margin-bottom: 20px; }
.card--wide .card__icon { background: var(--surface); border: 1px solid var(--border); }
.card h3 { font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; color: var(--ink); margin-bottom: 9px; }
.card p { color: var(--text-2); font-size: .98rem; }

/* ============================================================
   How it works — with hand-drawn sketches
   ============================================================ */
.how { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 30px 34px; }
.sketch { width: 96px; height: 72px; margin-bottom: 8px; }
.sketch * { fill: none; stroke: var(--sage); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.step__num { position: absolute; top: 26px; right: 28px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--mint); color: var(--primary-dark); font-weight: 800; font-size: 1.1rem; }
.step h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; color: var(--ink); margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: .98rem; }

/* ============================================================
   Coach highlight
   ============================================================ */
.coach { padding: clamp(72px, 10vw, 120px) 0; }
.coach__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.coach__copy { max-width: 460px; }
.coach__copy h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.08; color: var(--ink); letter-spacing: -.03em; }
.coach__copy p { margin: 18px 0 28px; color: var(--text-2); font-size: 1.1rem; }
.coach__chat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bubble { padding: 14px 18px; border-radius: 18px; font-size: .96rem; max-width: 86%; line-height: 1.5; }
.bubble--user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 5px; }
.bubble--ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.bubble--ai b { color: var(--primary-dark); }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { padding: clamp(64px, 9vw, 110px) 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.quote__stars { color: #e3a948; letter-spacing: 2px; font-size: .95rem; }
.quote blockquote { font-size: 1.05rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--primary-dark); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.quote figcaption b { color: var(--ink); font-size: .95rem; }
.quote figcaption em { font-style: normal; color: var(--text-3); font-size: .85rem; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { padding: clamp(72px, 10vw, 120px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 30px; display: flex; flex-direction: column; }
.plan--featured { border: 1.5px solid var(--primary); box-shadow: var(--shadow-md); position: relative; }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan__name { font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.plan__price { font-weight: 800; font-size: 2.7rem; letter-spacing: -.03em; color: var(--ink); margin: 12px 0 2px; }
.plan__price span { font-size: .9rem; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.plan__price-year { color: var(--text-3); font-size: .9rem; font-weight: 600; margin: 0 0 10px; }
.plan__tag { color: var(--text-2); font-size: .95rem; margin-bottom: 24px; }
.plan__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; color: var(--text); font-size: .96rem; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--primary); font-weight: 800; }
.pricing__note { text-align: center; margin-top: 28px; color: var(--text-3); font-size: .9rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(72px, 10vw, 120px) 0; background: var(--bg-soft); border-top: 1px solid var(--border); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4px 24px; transition: border-color .2s; }
.qa[open] { border-color: var(--border-strong); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.55rem; font-weight: 400; color: var(--primary); transition: transform .2s; line-height: 1; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 22px; color: var(--text-2); font-size: .98rem; }

/* ============================================================
   Download CTA
   ============================================================ */
.cta { padding: clamp(64px, 9vw, 110px) 0; }
.cta__inner {
  background: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(48px, 8vw, 84px) 24px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
.cta__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 320px at 78% -10%, rgba(47,157,107,.45), transparent 70%), radial-gradient(440px 300px at 12% 120%, rgba(238,184,146,.22), transparent 70%); pointer-events: none; }
.cta h2 { position: relative; font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -.03em; }
.cta p { position: relative; margin: 16px auto 0; font-size: 1.16rem; color: #c9d6cd; max-width: 480px; }
.cta__buttons { position: relative; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: row; align-items: center; gap: 11px; background: #fff; color: var(--ink); padding: 10px 20px; border-radius: 14px; transition: transform .18s, box-shadow .18s; }
.store:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.store__logo { width: 26px; height: 26px; flex-shrink: 0; }
.store__text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store__sub { font-size: .68rem; color: var(--text-2); letter-spacing: .01em; }
.store__name { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__brand p { margin-top: 12px; color: var(--text-3); font-size: .95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--text-2); font-size: .95rem; padding: 5px 0; transition: color .15s; }
.footer__cols a:hover { color: var(--primary-dark); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__bottom p { color: var(--text-3); font-size: .9rem; }

/* ============================================================
   Scroll-reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .float--4 { left: 0; }
  .float--5 { right: 0; }
  .float--1 { left: 2%; }
  .float--3 { right: 2%; }
  .mascot { left: 2%; width: 128px; }
}

@media (max-width: 880px) {
  /* hide floating tiles + mascot — keep a clean centered phone */
  .float, .mascot { display: none; }
  .coach__inner { grid-template-columns: 1fr; gap: 40px; }
  .coach__copy { max-width: none; text-align: center; }
  .faq__inner { grid-template-columns: 1fr; gap: 28px; }
  .grid, .quotes__grid { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-menu-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px; box-shadow: var(--shadow-md);
  }
  .nav.is-menu-open .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--border); }

  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
  .phone { width: 270px; height: 552px; }
  .lang-switch { margin-left: 2px; }
  .lang-switch__trigger { padding: 7px 9px; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Contact page
   ============================================================ */
.contact { padding: clamp(48px, 8vw, 96px) 0; }
.contact__inner { max-width: 640px; margin: 0 auto; }
.contact .section-head { margin-bottom: 40px; }

.contact__form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink); }
.field__opt { font-weight: 500; color: var(--text-3); }
.field input,
.field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input:focus,
.field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 157, 107, .16);
}

.contact__form .btn { align-self: flex-start; }
.contact__form.is-sending .btn { opacity: .7; pointer-events: none; }

.contact__status { margin: 4px 0 0; font-size: .95rem; font-weight: 600; min-height: 1.2em; }
.contact__status.is-ok { color: var(--primary-dark); }
.contact__status.is-error { color: #c0392b; }

@media (max-width: 540px) {
  .contact__form .btn { align-self: stretch; width: 100%; }
}

/* ===== Legal pages (Privacy / Terms) ===== */
.legal { padding: 120px 0 80px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal__updated { color: var(--text-3); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text-2); line-height: 1.7; font-size: 15.5px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { margin: 0 0 8px; }
.legal a:not(.btn) { color: var(--primary); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal__note { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin: 0 0 32px; font-size: 14px; }
.legal__toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin: 0 0 36px; }
.legal__toc ol { margin: 8px 0 0; padding-left: 20px; }
.legal__toc a { text-decoration: none; }

/* About page extras (reuses .legal base) */
.legal .eyebrow { display: inline-block; margin-bottom: 12px; }
.legal__lead { font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 0 0 8px; }
.legal__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
