/* Self-hosted fonts (OFL, latin subset) */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Syne"; src: url("assets/fonts/syne-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Michroma"; src: url("assets/fonts/michroma-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Godelic · Web design, Cyprus — shared styles for the studio pages (the demos have their own style.css)
   Rebrand 19 Oct: dark violet, from the logo. Polish pass 19 Oct (Iris's polish plan, sections 1-2, 3.6, 3.7).
   Palette: Deep Night #0A0714 · Night Violet #150F26 · Orbit Indigo #2A1B52 · Lavender White #EEEAFB
            Mist #A99BC9 · Godelic Violet #6D3FE0 · Glow Violet #9B6BFF · Lavender #C9B8FF
   Fonts: Michroma (headings) + Inter (body)
   CSP: no inline styles anywhere. JS only sets CSS custom properties / transforms through the CSSOM. */

:root {
  color-scheme: dark;
  --bg: #0A0714;
  --surface: #150F26;
  --surface-2: #2A1B52;
  --text: #EEEAFB;
  --muted: #A99BC9;
  --primary: #6D3FE0;
  --primary-hover: #7C4DF0;
  --glow: #9B6BFF;
  --lavender: #C9B8FF;
  --border: #2E2450;
  --focus: #C9B8FF;
  --white: #FFFFFF;
  --ok: #7CF0C4;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
  --glow-shadow: 0 0 24px rgba(112, 48, 240, .45);
  --lift-shadow: 0 12px 40px rgba(112, 48, 240, .25);
  --font-head: "Michroma", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg);
  scrollbar-color: #4B2FA0 var(--bg);
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), #4B2FA0); border-radius: 999px; border: 3px solid var(--bg); }
::selection { background: var(--primary); color: var(--white); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  animation: page-in .5s ease both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--glow); text-underline-offset: 3px; }
a:hover { color: var(--lavender); }
/* Michroma is a single-weight, very wide face: generous line height, never all-caps for long lines */
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; letter-spacing: 0; overflow-wrap: break-word; }
h1 { font-size: 28px; line-height: 1.15; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { color: var(--text); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lavender); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: calc(var(--section-y) * .75) 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 2px rgba(155, 107, 255, .7); }
/* Section label above each H2: uppercase, lavender, with a short glowing line */
.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lavender);
}
.kicker::before {
  content: ""; flex: none; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--glow), var(--lavender)); box-shadow: 0 0 10px rgba(155, 107, 255, .8);
}
.lead { font-size: 18px; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p:not(.kicker) { color: var(--muted); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .kicker { justify-content: center; }

/* Placeholder marker: visible until the owner fills it in */
.ph { background: #3A3200; color: #FFF1B8; border: 1px dashed #FFF1B8; border-radius: 4px; padding: 0 4px; font-weight: 600; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--glow-shadow); }
.btn--primary:hover { background: var(--primary-hover); color: var(--white); box-shadow: 0 0 32px rgba(112, 48, 240, .6); }
/* Moving sheen on hover */
.btn--primary::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg) translateX(0); opacity: 0;
}
.btn--primary:hover::after { animation: sheen .9s ease forwards; }
@keyframes sheen { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 0; transform: skewX(-18deg) translateX(420%); } }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--lavender); }
.btn--ghost:hover { background: rgba(201, 184, 255, .1); color: var(--text); }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
.text-link::after { content: " \2192"; }
.btn-contact .btn-icon { width: 22px; height: 22px; }
/* Main CTA in the final band: a soft pulse every 6s */
.btn--pulse { animation: soft-pulse 6s ease-in-out infinite; }
@keyframes soft-pulse {
  0%, 82%, 100% { box-shadow: var(--glow-shadow); }
  88% { box-shadow: 0 0 0 10px rgba(155, 107, 255, .18), 0 0 40px rgba(112, 48, 240, .7); }
  94% { box-shadow: 0 0 0 18px rgba(155, 107, 255, 0), 0 0 30px rgba(112, 48, 240, .5); }
}

/* ---------- Header (shrinks after 40px of scroll) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 7, 20, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(46, 36, 80, .6);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 7, 20, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: rgba(155, 107, 255, .35);
}
.header-inner { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); transition: min-height .25s var(--ease); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; overflow: hidden; }
.scroll-progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--glow), var(--lavender)); box-shadow: 0 0 10px rgba(155, 107, 255, .8);
}
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; padding: 4px 0; text-decoration: none; flex: none; }
.brand picture { display: block; flex: none; }
.brand-mark { height: 36px; width: auto; transition: height .25s var(--ease); }
.brand-word { height: 12px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--lavender); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--glow); text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* Mobile nav: hidden until toggled (only when JS is present) */
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; display: block; padding: 0; border: 0; width: 100%; order: 3; background: none; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
.no-js .header-inner { flex-wrap: wrap; }

/* ---------- Hero: glow, dotted grid, optional photo backdrop ---------- */
.hero {
  padding: 40px 0 56px; position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 72% 28%, rgba(112, 48, 240, .34), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(155, 107, 255, .16), transparent 70%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(201, 184, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; max-width: none;
  object-fit: cover; opacity: .25; filter: blur(6px) saturate(1.2); transform: scale(1.06); pointer-events: none;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 7, 20, .35) 0%, rgba(10, 7, 20, .55) 60%, var(--bg) 100%);
}
.hero > .wrap { position: relative; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { max-width: 15em; }
.hero .lead { margin-bottom: 24px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.grad-text {
  color: var(--lavender);
  background: linear-gradient(95deg, #E4DAFF 0%, var(--lavender) 30%, var(--glow) 75%, #8A5BFF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero--home { min-height: min(88vh, 760px); display: grid; align-content: center; }
.hero--home h1 { font-size: clamp(1.55rem, 6.4vw + .1rem, 3.6rem); letter-spacing: -0.01em; line-height: 1.14; }

/* Orbit ring (echoes the logo) */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; padding: 36px 0; min-height: 420px; }
.orbit {
  position: absolute; top: 50%; left: 50%; width: min(150%, 560px); max-width: none; height: auto;
  transform: translate(-50%, -50%) rotate(-18deg); pointer-events: none; overflow: visible;
}
.orbit-spin { transform-origin: 200px 200px; animation: orbit-spin 40s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* Hero phone: tilted 6deg, slow float, three looping mini-screens */
.phone {
  position: relative; width: 230px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 11px;
  background: linear-gradient(160deg, #241845, #120C22 60%);
  border: 1.5px solid rgba(201, 184, 255, .7);
  box-shadow: 0 0 0 6px rgba(21, 15, 38, .8), 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(112, 48, 240, .45);
  transform: rotate(6deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(6deg) translateY(-8px); } 50% { transform: rotate(6deg) translateY(8px); } }
.phone-notch { position: absolute; z-index: 3; top: 18px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 10px; background: #0A0714; }
.phone-screen { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); }
.ps {
  position: absolute; inset: 0; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; line-height: 1.35; color: var(--text); opacity: 0;
  animation: ps-cycle 12s infinite;
}
.ps--menu { opacity: 1; animation-delay: -8s; }
.ps--scan { animation-delay: 0s; }
.ps--book { animation-delay: -4s; }
@keyframes ps-cycle {
  0% { opacity: 0; transform: translateY(10px); }
  4%, 30% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-6px); }
}
.ps-title { font-family: var(--font-head); font-size: 12px; margin: 0; }
.ps-sub { color: var(--muted); margin: 0; font-size: 11px; }
.ps-tag { align-self: flex-start; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); border: 1px solid rgba(201, 184, 255, .4); border-radius: 999px; padding: 2px 8px; }
.ps-tabs { display: flex; gap: 6px; }
.ps-tabs span { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(201, 184, 255, .4); font-size: 10px; color: var(--muted); }
.ps-tabs span:first-child { background: var(--primary); border-color: var(--primary); color: var(--white); }
.ps-list { list-style: none; margin: 4px 0 0; padding: 0; }
.ps-list li { display: flex; justify-content: space-between; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ps-list li span:last-child { color: var(--lavender); white-space: nowrap; }
.ps-btn { margin-top: auto; text-align: center; padding: 10px; border-radius: 999px; background: var(--primary); color: var(--white); font-weight: 600; }
.ps--book { align-items: center; justify-content: center; text-align: center; }
.ps-tick { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--glow), var(--primary)); box-shadow: 0 0 30px rgba(155, 107, 255, .7); }
.ps-tick svg { width: 32px; height: 32px; }
.ps-ticket { width: 100%; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px dashed rgba(201, 184, 255, .4); display: grid; gap: 7px; }
.ps-ticket i { display: block; height: 7px; border-radius: 4px; background: var(--border); }
.ps-ticket i:first-child { width: 70%; background: var(--lavender); opacity: .7; }
.ps-ticket i:nth-child(2) { width: 90%; }
.ps-ticket i:nth-child(3) { width: 55%; }
.ps--scan { align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 40%, #1B1433, #07050E 75%); }
.ps-cam { position: relative; width: 150px; height: 150px; padding: 18px; }
.ps-cam img { width: 100%; height: 100%; border-radius: 4px; opacity: .92; }
.ps-cam .corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--lavender); }
.ps-cam .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.ps-cam .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.ps-cam .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.ps-cam .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.ps-line { position: absolute; left: 12px; right: 12px; top: 18px; height: 2px; background: var(--glow); box-shadow: 0 0 12px 3px rgba(155, 107, 255, .8); animation: scan-line 1.6s ease-in-out infinite alternate; }
@keyframes scan-line { to { transform: translateY(112px); } }

