/* YTM front-facing design system — "Light Glass".
   Same palette as the MiQ dashboard (matches the Figma "YTM Tokens" collection),
   with Poppins, frosted glass and a layered-stack layout language. */

/* Poppins, self-hosted (SIL Open Font License, see fonts/OFL-LICENSE.txt) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  /* colour roles */
  --bg-canvas: #f4f6fc;
  --bg-ice: #eef2f9;
  --surface: #ffffff;
  --indigo: #5838f5;
  --indigo-deep: #4930dd;
  --violet: #9b5cf0;
  --lavender: #eae6ff;
  --pink: #f5c7d5;
  --pink-deep: #b55073;
  --sky: #6fb6ff;
  --peach: #f3b49b;
  --ink: #1e2640;
  --muted: #44506a;
  --accent-text: #5838f5;
  --chip-bg: rgba(255, 255, 255, 0.8);
  --line-soft: #d9def0;
  --layer-top: rgba(255, 255, 255, 0.82);
  --layer-base: rgba(255, 255, 255, 0.45);
  --layer-edge: rgba(255, 255, 255, 0.95);
  --glow-soft: rgba(255, 255, 255, 0.9);
  --border: #dce4ef;
  /* glass */
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-line: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 24px 50px rgba(69, 84, 171, 0.12);
  --glow: 0 12px 28px rgba(88, 56, 245, 0.32);
  /* gradients (used sparingly: brand moments only) */
  --grad-brand: linear-gradient(120deg, #6645fa 0%, #9e5cee 100%);
  --grad-word: linear-gradient(90deg, #5838f5 0%, #b55073 85%);
  --grad-panel: linear-gradient(140deg, #e3dcff 0%, #f6d6e4 52%, #d9e9ff 100%);
  /* shape + space */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --max: 1240px;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
}
/* ---------- Dark mode (user toggle; follows the device setting by default) ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg-canvas: #0c1028;
  --bg-ice: #111633;
  --surface: #1a2049;
  --lavender: #2a2763;
  --ink: #eef0ff;
  --muted: #b3b9d8;
  --border: #2c3462;
  --accent-text: #b3a6ff;
  --chip-bg: rgba(26, 32, 73, 0.85);
  --line-soft: #333b6e;
  --layer-top: rgba(26, 32, 73, 0.9);
  --layer-base: rgba(36, 42, 92, 0.5);
  --layer-edge: rgba(179, 166, 255, 0.45);
  --glow-soft: rgba(155, 92, 240, 0.35);
  --glass: rgba(24, 29, 66, 0.6);
  --glass-strong: rgba(24, 29, 66, 0.82);
  --glass-line: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  --grad-word: linear-gradient(90deg, #b3a6ff 0%, #f5a6c4 85%);
  --grad-panel: linear-gradient(140deg, #29215f 0%, #3d2150 52%, #16294f 100%);
}
[data-theme="dark"] .ambient i { opacity: 0.22; }
[data-theme="dark"] .layer.l4 { background: rgba(243, 180, 155, 0.14); }
[data-theme="dark"] .layer.l3 { background: rgba(111, 182, 255, 0.14); }
[data-theme="dark"] .layer.l2 { background: rgba(155, 92, 240, 0.16); }
[data-theme="dark"] .art-a { background: linear-gradient(140deg, #2c3d74, #4b3ba8 70%, #7a3e6c); }
[data-theme="dark"] .art-c { background: linear-gradient(140deg, #6b3a3f, #6d3460 50%, #3c3a86); }

/* Theme toggle */
.theme-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .18s ease; }
.theme-btn:hover { transform: rotate(-20deg); }
.theme-btn .moon, [data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-canvas); color: var(--ink); font-size: 16.5px; line-height: 1.6; overflow-x: hidden; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--surface); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { left: 12px; }

