/* ezSpanglish public website — 2026 redesign.
   Mobile-first. ~90% white / 10% green. Poppins (self-hosted, OFL).
   No framework: this one file styles every public page. */

/* ── Fonts ─────────────────────────────────────────────────────────── */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-extrabold.woff2") format("woff2"); }

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --green: #63c71e;          /* brand accent (never behind white text) */
  --green-600: #43a90e;
  --green-btn: #2f870a;      /* white text 4.6:1 */
  --green-btn-hover: #2a7a09;
  --green-text: #2e7d0a;     /* green text on white 5.2:1 */
  --green-soft: #f3f9ec;
  --green-tint: #e6f4d7;
  --ink: #16181d;
  --ink-2: #2b2f36;
  --muted: #5b6470;
  --line: #e7ebe4;
  --bg: #ffffff;
  --bg-2: #fafbf8;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, .05), 0 2px 8px rgba(22, 24, 29, .05);
  --shadow: 0 2px 6px rgba(22, 24, 29, .04), 0 18px 40px -18px rgba(22, 24, 29, .18);
  --shadow-phone: 0 30px 60px -28px rgba(22, 24, 29, .45), 0 10px 24px -12px rgba(22, 24, 29, .2);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: var(--green-btn-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.022em; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-tint); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ── Type helpers ──────────────────────────────────────────────────── */
