/* ==========================================================================
   TapReview: styles (light "porcelain + ink" theme)
   0. Fonts  1. Tokens  2. Base  3. Buttons  4. Header + menu  5. Hero + 3D card
   6. Sections  7. How it works  8. Demo (dark band)  9. Results  10. Benefits + who
   11. Pricing + extras + delivery  12. FAQ  13. Contact  14. Logo strip  15. Footer
   16. Legal pages  17. Motion  18. Responsive  19. Lite + reduced motion
   Also used by the "link not active" page of the NFC redirect (private/src/RedirectEngine.php):
   keep --border, --border-strong, --muted, .btn, .btn-light and .fine.
   ========================================================================== */

/* 0. FONTS (self-hosted, fonts/README.txt) ------------------------------- */
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/commissioner-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/commissioner-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/serif-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Noto Serif Display"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/serif-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(fonts/serif-italic-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Noto Serif Display"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(fonts/serif-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. TOKENS ---------------------------------------------------------------- */
/* Two themes. DARK is the default (also for pages with no script, like the NFC "link not active" page).
   LIGHT applies when the visitor picks it: <html data-theme="light"> (set before first paint by the snippet in <head>). */
:root {
  color-scheme: dark;

  /* Surfaces */
  --paper: #060b1d;              /* page */
  --paper-2: #0a1128;            /* tinted sections */
  --surface: #0f1834;            /* cards */
  --band: #0d1638;               /* the two feature bands (demo, contact) and the featured price */
  --band-2: #16224a;             /* raised surfaces on a band */
  --band-line: rgba(143, 176, 255, .16);
  --ink: #0b1535;                /* brand navy (the logo): fixed in both themes, e.g. text on the gold ribbon */

  /* Text + lines */
  --text: #edf1fa;
  --text-2: #d3dbee;             /* long text on legal pages */
  --muted: #a3afc9;              /* 8.6:1 on --paper */
  --line: #1c2646;
  --line-strong: #2d3a62;
  --border: var(--line);         /* names kept for the redirect page */
  --border-strong: var(--line-strong);
  --fill: #edf1fa;               /* solid chips: pressed language, "every business", name bubble */
  --on-fill: #0b1535;

  /* Action + meaning */
  --blue: #2f63ee;               /* filled buttons: white text on top is 4.9:1 */
  --blue-hover: #4273f5;
  --blue-soft: rgba(79, 124, 255, .16);
  --blue-soft-text: #b4c8ff;
  --link: #8fb0ff;               /* links and line icons: 8:1 on --paper */
  --focus: #8fb0ff;
  --gold: #f4b400;               /* stars only */
  --ok: #6ee7b7;
  --ok-bg: rgba(110, 231, 183, .12);
  --ok-line: rgba(110, 231, 183, .5);
  --todo-bg: rgba(244, 180, 0, .16);
  --todo-text: #ffd66b;

  /* On the bands (same in both themes) */
  --d-text: #eef2fa;
  --d-muted: #a9b5cf;
  --d-line: rgba(255, 255, 255, .13);
  --d-blue: #8fb0ff;

  /* Theme-specific effects */
  --header-bg: rgba(6, 11, 29, .78);
  --header-bg-solid: rgba(6, 11, 29, .97);
  --toast-bg: rgba(19, 30, 64, .9);
  --toast-line: rgba(143, 176, 255, .22);
  --glow-1: rgba(47, 99, 238, .30);
  --glow-2: rgba(47, 99, 238, .10);
  --floor: rgba(0, 0, 0, .95);
  --quote-line: var(--line);
  --featured-bg: linear-gradient(180deg, rgba(47, 99, 238, .24), rgba(47, 99, 238, 0) 55%), #0d1638;
  --featured-shadow: 0 0 0 1px rgba(143, 176, 255, .45), 0 24px 70px rgba(47, 99, 238, .25);
  --logo-ring: 0 0 0 1px rgba(143, 176, 255, .28), 0 4px 14px rgba(0, 0, 0, .5);
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  --shadow-l: 0 30px 80px rgba(0, 0, 0, .55);
  --card-contact: 0 1px 2px rgba(0, 0, 0, .6), 0 6px 14px rgba(0, 0, 0, .35), 0 18px 36px rgba(0, 0, 0, .3);
  --card-shadow: .7;             /* base opacity of the moving floor shadow */

  /* Type */
  --serif: "Noto Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape: bigger things get rounder corners */
  --r-s: 10px;
  --r: 18px;
  --r-l: 28px;
  --r-xl: clamp(24px, 3vw, 40px);

  /* Space + layout */
  --gutter: clamp(16px, 4vw, 32px);
  --space: clamp(72px, 10vw, 136px);
  --header-h: 76px;

  /* Motion: one rhythm for the whole site */
  --ease: cubic-bezier(.16, 1, .3, 1);          /* arriving */
  --ease-io: cubic-bezier(.65, 0, .35, 1);      /* moving from A to B */
  --t-fast: .16s;
  --t: .3s;
  --t-slow: .9s;

  /* ---- 3D hero card tweakables (see also CARD3D in script.js) ---- */
  --card-radius: 6.6% / 6.5%;    /* matches the rounded corners of card-hero.jpg */
  --card-perspective: 1100px;
  --card-glare: .3;              /* glare intensity, 0 to 1 */
  --card-edge: #e6ebf4;          /* colour of the card's thickness */
  --card-layer: -1.5px;          /* spacing between the 16 thickness layers (24px total) */
  --stack-x: 9%;                 /* how far the back card peeks out to the right */
  --stack-y: -7%;                /* ...and upward */
  --stack-rot: 5deg;             /* ...and how much it is fanned out */
  --stack-z: -34px;              /* depth gap between the two cards */
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f3f5f9;
  --paper-2: #e9eef5;
  --surface: #ffffff;
  --band: #0b1535;
  --band-2: #16224a;
  --band-line: transparent;
  --text: #0b1535;
  --text-2: #2b3654;
  --muted: #505c78;              /* 6.4:1 on --paper */
  --line: #d7dee9;
  --line-strong: #b8c3d5;
  --fill: #0b1535;
  --on-fill: #ffffff;
  --blue: #1b4fd8;               /* white text on top is 6.5:1 */
  --blue-hover: #1641b5;
  --blue-soft: #e3ebfd;
  --blue-soft-text: #173fa8;
  --link: #1b4fd8;
  --focus: #1b4fd8;
  --ok: #0f7a55;
  --ok-bg: #e3f4ec;
  --ok-line: #9fd6bd;
  --todo-bg: #fff4d6;
  --todo-text: #6b4d00;
  --header-bg: rgba(243, 245, 249, .86);
  --header-bg-solid: rgba(243, 245, 249, .97);
  --toast-bg: rgba(255, 255, 255, .94);
  --toast-line: rgba(11, 21, 53, .06);
  --glow-1: rgba(27, 79, 216, .13);
  --glow-2: rgba(27, 79, 216, .05);
  --floor: rgba(11, 21, 53, .9);
  --quote-line: rgba(11, 21, 53, .05);
  --featured-bg: #0b1535;
  --featured-shadow: 0 30px 80px rgba(11, 21, 53, .16);
  --logo-ring: 0 0 0 1px rgba(11, 21, 53, .08), 0 4px 12px rgba(11, 21, 53, .16);
  --shadow-s: 0 1px 2px rgba(11, 21, 53, .06), 0 2px 8px rgba(11, 21, 53, .04);
  --shadow: 0 2px 4px rgba(11, 21, 53, .04), 0 12px 32px rgba(11, 21, 53, .08);
  --shadow-l: 0 30px 80px rgba(11, 21, 53, .16);
  --card-contact: 0 1px 2px rgba(11, 21, 53, .35), 0 6px 14px rgba(11, 21, 53, .18), 0 18px 36px rgba(11, 21, 53, .14);
  --card-shadow: .42;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the script hides empty blocks with the hidden attribute */
html {
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper);
}
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: var(--fill); color: var(--on-fill); }
img, svg { max-width: 100%; display: block; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.005em; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.fine { font-size: .9rem; line-height: 1.55; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .price-card.featured :focus-visible { outline-color: var(--d-blue); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--fill); color: var(--on-fill);
  padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--link);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: text-underline-offset var(--t) var(--ease), color var(--t-fast);
}
.text-link:hover { text-underline-offset: 7px; }

