/* Nitech — site styles. One stylesheet for every marketing page. */

:root {
  --bg: #07070b;
  --bg-2: #0c0c13;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5fa;
  --muted: #9a9cb0;
  --dim: #7f8196;

  /* Brand gradient, sampled from the Nitech mark */
  --cyan: #5ec8ff;
  --blue: #5b7cff;
  --violet: #7b5cff;
  --pink: #e05cff;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 40%, var(--violet) 70%, var(--pink) 100%);

  --ok: #3ddc97;

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", var(--font);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: rgba(123, 92, 255, 0.45); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35;
}
.ambient::before { width: 60vw; height: 60vw; left: -15vw; top: -25vw; background: radial-gradient(circle, var(--blue), transparent 65%); }
.ambient::after { width: 50vw; height: 50vw; right: -15vw; top: 10vh; background: radial-gradient(circle, var(--pink), transparent 65%); opacity: 0.18; }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--max) - 48px); margin: 0 auto; padding: 10px 10px 10px 18px;
  background: rgba(12, 12, 19, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled .nav { background: rgba(12, 12, 19, 0.85); border-color: var(--border-strong); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; padding: 110px 24px 40px;
  background: rgba(7, 7, 11, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 24px; font-size: 1rem; justify-content: center; border-bottom: 0; }
.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--text); color: #0a0a10; box-shadow: 0 10px 30px rgba(255,255,255,0.08); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(123, 92, 255, 0.35); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--grad); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: var(--grad); }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 16px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.page-hero { padding: 180px 0 64px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin: 18px 0 20px; max-width: 900px; }
.page-hero p { color: var(--muted); font-size: 1.2rem; max-width: 620px; }

/* ---------- Home hero ---------- */
.hero { padding: 168px 0 96px; min-height: min(100vh, 980px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-grid > * { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 0.85rem; color: var(--muted);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.15); animation: pulse 2s infinite; margin-left: 4px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } }
.hero h1 { font-size: clamp(3.4rem, 8.5vw, 7rem); line-height: 0.95; letter-spacing: -0.045em; margin: 24px 0 28px; }
.hero h1 span { display: block; }
.hero-lede { font-size: 1.2rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; }
.hero-meta span { font-size: 0.85rem; color: var(--dim); }

/* Hero visual: a live automation console */
.console {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 20, 32, 0.9), rgba(12, 12, 19, 0.95));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.console::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(94,200,255,0.6), transparent 35%, transparent 65%, rgba(224,92,255,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a38; }
.console-bar i:nth-child(1) { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--dim); }
.console-body { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.flow-node {
  padding: 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; position: relative;
}
.flow-node b { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.flow-node small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-node.active { border-color: rgba(94, 200, 255, 0.5); box-shadow: 0 0 24px rgba(94, 200, 255, 0.15); }
.log { font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.9; color: var(--muted); min-height: 150px; }
.log div { opacity: 0; transform: translateY(4px); animation: logIn 0.4s var(--ease) forwards; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .t { color: var(--dim); margin-right: 8px; }
.log .ok { color: var(--ok); }
.log .hl { color: var(--cyan); }
@keyframes logIn { to { opacity: 1; transform: none; } }
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.stat small { display: block; color: var(--dim); font-size: 0.72rem; }
.stat strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; }
.bar { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width 1.6s var(--ease); }
.hero-visual { position: relative; }
.hero-visual .float-chip {
  position: absolute; padding: 10px 14px; border-radius: 14px; font-size: 0.82rem;
  background: rgba(16, 16, 26, 0.9); border: 1px solid var(--border-strong); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 8px;
  animation: float 6s ease-in-out infinite;
}
.float-chip.one { left: -28px; bottom: -22px; }
.float-chip.two { right: -18px; top: -18px; animation-delay: -3s; }
.float-chip .ic { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 0.75rem; font-weight: 700; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--dim); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; font-size: 0.8rem; color: var(--violet); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(123, 92, 255, 0.14), transparent 60%);
}
.card:hover { border-color: var(--border-strong); }
.card:hover::after { opacity: 1; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service h3 { font-size: 1.3rem; margin: 20px 0 10px; letter-spacing: -0.02em; }
.service p { color: var(--muted); font-size: 0.97rem; }
.service.wide { grid-column: span 2; }
.service.full { grid-column: 1 / -1; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(94,200,255,0.18), rgba(224,92,255,0.18));
  border: 1px solid rgba(255,255,255,0.1);
}
.icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding-top: 28px; border-top: 1px solid var(--border-strong); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan);
}
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--grad); }
.step h3 { font-size: 1.25rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer; text-align: left; padding: 0;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.project:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.project-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project:hover .project-media img { transform: scale(1.04); }
.project-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-body .meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.project-body h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.project-body p { color: var(--muted); font-size: 0.97rem; }
.project-body .more { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }

/* Project dialog */
dialog.modal {
  width: min(880px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--border-strong);
  border-radius: 24px; background: var(--bg-2); color: var(--text); overflow: auto;
}
dialog.modal::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: modalIn 0.4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.modal-body { padding: 28px 32px 32px; }
.modal-body h3 { font-size: 2rem; margin: 6px 0 12px; }
.modal-body p { color: var(--muted); }
.modal-body ul { color: var(--muted); padding-left: 18px; margin: 16px 0 0; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.6); border: 1px solid var(--border-strong); cursor: pointer; font-size: 1.3rem; line-height: 1;
}

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 40px;
}
.billing-toggle button {
  border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 0.9rem; color: var(--muted); font-weight: 500;
}
.billing-toggle button[aria-pressed="true"] { background: var(--text); color: #0a0a10; }
.billing-toggle .save { font-size: 0.72rem; color: var(--ok); margin-left: 4px; }
.billing-toggle button[aria-pressed="true"] .save { color: #0a7a4b; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plans.four { grid-template-columns: repeat(4, 1fr); }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.plan .desc { color: var(--muted); font-size: 0.92rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price strong { font-family: var(--font-display); font-size: 3rem; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--dim); font-size: 0.95rem; }
.price-note { font-size: 0.82rem; color: var(--ok); min-height: 1.3em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 0.93rem; }
.plan li { display: flex; gap: 10px; color: #cfd1de; }
.plan li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: rgba(94, 200, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ec8ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured { background: linear-gradient(180deg, rgba(91, 124, 255, 0.12), rgba(224, 92, 255, 0.04)); border-color: rgba(123, 92, 255, 0.45); }
.badge {
  align-self: flex-start; order: -1; margin-bottom: 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--grad); color: #fff;
}
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; }
.addon span { color: var(--muted); font-size: 0.95rem; }
.addon strong { font-family: var(--font-display); font-size: 1.1rem; text-align: right; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-info .card { padding: 22px 24px; display: flex; gap: 16px; align-items: center; }
.contact-info small { display: block; color: var(--dim); font-size: 0.8rem; }
.contact-info strong { font-weight: 600; }
.form { display: grid; gap: 16px; padding: 32px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.85rem; font-weight: 500; color: #cfd1de; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; font: inherit; font-size: 0.97rem; color: var(--text);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-strong); transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9cb0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-size: 0.85rem; font-weight: 500; color: #cfd1de; margin-bottom: 8px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 0.88rem; border: 1px solid var(--border-strong); background: var(--surface); transition: all 0.2s; }
.chips input:checked + span { background: var(--text); color: #0a0a10; border-color: var(--text); }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form .btn { justify-content: center; }
.form-note { font-size: 0.82rem; color: var(--dim); text-align: center; }
.success { display: none; padding: 48px 32px; text-align: center; }
.success .tick { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(61, 220, 151, 0.12); border: 1px solid rgba(61, 220, 151, 0.4); display: grid; place-items: center; }
.success h2 { font-size: 2rem; margin-bottom: 10px; }
.sent .success { display: block; }
.sent .form { display: none; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: 88px 48px; text-align: center;
  background: radial-gradient(ellipse at 50% 120%, rgba(123, 92, 255, 0.45), transparent 60%), var(--bg-2);
  border: 1px solid var(--border-strong);
}
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -0.04em; max-width: 800px; margin: 0 auto 18px; }
.cta p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.cta .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Prose (terms) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 48px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose p, .prose li { color: #c3c5d3; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0; display: grid; gap: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 0.88rem; }
.toc a { color: var(--dim); padding: 4px 0; transition: color 0.2s; }
.toc a:hover { color: var(--text); }
.terms-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 40px; padding: 80px 0 32px; border-top: 1px solid var(--border); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(720px, 80%); height: 1px; transform: translateX(-50%); background: var(--grad); opacity: 0.8; }
.site-footer::after { content: ""; position: absolute; top: -140px; left: 50%; width: min(1000px, 130%); height: 280px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(123, 92, 255, 0.2), transparent); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand p { max-width: 320px; margin: 16px 0 20px; color: var(--muted); font-size: 0.95rem; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.copy-btn { gap: 10px; max-width: 100%; }
.copy-btn svg, .to-top svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn.copied { color: var(--ok); border-color: rgba(61, 220, 151, 0.5); }
.footer-grid h2 { margin-bottom: 16px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.footer-grid ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.footer-grid ul a, .footer-grid ul > li > span { display: inline-block; padding: 6px 0; color: var(--muted); overflow-wrap: anywhere; }
.footer-grid ul a { background: linear-gradient(var(--text), var(--text)) 0 calc(100% - 4px) / 0 1px no-repeat; transition: color 0.2s, background-size 0.4s var(--ease); }
.footer-grid ul a:hover, .footer-grid ul a:focus-visible { color: var(--text); background-size: 100% 1px; }
.local-time { font-variant-numeric: tabular-nums; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); transition: background-color 0.2s, border-color 0.2s, transform 0.35s var(--ease); }
.socials a:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-3px); }
.socials svg { width: 16px; height: 16px; fill: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--dim); }
.footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-meta a:hover { color: var(--text); }
.to-top { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; transition: transform 0.35s var(--ease), background-color 0.2s; }
.to-top:hover { background: var(--surface-2); transform: translateY(-4px); }
.footer-word { --fx: 50%; margin-top: 48px; padding-top: 0.06em; overflow: hidden; text-align: center; user-select: none; -webkit-user-select: none; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em; line-height: 0.82; font-size: clamp(5rem, 22vw, 18rem); }
.footer-word span { display: block; background: radial-gradient(520px circle at var(--fx) 25%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: auto; padding-top: 150px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service.wide { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .plans.four { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .terms-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-btn { display: flex; }
  .plans { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 88px 0; }
  .container { padding: 0 20px; }
  .services, .process, .plans.four { grid-template-columns: 1fr; }
  .service.wide, .service.full { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .cta { padding: 64px 24px; border-radius: 24px; }
  .float-chip { display: none !important; }
  .flow, .stats-row { gap: 6px; }
  .flow-node, .stat { padding: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 24px; }
  .hero-meta { gap: 24px; }
}


/* ---------- Motion polish ---------- */
.ambient { will-change: auto; }
@supports (animation-timeline: scroll()) {
  body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root block); }
  @keyframes progress { to { transform: scaleX(1); } }
}
@keyframes lineUp { from { opacity: 0; transform: translateY(0.5em); } }
/* Hero headline: lines rise in, then a brand-colour wave loops through them every 6s */
@keyframes shimmer { to { background-position: 100% 0; } }
@keyframes wave { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0% 0; } }
@keyframes glow {
  0%, 100% { filter: none; }
  12% { filter: drop-shadow(0 0 22px rgba(123, 92, 255, 0.75)) brightness(1.2); }
  32% { filter: none; }
}
.hero h1 span:not(.grad-text) {
  background: linear-gradient(100deg, var(--text) 0%, var(--text) 42%, var(--cyan) 46.5%, var(--violet) 50%, var(--pink) 53.5%, var(--text) 58%, var(--text) 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lineUp 1s var(--ease) both, wave 6s ease-in-out 1.2s infinite;
}
.hero h1 span:nth-child(2):not(.grad-text) { animation-delay: 0.1s, 1.55s; }
.hero .grad-text { background-size: 200% 100%; animation: lineUp 1s var(--ease) 0.2s both, shimmer 12s ease-in-out 1.2s infinite alternate, glow 6s ease-in-out 1.95s infinite; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(123, 92, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::before { transform: translateX(120%); transition: transform 0.8s var(--ease); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.console { transition: transform 0.5s var(--ease); will-change: transform; }
.js .section-head .eyebrow::before, .js .section-head.center .eyebrow::after { width: 0; transition: width 0.9s var(--ease) 0.2s; }
.js .section-head.in .eyebrow::before, .js .section-head.in .eyebrow::after { width: 18px; }
.js .step::after { width: 0; transition: width 1.1s var(--ease) 0.2s; }
.js .step.in::after { width: 100%; }
.js .footer-word span { transform: translateY(75%); transition: transform 1.3s var(--ease) 0.1s; }
.js .footer-word.in span { transform: none; }
@media (max-width: 1024px) { .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .site-footer { padding-top: 64px; }
  .footer-grid { gap: 32px 20px; }
  .footer-brand + div + div + div { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 40px; }
}

/* ---------- Google review cards ---------- */
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 0.92rem; color: var(--cyan); }
.more-link span { transition: transform 0.25s var(--ease); }
.more-link:hover span { transform: translateX(3px); }
.review-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.review-teaser h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin: 16px 0; }
.review-teaser p { color: var(--muted); font-size: 1.1rem; max-width: 520px; }
.price-from { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.price-from strong { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -0.03em; color: var(--text); }
.process.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.place h3 { font-size: 1.15rem; margin-bottom: 8px; }
.place p { color: var(--muted); font-size: 0.95rem; }
.price-note s, .calc-price s { color: var(--dim); }

/* Tap animation: phone taps card, review sheet pops up. 8s loop, transforms/opacity only */
.tap-scene { --cycle: 8s; position: relative; width: 100%; max-width: 460px; margin: 0 auto; aspect-ratio: 1 / 1.1; container-type: inline-size; }
.tap-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 92, 255, 0.35), transparent); }
.tap-card {
  position: absolute; left: 12%; bottom: 6%; width: 76%; aspect-ratio: 1.586;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px; padding: 5.5cqw; border-radius: 20px; border-radius: 5cqw;
  background: radial-gradient(120% 120% at 0% 0%, rgba(94, 200, 255, 0.22), transparent 55%), radial-gradient(100% 100% at 100% 100%, rgba(224, 92, 255, 0.2), transparent 55%), linear-gradient(135deg, #1b1b2c, #0e0e17);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  transform: rotate(-5deg);
}
.tap-card-top { display: flex; justify-content: space-between; align-items: center; }
.tap-brand { font-family: var(--font-display); font-weight: 700; font-size: 14px; font-size: 3.6cqw; letter-spacing: -0.01em; }
.tap-nfc { width: 22px; width: 6cqw; height: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tap-card-mid strong { display: block; font-family: var(--font-display); font-size: 22px; font-size: 5.8cqw; line-height: 1.1; letter-spacing: -0.02em; }
.tap-card-mid span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-size: 3cqw; }
.tap-card-stars, .tap-sheet-stars { display: flex; gap: 3px; }
.tap-card-stars .star { width: 16px; width: 4.2cqw; fill: #fbbc04; }
.tap-ripple { position: absolute; left: 50%; top: 30%; width: 0; height: 0; }
.tap-ripple i { position: absolute; left: -100px; top: -100px; width: 200px; height: 200px; left: -24cqw; top: -24cqw; width: 48cqw; height: 48cqw; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: tapRipple var(--cycle) var(--ease) infinite; }
.tap-ripple i:nth-child(2) { animation-delay: 0.18s; }
.tap-ripple i:nth-child(3) { animation-delay: 0.36s; }
.tap-phone {
  position: absolute; left: 33%; top: 1%; width: 34%; aspect-ratio: 9 / 19;
  padding: 4px; padding: 1cqw; border-radius: 26px; border-radius: 6.5cqw;
  background: #050507; border: 3px solid #2c2c38; border-width: 0.8cqw;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 24px 50px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 100%; will-change: transform, opacity;
  animation: phoneTap var(--cycle) cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.tap-island { position: absolute; top: 9px; top: 2.3cqw; left: 50%; z-index: 3; width: 36px; width: 9cqw; height: 10px; height: 2.6cqw; margin-left: -18px; margin-left: -4.5cqw; border-radius: 10px; background: #000; }
.tap-screen { position: relative; height: 100%; overflow: hidden; border-radius: 22px; border-radius: 5.5cqw; background: radial-gradient(90% 60% at 30% 10%, rgba(91, 124, 255, 0.55), transparent 70%), radial-gradient(80% 60% at 90% 90%, rgba(224, 92, 255, 0.45), transparent 70%), #0b0b14; }
.tap-sheet {
  position: absolute; left: 6%; right: 6%; bottom: 5%; padding: 10px; padding: 2.6cqw;
  border-radius: 14px; border-radius: 3.6cqw; background: #f5f6fa; color: #16161d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 100%; opacity: 0; animation: tapSheet var(--cycle) var(--ease) infinite;
}
.tap-sheet-head { display: flex; align-items: center; gap: 6px; }
.tap-avatar { display: grid; place-items: center; flex: none; width: 18px; width: 4.8cqw; height: 18px; height: 4.8cqw; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 9px; font-size: 2.4cqw; }
.tap-sheet-head b { display: block; font-size: 9px; font-size: 2.5cqw; line-height: 1.2; }
.tap-sheet-head small { display: block; font-size: 7px; font-size: 1.9cqw; color: #6b6d80; }
.tap-sheet-stars { justify-content: center; margin: 8px 0; margin: 2.4cqw 0; }
.tap-sheet-stars .star { width: 16px; width: 4.4cqw; fill: #d6d8e3; animation: tapStar var(--cycle) infinite; animation-delay: calc(var(--i) * 0.15s); }
.tap-sheet-line { height: 4px; height: 1.1cqw; margin-top: 4px; margin-top: 1.1cqw; border-radius: 4px; background: #dfe1ea; }
.tap-sheet-line.short { width: 60%; }
.tap-post { margin: 8px 0 0 auto; margin-top: 2.4cqw; width: fit-content; padding: 4px 10px; padding: 1cqw 3cqw; border-radius: 999px; background: #1a73e8; color: #fff; font-weight: 600; font-size: 8px; font-size: 2.3cqw; animation: tapPost var(--cycle) infinite; }
.tap-thanks { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; opacity: 0; animation: tapThanks var(--cycle) var(--ease) infinite; }
.tap-thanks svg { width: 34px; width: 9cqw; height: 34px; height: 9cqw; padding: 6px; padding: 1.8cqw; border-radius: 50%; background: rgba(61, 220, 151, 0.18); stroke: var(--ok); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tap-thanks b { font-family: var(--font-display); font-size: 14px; font-size: 3.8cqw; }
.tap-thanks small { color: var(--muted); font-size: 9px; font-size: 2.4cqw; }
.tap-chip {
  position: absolute; left: 0; top: 40%; display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; font-size: 13px; font-size: 3.2cqw; font-weight: 600;
  background: rgba(18, 18, 28, 0.95); border: 1px solid var(--border-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  opacity: 0; animation: tapChip var(--cycle) var(--ease) infinite;
}
.tap-chip .tap-nfc { width: 14px; width: 3.6cqw; color: var(--cyan); }
.tap-scene.paused * { animation-play-state: paused !important; }

@keyframes phoneTap {
  0% { opacity: 0; transform: translate(55%, 30%) rotate(16deg) scale(0.92); }
  9% { opacity: 1; }
  18% { transform: translate(0, 0) rotate(0) scale(1); }
  23% { transform: translate(0, 9%) rotate(-1deg) scale(0.985); }
  28%, 92% { opacity: 1; transform: translate(0, 2%) rotate(0) scale(1); }
  100% { opacity: 0; transform: translate(55%, 30%) rotate(16deg) scale(0.92); }
}
@keyframes tapRipple {
  0%, 22% { opacity: 0; transform: scale(0.3); }
  24% { opacity: 0.8; transform: scale(0.3); }
  42%, 100% { opacity: 0; transform: scale(1.6); }
}
@keyframes tapSheet {
  0%, 29% { opacity: 0; transform: translateY(30%) scale(0.6); }
  34% { opacity: 1; transform: translateY(0) scale(1.06); }
  38%, 70% { opacity: 1; transform: none; }
  74%, 100% { opacity: 0; transform: scale(0.96); }
}
@keyframes tapStar {
  0%, 41% { fill: #d6d8e3; transform: scale(1); }
  43% { fill: #fbbc04; transform: scale(1.35); }
  46%, 72% { fill: #fbbc04; transform: scale(1); }
  74%, 100% { fill: #d6d8e3; }
}
@keyframes tapPost { 0%, 60% { transform: scale(1); } 63% { transform: scale(0.88); } 67%, 100% { transform: scale(1); } }
@keyframes tapThanks {
  0%, 70% { opacity: 0; transform: scale(0.8); }
  75% { opacity: 1; transform: scale(1.06); }
  78%, 90% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}
@keyframes tapChip { 0%, 3% { opacity: 0; transform: translateY(6px); } 8%, 20% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }

/* Card quantity slider */
.cards-calc { max-width: 760px; margin: 0 auto 32px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(180deg, rgba(91, 124, 255, 0.12), rgba(224, 92, 255, 0.04)); border-color: rgba(123, 92, 255, 0.45); }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.calc-top label { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.calc-qty { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--cyan); font-variant-numeric: tabular-nums; }
.calc-range { margin: 22px 0 4px; }
html:not(.js) .calc-range { display: none; }
.range { --pct: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)) 0 0 / var(--pct) 100% no-repeat, rgba(255, 255, 255, 0.12); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(123, 92, 255, 0.28); transition: transform 0.2s var(--ease); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--cyan); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink)); }
.range::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(123, 92, 255, 0.28); }
.calc-ticks { display: flex; justify-content: space-between; padding: 0 11px; font-size: 0.85rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.calc-ticks .on { color: var(--text); font-weight: 600; }
.calc-result { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.calc-price { display: flex; align-items: baseline; gap: 12px; }
.calc-price strong { display: inline-block; font-family: var(--font-display); font-size: clamp(3rem, 9vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc-price s { font-size: 1.4rem; }
.calc-detail { color: var(--ok); font-size: 0.95rem; }
.calc-upsell { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(61, 220, 151, 0.07); border: 1px dashed rgba(61, 220, 151, 0.4); color: var(--text-2); font-size: 0.95rem; }
.calc-upsell b { color: var(--ok); }
.link-btn { margin: 0 0 0 4px; padding: 0; border: 0; background: none; color: var(--cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.calc-cta { margin-top: 20px; }
.calc-cta .btn { width: 100%; }
.pop { animation: pop 0.35s var(--ease); }
@keyframes pop { from { transform: scale(0.9); opacity: 0.4; } }

/* ---------- Guides ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--muted); }
.article-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.article-meta { margin-top: 16px; font-size: 0.9rem; color: var(--dim) !important; }
.prose.article { margin: 0 auto 0 0; font-size: 1.05rem; }
.prose ol { display: grid; gap: 6px; margin: 12px 0; padding-left: 20px; }
.prose ol li { color: #c3c5d3; }
.callout { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(91, 124, 255, 0.12), rgba(224, 92, 255, 0.04)); border: 1px solid rgba(123, 92, 255, 0.45); }
.callout strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.callout p { margin: 6px 0 18px; }
.callout .btn { text-decoration: none; color: #0a0a10; }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide { display: flex; flex-direction: column; gap: 10px; }
.guide .meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.guide h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.guide p { color: var(--muted); font-size: 0.95rem; }
.guide .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 0.9rem; }

@media (max-width: 1024px) {
  .review-teaser { grid-template-columns: minmax(0, 1fr); }
  .services > .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .process.three, .benefits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .places, .guides { grid-template-columns: minmax(0, 1fr); }
  .tap-chip { display: none; }
}

/* Guide teaser (links a page to a related guide) */
.guide-teaser {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px;
  max-width: 820px; margin: 28px auto 0; padding: 24px 28px;
  background: linear-gradient(120deg, rgba(91, 124, 255, 0.12), rgba(224, 92, 255, 0.06));
  border-color: rgba(123, 92, 255, 0.4);
}
.guide-teaser .eyebrow { grid-column: 1; }
.guide-teaser strong { grid-column: 1; font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.5rem); letter-spacing: -0.02em; }
.guide-teaser-sub { grid-column: 1; color: var(--muted); font-size: 0.95rem; }
.guide-teaser-arrow {
  grid-column: 2; grid-row: 1 / span 3; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--text); color: #0a0a10; font-size: 1.3rem;
  transition: transform 0.35s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .guide-teaser:hover .guide-teaser-arrow { transform: translateX(4px); } }
@media (max-width: 480px) { .guide-teaser { padding: 20px; } .guide-teaser-arrow { width: 44px; height: 44px; } }

/* Reduced motion (e.g. Windows "Animation effects" turned off): keep gentle fades and the
   contained review-card demo; stop large, continuous or pointer-driven movement. */
@keyframes fadeOnly { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .footer-word span { transform: none; }
  .hero h1 span:not(.grad-text) { animation-name: fadeOnly, wave; }
  .hero .grad-text { animation-name: fadeOnly, shimmer, glow; }
  .marquee-track, .hero-visual .float-chip { animation: none; }
}