/* Ambient background: soft pastel light, fixed behind the page */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.ambient i:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -120px; background: #dcd3ff; }
.ambient i:nth-child(2) { width: 460px; height: 460px; right: -120px; top: 120px; background: #fbd7e4; }
.ambient i:nth-child(3) { width: 520px; height: 520px; left: 30%; top: 70%; background: #d6e8ff; }

/* ---------- Components ---------- */
.glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--glass-shadow); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: 11px; letter-spacing: 0; }
.btn { display: inline-flex; align-items: center; gap: 14px; border-radius: var(--r-pill); padding: 8px 8px 8px 24px; font-weight: 500; font-size: 15.5px; transition: transform 0.18s ease, box-shadow 0.18s ease; white-space: nowrap; }
.btn .arr { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: transform 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arr { transform: rotate(-45deg); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow); }
.btn-primary .arr { background: rgba(255, 255, 255, 0.22); }
.btn-glass { color: var(--ink); }
.btn-glass .arr { background: var(--lavender); color: var(--accent-text); }
.btn-plain { padding: 13px 22px; background: var(--surface); border: 1px solid var(--border); font-weight: 500; justify-content: center; }
.grad-word { background: var(--grad-word); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 9px; border-radius: 16px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.chip em { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.sec { padding: 72px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; margin: 14px 0 0; max-width: 16ch; }
.sec-head p { max-width: 44ch; margin: 0; color: var(--muted); font-size: 17.5px; line-height: 1.7; }

/* ---------- Navigation (glass pill) ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 40; padding-top: 14px; }
.nav { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--r-pill); }
.logo { display: inline-flex; align-items: center; padding: 0 12px 0 8px; }
.logo img { display: block; height: 48px; width: auto; }
/* Footer keeps the original gradient pill */
.logo-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; box-shadow: var(--glow); }
.logo-pill span.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.logo-pill strong { font-weight: 600; letter-spacing: 0.22em; font-size: 14px; }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-links a { padding: 10px 15px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--surface); color: var(--accent-text); box-shadow: 0 6px 16px rgba(69, 84, 171, 0.08); }
.nav .btn { margin-left: auto; padding: 6px 6px 6px 20px; font-size: 14.5px; }
.nav .btn .arr { width: 34px; height: 34px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); font-size: 20px; color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; margin-top: 8px; padding: 10px; border-radius: 24px; }
.mobile-menu.open { display: grid; }
.mobile-menu a { padding: 13px 16px; border-radius: 14px; font-weight: 500; }
.mobile-menu a:hover { background: var(--surface); color: var(--accent-text); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(40px, 4.9vw, 68px); font-weight: 500; line-height: 1.03; letter-spacing: -0.035em; margin: 22px 0 22px; }
.hero .lead { font-size: 18.5px; line-height: 1.75; color: var(--muted); max-width: 50ch; margin: 0 0 30px; }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-card { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 22px; }
.mini-card .thumb { width: 64px; height: 64px; border-radius: 16px; background: url(/assets/img/video-editing-640.webp) center/cover; position: relative; }
.mini-card .thumb::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.mini-card b { display: block; font-size: 14.5px; font-weight: 600; }
.mini-card small { color: var(--muted); font-size: 14px; }