.badge {
  display: inline-block; vertical-align: 2px; font-style: normal; font-size: .75rem; font-weight: 600; line-height: 1.2;
  padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-soft-text);
}

/* 3. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  background: var(--fill); color: var(--on-fill); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn svg .fill { fill: currentColor; stroke: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(27, 79, 216, .3), 0 8px 22px rgba(27, 79, 216, .22); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 1px 2px rgba(27, 79, 216, .3), 0 12px 28px rgba(27, 79, 216, .3); }
.btn-quiet { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--text); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--ink); }
.btn-small { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn-large { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn.copied, .btn.copied:hover { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: default; }

/* 4. HEADER + MENU --------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.header.is-scrolled {
  background: var(--header-bg); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.3rem/1 var(--sans); letter-spacing: -0.02em; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--logo-ring); }

.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav-links a { position: relative; padding: 6px 0; text-decoration: none; font-size: .98rem; font-weight: 500; color: var(--muted); transition: color var(--t-fast); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button {
  min-width: 40px; min-height: 34px; border: 0; background: transparent; color: var(--muted); font: 600 .82rem var(--sans);
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: background var(--t-fast), color var(--t-fast);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--fill); color: var(--on-fill); }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.theme-toggle:hover { border-color: var(--text); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: theme-icon .4s var(--ease); }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }
@keyframes theme-icon { from { opacity: 0; transform: rotate(-60deg) scale(.6); } }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--text); border-radius: 2px;
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* 5. HERO + 3D CARD -------------------------------------------------------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); overflow: clip; }
.hero::before {                /* soft daylight behind the card */
  content: ""; position: absolute; right: -10%; top: -5%; width: min(1000px, 90vw); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-1), var(--glow-2) 55%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 4.9vw, 4.4rem); line-height: 1.04; letter-spacing: -0.022em; max-width: 13em; }