.eyebrow { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); margin-bottom: 14px; }
.h-display { font-size: clamp(2.6rem, 8.6vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h-section { font-size: clamp(1.95rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.h-card { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: clamp(1.0625rem, 1.9vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.green-word { color: var(--green-text); position: relative; white-space: nowrap; }
.swoosh { position: relative; display: inline-block; }
.swoosh svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-btn); color: #fff; box-shadow: 0 10px 22px -12px rgba(47, 135, 10, .8); }
.btn--primary:hover { background: var(--green-btn-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); padding-inline: 8px; }
.btn--ghost:hover { color: var(--green-text); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost svg { transition: transform .2s ease; }
.btn--ghost:hover svg { transform: translateY(2px); }
.btn--small { min-height: 42px; padding: 0 18px; border-radius: 13px; font-size: .9375rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px;
  background: var(--ink); color: #fff; border-radius: 16px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 12px 24px -16px rgba(22, 24, 29, .8);
}
.store:hover { background: #000; color: #fff; transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: .6875rem; font-weight: 500; opacity: .85; letter-spacing: .01em; }
.store strong { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -18px rgba(22, 24, 29, .5); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--ink-2); font-weight: 500; font-size: .9688rem; text-decoration: none; }
.nav__link:hover { color: var(--green-text); background: var(--green-soft); }
.nav__link[aria-current="page"] { color: var(--green-text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 8px; border-radius: 9px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--ink); background: var(--green-soft); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 12px; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 4px; font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child a { border-bottom: 0; }
.mobile-menu li a:hover { color: var(--green-text); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 14px; padding: 8px 0 24px; }
.mobile-menu__foot .btn { width: 100%; }

@media (min-width: 900px) {
  .nav { display: block; }
  .menu-btn, .mobile-menu { display: none !important; }
  .header-cta { display: inline-flex; }
  .brand img { height: 34px; }
  .site-header__bar { height: 76px; }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.hero__copy { max-width: 620px; }
.hero__title { margin-bottom: 20px; }
.hero__title .line { display: block; }
.hero__sub { font-size: clamp(1.1875rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--ink); letter-spacing: -.015em; line-height: 1.35; }
.hero__body { margin-top: 12px; max-width: 520px; }
.hero__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero__note { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.hero__note svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__stage { position: relative; width: min(100%, 440px); padding-right: 42%; }
.hero__blob { position: absolute; z-index: 0; inset: 4% 0 0 -8%; border-radius: 50%; background: radial-gradient(closest-side, var(--green-tint), rgba(230, 244, 215, .55) 55%, rgba(255, 255, 255, 0) 72%); }
.hero .phone { position: relative; z-index: 1; width: 100%; }
/* Marco leans on the phone: his raised elbow meets its right edge. */
.hero__marco { position: absolute; z-index: 2; bottom: -1%; left: 55%; width: 44%; }
.hero__marco img { width: 100%; transform-origin: 20% 95%; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.12fr .88fr; }
  .hero__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px 24px; }
  .hero__stage { width: min(100%, 470px); }
}
@media (min-width: 1100px) { .hero__stage { width: min(100%, 500px); } }

/* ── Phone frame (real screenshots) ────────────────────────────────── */
.phone { position: relative; border-radius: 42px; padding: 9px; background: var(--ink); box-shadow: var(--shadow-phone); }
.phone__screen { border-radius: 34px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: auto; }
.phone--sm { border-radius: 32px; padding: 7px; }
.phone--sm .phone__screen { border-radius: 26px; }

/* ── Proof strip ───────────────────────────────────────────────────── */
.proof { border-block: 1px solid var(--line); }
.proof__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof__item { padding: 22px 8px 22px 0; }
.proof__item strong { display: block; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.proof__item span { display: block; margin-top: 4px; font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 760px) {
  .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof__item { padding: 30px 20px; border-bottom: 0 !important; }
  .proof__item + .proof__item { border-left: 1px solid var(--line); }
  .proof__item:first-child { padding-left: 0; }
}

/* ── Steps ─────────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.step { position: relative; display: grid; gap: 22px; padding: 26px 22px 0; border-radius: var(--radius-lg); background: var(--green-soft); overflow: hidden; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; background: #fff; color: var(--green-text); font-weight: 800; font-size: .9375rem; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.step h3 { font-size: 1.25rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--muted); font-size: .9844rem; }
.step__shot { align-self: end; justify-self: center; width: min(78%, 250px); margin-bottom: -58px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .step { padding: 30px 28px 0; min-height: 560px; grid-template-rows: auto 1fr; }
}

/* ── Variety ───────────────────────────────────────────────────────── */
.variety { position: relative; }
.variety__track {
  list-style: none; margin: 0; padding: 8px var(--gutter) 28px; display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.variety__track::-webkit-scrollbar { display: none; }
.vcard { flex: 0 0 auto; width: min(64vw, 236px); scroll-snap-align: start; }
.vcard .phone { width: 100%; }
.vcard h3 { margin-top: 18px; font-size: 1.0625rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.vcard h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.vcard p { margin-top: 4px; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.variety__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.variety__more { font-weight: 600; color: var(--ink-2); }
.variety__nav { display: flex; gap: 10px; }
.variety__nav button { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease, border-color .15s ease; }
.variety__nav button:hover { background: var(--green-soft); border-color: var(--green-tint); }
.variety__nav button:disabled { opacity: .35; cursor: default; background: #fff; }
.variety__nav svg { width: 20px; height: 20px; }
.variety__hint { font-size: .875rem; color: var(--muted); }
@media (min-width: 1100px) {
  .variety__track { padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  .vcard { width: 244px; }
  .variety__hint { display: none; }
}
@media (hover: hover) and (min-width: 900px) {
  .vcard .phone { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .vcard:hover .phone { transform: translateY(-6px) rotate(-.6deg); }
}

/* ── Meet Marco ──────────────────────────────────────────────────── */
.marco-pane { display: grid; gap: 36px; align-items: center; }
.marco-pane__art { position: relative; justify-self: center; width: min(62vw, 300px); isolation: isolate; }
.marco-pane__art::before { content: ""; position: absolute; z-index: -1; inset: 8% -10% 6% -10%; border-radius: 50%; background: radial-gradient(closest-side, var(--green-tint), rgba(230, 244, 215, 0)); }
.marco-pane__art::after { content: ""; position: absolute; z-index: -1; bottom: -10px; left: 14%; right: 14%; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 24, 29, .18), rgba(22, 24, 29, 0)); }
.marco-pane__art img { width: 100%; }
.cast__shot { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-top: 28px; }
.cast__shot .phone { width: 150px; }
.cast__shot p { font-weight: 600; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.4; max-width: 260px; }
@media (min-width: 900px) {
  .marco-pane { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .marco-pane__art { width: min(100%, 330px); }
  .cast__shot .phone { width: 165px; }
}

/* ── Meet the crew: a line-up; name under each; hover/focus/tap = green
      circle under their feet + their story. ─────────────────────────── */
.crew-section { padding-top: 0; }
.crew { --h: 168px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
.crew__member { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 20px; cursor: default; outline: none; }
.crew__member:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }
.crew__fig { position: relative; isolation: isolate; width: 100%; height: var(--h); display: flex; align-items: flex-end; justify-content: center; }
.crew__fig img { width: 100%; height: calc(100% * var(--s, 1)); object-fit: contain; object-position: 50% 100%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.crew__fig.is-cropped img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
/* resting shadow + the highlight circle (hidden until hover/focus/tap) */
.crew__fig::after { content: ""; position: absolute; z-index: -2; bottom: -8px; left: 14%; right: 14%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(22, 24, 29, .15), rgba(22, 24, 29, 0)); }
.crew__fig::before { content: ""; position: absolute; z-index: -1; bottom: -26px; left: 4%; right: 4%; aspect-ratio: 3.2 / 1; border-radius: 50%; transform: scale(.55); opacity: 0;
  background: radial-gradient(closest-side, rgba(99, 199, 30, .55), rgba(99, 199, 30, .22) 60%, rgba(99, 199, 30, 0)); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.crew__member:hover .crew__fig::before, .crew__member:focus-visible .crew__fig::before, .crew__member.is-open .crew__fig::before { opacity: 1; transform: scale(1); }
.crew__member:hover .crew__fig img, .crew__member:focus-visible .crew__fig img, .crew__member.is-open .crew__fig img { transform: translateY(-4px); }
.crew__name { margin-top: 16px; font-size: 1.0625rem; font-weight: 700; }
.crew__story { margin-top: 6px; font-size: .9063rem; line-height: 1.5; color: var(--muted); max-width: 260px; }
/* 7 characters: the last one sits alone in both the 2- and 3-column grids — centre it. */
.crew__member:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); --h: 190px; } }
/* Per-character scale so heads read the same size (Tina's photo is a close selfie). */
.crew--cat { --s: .92; } .crew--tina { --s: 1; }
/* Tina's photo is also cut at its right edge (her arm leaves the frame). */
.crew--tina .crew__fig img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to left, transparent 0, #000 7%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to left, transparent 0, #000 7%); mask-composite: intersect; }
.crew-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
/* Desktop: ONE line-up with exactly even gaps between the characters
   (each item is only as wide as its figure). */
@media (min-width: 1000px) {
  .crew { --h: clamp(128px, 12.6vw, 205px); display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-end; gap: clamp(28px, 3.4vw, 56px); }
  .crew__member { flex: 0 0 auto; }
  /* Names never widen a slot (a zero-width box centres the text), so the gaps
     between the FIGURES stay exactly equal. */
  .crew__name { width: 0; display: flex; justify-content: center; white-space: nowrap; }
  .crew__fig { width: auto; height: auto; }
  .crew__fig img { height: calc(var(--h) * var(--s, 1)); width: auto; max-width: none; object-fit: fill; }
}
@media (min-width: 1000px) and (hover: hover) {
  .crew__story { position: absolute; z-index: 5; top: calc(100% + 6px); left: 50%; width: 250px; max-width: none; margin: 0; padding: 14px 16px; text-align: left;
    background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
    opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .2s ease, transform .25s ease; }
  .crew__member:hover .crew__story, .crew__member:focus-visible .crew__story, .crew__member.is-open .crew__story { opacity: 1; transform: translate(-50%, 0); }
  .crew-section { padding-bottom: calc(var(--section) + 60px); }
  /* End cards open inward so they never run off the screen. */
  .crew__member:first-child .crew__story { left: 0; transform: translate(0, 8px); }
  .crew__member:last-child .crew__story { left: auto; right: 0; transform: translate(0, 8px); }
  .crew__member:first-child:hover .crew__story, .crew__member:first-child:focus-visible .crew__story, .crew__member:first-child.is-open .crew__story,
  .crew__member:last-child:hover .crew__story, .crew__member:last-child:focus-visible .crew__story, .crew__member:last-child.is-open .crew__story { transform: translate(0, 0); }
}

/* ── Culture ───────────────────────────────────────────────────────── */
.culture { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.culture__visual { position: relative; display: grid; justify-items: center; }
.culture__visual .phone { width: min(62vw, 270px); }
.culture__marco { position: absolute; left: -2%; bottom: -3%; width: 38%; max-width: 190px; }
.culture__solo { justify-self: center; width: min(66vw, 320px); }
.note-card { border: 2px solid var(--green); border-radius: 22px; padding: 20px 22px; background: #fff; box-shadow: var(--shadow-sm); }
.note-card + .note-card { margin-top: 14px; }
.note-card__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
.note-card__tag svg { width: 16px; height: 16px; }
.note-card h3 { margin-top: 8px; font-size: 1.125rem; font-weight: 700; }
.note-card p { margin-top: 6px; color: var(--ink-2); font-size: .9844rem; }
.culture__notes { margin-top: 28px; }
@media (min-width: 900px) {
  .culture { grid-template-columns: 1fr 1fr; }
  .culture__copy { order: 2; }
  .culture__visual { order: 1; }
  .culture__visual .phone { width: 290px; }
}

/* ── Motivation ────────────────────────────────────────────────────── */
.mot { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.mot__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.mot__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.mot__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--green-soft); color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; }
.mot__icon svg { width: 22px; height: 22px; }
.mot__item h3 { font-size: 1.0625rem; font-weight: 700; }
.mot__item p { margin-top: 2px; font-size: .9375rem; color: var(--muted); }
.mot__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; padding-bottom: 8px; }
.mot__visual .phone { width: min(46vw, 250px); }
.mot__visual .phone + .phone { margin-left: -12%; margin-bottom: 12%; }
.mot__marco { position: absolute; right: 0; bottom: -4%; width: 34%; max-width: 180px; z-index: 3; }
@media (min-width: 560px) { .mot__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .mot { grid-template-columns: 1fr 1fr; }
  .mot__visual .phone { width: 250px; }
}

/* ── Pricing ───────────────────────────────────────────────────────── */
.plans { display: grid; gap: 20px; align-items: stretch; }
.plan { position: relative; border-radius: var(--radius-lg); padding: 30px 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan--premium { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.375rem; font-weight: 800; }
.plan__desc { margin-top: 4px; color: var(--muted); }
.plan__price { margin-top: 18px; font-size: 2.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.plan__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.plan__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 500; color: var(--ink-2); }
.plan__list svg { width: 22px; height: 22px; color: var(--green-600); margin-top: 1px; }
.options { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.option--best { border-color: var(--green); background: var(--green-soft); }
.option__name { font-weight: 700; }
.option__price { font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; text-align: right; }
.option__per { font-size: .875rem; color: var(--muted); }
.option__save { justify-self: end; font-size: .75rem; font-weight: 700; color: var(--green-text); background: #fff; border: 1px solid var(--green-tint); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.plan .btn { margin-top: auto; }
.plan__cta { margin-top: 26px !important; }
.pricing__note { margin-top: 22px; font-size: .875rem; color: var(--muted); max-width: 760px; }
.referral { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px 22px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.referral__icon { width: 48px; height: 48px; border-radius: 16px; background: #fff; color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.referral__icon svg { width: 24px; height: 24px; }
.referral h3 { font-size: 1.0625rem; font-weight: 700; }
.referral p { font-size: .9375rem; color: var(--muted); margin-top: 2px; }
@media (min-width: 860px) {
  .plans { grid-template-columns: .8fr 1.2fr; }
  .plan { padding: 36px 34px; }
}

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-layout { display: grid; gap: 40px; }
.faq-aside { display: none; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-of-type { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 2px; cursor: pointer; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--green-text); }
.qa__icon { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--green-soft); color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.qa__icon svg { width: 16px; height: 16px; }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa__a { padding: 0 48px 22px 2px; color: var(--muted); }
.qa__a ul { margin: 10px 0 0; padding-left: 20px; }
.qa__a li + li { margin-top: 4px; }
.faq-cat { margin-top: 48px; }
.faq-cat:first-child { margin-top: 0; }
.faq-cat h2 { font-size: 1.375rem; font-weight: 800; margin-bottom: 12px; }
.faq-more { margin-top: 36px; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 1fr 2fr; gap: 72px; }
  .faq-aside { display: block; position: sticky; top: 110px; align-self: start; }
  .faq-aside img { width: 220px; margin-top: 28px; }
}

/* ── Final CTA ─────────────────────────────────────────────────────── */
.final { padding-block: clamp(40px, 6vw, 72px) var(--section); }
.final__card { position: relative; overflow: hidden; border-radius: 40px; background: var(--ink); color: #fff; padding: clamp(36px, 7vw, 72px) clamp(24px, 6vw, 72px) 0; display: grid; gap: 8px; }
.final__card::before { content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(99, 199, 30, .45), rgba(99, 199, 30, 0)); }
.final__copy { position: relative; z-index: 1; }
.final__card h2 { color: #fff; font-size: clamp(2.2rem, 6.4vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; }
.final__card p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 460px; }
.final__card .stores { margin-top: 28px; }
.final__card .store { background: #fff; color: var(--ink); }
.final__card .store:hover { background: var(--green-soft); color: var(--ink); }
.final__marco { position: relative; z-index: 1; justify-self: center; width: min(62%, 280px); margin-top: 24px; }
@media (min-width: 860px) {
  .final__card { grid-template-columns: 1.2fr .8fr; align-items: end; padding-bottom: 0; }
  .final__copy { padding-bottom: clamp(48px, 6vw, 72px); }
  .final__marco { width: 290px; justify-self: end; margin-top: 0; }
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: #fff; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand img { height: 44px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 320px; font-size: .9375rem; }
.footer__brand .stores { margin-top: 20px; }
.footer__brand .store { min-height: 48px; padding: 6px 16px 6px 12px; border-radius: 14px; }
.footer__brand .store svg { width: 22px; height: 22px; }
.footer__brand .store strong { font-size: .9375rem; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer__col h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: .9688rem; overflow-wrap: anywhere; word-break: break-word; }
.footer__col a:hover { color: var(--green-text); }
.footer__legal p + p { margin-top: 2px; font-size: .8125rem; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.3fr 2fr; gap: 64px; }
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Page hero (inner pages) ───────────────────────────────────────── */
.page-hero { padding-block: clamp(36px, 7vw, 88px) clamp(28px, 5vw, 56px); }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 6.8vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
.page-hero .lead { margin-top: 16px; max-width: 580px; }
.page-hero__art { justify-self: center; width: min(52vw, 260px); }
@media (min-width: 860px) {
  .page-hero__grid { grid-template-columns: 1.4fr .6fr; }
  .page-hero__art { justify-self: end; width: 260px; }
}

/* Blinking Marco (whole pre-made frames only — the app’s own blink frames) */
.blink { position: relative; display: block; }
.blink img { width: 100%; }
.blink img + img { position: absolute; inset: 0; opacity: 0; }
.blink[data-eye="half"] .f-half, .blink[data-eye="closed"] .f-closed { opacity: 1; }
.blink[data-eye="half"] .f-open, .blink[data-eye="closed"] .f-open { opacity: 0; }
.blink .f-open { position: relative; }

/* ── Features page rows ────────────────────────────────────────────── */
.frow { display: grid; gap: 36px; align-items: center; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.frow:first-child { border-top: 0; }
.frow__visual { display: flex; justify-content: center; }
.frow__visual .phone { width: min(64vw, 280px); }
.frow__copy { max-width: 520px; }
.frow__copy .lead { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.chips li { font-size: .875rem; font-weight: 600; padding: 7px 12px; border-radius: 12px; background: var(--green-soft); color: var(--green-text); }
@media (min-width: 900px) {
  .frow { grid-template-columns: 1fr 1fr; gap: 72px; }
  .frow:nth-child(even) .frow__visual { order: 2; }
  .frow__visual .phone { width: 290px; }
}

/* ── Support ───────────────────────────────────────────────────────── */
.help-cards { display: grid; gap: 14px; }
.help-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s ease, transform .15s ease; }
.help-card:hover { border-color: var(--green); color: var(--ink); transform: translateY(-1px); }
.help-card__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--green-soft); color: var(--green-text); display: inline-flex; align-items: center; justify-content: center; }
.help-card__icon svg { width: 24px; height: 24px; }
.help-card h2 { font-size: 1.0625rem; font-weight: 700; }
.help-card p { margin-top: 2px; font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }
.help-card > svg { width: 20px; height: 20px; color: var(--muted); }
@media (min-width: 900px) { .help-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.form-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 44px); }
.form-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #dfe4dc; background: #fff;
  font: 400 1rem/1.4 var(--font); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6470' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(99, 199, 30, .2); }
.captcha { min-height: 78px; max-width: 100%; overflow: hidden; }
.form-actions { margin-top: 8px; }
.form-actions .btn { width: 100%; }
@media (min-width: 700px) { .form-actions .btn { width: auto; min-width: 220px; } }
.flash { padding: 14px 18px; border-radius: 14px; font-weight: 500; margin-bottom: 20px; }
.flash--ok { background: #e7f7da; color: #22600a; }
.flash--err { background: #fdecec; color: #9b1c1c; }

/* ── Legal ─────────────────────────────────────────────────────────── */
.legal-wrap { max-width: 800px; }
.legal { padding-bottom: var(--section); color: var(--ink-2); }
.legal h1 { font-size: clamp(2rem, 5.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.legal h2 { font-size: 1.3125rem; font-weight: 700; margin: 40px 0 12px; }
.legal h3 { font-size: 1.0625rem; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 1.0156rem; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal ul ul { margin-top: 8px; }
.legal a { overflow-wrap: anywhere; }
.legal .legal__meta { color: var(--muted); font-weight: 600; font-size: .9375rem; }
.legal .legal__eula { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.legal-links a:hover { border-color: var(--green); color: var(--green-text); }
.delete-card { max-width: 520px; }

/* ── Reveal on scroll (only when JS is on and motion is allowed) ───── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-d1 { transition-delay: .08s; }
  .js .reveal-d2 { transition-delay: .16s; }
  .js .reveal-d3 { transition-delay: .24s; }
  .hero__marco img { animation: marco-lean 6s ease-in-out infinite; }
  @keyframes marco-lean { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.4deg) translateY(-2px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