/* Floating chips around the phone; each lights up with its mini-screen */
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--text);
  background: rgba(21, 15, 38, .88); border: 1px solid rgba(201, 184, 255, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  animation: chip-float 6s ease-in-out infinite;
}
.chip-ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--lavender); flex: none; }
.chip-ico svg { width: 14px; height: 14px; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); margin: 0 4px 0 6px; }
.chip--qr { top: 14%; left: 0; animation-delay: 0s; }
.chip--open { top: 46%; right: 0; animation-delay: -2s; }
.chip--book { bottom: 12%; left: 4%; animation-delay: -4s; }
.chip .chip-glow { position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--glow); box-shadow: 0 0 18px rgba(155, 107, 255, .7); opacity: 0; animation: chip-on 12s infinite; }
.chip--qr .chip-glow { animation-delay: 0s; }
.chip--open .chip-glow { animation-delay: -8s; }
.chip--book .chip-glow { animation-delay: -4s; }
@keyframes chip-float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@keyframes chip-on { 0% { opacity: 0; } 4%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }

/* ---------- Cards: gradient border, inner highlight, hover lift, spotlight ---------- */
.grid { display: grid; gap: 16px; }
.card, .why-card, .price-band, .contact-tile {
  --card-fill: var(--surface);
  position: relative; isolation: isolate;
  background:
    linear-gradient(var(--card-fill), var(--card-fill)) padding-box,
    linear-gradient(160deg, rgba(201, 184, 255, .3), rgba(46, 36, 80, .7) 38%, rgba(46, 36, 80, .7) 62%, rgba(155, 107, 255, .3)) border-box;
  border: 1px solid transparent; border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card { padding: 26px; display: flex; flex-direction: column; }
.section--alt .card, .section--alt .why-card, .section--alt .price-band, .section--alt .contact-tile { --card-fill: var(--bg); }
.card::before, .why-card::before, .poster::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(155, 107, 255, .16), transparent 65%);
}
.card::after, .why-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  border: 1px solid rgba(155, 107, 255, .4);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover, .why-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--lift-shadow); }
  .card:hover::before, .why-card:hover::before, .poster:hover::before { opacity: 1; }
  .card:hover::after, .why-card:hover::after { opacity: 1; }
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--lavender);
  border: 1px solid rgba(201, 184, 255, .25); display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(112, 48, 240, .25);
}
.card-icon svg { width: 26px; height: 26px; }
.price-tag { font-weight: 600; color: var(--lavender); }