.hero .lead { margin-top: clamp(20px, 2.4vw, 28px); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: .95rem; color: var(--muted); }
.hero-notes li { display: flex; align-items: center; gap: 9px; }
.hero-notes svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Interactive 3D card. Structure (all animated by script.js, transform + opacity only):
   .card3d          perspective stage, reserves the layout space (no layout shift)
     .card3d-shadow moving floor shadow under the card
     .card3d-body   the tilting card (preserve-3d)
       .card3d-edge x16 stacked layers behind the face = visible thickness
       img.hero-card    the card face
       .card3d-glare    glossy light sweep that follows the pointer
     .tap-rings / .tap-toast  the hero moment (section 17)                      */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; padding-top: 34px; }
.card3d {
  position: relative; width: 100%; max-width: 430px; aspect-ratio: 1000 / 1010;
  perspective: var(--card-perspective); touch-action: pan-y;
}
.card3d-shadow {
  position: absolute; left: 8%; right: 8%; bottom: -9%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--floor), transparent);
  filter: blur(16px); opacity: var(--card-shadow); will-change: transform, opacity; pointer-events: none;
}
.card3d-body { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.card-unit { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.card-unit.is-front { transform: translate3d(0, 0, 0) rotate(0deg); }
.card-unit.is-back { transform: translate3d(var(--stack-x), var(--stack-y), var(--stack-z)) rotate(var(--stack-rot)); }
.unit-black { --card-radius: 6% / 6%; }
.unit-black .card3d-edge { background: linear-gradient(135deg, #4a5160, #262b35 50%, #0e1117); filter: brightness(calc(1.12 - var(--i) * .02)); }
.unit-black .card3d-glare { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .22); }
.card3d-edge {
  position: absolute; inset: 0; border-radius: var(--card-radius);
  background: linear-gradient(135deg, #fbfcff, var(--card-edge) 50%, #cfd8e8);
  transform: translateZ(calc(var(--i) * var(--card-layer)));
  filter: brightness(calc(1.02 - var(--i) * .012));
}
.hero-card {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--card-radius); user-select: none; -webkit-user-drag: none;
  box-shadow: 0 0 0 1px rgba(11, 21, 53, .12);
}
.card3d-edge:nth-of-type(16) { box-shadow: var(--card-contact); }
.card3d-glare {
  position: absolute; inset: 0; border-radius: var(--card-radius); overflow: hidden; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.card3d-glare i {
  position: absolute; left: -50%; top: -50%; width: 200%; height: 200%; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, .25) 35%, rgba(255, 255, 255, 0) 70%);
}

/* colour switch, under the card */
.card-swap {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 18px 8px 10px; border-radius: 999px; cursor: pointer;
  font: 600 .95rem var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.card-swap:hover { border-color: var(--text); }
.card-swap:active { transform: scale(.97); }
.card-swap[disabled] { cursor: default; }
.swatches { position: relative; display: flex; }
.swatches i { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); transition: transform var(--t) var(--ease); }
.swatches .sw-white { background: linear-gradient(180deg, #1a5fe0 0 48%, #fff 52%); position: relative; z-index: 1; }
.swatches .sw-black { background: #111; margin-left: -6px; }
.card-swap.flipped .sw-white { transform: translateX(18px); z-index: 0; }
.card-swap.flipped .sw-black { transform: translateX(-18px); position: relative; z-index: 1; }

/* the "new review" notification and the NFC pulse (played by section 17 / script.js section 10) */
.tap-rings { position: absolute; left: 24%; top: 76%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.tap-rings i { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
.tap-toast {
  position: absolute; z-index: 3; left: -14%; top: -6%; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--toast-bg); color: var(--text);
  box-shadow: var(--shadow-l); border: 1px solid var(--toast-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none;
}
.tap-toast img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.tt-text { display: grid; gap: 3px; line-height: 1.1; }
.tt-text b { font-size: .92rem; font-weight: 600; }
.tt-stars { display: flex; gap: 2px; }
.tt-stars i {
  width: 15px; height: 15px; background: var(--gold);
  clip-path: polygon(50% 0, 61.8% 35.4%, 100% 38.2%, 69.1% 61.8%, 80.9% 100%, 50% 76.4%, 19.1% 100%, 30.9% 61.8%, 0 38.2%, 38.2% 35.4%);
}
.tap-toast small { align-self: flex-start; margin-left: 4px; font-size: .75rem; color: var(--muted); }

/* 6. SECTIONS -------------------------------------------------------------- */
.section { position: relative; padding: var(--space) 0; }
.section.tint { background: var(--paper-2); }
.section-head { max-width: 720px; margin: 0 0 clamp(40px, 5vw, 64px); }
.section-head h2, .split-head h2, .demo-copy h2, .contact-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.note { max-width: 44em; margin-top: 44px; color: var(--muted); padding-left: 18px; border-left: 2px solid var(--blue); }

.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 32px); }
.split-head p { margin-top: 18px; color: var(--muted); max-width: 26em; }

/* dark band: an inset slab of ink */
.band {
  margin: 0 clamp(8px, 1.4vw, 20px); border-radius: var(--r-xl); background: var(--band); color: var(--d-text); overflow: hidden; box-shadow: inset 0 0 0 1px var(--band-line);
  background-image: radial-gradient(900px 500px at 85% 20%, rgba(27, 79, 216, .35), transparent 70%);
}
.band .fine, .band .lead, .band p { color: var(--d-muted); }

/* 7. HOW IT WORKS ---------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps::before {                 /* the line that joins the three steps; drawn when the list scrolls into view */
  content: ""; position: absolute; left: 0; right: 0; top: 39px; height: 1.5px; background: var(--line-strong);
  transform-origin: left; transform: scaleX(1);
}
.step { position: relative; }
.step-num {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line-strong); font: 500 2.2rem/1 var(--serif); color: var(--text);
}
.step-icon { position: absolute; left: 58px; top: 44px; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin-top: 30px; font-size: 1.3rem; }
.step p { margin-top: 10px; color: var(--muted); max-width: 22em; }

/* 8. DEMO (dark band) ------------------------------------------------------ */
.demo-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.demo-copy p { margin-top: 18px; font-size: 1.1rem; max-width: 26em; }
.demo-copy .fine { margin-top: 28px; font-size: .88rem; }
.demo {
  --pw: 200px; --ph: 404px;
  position: relative; width: 100%; max-width: 640px; height: 470px; margin-left: auto;
}
.demo-card { position: absolute; left: 2%; top: 50%; width: 52%; transform: translateY(-50%) rotate(-3deg); }
.demo-card img { width: 100%; height: auto; aspect-ratio: 1000 / 1010; border-radius: var(--card-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }

.waves { position: absolute; left: 20%; top: 73%; width: 0; height: 0; }
.waves i { position: absolute; left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.demo[data-state="tap"] .waves i { animation: pulse 1.1s ease-out infinite; }
.demo[data-state="tap"] .waves i:nth-child(2) { animation-delay: .25s; }
.demo[data-state="tap"] .waves i:nth-child(3) { animation-delay: .5s; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(2.2); opacity: 0; } }

.phone {
  position: absolute; right: 4%; top: 50%; width: var(--pw); height: var(--ph); margin-top: calc(var(--ph) / -2);
  background: #050915; border-radius: 32px; padding: 8px;
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .9s var(--ease-io); transform: translate(0, 0) rotate(6deg);
}
.demo[data-state="approach"] .phone,
.demo[data-state="tap"] .phone { transform: translate(var(--dx, -200px), var(--dy, 0)) rotate(-4deg); }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 50px; height: 9px; margin-left: -25px; background: #050915; border-radius: 8px; z-index: 2; }
.phone-screen { position: relative; width: 100%; height: 100%; background: #fff; border-radius: 25px; overflow: hidden; color: #0b1220; }

.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px 14px 14px; gap: 10px; opacity: 0; transition: opacity .4s; pointer-events: none;
}
.band .screen p { font-size: .8rem; line-height: 1.4; color: #4a5568; }
.demo[data-state="idle"] .screen-idle, .demo[data-state="approach"] .screen-idle, .demo[data-state="tap"] .screen-idle { opacity: 1; }
.demo[data-state="review"] .screen-review { opacity: 1; }
.demo[data-state="thanks"] .screen-thanks { opacity: 1; }
.screen-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); }
.screen-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; }

/* Review form replica (sizes in em so it scales with the phone) */
.screen-review {
  padding: 0; gap: 0; align-items: stretch; justify-content: flex-start; text-align: left;
  font-family: Roboto, var(--sans); font-size: calc(var(--pw) * .057); color: #202124;
}
.gr-bar { display: flex; align-items: center; padding: 2.5em .9em .5em; }
.gr-back { width: 1.5em; height: 1.5em; fill: #202124; flex: none; }
.gr-title { flex: 1; text-align: center; font-size: 1.2em; font-weight: 500; margin-right: 1.5em; letter-spacing: -.01em; }
.gr-user { display: flex; align-items: center; gap: .8em; padding: .9em 1em .3em; }
.gr-avatar { position: relative; width: 2.7em; height: 2.7em; border-radius: 50%; background: #c3c7cc; flex: none; overflow: hidden; }
.gr-avatar svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.gr-userinfo { flex: 1; min-width: 0; line-height: 1.25; }
.gr-userinfo b { display: block; font-weight: 500; font-size: 1.05em; }
.gr-userinfo small { display: block; color: #5f6368; font-size: .78em; line-height: 1.3; }
.gr-info { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: #5f6368; stroke-width: 1.6; stroke-linecap: round; }
.screen-stars { display: flex; justify-content: center; gap: .55em; margin: .8em 0 1em; }
.screen-stars svg { width: 2.15em; height: 2.15em; fill: #dadce0; transition: fill .25s, transform .25s var(--ease); }
.screen-stars svg.on { fill: var(--gold); transform: scale(1.12); }
.gr-field { margin: 0 .9em; min-height: 6em; border: 1px solid #80868b; border-radius: .6em; padding: .7em .8em; font-size: .86em; line-height: 1.45; color: #202124; }
.gr-placeholder { color: #5f6368; }
.gr-field.typing .gr-placeholder { display: none; }
.gr-typed::after { content: ""; display: inline-block; width: 1px; height: 1.1em; background: #1a73e8; margin-left: 1px; vertical-align: -.15em; opacity: 0; }
.gr-field.typing .gr-typed::after { opacity: 1; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.gr-photos { display: flex; align-items: center; justify-content: center; gap: .6em; margin: .8em .9em 0; padding: .85em; background: #eaf1fd; border-radius: 999px; font-size: .86em; font-weight: 500; color: #202124; }
.gr-photos svg { width: 1.5em; height: 1.5em; fill: #1a73e8; }
.gr-photos .hole { fill: #eaf1fd; }
.gr-photos .plus { stroke: #1a73e8; stroke-width: 2; stroke-linecap: round; fill: none; }
.gr-post { margin: auto .9em 1em; padding: .85em; text-align: center; border-radius: 999px; background: #1a73e8; color: #fff; font-size: .95em; font-weight: 500; transition: transform .15s, background .15s; }
.gr-post.pressed { transform: scale(.96); background: #1557b0; }
.check { width: 56px; height: 56px; border-radius: 50%; background: #e7f7ee; display: flex; align-items: center; justify-content: center; }
.check svg { width: 28px; height: 28px; fill: none; stroke: #16a34a; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.band .screen-thanks p { font-weight: 600; color: #0b1220; }

/* 9. RESULTS --------------------------------------------------------------- */
#results { padding-top: calc(var(--space) * .9); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: var(--space); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 500 clamp(2.4rem, 4.6vw, 3.8rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }
.stat span { display: block; margin-top: 14px; color: var(--muted); font-size: 1rem; max-width: 20em; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.quote { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-s); border: 1px solid var(--quote-line); }
.quote .stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; line-height: 1; }
.quote blockquote { margin: 0; font: italic 400 1.35rem/1.45 var(--serif); color: var(--text); }
.quote cite { margin-top: auto; font-style: normal; font-weight: 600; font-size: .95rem; color: var(--muted); }

/* 11. PRICING + EXTRAS + DELIVERY ----------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.price-card h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; }
.price span { font: 500 clamp(3rem, 5vw, 4rem)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.price .price-word { font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.1; }
.price small { color: var(--muted); font-size: 1rem; }
.price-sub { margin-top: 10px; color: var(--muted); }
.price-list { display: grid; gap: 12px; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.price-list li { position: relative; padding-left: 28px; }
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px;
  border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }
.price-card.featured { background: var(--featured-bg); color: var(--d-text); border-color: transparent; box-shadow: var(--featured-shadow); }
.price-card.featured h3, .price-card.featured .price small, .price-card.featured .price-sub, .price-card.featured .examples { color: var(--d-muted); }
.price-card.featured .price-list { border-top-color: var(--d-line); }
.price-card.featured .price-list li::before { border-color: var(--gold); }
.price-card.featured .btn-light { border-color: #fff; }
.price-card.featured .btn-light:hover { background: #e3ebfd; }
.examples { margin: -14px 0 26px; font-size: .92rem; }
.ribbon {
  position: absolute; top: -14px; left: clamp(28px, 3vw, 40px);
  padding: 5px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(244, 180, 0, .35);
}
.price-note { margin-top: 26px; }

.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(56px, 7vw, 88px); }
.extra { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; }
.extra h3 { font-size: 1.15rem; }
.extra p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.extra .text-link { margin-top: 10px; }
.extra-art { position: relative; width: 64px; height: 64px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.extra-art i { position: absolute; }
.art-custom i { inset: 14px; border-radius: 6px; background: linear-gradient(135deg, var(--gold), #f08c00); box-shadow: 8px 8px 0 -2px var(--text); }
.art-sticker i { inset: 16px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 6px var(--blue-soft); }
.art-sub i { left: 16px; right: 16px; bottom: 16px; height: 30px; background: linear-gradient(90deg, var(--text) 0 22%, transparent 22% 39%, var(--text) 39% 61%, transparent 61% 78%, var(--blue) 78%); clip-path: polygon(0 60%, 22% 60%, 22% 100%, 0 100%, 0 60%, 39% 30%, 61% 30%, 61% 100%, 39% 100%, 39% 30%, 78% 0, 100% 0, 100% 100%, 78% 100%, 78% 0); }

.delivery { margin-top: clamp(56px, 7vw, 88px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.delivery h3 { font: 500 clamp(1.6rem, 2.6vw, 2.1rem)/1.15 var(--serif); letter-spacing: -0.01em; margin-bottom: 28px; }
.delivery ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 48px; }
.delivery li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.delivery li svg { width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.delivery li strong { display: block; font-weight: 600; margin-bottom: 4px; }
.delivery li span { color: var(--muted); }
.delivery .fine { margin-top: 28px; }
.delivery .fine a { color: var(--link); }

/* 12. FAQ ------------------------------------------------------------------ */
.faq-list { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
summary {
  position: relative; cursor: pointer; list-style: none; padding: 24px 52px 24px 0; font-weight: 600; font-size: 1.1rem; line-height: 1.4; color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
summary::-webkit-details-marker { display: none; }
summary::before, summary::after {       /* plus that turns into a minus */
  content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 1.8px; margin-top: -1px; background: var(--text);
  transition: transform var(--t) var(--ease);
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
summary:hover { color: var(--link); }
details p { padding: 0 52px 26px 0; color: var(--muted); max-width: 40em; }
details[open] p { animation: faq-open var(--t) var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* 13. CONTACT (dark band) -------------------------------------------------- */
.contact .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.contact-head { max-width: 760px; }
.contact-head .lead { margin-top: 18px; max-width: 32em; }
.phone-big {
  display: inline-block; margin-top: clamp(28px, 4vw, 44px); font: 500 clamp(2.6rem, 7vw, 5.4rem)/1 var(--serif); letter-spacing: -0.02em;
  color: #fff; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%;
  background-repeat: no-repeat; padding-bottom: 8px; transition: background-size .5s var(--ease); font-variant-numeric: lining-nums;
}
.phone-big:hover { background-size: 100% 1.5px; }
.phone-big.copied { color: #9fe6c4; }
.contact-head .fine { margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-btn {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-height: 150px; padding: 22px;
  text-decoration: none; color: var(--d-text); background: var(--ink-2); border: 1px solid var(--d-line); border-radius: var(--r);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.contact-btn:hover { background: #1c2a58; border-color: rgba(255, 255, 255, .28); }
.contact-btn:active { transform: scale(.98); }
.contact-btn > svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--d-blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-btn span { display: grid; gap: 4px; min-width: 0; margin-top: auto; }
.contact-btn small { font-size: .85rem; color: var(--d-muted); }
.contact-btn b { font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.contact-btn .copy-icon { position: absolute; top: 20px; right: 20px; width: 18px; height: 18px; display: block; margin: 0; }
.contact-btn .copy-icon svg { position: absolute; inset: 0; width: 18px; height: 18px; fill: none; stroke: var(--d-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .2s; }
.contact-btn .copy-icon .ic-check { opacity: 0; stroke: #6ee7b7; stroke-width: 2.2; }
.contact-btn.copied { border-color: rgba(110, 231, 183, .6); }
.contact-btn.copied .copy-icon .ic-copy { opacity: 0; }
.contact-btn.copied .copy-icon .ic-check { opacity: 1; }
.contact-btn.copied small { color: #6ee7b7; }

/* 14. LOGO STRIP (row 1 slides left to right, row 2 right to left) -------- */
.clients { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.clients-title { text-align: center; font: 500 clamp(1.5rem, 2.4vw, 1.9rem)/1.2 var(--serif); margin-bottom: 40px; }
.marquee-wrap { position: relative; padding-bottom: 44px; }       /* room for the name bubble under the bottom row */
.marquee {
  display: grid; gap: 22px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row { overflow: hidden; padding: 4px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee-rtl var(--marquee-duration, 44s) linear infinite; }   /* duration is set by script.js so the speed is constant for any number of logos */
.marquee-row[data-dir="ltr"] .marquee-track { animation-name: marquee-ltr; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-circle {                      /* 84px + 28px margin = CLIENT_ITEM_WIDTH (112) in script.js */
  flex: none; width: 84px; height: 84px; margin-right: 28px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; color: inherit; font: inherit;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-fast), transform var(--t) var(--ease);
}
.logo-circle:hover { border-color: var(--text); }
.logo-circle.is-active { border-color: var(--link); transform: scale(1.06); }
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-circle.fit-contain img { object-fit: contain; background: #fff; }
.marquee-row[data-dir] .marquee-track.is-static { width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 22px; animation: none; transform: none; }
.marquee-row[data-dir] .marquee-track.is-static .logo-circle { margin: 0 14px; }
.logo-tip {
  position: absolute; z-index: 5; transform: translate(-50%, -100%); white-space: nowrap; pointer-events: none;
  padding: 7px 14px; border-radius: 999px; font: 600 .9rem/1.2 var(--sans); color: var(--on-fill); background: var(--fill); box-shadow: var(--shadow);
}
.logo-tip.below { transform: translate(-50%, 0); }

/* 15. FOOTER --------------------------------------------------------------- */
.footer { padding: clamp(56px, 7vw, 80px) 0 32px; color: var(--muted); font-size: .98rem; border-top: 1px solid var(--line); }
.footer a { text-decoration: none; color: var(--muted); transition: color var(--t-fast); }
.footer a:hover { color: var(--text); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 48px; height: 48px; border-radius: 13px; box-shadow: var(--logo-ring); }
.footer-brand strong { color: var(--text); font-size: 1.1rem; }
.footer-brand p { margin-top: 4px; max-width: 18em; }
.footer-links, .footer-contact { display: grid; gap: 10px; justify-items: start; }
.lang-footer { margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }

/* 16. LEGAL PAGES (privacy.html, terms.html, shipping.html) --------------- */
.legal-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-header .header-inner { height: var(--header-h); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) var(--space); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal .updated { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.legal h2 { font: 600 1.3rem/1.3 var(--sans); letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal a { color: var(--link); }
.legal .todo { background: var(--todo-bg); border-radius: 4px; padding: 0 4px; color: var(--todo-text); }
html[lang="el"] .legal [lang="en"], html[lang="en"] .legal [lang="el"] { display: none; }

/* 16b. NEW TOP OF PAGE: hero mockups, services, our work, review cards (redesign 2026-11) */
.hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.nav-links a { white-space: nowrap; }
.hero-work { position: relative; padding: 24px 6% 48px 0; }
.device { box-shadow: var(--shadow-l); border: 1px solid var(--line-strong); }
.device img { display: block; width: 100%; height: auto; }
.device.laptop { border-radius: 14px; padding: 9px 9px 12px; background: #050916; }
.device.laptop img { border-radius: 6px; }
.device.phone { position: absolute; right: 0; bottom: 0; width: 25%; border-radius: 24px; padding: 6px; background: #03060f; }
.device.phone img { border-radius: 18px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--surface); color: inherit; text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.service:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.service-main { background: var(--featured-bg); box-shadow: var(--featured-shadow); border-color: transparent; }
.service svg { width: 30px; height: 30px; fill: none; stroke: var(--link); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.service h3 { font: 500 1.45rem/1.2 var(--serif); }
.service p { color: var(--muted); }
.service-more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--link); }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.work-item { margin: 0; }
.work-shot { border-radius: var(--r); overflow: hidden; border: 1px solid var(--band-line); box-shadow: var(--shadow-l); }
.work-shot img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.work-item:hover .work-shot img { transform: scale(1.03); }
.work-item figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.work-item figcaption b { font: 500 1.25rem/1.3 var(--serif); color: var(--d-text); }
.work-item figcaption span { color: var(--d-muted); font-size: .95rem; }
.work-item .work-tags { margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--d-blue); }

.cards-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cards-copy h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.cards-copy .lead { margin-top: 18px; max-width: 30em; }
.cards-price { margin: 22px 0 26px; font-weight: 600; color: var(--text); }

.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.8rem); max-width: 14em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero-tags li { padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--blue-soft-text); background: var(--blue-soft); border: 1px solid var(--band-line); }
.ig-post { position: absolute; left: -9%; bottom: -4%; width: 25%; background: #fff; color: #111; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-l); font-size: .72rem; }
.ig-head { display: flex; align-items: center; gap: 7px; padding: 7px 9px; }
.ig-head img { width: 22px; height: 22px; border-radius: 50%; }
.ig-head b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-head i { margin-left: auto; font-style: normal; color: #888; letter-spacing: 1px; }
.ig-img { display: block; width: 100%; height: auto; }
.ig-actions { display: flex; gap: 10px; padding: 8px 10px; }
.ig-actions svg { width: 17px; height: 17px; fill: none; stroke: #222; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ig-actions svg:first-child { fill: #ed4956; stroke: #ed4956; }
.price-band { max-width: 780px; text-align: center; }
.price-band h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.price-band .lead { margin: 18px auto 30px; max-width: 36em; }

.mobile-call { display: none; }

/* 17. MOTION --------------------------------------------------------------- */
/* Scroll reveal (script.js section 6): used on a handful of blocks, not on everything */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps.reveal::before { transform: scaleX(0); transition: transform 1.4s var(--ease-io) .2s; }
.js .steps.reveal.in::before { transform: scaleX(1); }
.js .steps.reveal .step { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .steps.reveal.in .step { opacity: 1; transform: none; }
.js .steps.reveal.in .step:nth-child(2) { transition-delay: .35s; }
.js .steps.reveal.in .step:nth-child(3) { transition-delay: .7s; }
.js .steps.reveal { opacity: 1; transform: none; }              /* the list itself does not move, its steps do */

/* Hero entrance: one orchestrated sequence on load (CSS only, so it never waits for the script) */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes card-land { from { opacity: 0; transform: translateY(-36px) rotate(-4deg) scale(.94); } }
@keyframes fade { from { opacity: 0; } }
.js .hero h1 { animation: rise 1s var(--ease) .05s both; }
.js .hero .lead { animation: rise 1s var(--ease) .18s both; }
.js .hero-cta { animation: rise 1s var(--ease) .3s both; }
.js .hero-notes { animation: fade 1s var(--ease) .5s both; }
.js .hero-visual:not(.landed) .card3d, .js .hero-visual:not(.landed) .card-swap { opacity: 0; }
.js .landed .card3d { animation: card-land 1.1s var(--ease) .15s both; }
.js .landed .card-swap { animation: fade .8s var(--ease) .9s both; }
.js .hero-work .laptop { animation: rise 1.1s var(--ease) .2s both; }
.js .hero-work .phone { animation: rise 1.1s var(--ease) .5s both; }
.js .hero-work .ig-post { animation: rise 1.1s var(--ease) .75s both; }
.js .hero-tags { animation: fade 1s var(--ease) both; }

/* "Tap" moment: rings pulse from the NFC symbol, then the review notification pops out and its stars fill in.
   Played on load and again after every card swap (script.js adds/removes .tap-play). */
.js .tap-toast { opacity: 0; transform: translate(12%, 30%) scale(.85); }
.js .tap-toast .tt-stars i { transform: scale(0); }
.tap-play .tap-rings i { animation: ring 1.2s var(--ease) both; }
.tap-play .tap-rings i:nth-child(1) { animation-delay: 1.1s; }
.tap-play .tap-rings i:nth-child(2) { animation-delay: 1.3s; }
.tap-play .tap-rings i:nth-child(3) { animation-delay: 1.5s; }
.js .tap-play .tap-toast { animation: toast-in .8s var(--ease) 1.75s both; }
.tt-stars i:nth-child(2) { --k: 1; }
.tt-stars i:nth-child(3) { --k: 2; }
.tt-stars i:nth-child(4) { --k: 3; }
.tt-stars i:nth-child(5) { --k: 4; }
.js .tap-play .tap-toast .tt-stars i { animation: star-in .45s cubic-bezier(.34, 1.56, .64, 1) calc(2.15s + var(--k, 0) * .1s) both; }
.tap-replay .tap-rings i:nth-child(1) { animation-delay: .1s; }
.tap-replay .tap-rings i:nth-child(2) { animation-delay: .3s; }
.tap-replay .tap-rings i:nth-child(3) { animation-delay: .5s; }
.js .tap-replay .tap-toast { animation-delay: .75s; }
.js .tap-replay .tap-toast .tt-stars i { animation-delay: calc(1.15s + var(--k, 0) * .1s); }
@keyframes ring { 0% { transform: scale(.3); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes toast-in { from { opacity: 0; transform: translate(12%, 30%) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes star-in { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }

/* 18. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-block; }
  .lang-header { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; display: flex; flex-direction: column; justify-content: space-between;
    padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom)); background: var(--paper); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 14px 0; font: 500 clamp(1.8rem, 7vw, 2.4rem)/1.15 var(--serif); color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-extra { display: grid; gap: 12px; margin-top: 32px; }
  .nav-extra .btn { width: 100%; min-height: 54px; }
  .lang-menu { justify-self: start; }
  .lang-menu button { min-width: 88px; min-height: 40px; }
  .menu-open .header { background: var(--paper); border-bottom-color: var(--line); }
  .menu-open body { overflow: hidden; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .hero-inner, .demo-layout, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { order: 2; }
  .hero-work { order: 1; }
  .hero-visual { order: 1; padding-top: 12px; }
  .cards-inner { grid-template-columns: minmax(0, 1fr); }
  .cards-copy { order: 2; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .card3d { max-width: 330px; }
  .tap-toast { left: -8%; top: -10%; }
  .split-head { position: static; }
  .demo { margin: 0 auto; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps::before { left: 39px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; transform-origin: top; }
  .js .steps.reveal::before { transform: scaleY(0); }
  .js .steps.reveal.in::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: 24px; }
  .step .step-num { grid-row: span 2; }
  .step h3 { margin-top: 12px; }
  .step-icon { left: 50px; top: 44px; width: 34px; height: 34px; padding: 7px; }
  .pricing, .extras, .testimonials { grid-template-columns: minmax(0, 1fr); }
  .price-card.featured { order: -1; }
  .contact .container { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { display: grid; grid-template-columns: minmax(0, 1fr); padding: 26px 0; }
}

@media (max-width: 600px) {
  .mobile-call { display: flex; justify-content: center; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5); transform: translateY(160%); transition: transform .4s var(--ease); }
  .show-call .mobile-call { transform: none; }
  .menu-open .mobile-call { transform: translateY(160%); }
  .footer { padding-bottom: 96px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-work { padding: 8px 4% 28px 8%; }
  .ig-post { left: 0; bottom: -8%; width: 29%; font-size: .55rem; }
  .ig-actions { gap: 7px; }
  .ig-actions svg { width: 13px; height: 13px; }
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand span { display: none; }
  .brand img { width: 40px; height: 40px; border-radius: 11px; }
  .header-call { padding: 8px 16px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-notes { flex-direction: column; gap: 10px; }
  .card3d { max-width: 270px; }
  .tap-toast { left: -12%; top: -14%; padding: 8px 12px 8px 8px; gap: 10px; border-radius: 14px; }
  .tap-toast img { width: 30px; height: 30px; border-radius: 8px; }
  .tt-stars i { width: 12px; height: 12px; }
  .demo { --pw: 160px; --ph: 324px; height: 380px; }
  .demo-card { width: 52%; left: 5%; }
  .phone { right: 0; border-radius: 26px; padding: 6px; }
  .phone-screen { border-radius: 20px; }
  .who-list li { font-size: .98rem; padding: 10px 18px 10px 10px; }
  .delivery ul { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-btn { min-height: 0; flex-direction: row; align-items: center; padding: 18px; }
  .contact-btn span { margin-top: 0; }
  .contact-btn .copy-icon { top: 50%; margin-top: -9px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .quote { padding: 26px; }
  .quote blockquote { font-size: 1.22rem; }
  details p { padding-right: 0; }
}

@media (max-width: 360px) {
  .header-actions { gap: 6px; }
  .header-call { padding: 7px 12px; font-size: .88rem; }
  .tap-toast { left: -6%; }
}

/* 19. LITE + REDUCED MOTION ------------------------------------------------ */
/* Weak phones / data saver (class set in index.html): same design, cheaper effects */
.lite .header.is-scrolled, .lite .tap-toast { -webkit-backdrop-filter: none; backdrop-filter: none; }
.lite .header.is-scrolled { background: var(--header-bg-solid); }
.lite .card3d-edge { display: none; }
.lite .card3d-shadow { filter: none; background: radial-gradient(closest-side, var(--floor), transparent); opacity: .4; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .steps.reveal .step { opacity: 1; transform: none; }
  .js .steps.reveal::before { transform: none; }
  .js .tap-toast, .js .tap-toast .tt-stars i { opacity: 1; transform: none; }
  .card3d-edge { display: none; }
}