/* Hero visual: gradient panel holding a layered glass stack (layout language from the light reference) */
.panel { position: relative; height: 600px; border-radius: 36px; background: var(--grad-panel); overflow: hidden; box-shadow: 0 30px 70px rgba(88, 56, 245, 0.14); isolation: isolate; }
.panel::before { content: ""; position: absolute; width: 380px; height: 380px; right: -60px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--glow-soft), transparent 70%); }
.stage { position: absolute; inset: 0; perspective: 1500px; }
.stack { position: absolute; left: 50%; top: 46%; width: 420px; height: 300px; margin: -150px 0 0 -210px; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-38deg); }
.layer { position: absolute; inset: 0; border-radius: 26px; border: 1.5px solid var(--layer-edge); background: var(--layer-base); box-shadow: 0 40px 60px rgba(88, 56, 245, 0.18); }
.layer.l4 { transform: translateZ(-150px); border-color: rgba(243, 180, 155, 0.9); background: rgba(255, 236, 228, 0.55); }
.layer.l3 { transform: translateZ(-100px); border-color: rgba(111, 182, 255, 0.85); background: rgba(225, 238, 255, 0.55); }
.layer.l2 { transform: translateZ(-50px); border-color: rgba(155, 92, 240, 0.6); background: rgba(240, 234, 255, 0.6); }
.layer.l1 { transform: translateZ(0); background: var(--layer-top); padding: 18px; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 24px 1fr 1fr; gap: 12px; }
.l1 .bar { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.l1 .bar i { width: 34px; height: 8px; border-radius: 9px; background: var(--line-soft); }
.l1 .bar i:first-child { width: 60px; background: #c9c3f5; }
.l1 .bar b { margin-left: auto; width: 54px; height: 14px; border-radius: 9px; background: var(--grad-brand); }
.tile-v { border-radius: 14px; background: linear-gradient(135deg, #8fc3ff, #6a5cf6 60%, #c79bf2); position: relative; overflow: hidden; }
.tile-v.big { grid-row: 2 / 4; background: linear-gradient(140deg, #9ad0ff 0%, #6c63f5 45%, #b9a1ff 75%, #f4c3d7 100%); }
.tile-v.b2 { background: linear-gradient(135deg, #f8cfe0, #f3b49b); }
.tile-v.b3 { background: var(--surface); border: 1px solid var(--border); }
.tile-v.b3::before, .tile-v.b3::after { content: ""; position: absolute; left: 12px; right: 30px; height: 7px; border-radius: 9px; background: var(--line-soft); top: 16px; }
.tile-v.b3::after { top: 32px; right: 54px; background: #ebe7ff; }
.tile-v .p { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); border: 1px solid rgba(255,255,255,.8); }
.connectors { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.float { position: absolute; z-index: 3; animation: float 7s ease-in-out infinite; }
.float.f1 { top: 9%; left: 7%; }
.float.f2 { top: 20%; right: 6%; animation-delay: -2.4s; }
.float.f3 { bottom: 25%; left: 4%; animation-delay: -4.8s; }
.float.f4 { bottom: 31%; right: 5%; animation-delay: -1.2s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.caption { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 14px; border-radius: 26px; }
.caption .thumb { width: 76px; height: 64px; flex: none; border-radius: 16px; background: url(/assets/img/studio-desk-640.webp) center/cover; }
.caption b { display: block; font-size: 15px; font-weight: 600; }
.caption small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.caption a { margin-left: auto; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--accent-text); box-shadow: 0 6px 16px rgba(69, 84, 171, 0.14); transition: transform .18s ease; }
.caption a:hover { transform: rotate(-45deg); }

/* ---------- Stats line with rotating badge ---------- */
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr) 120px; align-items: center; gap: 20px; padding: 18px 30px; border-radius: var(--r-pill); margin: 18px 0 0; }
.stat b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; }
.stat span { font-size: 14.5px; color: var(--muted); }
.badge { position: relative; width: 112px; height: 112px; margin: -40px 0; display: grid; place-items: center; border-radius: 50%; background: var(--grad-panel); box-shadow: 0 14px 30px rgba(88, 56, 245, 0.2); }
.badge svg.ring { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.badge span { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--accent-text); font-size: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 14px 14px 24px; border-radius: 30px; }
.plan .art { height: 150px; border-radius: 22px; position: relative; overflow: hidden; margin-bottom: 18px; }
.plan .art .tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); background: var(--chip-bg); backdrop-filter: blur(8px); }
.plan .art .icon { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; color: #fff; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(8px); }
.art-a { background: linear-gradient(140deg, #d6e6ff, #b7a8ff 70%, #f1c4da); }
.art-b { background: linear-gradient(140deg, #7f63ff, #a46af0 55%, #f3b4cf); }
.art-c { background: linear-gradient(140deg, #fde1d4, #f6c5d8 50%, #cfc5ff); }
.plan h3 { margin: 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.plan .price { margin: 4px 10px 8px; font-size: 38px; font-weight: 500; letter-spacing: -0.04em; }
.plan .price small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.plan p { margin: 0 10px 20px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.plan .btn { margin: auto 10px 0; justify-content: space-between; }
.plan.featured { outline: 2px solid var(--indigo); outline-offset: -2px; }
.fine { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ---------- Process: layered steps with connectors ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process svg.links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.step { position: relative; padding: 24px; border-radius: 26px; }
.step:nth-of-type(even) { transform: translateY(26px); }
.step .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; font-weight: 600; color: #fff; margin-bottom: 18px; box-shadow: var(--glow); }
.step:nth-of-type(1) .num { background: linear-gradient(140deg, var(--sky), var(--indigo)); }
.step:nth-of-type(2) .num { background: var(--grad-brand); }
.step:nth-of-type(3) .num { background: linear-gradient(140deg, #b56ff0, var(--pink-deep)); }
.step:nth-of-type(4) .num { background: linear-gradient(140deg, var(--peach), #e27d8f); }
.step.human { outline: 2px solid var(--indigo); outline-offset: -2px; }
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.step .who { display: inline-block; margin-top: 14px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--lavender); color: var(--accent-text); }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.svc { padding: 24px; border-radius: 26px; transition: transform .18s ease; }
.svc:hover { transform: translateY(-4px); }
.svc.big { grid-row: span 2; padding: 14px; display: flex; flex-direction: column; }
.svc.big .img { flex: 1; min-height: 240px; border-radius: 20px; background: url(/assets/img/video-editing-1200.webp) center/cover; position: relative; }
.svc.big .img .chip { position: absolute; left: 14px; bottom: 14px; }
.svc.big .txt { padding: 18px 10px 8px; }
.svc .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; margin-bottom: 18px; }
.svc h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.svc p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.svc .more { display: inline-flex; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent-text); }

/* ---------- Consistency band ---------- */
.band { border-radius: 40px; padding: 56px; background: var(--grad-panel); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 420px; height: 420px; left: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, var(--glow-soft), transparent 70%); }
.band .sec-head { position: relative; z-index: 1; }
.eps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ep { padding: 10px; border-radius: 22px; }
.ep .shot { height: 140px; border-radius: 16px; background: center/cover; position: relative; }
.ep .shot .n { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--chip-bg); }
.ep b { display: block; margin: 12px 6px 2px; font-size: 15px; font-weight: 600; }
.ep small { display: block; margin: 0 6px 6px; color: var(--muted); font-size: 14px; }
.ep.ok { outline: 2px solid #23b17a; outline-offset: -2px; }
.band .note { position: relative; z-index: 1; margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Statement + FAQ ---------- */
.statement { text-align: center; padding: 90px 0 40px; }
.statement h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; margin: 0 auto 22px; max-width: 19ch; }
.statement p { color: var(--muted); font-size: 18px; margin: 0 auto 30px; max-width: 52ch; line-height: 1.7; }
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 64px 20px 24px; font-weight: 500; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 13px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--accent-text); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 24px 22px; color: var(--muted); line-height: 1.75; font-size: 16px; }

/* ---------- Footer ---------- */
.foot { margin: 70px 0 24px; padding: 34px; border-radius: 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; }
.foot h2 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 12px; font-weight: 600; }
.foot a:not(.logo):not(.logo-pill) { display: block; padding: 4px 0; font-size: 15px; color: var(--ink); }
.foot a:not(.logo):not(.logo-pill):hover { color: var(--accent-text); }
.foot p, .foot address { color: var(--muted); font-size: 15px; line-height: 1.75; font-style: normal; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { padding: 7px 13px; border-radius: var(--r-pill); font-size: 12.5px; color: var(--accent-text); background: var(--chip-bg); border: 1px solid var(--border); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.legal a { display: inline !important; }

/* ---------- Inner pages (shared components) ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--accent-text); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.phero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: 34px 0 44px; }
.phero.with-image { grid-template-columns: 1.05fr 1fr; }
.phero h1 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; margin: 22px 0 20px; max-width: 18ch; }
.phero:not(.with-image) h1 { max-width: 22ch; }
.phero .lead { font-size: 18.5px; line-height: 1.75; color: var(--muted); max-width: 60ch; margin: 0 0 30px; }
.phero .lead strong { color: var(--ink); font-weight: 600; }
.phero .lead a, .block a:not(.btn):not(.more), .faq a, .fine a { color: var(--accent-text); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.phero-art { position: relative; padding: 16px; border-radius: 36px; background: var(--grad-panel); box-shadow: 0 30px 70px rgba(88, 56, 245, 0.14); }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; }
.phero-chip { position: absolute; left: -14px; bottom: 34px; animation: float 7s ease-in-out infinite; }
.phero-chip em { background: var(--lavender); color: var(--accent-text); }

.flow { display: grid; gap: 22px; margin-top: 22px; }
.flow:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 22px; align-items: start; }
.split > * { min-width: 0; }
.split-side { position: sticky; top: 110px; display: grid; gap: 22px; }
.split > .flow { margin-top: 0; }
.flow-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.block { padding: 34px; border-radius: var(--r-lg); min-width: 0; }
.block > h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 14px; }
.block-intro { margin: -4px 0 22px; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 62ch; }
.block p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin: 0 0 14px; max-width: 70ch; }
.block p:last-child { margin-bottom: 0; }
.block p strong, .block li strong { color: var(--ink); }
.block h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 22px 0 8px; }
.block > ol:not(.steps-g), .block > ul:not(.checks):not(.post-list) { margin: 0; padding-left: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.block > ol li, .block > ul li { margin-bottom: 8px; }
.block .plans { margin-top: 4px; }

.steps-g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; counter-reset: s; }
.steps-g li { counter-increment: s; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.steps-g .num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; font-weight: 600; margin-bottom: 14px; background: var(--grad-brand); box-shadow: var(--glow); }
.steps-g .num::before { content: counter(s); }
.steps-g li:nth-child(4n+1) .num { background: linear-gradient(140deg, var(--sky), var(--indigo)); }
.steps-g li:nth-child(4n+3) .num { background: linear-gradient(140deg, #b56ff0, var(--pink-deep)); }
.steps-g li:nth-child(4n+4) .num { background: linear-gradient(140deg, var(--peach), #e27d8f); }
.steps-g h3 { margin: 0 0 6px; font-size: 17px; }
.steps-g p { font-size: 15.5px; margin: 0; }

.tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.tile { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform .18s ease; }
.tile:hover { transform: translateY(-3px); }
.tile-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; margin-bottom: 14px; color: #fff; font-size: 19px; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #5838f5)); }
.tile h3 { margin: 0 0 6px; font-size: 17px; }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a::after { content: " →"; color: var(--accent-text); }
.tile p { font-size: 15.5px; margin: 0; }

.listcard { padding: 32px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(150deg, #6645fa 0%, #8d55f0 55%, #c0619a 100%); box-shadow: 0 26px 60px rgba(88, 56, 245, 0.28); position: relative; overflow: hidden; }
.listcard::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); }
.listcard h2 { position: relative; margin: 0 0 18px; font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.listcard ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.listcard li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.listcard .tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5); font-size: 13px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 40px; border-radius: 34px; background: var(--grad-panel); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, var(--glow-soft), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; letter-spacing: -0.03em; }
.cta-band p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 56ch; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lavender); color: var(--accent-text); font-size: 12px; font-weight: 700; }

.table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; padding: 16px 20px; color: var(--muted); font-size: 14px; }
.compare th, .compare td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: 16px; font-weight: 600; background: var(--bg-ice); }
.compare thead th span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.compare thead th.featured { color: var(--accent-text); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { color: var(--muted); }

.contact-list { font-style: normal; color: var(--ink); font-size: 16.5px; line-height: 1.8; margin-bottom: 14px; }
.contact-list a { color: var(--accent-text); font-weight: 500; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.post-list li { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.post-list h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; }
.post-list p { font-size: 15.5px; }
.status-chip { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--lavender); color: var(--accent-text); font-size: 12px; font-weight: 600; vertical-align: middle; }
.block .faq { max-width: none; }
.block .faq details { box-shadow: none; background: var(--surface); border-color: var(--border); }
main > .flow:last-child, main > .split:last-child { margin-bottom: 10px; }

/* ---------- Guides ---------- */
.article { padding: 44px clamp(24px, 6vw, 72px); }
.article > * { max-width: 72ch; }
.article > p:first-child { font-size: 18px; color: var(--ink); }
.article h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; margin: 34px 0 12px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--accent-text); font-weight: 600; }
.article-meta { margin-top: 30px !important; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px !important; }
.post-list li { position: relative; }
.block .post-list h3 a { color: var(--ink); text-decoration: none; font-weight: 600; }
.block .post-list li:hover h3 a { color: var(--accent-text); }
.post-list h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.post-list li:hover { border-color: var(--indigo); }
.post-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; margin-bottom: 12px; color: #fff; background: var(--grad-brand); font-size: 17px; }
.post-meta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent-text); }

/* ---------- Forms ---------- */
.form-slot { padding: 28px; border-radius: 20px; border: 2px dashed var(--border); background: var(--surface); color: var(--muted); }
.form-slot p { margin: 0; }
.contact-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 15px; font-weight: 500; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo) 18%, transparent); }
.field .invalid, .check input.invalid { border-color: #d64561; box-shadow: 0 0 0 4px rgba(214, 69, 97, 0.14); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.55; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); flex: none; }
.check a { color: var(--accent-text); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 500; }
.form-msg.ok { color: #1f9d6c; }
.form-msg.err { color: #d64561; }
[data-theme="dark"] .form-msg.ok { color: #5fd3a5; }
[data-theme="dark"] .form-msg.err { color: #ff8da3; }
.form .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .panel { height: 540px; }
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .menu-btn { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); border-radius: 30px; }
  .badge { display: none; }
  .plans, .eps { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process svg.links { display: none; }
  .step:nth-of-type(even) { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .svc.big { grid-column: 1 / -1; grid-row: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phero.with-image, .split, .flow-2, .contact-split { grid-template-columns: 1fr; }
  .split-side { position: static; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-btn { margin-left: auto; }
  .menu-btn { margin-left: 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .panel { height: 440px; border-radius: 28px; }
  .stack { width: 300px; height: 220px; margin: -110px 0 0 -150px; }
  .float.f3, .float.f4 { display: none; }
  .caption small { display: none; }
  .plans, .eps, .process, .bento, .foot-grid { grid-template-columns: 1fr; }
  .band { padding: 30px 20px; border-radius: 30px; }
  .sec { padding: 54px 0; }
  .btn { font-size: 15px; white-space: normal; }
  .tiles { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .block, .listcard { padding: 24px 20px; border-radius: 24px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 22px; border-radius: 26px; }
  .phero-chip { left: 10px; bottom: 10px; }
  .theme-btn, .menu-btn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .float, .badge svg.ring, .phero-chip { animation: none; }
  body, .tile, .theme-btn { transition: none; }
  .btn, .svc, .btn .arr, .caption a { transition: none; }
}

/* ---- Single-card pages: Coming soon and Owner view (pre-launch lock) ---- */
.solo-main { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; }
.solo-card { width: min(640px, 100%); border-radius: 36px; padding: 44px 44px 40px; display: grid; gap: 20px; justify-items: start; }
.solo-card .logo img { height: 48px; width: auto; display: block; }
.solo-card h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; margin: 0; }
.solo-card .lead { font-size: 17.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.solo-card .lead strong { color: var(--ink); font-weight: 600; }
.solo-card .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.solo-card .cta-row form { margin: 0; }
.solo-card .btn-glass { border: 1px solid var(--glass-line); cursor: pointer; font-family: inherit; padding: 13px 24px; }
.solo-card .form { width: 100%; }
.solo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.solo-chips li { padding: 7px 14px; border-radius: var(--r-pill); background: var(--chip-bg); border: 1px solid var(--border); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.solo-chips li::before { content: "✓ "; color: var(--accent-text); font-weight: 700; }
.solo-social { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14.5px; }
.solo-social span { color: var(--muted); }
.solo-social a { color: var(--accent-text); font-weight: 500; }
.solo-fine { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.status-line { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: var(--r-pill); background: var(--chip-bg); border: 1px solid var(--border); font-weight: 600; font-size: 14.5px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.is-locked { background: #e0a019; box-shadow: 0 0 0 4px rgba(224, 160, 25, 0.18); }
.status-dot.is-live { background: #1f9d6c; box-shadow: 0 0 0 4px rgba(31, 157, 108, 0.18); }
.owner-launch { width: 100%; border-top: 1px solid var(--border); padding-top: 16px; }
.owner-launch summary { cursor: pointer; font-weight: 600; color: var(--accent-text); }
.owner-launch .form { margin-top: 14px; }
.owner-pill { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.owner-pill a { padding: 6px 14px; border-radius: var(--r-pill); background: var(--grad-brand); color: #fff; }
@media (max-width: 640px) { .solo-card { padding: 32px 24px 28px; border-radius: 28px; } }
.solo-card .soon-logo img { height: 96px; }
@media (max-width: 640px) { .solo-card .soon-logo img { height: 76px; } }