/* What I do: bento (one big Website card + two stacked cards) */
.bento { display: grid; gap: 16px; }
.card--feature { gap: 0; overflow: hidden; }
.card--feature .card-text { max-width: 30em; }
.browser {
  margin-top: 22px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg); box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.section--alt .browser { background: var(--surface); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: rgba(42, 27, 82, .5); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.browser-bar i:first-child { background: #6D3FE0; }
.browser-url { margin-left: 10px; flex: 1; max-width: 220px; font-size: 11px; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* .browser-body gets room at the bottom for the booking toast (fixed height, no layout shift) */
.browser-body { position: relative; padding: 16px 16px 58px; }

/* Why Godelic: four cards with large faint corner icons */
.why-grid { display: grid; gap: 16px; }
.why-card { padding: 26px 24px 24px; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; }
.why-card .why-big { position: absolute; z-index: -1; right: -18px; top: -18px; width: 120px; height: 120px; color: var(--glow); opacity: .1; }
.why-card .card-icon { width: 44px; height: 44px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--muted); margin: 0; }
.why-card .micro { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--lavender); }

/* ---------- Sample posters (home row + demos gallery) ---------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rail-arrows { display: none; gap: 10px; margin-bottom: 36px; }
.js .rail-arrows { display: none; }
.rail-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid rgba(201, 184, 255, .35); transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.rail-btn:hover { background: var(--surface-2); border-color: var(--glow); }
.rail-btn[disabled] { opacity: .35; cursor: default; }
.rail-btn svg { width: 20px; height: 20px; }
.sample-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 280px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; overscroll-behavior-x: contain;
  padding: 8px 20px 22px; margin: 0 -20px 16px; list-style: none; scrollbar-width: thin;
}
.sample-row > li { scroll-snap-align: start; }

.poster {
  position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; min-height: 360px;
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid rgba(201, 184, 255, .2); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
a.poster:hover, .poster:hover { transform: translateY(-4px); border-color: rgba(155, 107, 255, .55); box-shadow: var(--lift-shadow); }
.poster::before { z-index: 3; }
.poster-media { position: relative; flex: 0 0 60%; min-height: 200px; overflow: hidden; background: var(--surface-2); }
.poster-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.poster:hover .poster-media img, .poster:focus-within .poster-media img { transform: scale(1.04); }
.poster-chip {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #FFFFFF; background: rgba(10, 7, 20, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25);
}
.live-pill {
  position: absolute; top: 12px; right: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px;
  border-radius: 999px; font-size: 12px; font-weight: 600; color: #FFFFFF; background: rgba(10, 7, 20, .78); border: 1px solid rgba(124, 240, 196, .5);
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); animation: live-ping 1.8s ease-out infinite; }
@keyframes live-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.poster-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; position: relative; }
.poster-name { display: block; font-size: 26px; line-height: 1.05; margin: 0; }
.poster-cat { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.poster-try { margin: 2px 0 0; font-size: 14px; font-weight: 600; }
.poster-desc { margin: 0; font-size: 15px; }
.poster .poster-cta { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.poster .poster-cta::after { content: " \2192"; }
.poster .btn { margin-top: auto; align-self: flex-start; }

/* Each poster speaks in its sample's own palette and type (system faces, so the studio pages keep two font families) */
.poster--restaurant .poster-body { background: #FBF4E8; color: #2A1A14; }
.poster--restaurant .poster-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #8A2F1D; }
.poster--restaurant .poster-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, #1F5A7A 0 10px, #FBF4E8 10px 14px); }
.poster--cafe .poster-body { background: #FFF8F0; color: #3B2A22; }
.poster--cafe .poster-name { font-family: Georgia, serif; font-weight: 400; color: #3B2A22; }
.poster--cafe .poster-body::before { content: ""; position: absolute; right: 16px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: #9DB38A; box-shadow: -18px 10px 0 -6px #F6D9CB; }
.poster--barber .poster-body { background: #14110F; color: #F2EBDD; }
.poster--barber .poster-name { font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #F2EBDD; }
.poster--barber .poster-cat, .poster--barber .poster-try { color: #D8B45E; }
.poster--barber .poster-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(135deg, #7A1F26 0 8px, #F2EBDD 8px 12px, #14110F 12px 18px); }
.poster--salon .poster-body { background: linear-gradient(135deg, #FFF5F3 0%, #FFF5F3 55%, #DDEFE8 100%); color: #3A2530; }
.poster--salon .poster-name { font-family: Georgia, serif; font-style: italic; font-weight: 400; color: #3A2530; }
.poster--bar .poster-body { background: radial-gradient(circle at 90% 0%, rgba(255, 79, 163, .3), transparent 55%), #0B0F1A; color: #EDEAF5; }
.poster--bar .poster-name { font-family: "Syne", system-ui, sans-serif; font-weight: 800; text-transform: uppercase; color: #FF6FB5; text-shadow: 0 0 14px rgba(255, 79, 163, .65); }
.poster--bar .poster-try { color: #5FEADD; }
.poster--restaurant .poster-cta, .poster--restaurant a { color: #8A2F1D; }
.poster--cafe .poster-cta { color: #3B2A22; }
.poster--barber .poster-cta { color: #D8B45E; }
.poster--salon .poster-cta { color: #3A2530; }
.poster--bar .poster-cta { color: #5FEADD; }
.poster .btn--primary { color: #FFFFFF; }

/* Demos gallery: masonry-like grid with filter chips */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.filter-bar[hidden] { display: none; }
.filter-chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer; font: 600 15px/1.2 var(--font-body);
  color: var(--text); background: var(--surface); border: 1px solid rgba(201, 184, 255, .3); transition: background-color .2s ease, border-color .2s ease;
}
.filter-chip:hover { border-color: var(--glow); }
.filter-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: var(--glow-shadow); }
.demo-grid { --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); list-style: none; padding: 0; margin: 0; }
.demo-grid > li { flex: 0 0 100%; min-width: 0; display: flex; }
.demo-grid > li[hidden] { display: none; }
/* One calm, uniform card: 4:3 image on top, shared dark body, personality only via name font/colour and the thin accent bar */
.demo-grid .poster { width: 100%; min-height: 0; height: auto; background: var(--surface); }
.demo-grid .poster-media { flex: 0 0 auto; min-height: 0; aspect-ratio: 4 / 3; }
.demo-grid .poster-media img { height: 100%; object-fit: cover; }
.demo-grid .poster-body { flex: 1; gap: 6px; padding: 20px 20px 22px; background: var(--surface); color: var(--text); }
.demo-grid .poster-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 4px; border-radius: 0; box-shadow: none; }
.demo-grid .poster-name { font-size: 26px; line-height: 1.1; }
.demo-grid .poster-try { margin: 2px 0 0; font-size: 14px; color: var(--glow); }
.demo-grid .poster-desc { margin: 0 0 14px; font-size: 15px; }
.demo-grid .poster .btn { margin-top: auto; }
.demo-grid .poster--restaurant a, .demo-grid .poster--restaurant .poster-cta { color: inherit; }
.demo-grid .poster--barber .poster-try, .demo-grid .poster--bar .poster-try { color: var(--glow); }
.demo-grid .poster--salon .poster-name { color: #F6C9D6; }
.demo-grid .poster--restaurant .poster-name { color: #F0A58F; }
.demo-grid .poster--cafe .poster-name { color: #F4E3D3; }
.demo-grid .poster--barber .poster-name { color: #E7C873; }
.demo-grid .poster--salon .poster-body::before { background: linear-gradient(90deg, #F6C9D6, #BFE5D8); }
.demo-grid .poster--cafe .poster-body::before { background: repeating-linear-gradient(90deg, #9DB38A 0 6px, transparent 6px 12px); }
.demo-grid .poster--bar .poster-body::before { background: linear-gradient(90deg, #FF4FA3, #5FEADD); }
@media (prefers-reduced-motion: reduce) {
  .demo-grid .poster, .demo-grid .poster-media img { transition: none; }
  .demo-grid .poster:hover, .demo-grid .poster:focus-within { transform: none; }
  .demo-grid .poster:hover .poster-media img, .demo-grid .poster:focus-within .poster-media img { transform: none; }
}
@media (min-width: 640px) { .demo-grid > li { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1024px) { .demo-grid > li { flex-basis: calc((100% - var(--gap) * 2) / 3); } }

/* ---------- QR live block (home) ---------- */
.qr-block { display: grid; gap: 28px; align-items: center; }
.qr-figure {
  margin: 0; background: var(--white); border-radius: 20px; padding: 16px; text-align: center; width: fit-content;
  box-shadow: 0 0 0 1px rgba(201, 184, 255, .35), 0 0 36px rgba(112, 48, 240, .45);
}
.qr-figure img { width: 200px; height: 200px; image-rendering: pixelated; margin: 0 auto; }
.qr-figure figcaption { font-size: 14px; color: #3D3557; margin-top: 8px; font-weight: 500; max-width: 200px; }
.live-stage { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.mini-phone {
  width: 200px; height: 360px; border-radius: 32px; padding: 9px; flex: none;
  background: linear-gradient(160deg, #241845, #120C22 60%); border: 1.5px solid rgba(201, 184, 255, .6);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(112, 48, 240, .35);
}
.mini-phone .phone-screen { border-radius: 24px; }
.menu-scroll { padding: 18px 14px; font-size: 12px; animation: menu-scroll 16s ease-in-out infinite alternate; }
.menu-scroll .ps-title { margin-bottom: 4px; }
.menu-scroll h4, .menu-scroll .ms-h { margin: 14px 0 4px; font-family: var(--font-head); font-weight: 400; font-size: 11px; color: var(--lavender); }
.menu-scroll ul { list-style: none; margin: 0; padding: 0; }
.menu-scroll li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.menu-scroll li span:last-child { color: var(--lavender); white-space: nowrap; }
@keyframes menu-scroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(-46%); } }

/* ---------- How it works: big outlined numerals + a line that draws on scroll ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 0 0 34px 92px; min-height: 84px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: "0" counter(step); position: absolute; left: 0; top: -6px; width: 76px;
  font-family: var(--font-head); font-size: 44px; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--glow); text-shadow: 0 0 22px rgba(155, 107, 255, .35);
}
.steps li::after { content: ""; position: absolute; left: 30px; top: 52px; bottom: 6px; width: 2px; background: linear-gradient(var(--glow), rgba(46, 36, 80, .8)); transform-origin: 50% 0; transition: transform 1s var(--ease); }
.steps li:last-child::after { display: none; }
.js .steps[data-draw] li::after { transform: scaleY(0); }
.js .steps[data-draw].drawn li::after { transform: scaleY(1); }
.js .steps[data-draw].drawn li:nth-child(2)::after { transition-delay: .25s; }
.js .steps[data-draw].drawn li:nth-child(3)::after { transition-delay: .5s; }
.steps strong { font-family: var(--font-head); font-weight: 400; font-size: 16px; display: block; margin-bottom: 4px; }
.steps p { margin: 2px 0 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-band { padding: 28px 24px; }
.price-big { font-family: var(--font-head); font-size: 36px; line-height: 1.1; margin: 0 0 6px; }
.price-big small { font-family: var(--font-body); font-size: 18px; font-weight: 500; color: var(--muted); }
.price-grid { display: grid; gap: 18px; align-items: stretch; }
.price-hero { overflow: hidden; padding: 34px 28px 30px; }
.price-hero::after { border-color: rgba(155, 107, 255, .4); }
.price-label { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.price-xl {
  font-family: var(--font-head); font-size: clamp(40px, 11vw, 72px); line-height: 1; margin: 6px 0 8px; white-space: nowrap;
  color: var(--white); text-shadow: 0 0 28px rgba(155, 107, 255, .75), 0 0 60px rgba(112, 48, 240, .45);
}
.price-md { font-family: var(--font-head); font-size: 30px; line-height: 1.1; margin: 4px 0 8px; color: var(--white); text-shadow: 0 0 20px rgba(155, 107, 255, .5); }
.price-md small { font-family: var(--font-body); font-size: 16px; color: var(--muted); }
.ribbon {
  position: absolute; z-index: 2; top: 22px; right: -46px; width: 190px; padding: 7px 0; text-align: center; transform: rotate(35deg);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white);
  background: linear-gradient(90deg, var(--primary), var(--glow)); box-shadow: 0 6px 18px rgba(112, 48, 240, .5);
}
.price-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: var(--muted); }
.price-foot p { margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 20px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 9px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 8px rgba(155, 107, 255, .5);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s ease;
}
/* Animated ticks once the list is revealed */
.js .check-list.rv-checks li::before { transform: scale(0); opacity: 0; }
.js .check-list.rv-checks.in li::before { transform: scale(1); opacity: 1; }
.js .check-list.rv-checks.in li:nth-child(2)::before { transition-delay: .12s; }
.js .check-list.rv-checks.in li:nth-child(3)::before { transition-delay: .24s; }
.js .check-list.rv-checks.in li:nth-child(4)::before { transition-delay: .36s; }
.price-list { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--border); }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.price-list li span:last-child { font-weight: 600; color: var(--lavender); text-align: right; }
.note { border-left: 3px solid var(--glow); background: rgba(109, 63, 224, .14); padding: 14px 16px; border-radius: 0 12px 12px 0; }

/* Services pricing cards */
.plan { padding: 32px 26px 28px; display: flex; flex-direction: column; overflow: hidden; }
.plan h2 { font-size: 20px; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan-price { font-family: var(--font-head); font-size: clamp(34px, 9vw, 56px); line-height: 1; margin: 4px 0 18px; color: var(--white); text-shadow: 0 0 26px rgba(155, 107, 255, .7); white-space: nowrap; }
.plan-price small { font-family: var(--font-body); font-size: 16px; color: var(--muted); text-shadow: none; }
.plan--hero { --card-fill: #1A1230; }

/* Sticky sub-nav (services, desktop only) */
.subnav { display: none; }

/* ---------- FAQ: plus/minus rotation, smooth open, violet rule when open ---------- */
.faq details { border-bottom: 1px solid var(--border); position: relative; transition: background-color .2s ease; }
.faq details::before { content: ""; position: absolute; left: -16px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--glow); box-shadow: 0 0 10px rgba(155, 107, 255, .8); transform: scaleY(0); transition: transform .25s var(--ease); }
.faq details[open]::before { transform: scaleY(1); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq summary:hover { color: var(--lavender); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: var(--glow); transition: transform .25s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details[open] summary::before { transform: rotate(180deg); }
.faq-body { display: grid; grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; }
.faq details[open] .faq-body { animation: faq-open .3s var(--ease); }
@keyframes faq-open { from { grid-template-rows: 0fr; opacity: 0; } to { grid-template-rows: 1fr; opacity: 1; } }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Bands ---------- */
.band { background: var(--surface-2); color: var(--text); }
.band a:not(.btn) { color: var(--lavender); }
.band .muted, .band .lead { color: var(--muted); }
.cta-band {
  padding: var(--section-y) 0; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 85% 10%, rgba(112, 48, 240, .45), transparent 70%), var(--surface-2);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent, rgba(201, 184, 255, .6), transparent) top / 100% 1px no-repeat; }
.cta-orbit { position: absolute; z-index: -1; right: -18%; top: 50%; width: 900px; max-width: none; transform: translateY(-50%) rotate(-16deg); opacity: .55; pointer-events: none; }
.cta-band h2 { font-size: 24px; max-width: 16em; }
.contact-line { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); }

/* ---------- Contact page ---------- */
.contact-card {
  position: relative; overflow: hidden; isolation: isolate; margin: 8px 0 28px; padding: 28px 22px; border-radius: 24px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(155, 107, 255, .35), transparent 60%), linear-gradient(160deg, #2A1B52, #150F26);
  border: 1px solid rgba(201, 184, 255, .35); box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 50px rgba(112, 48, 240, .3);
}
.contact-card h2 { font-size: 20px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); }
.contact-card .btn { width: 100%; min-height: 56px; }
.contact-card .contact-bubble { position: absolute; z-index: -1; right: -24px; bottom: -30px; width: 150px; height: 150px; color: var(--glow); opacity: .14; }
.contact-tiles { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.contact-tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.contact-tile .card-icon { margin: 0; flex: none; width: 46px; height: 46px; }
.contact-tile .label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-tile a { overflow-wrap: anywhere; }
.send-list { counter-reset: send; list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.send-list li { counter-increment: send; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(109, 63, 224, .12); border: 1px solid var(--border); }
.send-list li::before { content: counter(send); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 12px; color: var(--lavender); border: 1.5px solid var(--lavender); }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.contact-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.contact-list .label { font-weight: 600; min-width: 90px; }
.btn--xl { min-height: 60px; font-size: 19px; padding: 14px 28px; }

/* ---------- Extras page ---------- */
.split { display: grid; gap: 36px; align-items: center; }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding: 0; list-style: none; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(201, 184, 255, .35); color: var(--text); text-decoration: none; font-weight: 600; background: rgba(21, 15, 38, .7); }
.jump-links a:hover { border-color: var(--glow); color: var(--lavender); }

/* Simulation shell (shared by the QR and NFC simulations): permanent DEMO pill, phone frame */
.sim { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.sim-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0A0714; background: #FFE27A; border: 1px solid #FFF1B8; box-shadow: 0 0 18px rgba(255, 226, 122, .3);
}
.sim-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0A0714; }
.sim-caption { margin: 0; font-size: 14px; color: var(--muted); text-align: center; max-width: 28em; }
.sim-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sim-done { width: 100%; max-width: 360px; text-align: center; }
.sim-done[hidden] { display: none; }
.sim-done p { font-size: 14px; color: var(--muted); }
.sim-done .btn { width: 100%; }
.sim-static { width: 100%; }
.sim-ready .sim-static { display: none; }
.sim-ready.is-real .sim-static { display: block; }
.sim:not(.sim-ready) .sim-live { display: none; }
.sim-ready.is-real .sim-live { display: none; }
.sim-toggle { display: none; }
.sim-ready .sim-toggle { display: inline-flex; }
.btn--quiet { min-height: 44px; padding: 8px 16px; font-size: 15px; background: transparent; color: var(--lavender); border-color: rgba(201, 184, 255, .35); }
.btn--quiet:hover { color: var(--text); border-color: var(--lavender); background: rgba(201, 184, 255, .08); }
.btn--quiet[aria-pressed="true"] { background: rgba(155, 107, 255, .2); border-color: var(--glow); color: var(--text); }

.sim-phone {
  position: relative; width: 300px; max-width: 100%; border-radius: 40px; padding: 11px;
  background: linear-gradient(160deg, #241845, #120C22 60%); border: 1.5px solid rgba(201, 184, 255, .6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 50px rgba(112, 48, 240, .35);
}
.sim-phone .phone-notch { top: 17px; }
.sim-screen { position: relative; min-height: 520px; border-radius: 30px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); }
.sim-view { position: absolute; inset: 0; display: flex; flex-direction: column; }
.sim-view[hidden] { display: none; }
.sim-view:focus { outline: none; }
.sim-h { font-family: var(--font-head); font-size: 14px; margin: 0; }
.sim-h:focus { outline: none; }
.sim-h:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

/* QR: camera viewfinder with noise, brackets, scan line, toast */
.cam {
  position: relative; flex: 1; display: grid; place-items: center; padding: 50px 20px 90px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 40%, #241A3D, #0B0814 70%, #050309);
}
.cam-hint { position: absolute; top: 46px; left: 0; right: 0; margin: 0; text-align: center; font-size: 12px; color: #D9D1F2; }
.cam-stand { width: 150px; transition: transform .6s var(--ease), filter .6s ease; filter: blur(.6px) brightness(.9); }
.cam.is-locked .cam-stand { transform: scale(1.12); filter: none; }
.cam-frame { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -130px 0 0 -110px; transition: all .45s var(--ease); pointer-events: none; }
.cam-frame .corner { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(238, 234, 251, .9); transition: border-color .3s ease, box-shadow .3s ease; }
.cam-frame .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.cam-frame .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.cam-frame .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.cam-frame .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.cam.is-scanning .cam-frame { animation: bracket-pulse .5s ease-in-out infinite alternate; }
@keyframes bracket-pulse { from { transform: scale(1); } to { transform: scale(.95); } }
.cam.is-locked .cam-frame { width: 132px; height: 132px; margin: -112px 0 0 -66px; }
.cam.is-locked .cam-frame .corner { border-color: var(--ok); box-shadow: 0 0 14px rgba(124, 240, 196, .7); }
.cam-line { position: absolute; left: 50%; top: 50%; width: 200px; margin: -120px 0 0 -100px; height: 2px; opacity: 0; background: var(--glow); box-shadow: 0 0 14px 4px rgba(155, 107, 255, .8); }
.cam.is-scanning .cam-line { opacity: 1; animation: cam-sweep 1.5s ease-in-out forwards; }
@keyframes cam-sweep { 0% { transform: translateY(0); } 50% { transform: translateY(196px); } 100% { transform: translateY(0); } }
.cam-toast {
  position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 14px; border-radius: 16px; cursor: pointer; font: 600 14px/1.3 var(--font-body); color: var(--text);
  background: rgba(42, 27, 82, .96); border: 1px solid rgba(201, 184, 255, .5); box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
  transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .35s ease, visibility 0s .35s;
}
.cam-toast.is-up { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .35s ease; }
.cam-toast small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.cam-toast .chip-ico { width: 34px; height: 34px; }
.cam-toast .chip-ico svg { width: 18px; height: 18px; }

/* Mini sample menu shown on the phone after a scan or tap */
.mini-menu { flex: 1; padding: 46px 18px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; overflow-y: auto; background: linear-gradient(180deg, #FFF8F0, #FBEFE4); color: #3B2A22; animation: grow .45s var(--ease); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.mini-menu .sim-h { font-family: Georgia, serif; font-size: 20px; color: #3B2A22; }
.mini-menu .tag { align-self: flex-start; margin: 2px 0 8px; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #F6D9CB; color: #5A3527; }
.mini-menu ul { list-style: none; padding: 0; margin: 0 0 10px; }
.mini-menu li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px dashed #D9C3B0; }
.mini-menu li span:last-child { font-weight: 600; white-space: nowrap; }
.mini-menu .demo-line { margin: auto 0 0; font-size: 12px; color: #6B5245; }
@keyframes grow { from { transform: scale(.2); opacity: 0; border-radius: 50%; } to { transform: scale(1); opacity: 1; border-radius: 0; } }

/* NFC stage: top-down table, sticker, phone slides in from the lower right */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); gap: 2px; }
.seg button {
  min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 14px/1.2 var(--font-body); transition: background-color .2s ease, color .2s ease;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--white); box-shadow: var(--glow-shadow); }
.nfc-stage {
  position: relative; width: 100%; max-width: 440px; height: 470px; border-radius: 26px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(201, 184, 255, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 60px rgba(0, 0, 0, .45);
}
.nfc-table { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.nfc-sticker { position: absolute; left: 50%; top: 44%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: radial-gradient(circle at 35% 30%, #8A5BFF, #4B2FA0); border: 2px solid var(--lavender); box-shadow: 0 0 0 8px rgba(201, 184, 255, .08), 0 6px 18px rgba(0, 0, 0, .5); }
.nfc-sticker svg { width: 34px; height: 34px; }
.nfc-ring { position: absolute; left: 50%; top: 44%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; border: 2px solid var(--glow); opacity: 0; z-index: 2; pointer-events: none; }
.nfc-stage.is-ripple .nfc-ring { animation: ripple 1s ease-out 3; }
.nfc-stage.is-ripple .nfc-ring.r2 { animation-delay: .25s; }
.nfc-stage.is-ripple .nfc-ring.r3 { animation-delay: .5s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .95; } 100% { transform: scale(5.4); opacity: 0; } }
.nfc-phone {
  position: absolute; z-index: 1; left: 50%; top: 44%; width: 196px; height: 380px; margin: -150px 0 0 -98px;
  border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #241845, #120C22 60%); border: 1.5px solid rgba(201, 184, 255, .7);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(112, 48, 240, .35);
  transform: translate(58%, 62%) rotate(16deg); transition: transform .7s var(--ease);
}
.nfc-stage.is-tapped .nfc-phone { transform: none; }
.nfc-stage.is-buzz .nfc-phone { animation: bzzt .32s linear; }
@keyframes bzzt { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px) rotate(-.6deg); } 40% { transform: translateX(3px) rotate(.6deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.nfc-phone .phone-notch { top: 15px; width: 54px; margin-left: -27px; height: 14px; }
.nfc-phone .sim-screen { min-height: 0; height: 100%; border-radius: 26px; }
.nfc-idle { flex: 1; display: grid; place-items: center; padding: 20px; text-align: center; font-size: 13px; color: var(--muted); background: radial-gradient(circle at 50% 30%, #241A3D, #0A0714 70%); }
.nfc-idle svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--lavender); }
.nfc-result { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.nfc-result .mini-menu { padding: 38px 14px 14px; font-size: 13px; }
.nfc-result .mini-menu .sim-h { font-size: 17px; }
.nfc-result .mini-menu li { padding: 7px 0; }
.res-screen { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 40px 16px 16px; font-size: 13px; animation: grow .45s var(--ease); background: radial-gradient(circle at 50% 0%, #2A1B52, #0A0714 70%); }
.res-screen .sim-h { font-size: 13px; line-height: 1.4; }
.stars { display: flex; gap: 2px; justify-content: center; }
.stars button { width: 32px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; color: #5B4E80; }
.stars button svg { width: 28px; height: 28px; margin: 0 auto; }
.stars button.is-on { color: #FFD45E; }
.stars button:hover { color: #FFE27A; }
.res-msg { margin: 0; font-size: 13px; color: var(--text); background: rgba(124, 240, 196, .12); border: 1px solid rgba(124, 240, 196, .4); border-radius: 12px; padding: 8px 10px; }
.res-msg:empty { display: none; }
.pay-amount { font-family: var(--font-head); font-size: 26px; margin: 4px 0; color: var(--white); text-align: center; }
.res-note { font-size: 11.5px; color: var(--muted); margin: 0; }
.btn-demo-pay { width: 100%; min-height: 44px; border-radius: 999px; border: 0; cursor: pointer; font: 600 15px/1.2 var(--font-body); color: var(--white); background: var(--primary); box-shadow: var(--glow-shadow); }
.btn-demo-pay:hover { background: var(--primary-hover); }

/* ---------- Footer: 4 columns, gradient rule, back to top, watermark ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--surface); color: var(--muted); padding: 56px 0 0; font-size: 15px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--glow) 30%, var(--lavender) 50%, var(--glow) 70%, transparent); box-shadow: 0 0 14px rgba(155, 107, 255, .8); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--lavender); }
.footer-grid { display: grid; gap: 30px; }
.footer-logo { display: inline-block; margin: 0 0 18px; }
.footer-logo img { width: 220px; height: auto; }
.footer-h { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lavender); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact p { margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 40px; padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(201, 184, 255, .35); text-decoration: none; font-weight: 600; background: var(--bg); }
.to-top svg { width: 16px; height: 16px; }
.to-top:hover { border-color: var(--glow); }
.footer-watermark {
  margin: -0.42em 0 -0.28em; text-align: center; white-space: nowrap; pointer-events: none; user-select: none; position: relative; z-index: 0;
  font-family: var(--font-head); font-size: 21vw; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 184, 255, .32); opacity: .2;
}

/* ---------- 404: orbit with a lost dot ---------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found .btn-row { justify-content: center; }
.lost-orbit { width: 260px; margin: 0 auto 28px; overflow: visible; }
.lost-orbit .ring { transform-origin: 130px 130px; animation: orbit-spin 30s linear infinite; }
.lost-orbit .lost { transform-origin: 130px 130px; animation: lost-drift 6s ease-in-out infinite; }
@keyframes lost-drift { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(14px, -10px); } 60% { transform: translate(-8px, 12px); } }

/* ---------- Credits page ---------- */
.credits-table-wrap { position: relative; overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); }
.credits-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.credits-table th, .credits-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.credits-table th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lavender); background: var(--surface); }
.credits-table td:first-child { color: var(--text); }
.credits-table td { color: var(--muted); }
.credits-table tr:last-child td { border-bottom: 0; }
.credits-table caption { text-align: left; padding: 14px; font-family: var(--font-head); color: var(--text); background: var(--surface-2); }

/* ---------- Reveal on scroll (hidden only once JS has tagged the element) ---------- */
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }

/* ---------- Narrow phones: keep the wide Michroma face inside 360px ---------- */
@media (max-width: 419px) {
  .brand-word-wrap { display: none !important; }
}
@media (max-width: 380px) {
  h1 { font-size: 25px; letter-spacing: -0.01em; }
  .hero--home h1 { font-size: 25px; }
  h2 { font-size: 20px; letter-spacing: -0.01em; }
  h3 { font-size: 17px; }
  .cta-band h2 { font-size: 21px; }
  .eyebrow { font-size: 10px; letter-spacing: .05em; }
  .steps strong { font-size: 15px; }
  .header-inner { gap: 8px; }
  .header-inner .btn--small { padding: 8px 14px; }
  .chip { font-size: 12px; padding: 6px 10px 6px 7px; }
  .seg button { padding: 6px 11px; }
  .plan h2 { font-size: 18px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .eyebrow { font-size: 12px; letter-spacing: .2em; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .sample-row { grid-auto-columns: 280px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .qr-block { grid-template-columns: auto 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1.4fr 1fr; }
  .contact-tiles { grid-template-columns: repeat(3, 1fr); }
  .contact-tile { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .cta-band h2 { font-size: 36px; }
  .contact-card { padding: 36px 34px; }
  .contact-card h2 { font-size: 24px; }
  .contact-card .btn { width: auto; }
  .chip--qr { left: 6%; }
  .chip--open { right: 4%; }
  .chip--book { left: 10%; }
  .phone { width: 260px; }
  .steps li::before { font-size: 52px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  body { font-size: 18px; }
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  h3 { font-size: 22px; }
  .wrap { padding: 0 32px; }
  .site-header.is-scrolled { --header-h: 56px; }
  .site-header.is-scrolled .brand-mark { height: 36px; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 24px; }
  .hero--home h1 { font-size: clamp(2.4rem, 3.9vw, 3.6rem); }
  .phone { width: 300px; }
  .hero-visual { min-height: 640px; }
  .brand-mark { height: 44px; }
  .brand-word { height: 16px; }
  .brand { gap: 10px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .card--feature { grid-row: span 2; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .js .rail-arrows { display: flex; }
  .sample-row { grid-auto-columns: 280px; margin: 0 -32px 16px; padding: 8px 32px 24px; scroll-padding: 0 32px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { padding: 88px 0 0 0; }
  .steps li::before { top: 0; font-size: 64px; }
  .steps li::after { left: 120px; right: -16px; top: 32px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--glow), rgba(46, 36, 80, .8)); transform-origin: 0 50%; }
  .js .steps[data-draw] li::after { transform: scaleX(0); }
  .js .steps[data-draw].drawn li::after { transform: scaleX(1); }
  .cta-band h2 { font-size: 48px; }
  .price-big { font-size: 52px; }
  .footer-logo img { width: 240px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; }
  .price-grid { grid-template-columns: 1.5fr 1fr; }
  .price-hero { padding: 44px 40px 38px; }
  .qr-block { grid-template-columns: auto auto 1fr; gap: 48px; }
  .nfc-stage { height: 500px; }

  .subnav { display: block; position: sticky; top: 56px; z-index: 40; background: rgba(10, 7, 20, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  .subnav ul { list-style: none; margin: 0 auto; padding: 0 32px; max-width: var(--wrap); display: flex; gap: 28px; }
  .subnav a { display: block; padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
  .subnav a:hover { color: var(--text); }
  .subnav a[aria-current="true"] { color: var(--lavender); border-bottom-color: var(--glow); }

  .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block; position: static; padding: 0; border: 0; background: none; margin-right: 8px; }
  .site-nav ul { display: flex; gap: 26px; }
  .no-js .site-nav { width: auto; order: 0; }
  .no-js .header-inner { flex-wrap: nowrap; }
}

/* Reduced motion: no animation or transition; the hero phone shows its menu screen, the reveal never hides content */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .phone { transform: rotate(6deg); }
  .ps { opacity: 0; }
  .ps--menu { opacity: 1; }
  .js .rv { opacity: 1; transform: none; }
  .js .steps[data-draw] li::after { transform: none; }
  .js .check-list.rv-checks li::before { transform: none; opacity: 1; }
  .chip .chip-glow { opacity: 0; }
}

/* Utilities */
.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; }

/* Small layout utilities (replace former inline style attributes, so the CSP can forbid inline styles) */
.wrap--narrow { max-width: 860px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-s { margin-top: 14px; }
.mt-l { margin-top: 48px; }
.mb-m { margin-bottom: 24px; }

/* ---------- Payment (PayPal only, owner decision 19 Oct) ---------- */
.split--top { align-items: start; }
.steps-note {
  display: flex; align-items: flex-start; gap: 12px; margin: 40px 0 0; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(109, 63, 224, .12); color: var(--muted);
}
.steps-note__lock { flex: none; width: 22px; height: 22px; color: var(--lavender); margin-top: 2px; }
.steps-note .text-link { color: var(--lavender); white-space: nowrap; }

.pay-steps { list-style: none; counter-reset: pay; padding: 0; margin: 0 0 28px; }
.pay-steps li { counter-increment: pay; position: relative; padding: 0 0 14px 44px; color: var(--muted); }
.pay-steps li strong { color: var(--text); }
.pay-steps li::before {
  content: counter(pay); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 13px; color: var(--lavender);
  border: 1.5px solid var(--lavender); box-shadow: 0 0 10px rgba(155, 107, 255, .4);
}
.faq .ph { white-space: normal; }

/* ---------- Book an appointment builder (Services page). Plain form; JS only builds the mailto link. ---------- */
#book, #payment { scroll-margin-top: 130px; }
.book-card { padding: 24px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.book-form fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.book-form legend { padding: 0; margin: 0 0 10px; font-family: var(--font-head); font-size: 15px; line-height: 1.4; color: var(--text); }
.book-form .hint { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.book-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 0 0 8px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.book-opt:hover { border-color: var(--lavender); }
.book-opt:has(input:checked) { border-color: var(--glow); background: rgba(109, 63, 224, .2); }
.book-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.book-opt input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.book-opt input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.book-opt__name { flex: 1 1 auto; min-width: 0; }
.book-opt__price { flex: none; max-width: 46%; text-align: right; font-size: 14px; color: var(--lavender); font-weight: 600; }
.book-field { display: block; margin: 0 0 20px; }
.book-field > span:first-child { display: block; margin: 0 0 6px; font-weight: 600; }
.book-field .req { color: var(--lavender); font-weight: 500; }
.book-form input[type="text"], .book-form textarea {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #8A7BB5; background: var(--bg); color: var(--text); font: inherit; font-size: 17px;
}
.book-form textarea { min-height: 150px; resize: vertical; }
.book-form input[type="text"]:focus-visible, .book-form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.book-form textarea[aria-invalid="true"] { border-color: #FFB4A8; }
.book-error { margin: 6px 0 0; color: #FFB4A8; font-weight: 600; }
.book-summary { margin: 0 0 24px; padding: 16px; border-radius: 14px; background: rgba(109, 63, 224, .14); border: 1px solid var(--border); }
.book-summary h3 { margin: 0 0 10px; font-size: 16px; }
.book-summary ul { list-style: none; margin: 0; padding: 0; }
.book-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid rgba(201, 184, 255, .14); }
.book-summary li:last-child { border-bottom: 0; }
.book-summary li span:last-child { text-align: right; color: var(--lavender); font-weight: 600; }
.book-summary .empty { color: var(--muted); }
.book-summary .fine { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.book-ig { margin: 18px 0 0; }
.book-ig a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lavender); font-weight: 600; }
.book-nojs { display: none; }
.no-js .book-nojs { display: block; }
.no-js .book-form-wrap { display: none; }
.pay-points { margin-top: 8px; }
@media (min-width: 640px) { .book-card { padding: 36px 34px; } }
@media (prefers-reduced-motion: reduce) { .book-opt { transition: none; } }

/* ---------- Polish pass, part 2 (19-20 Oct): bits the page markup needs ---------- */
.plan h2 .plan-name { display: block; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--lavender); margin-bottom: 10px; }
.plan h2 .plan-price { display: block; font-family: var(--font-head); font-size: clamp(34px, 9vw, 56px); line-height: 1; color: var(--white); text-shadow: 0 0 26px rgba(155, 107, 255, .7); white-space: nowrap; }
.plan h2 .plan-price small { font-family: var(--font-body); font-size: 16px; color: var(--muted); text-shadow: none; }
.plan h2 .plan-alt { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--muted); }
.plan h2 { margin-bottom: 18px; }
.try-title { text-align: center; font-size: 20px; margin-bottom: 16px; }
.sim-stack { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.sim-live { width: 100%; display: flex; justify-content: center; }
.sim-static .qr-block { justify-items: center; text-align: center; }
.sim-done .sim-controls { flex-direction: column; align-items: stretch; }
.footer-contact p:not(.footer-h) { line-height: 1.9; }
.live-stage { justify-content: flex-start; }
.qr-block > .rv:last-child .btn-row { margin-top: 8px; }
.hero--home .hero-grid { width: 100%; }
.not-found .lost-orbit { width: 220px; }
@media (min-width: 640px) {
  .sim-static .qr-block { text-align: left; justify-items: start; }
}

/* Branding packages: three plan cards */
.plan h3 .plan-name { display: block; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--lavender); margin-bottom: 10px; }
.plan h3 .plan-price { display: block; font-family: var(--font-head); font-size: clamp(34px, 9vw, 52px); line-height: 1; color: var(--white); text-shadow: 0 0 26px rgba(155, 107, 255, .7); white-space: nowrap; margin: 0; }
#branding .note { margin-top: 22px; }
@media (min-width: 640px) { .price-grid.price-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .price-grid.price-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Hero chips: clickable, switch the phone screen */
button.chip { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
button.chip:hover { border-color: var(--glow); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), 0 0 18px rgba(155, 107, 255, .5); }
button.chip:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }
button.chip[aria-pressed="true"] { background: rgba(48, 30, 92, .95); border-color: var(--glow); }
.ps--open { animation: none; }
.ps-open { display: flex; align-items: center; gap: 4px; margin: 0; font-weight: 600; color: var(--ok); }
.ps-open .chip-dot { margin: 0 4px 0 0; }
.hero-visual.is-manual .ps { animation: none; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.hero-visual.is-manual .ps.is-on { opacity: 1; transform: none; }
.hero-visual.is-manual .chip .chip-glow { animation: none; opacity: 0; }
.hero-visual.is-manual .chip[aria-pressed="true"] .chip-glow { opacity: 1; }
@media (max-width: 419px) { button.chip { font-size: 12px; } }

/* Contact: Instagram button under the email button */
.contact-card .btn + .btn { margin-top: 12px; }

/* Email + Instagram button pairs */
.cta-pair { display: inline-flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-pair .btn-ig { white-space: nowrap; }
.price-grid--3 .plan h3 .plan-price { font-size: clamp(30px, 6vw, 40px); }

/* Hero headline: two-line reveal, flowing gradient, glow and drawn underline */
.hero-title .ht-line, .hero-title .ht-big { display: block; }
.hero-title .ht-line { color: var(--text); animation: ht-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-title .ht-big {
  position: relative; display: inline-block; margin-top: .06em; padding-bottom: .12em;
  font-size: 1.32em; line-height: 1.05; letter-spacing: -0.015em;
  animation: ht-rise 1s cubic-bezier(.2, .8, .2, 1) .18s both;
}
.hero-title .ht-flow {
  background: linear-gradient(100deg, #E4DAFF 0%, var(--lavender) 22%, var(--glow) 45%, #8A5BFF 60%, #E4DAFF 80%, var(--lavender) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(155, 107, 255, .45));
  animation: ht-flow 7s linear infinite;
}
.hero-title .ht-big::after {
  content: ""; position: absolute; left: 0; right: 4%; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--glow) 20%, #E4DAFF 55%, var(--glow) 80%, transparent);
  box-shadow: 0 0 14px rgba(155, 107, 255, .8);
  transform-origin: left center; animation: ht-line-draw 1.1s cubic-bezier(.6, 0, .2, 1) .75s both;
}
@keyframes ht-rise { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ht-flow { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
@keyframes ht-line-draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.hero-title .ht-to { font-size: .6em; color: var(--text); letter-spacing: 0; margin-right: .08em; }

/* ======================================================================
   What I do: animated visuals (spec: what-i-do-spec.md)
   Base CSS = the finished static frame (what reduced-motion users see).
   Start states live only inside the 0% keyframes; animations start with .card.in.
   Only transform / opacity / stroke-dashoffset are animated.
   ====================================================================== */

/* ---- 1. Website card: sample cafe homepage builds itself, gets a booking ---- */
.mock { display: grid; gap: 10px; }
.mock-hero {
  position: relative; overflow: hidden; height: 104px; padding: 12px; border-radius: 10px;
  background: radial-gradient(circle at 70% 40%, rgba(201, 184, 255, .35), transparent 45%), linear-gradient(120deg, #2A1B52, #4B2FA0 60%, #6D3FE0);
}
.mock-hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); transform: skewX(-18deg);
}
.mock-copy { display: grid; gap: 3px; max-width: calc(100% - 62px); }
.mock-name { font-family: var(--font-head); font-size: 13px; line-height: 1.25; color: var(--text); }
.mock-tag { font-size: 11px; line-height: 1.3; color: var(--lavender); }
.mock-cup { position: absolute; right: 14px; top: 50%; width: 40px; height: 40px; margin-top: -20px; stroke: var(--lavender); }
.mock-open {
  position: absolute; left: 12px; bottom: 10px; display: inline-flex; align-items: center; padding: 3px 8px 3px 0;
  font-size: 10px; font-weight: 600; line-height: 1.3; color: var(--text); white-space: nowrap;
  background: rgba(21, 15, 38, .88); border: 1px solid rgba(201, 184, 255, .35); border-radius: 999px;
}
.mock-open .chip-dot { margin: 0 5px 0 8px; width: 6px; height: 6px; }
.mock-tabs { display: flex; gap: 6px; }
.mock-tabs span { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(201, 184, 255, .4); font-size: 10px; color: var(--muted); }
.mock-tabs span:first-child { background: var(--primary); border-color: var(--primary); color: var(--white); }
.mock-menu { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.mock-menu li { display: flex; justify-content: space-between; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.mock-menu li span:last-child { color: var(--lavender); white-space: nowrap; }
.mock-menu .mock-row4 { display: none; }
.mock-cta { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.3; }
.mock-btnwrap { position: relative; display: block; }
.mock-btn { position: relative; display: block; padding: 8px 14px; border-radius: 999px; background: var(--primary); color: var(--white); font-weight: 600; white-space: nowrap; }
.mock-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--glow-shadow); pointer-events: none; }
.mock-ghost { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(201, 184, 255, .4); color: var(--lavender); }
.mock-cursor {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 18px; height: 18px; margin: -1px 0 0 -2px; pointer-events: none;
  fill: var(--white); stroke: var(--bg); stroke-width: 1; stroke-linejoin: round; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
  will-change: transform;
}
.mock-ring { position: absolute; left: 50%; top: 50%; z-index: 1; width: 28px; height: 28px; margin: -13px 0 0 -14px; border-radius: 50%; border: 1.5px solid var(--glow); box-shadow: var(--glow-shadow); opacity: 0; pointer-events: none; }
.mock-toast {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 5px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; color: var(--text);
  background: rgba(21, 15, 38, .88); border: 1px solid rgba(201, 184, 255, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.mock-toast .chip-ico { color: var(--ok); }

.card.in .mock-hero, .card.in .mock-open, .card.in .mock-tabs, .card.in .mock-menu li, .card.in .mock-cta { animation: mk-build 10s var(--ease) infinite both; }
.card.in .mock-open { animation-delay: .35s; }
.card.in .mock-tabs { animation-delay: .5s; }
.card.in .mock-menu li:nth-child(1) { animation-delay: .65s; }
.card.in .mock-menu li:nth-child(2) { animation-delay: .8s; }
.card.in .mock-menu li:nth-child(3) { animation-delay: .95s; }
.card.in .mock-menu li:nth-child(4) { animation-delay: 1.05s; }
.card.in .mock-cta { animation-delay: 1.15s; }
.card.in .mock-hero::after { animation: mk-sheen 10s linear infinite both; }
.card.in .mock-steam { animation: mk-steam 3s ease-in-out infinite alternate both; }
.card.in .mock-steam--b { animation-delay: -1.2s; }
.card.in .mock-cursor { animation: mk-cursor 10s var(--ease) infinite both; }
.card.in .mock-btn { animation: mk-press 10s var(--ease) infinite both; }
.card.in .mock-btn::after { animation: mk-glow 10s linear infinite both; }
.card.in .mock-ring { animation: mk-ring 10s ease-out infinite both; }
.card.in .mock-toast { animation: mk-toast 10s var(--ease) infinite both; }

@keyframes mk-build {
  0% { opacity: 0; transform: translateY(8px) scale(.98); }
  6%, 84% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: none; }
}
@keyframes mk-sheen {
  0%, 13% { opacity: 0; transform: skewX(-18deg) translateX(0); }
  14% { opacity: 1; transform: skewX(-18deg) translateX(0); }
  24%, 100% { opacity: 0; transform: skewX(-18deg) translateX(520%); }
}
@keyframes mk-steam { from { opacity: .35; transform: translateY(0); } to { opacity: 1; transform: translateY(-4px); } }
@keyframes mk-cursor {
  0%, 30% { opacity: 0; transform: translate(60px, 50px) scale(1); }
  38% { opacity: 1; transform: translate(0, 0) scale(1); }
  44% { opacity: 1; transform: translate(0, 0) scale(.85); }
  47%, 78% { opacity: 1; transform: translate(0, 0) scale(1); }
  80%, 100% { opacity: 0; transform: translate(0, 0) scale(1); }
}
@keyframes mk-press { 0%, 43% { transform: scale(1); } 44% { transform: scale(.94); } 47%, 100% { transform: scale(1); } }
@keyframes mk-glow { 0%, 43% { opacity: 0; } 47%, 78% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes mk-ring {
  0%, 43% { opacity: 0; transform: scale(.4); }
  44% { opacity: 1; transform: scale(.4); }
  56%, 100% { opacity: 0; transform: scale(1.8); }
}
@keyframes mk-toast {
  0%, 48% { opacity: 0; transform: translateY(10px); }
  54%, 82% { opacity: 1; transform: none; }
  86%, 100% { opacity: 0; transform: translateY(0); }
}

/* ---- 2. Care plan card: status panel ---- */
.care-viz, .extras-viz {
  margin: 4px 0 20px; border-radius: 14px; background: rgba(42, 27, 82, .35);
  border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.care-viz { padding: 0 12px; }
.cv-row { display: flex; align-items: center; gap: 10px; height: 34px; font-size: 12px; line-height: 1.3; color: var(--text); }
.cv-row + .cv-row { border-top: 1px solid var(--border); }
.cv-on { font-weight: 600; }
.cv-row .chip-dot { position: relative; flex: none; margin: 0 0 0 4px; }
.cv-row .chip-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; }
.cv-beat { flex: none; width: 96px; height: 20px; margin-left: auto; stroke: var(--ok); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cv-beat polyline { stroke-dasharray: 100; stroke-dashoffset: 0; }
.cv-lock { flex: none; width: 16px; height: 16px; stroke: var(--lavender); }
.cv-check { flex: none; width: 10px; height: 10px; margin-left: auto; stroke: var(--ok); }
.cv-right { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.cv-val { position: relative; display: block; width: 44px; height: 18px; overflow: hidden; line-height: 18px; text-align: right; }
.cv-old, .cv-new { position: absolute; inset: 0; display: block; }
.cv-old { color: var(--muted); opacity: 0; transform: translateY(-100%); }
.cv-new { color: var(--lavender); font-weight: 600; }
.cv-pill { padding: 1px 7px; border-radius: 999px; font-size: 10px; line-height: 1.4; color: var(--ok); border: 1px solid rgba(124, 240, 196, .4); }

.card.in .cv-row .chip-dot::after { animation: live-ping 2s ease-out infinite; }
.card.in .cv-beat polyline { animation: cv-beat 3s linear infinite; }
.card.in .cv-shackle { animation: cv-shackle 6s var(--ease) infinite both; }
.card.in .cv-check { animation: cv-check 6s ease-out infinite both; }
.card.in .cv-old { animation: cv-old 6s var(--ease) infinite both; }
.card.in .cv-new { animation: cv-new 6s var(--ease) infinite both; }
.card.in .cv-pill { animation: cv-pill 6s var(--ease) infinite both; }

@keyframes cv-beat { 0% { stroke-dashoffset: 100; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes cv-shackle { 0%, 10% { transform: translateY(-3px); } 16%, 92% { transform: translateY(0); } 98%, 100% { transform: translateY(-3px); } }
@keyframes cv-check { 0%, 17% { opacity: 0; } 20%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes cv-old {
  0%, 40% { opacity: 1; transform: translateY(0); }
  48%, 92% { opacity: 0; transform: translateY(-100%); }
  98%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes cv-new {
  0%, 40% { opacity: 0; transform: translateY(100%); }
  48%, 92% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(100%); }
}
@keyframes cv-pill {
  0%, 49% { opacity: 0; transform: scale(.8); }
  54%, 88% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(.8); }
}

/* ---- 3. Extras card: scan the QR, then tap the sticker ---- */
.extras-viz { position: relative; height: 132px; overflow: hidden; }
.ev-stage { position: absolute; top: 0; bottom: 0; left: 50%; width: 240px; margin-left: -120px; }
.ev-tent {
  position: absolute; left: 10px; top: 50%; width: 64px; height: 80px; margin-top: -40px; padding: 6px; border-radius: 8px;
  background: #FFFFFF; text-align: center;
}
.ev-tent img { width: 52px; height: 52px; margin: 0 auto; image-rendering: pixelated; }
.ev-tent span { display: block; margin-top: 3px; font-size: 9px; line-height: 1.1; font-weight: 600; color: var(--bg); white-space: nowrap; }
.ev-tent::after { content: ""; position: absolute; inset: -3px; border-radius: 10px; border: 2px solid var(--glow); opacity: 0; pointer-events: none; }
.ev-nfc, .ev-ripple { position: absolute; left: 110px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; }
.ev-nfc { display: grid; place-items: center; background: linear-gradient(145deg, var(--primary), var(--glow)); box-shadow: 0 0 16px rgba(155, 107, 255, .5); }
.ev-nfc svg { width: 22px; height: 22px; }
.ev-ripple { border: 1.5px solid var(--glow); opacity: 0; pointer-events: none; }
.ev-phone {
  position: absolute; left: 172px; top: 10px; z-index: 2; width: 58px; height: 110px; padding: 4px; border-radius: 14px;
  background: linear-gradient(160deg, #241845, #120C22 60%); border: 1.5px solid rgba(201, 184, 255, .7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5), 0 0 16px rgba(112, 48, 240, .35); will-change: transform;
}
.ev-screen { position: relative; height: 100%; overflow: hidden; border-radius: 10px; background: var(--bg); }
.ev-screen-menu, .ev-screen-stars { position: absolute; inset: 0; padding: 10px 6px 6px; display: flex; flex-direction: column; gap: 6px; }
.ev-screen-menu b { font-family: var(--font-head); font-weight: 400; font-size: 8px; line-height: 1.2; color: var(--text); }
.ev-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4px; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
.ev-row i { display: block; height: 4px; border-radius: 2px; background: var(--border); }
.ev-row i:last-child { background: var(--lavender); opacity: .7; }
.ev-screen-stars { opacity: 0; align-items: center; justify-content: center; gap: 12px; }
.ev-stars { display: flex; gap: 1px; }
.ev-stars svg { width: 9px; height: 9px; fill: var(--lavender); }
.ev-sbtn { display: block; width: 70%; height: 10px; border-radius: 999px; background: var(--primary); }
.ev-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--glow); box-shadow: 0 0 10px 2px rgba(155, 107, 255, .8); opacity: 0; }

.card.in .ev-phone { animation: ev-phone 8s var(--ease) infinite both; }
.card.in .ev-scan { animation: ev-scan 8s ease-in-out infinite both; }
.card.in .ev-screen-menu { animation: ev-menu 8s var(--ease) infinite both; }
.card.in .ev-screen-stars { animation: ev-stars 8s linear infinite both; }
.card.in .ev-stars svg { animation: ev-star 8s linear infinite both; }
.card.in .ev-stars svg:nth-child(2) { animation-delay: .24s; }
.card.in .ev-stars svg:nth-child(3) { animation-delay: .48s; }
.card.in .ev-stars svg:nth-child(4) { animation-delay: .72s; }
.card.in .ev-stars svg:nth-child(5) { animation-delay: .96s; }
.card.in .ev-tent::after { animation: ev-flash 8s linear infinite both; }
.card.in .ev-nfc { animation: ev-tap 8s var(--ease) infinite both; }
.card.in .ev-ripple { animation: ev-ripple 8s ease-out infinite both; }
.card.in .ev-ripple--b { animation-delay: .3s; }

@keyframes ev-phone {
  0% { transform: translate(0, 0) rotate(0); }
  8%, 48% { transform: translate(-90px, 0) rotate(-6deg); }
  58% { transform: translate(-71px, 0) rotate(4deg); }
  60% { transform: translate(-71px, 3px) rotate(4deg); }
  62%, 90% { transform: translate(-71px, 0) rotate(4deg); }
  100% { transform: translate(0, 0) rotate(0); }
}
@keyframes ev-scan {
  0%, 8% { opacity: 0; transform: translateY(0); }
  9% { opacity: 1; transform: translateY(0); }
  17% { opacity: 1; transform: translateY(96px); }
  26% { opacity: 1; transform: translateY(0); }
  28%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes ev-menu {
  0%, 30% { opacity: 0; transform: scale(.9); }
  46%, 50% { opacity: 1; transform: scale(1); }
  56%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes ev-stars { 0%, 62% { opacity: 0; } 64%, 90% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes ev-star { 0%, 64% { opacity: .3; } 67%, 92% { opacity: 1; } 94%, 100% { opacity: .3; } }
@keyframes ev-flash { 0%, 24% { opacity: 0; } 26% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes ev-tap { 0%, 58% { transform: scale(1); } 61% { transform: scale(1.1); } 64%, 100% { transform: scale(1); } }
@keyframes ev-ripple {
  0%, 58% { opacity: 0; transform: scale(1); }
  59% { opacity: .9; transform: scale(1); }
  66%, 100% { opacity: 0; transform: scale(2.4); }
}

/* ---- Responsive ---- */
@media (max-width: 380px) {
  .mock-tabs, .mock-menu li:nth-child(3) { display: none; }
  .mock-hero { height: 88px; }
  .mock-open { bottom: 8px; }
  .mock-name { font-size: 12px; }
  .mock-toast { font-size: 11px; right: 12px; }
  .cv-beat { width: 72px; }
}
@media (min-width: 1024px) {
  .card--feature .browser { flex: 1; display: flex; flex-direction: column; }
  .card--feature .browser-body { flex: 1; }
  .mock-hero { height: 140px; }
  .mock-menu .mock-row4 { display: flex; }
}

/* Pause everything while the section is off screen (class set in main.js) */
.bento.is-off *, .bento.is-off *::before, .bento.is-off *::after { animation-play-state: paused; }
.price-xl small { font-family: var(--font-body); font-size: .3em; font-weight: 500; color: var(--muted); text-shadow: none; vertical-align: middle; margin-right: .2em; }

@media (max-width: 1023px) {
  .plan h2 .plan-price { white-space: normal; }
  .plan h2 .plan-price small:last-child { display: block; margin-top: 6px; }
}
.nw { white-space: nowrap; }

@media (min-width: 640px) and (max-width: 1100px) {
  .price-xl { font-size: 5vw; }
}
@media (min-width: 640px) and (max-width: 1200px) { .plan h2 .plan-price { font-size: min(56px, 4.6vw); } }

/* Narrow phones: keep big price and the Instagram button fully visible */
@media (max-width: 520px) {
  .price-xl { font-size: clamp(24px, 8vw, 40px); }
  .cta-pair .btn-ig { white-space: normal; text-align: center; }
}

/* Privacy page: readable long text */
.prose { max-width: 42em; }
.prose h2 { font-size: 18px; margin: 1.8em 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Posters for samples 6-9 (renovations, villa, dental, rental): system faces only ---------- */
.poster--renovations .poster-body { background: #F3F1EC; color: #1C1F22; }
.poster--renovations .poster-name { font-family: "Arial Black", Arial, system-ui, sans-serif; font-weight: 800; letter-spacing: -.01em; color: #1C1F22; }
.poster--renovations .poster-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, #1C1F22 0 2px, #F3F1EC 2px 10px); }
.poster--renovations .poster-chip { background: #E0A526; color: #1C1F22; }
.poster--renovations .poster-cta { color: #1C1F22; }
.poster--villa .poster-body { background: #FAF6F0; color: #13293D; }
.poster--villa .poster-name { font-family: Georgia, "Times New Roman", serif; font-weight: 500; color: #136F63; }
.poster--villa .poster-name::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #F4A672; margin-right: 8px; vertical-align: middle; }
.poster--villa .poster-chip { background: #136F63; color: #FFFFFF; }
.poster--villa .poster-cta { color: #136F63; }
.poster--dental .poster-body { background: #F7FAFC; color: #14233A; }
.poster--dental .poster-name { font-family: "Trebuchet MS", system-ui, sans-serif; font-weight: 700; color: #2557A7; }
.poster--dental .poster-chip { background: #9ED9CC; color: #14233A; }
.poster--dental .poster-cta { color: #2557A7; }
.poster--rental .poster-body { background: #0F1214; color: #F5F6F3; }
.poster--rental .poster-name { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 800; letter-spacing: -.02em; color: #CBF34B; }
.poster--rental .poster-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #CBF34B; }
.poster--rental .poster-chip { background: #CBF34B; color: #0F1214; }
.poster--rental .poster-cta { color: #CBF34B; }
.demo-grid .poster--renovations .poster-name { color: #E0A526; }
.demo-grid .poster--villa .poster-name { color: #F4A672; }
.demo-grid .poster--dental .poster-name { color: #9ED9CC; }
.demo-grid .poster--rental .poster-name { color: #CBF34B; }
.demo-grid .poster--renovations .poster-body::before { background: repeating-linear-gradient(90deg, #E0A526 0 2px, transparent 2px 10px); }
.demo-grid .poster--villa .poster-body::before { background: linear-gradient(90deg, #136F63, #F4A672); }
.demo-grid .poster--dental .poster-body::before { background: linear-gradient(90deg, #2557A7, #9ED9CC); }
.demo-grid .poster--rental .poster-body::before { background: #CBF34B; }
.demo-grid .poster--villa .poster-name::before { content: none; }

/* Tap targets: nav links at least 44px tall */
.site-nav a { display: flex; align-items: center; min-height: 44px; }
