/* ==========================================================================
   Denke LLC — design system
   ========================================================================== */
:root {
  --ink-950: #050913;
  --ink-900: #070c18;
  --ink-800: #0a1222;
  --ink-700: #0f1a30;
  --ink-600: #16233f;
  --ink-500: #22314f;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line: #e2e8f2;
  --mint: #2ce6a6;
  --mint-600: #14c98c;
  --sky: #3ab8ff;
  --amber: #ffb020;
  --rose: #ff5d73;
  --paper: #f4f7fb;
  --white: #ffffff;
  --text: #0c1528;
  --muted: #56637f;
  --muted-dark: #a3afc8;
  --grad: linear-gradient(135deg, #2ce6a6 0%, #3ab8ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(44, 230, 166, 0.16), rgba(58, 184, 255, 0.16));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(7, 12, 24, 0.35);
  --shadow-lg: 0 30px 80px -30px rgba(7, 12, 24, 0.55);
  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html.smooth-scroll { scroll-behavior: smooth; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html.lang-es-pending body { opacity: 0; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  transition: opacity 0.15s ease;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--mint); color: var(--ink-900); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 28px; height: 28px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.98rem; line-height: 1.2; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: var(--ink-900); box-shadow: 0 10px 30px -10px rgba(44, 230, 166, 0.65); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(58, 184, 255, 0.75); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--white); }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { background: var(--ink-600); }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--mint-600); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform 0.18s ease; }
.link-arrow:hover .ic { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--mint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid var(--line-dark); color: var(--white);
  transition: box-shadow 0.25s ease;
}
/* The frosted-glass layer lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the position:fixed mobile menu (squashing the menu and widening the page on phones). */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(7, 12, 24, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7); }
.site-header.scrolled::before { background: rgba(7, 12, 24, 0.95); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand-mark { width: 38px; height: 38px; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-dark); font-weight: 600; margin-top: -2px; }
.brand-text { line-height: 1; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.8rem; border-radius: 10px;
  color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 0.95rem; background: none; border: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover, .nav-link[aria-current="page"], .has-dropdown.open > .nav-link { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mint); border-radius: 10px 10px 4px 4px; }
.nav-link .ic { width: 16px; height: 16px; transition: transform 0.2s ease; }
.has-dropdown { position: relative; }
.has-dropdown.open > .nav-link .ic { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 560px;
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 0.75rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 0.75rem; padding: 0.7rem; border-radius: 12px; transition: background 0.15s ease; }
.dropdown a:hover { background: rgba(255, 255, 255, 0.06); }
.dropdown .dd-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--mint); flex: none; }
.dropdown strong { display: block; font-size: 0.93rem; font-weight: 600; color: var(--white); line-height: 1.3; }
.dropdown span.dd-sub { display: block; font-size: 0.8rem; color: var(--muted-dark); line-height: 1.35; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04);
}
.lang-toggle button { border: 0; background: none; color: var(--muted-dark); font-size: 0.78rem; font-weight: 700; padding: 0.32rem 0.6rem; border-radius: 999px; letter-spacing: 0.04em; }
.lang-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink-900); }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; font-weight: 600; font-size: 0.92rem; color: var(--white); padding: 0.5rem 0.4rem; }
.header-phone .ic { color: var(--mint); width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); color: var(--white); place-items: center; }
.mobile-only { display: none; }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink-900); padding: 1.25rem 24px 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.3s ease; margin: 0; visibility: hidden;
  }
  body.nav-open .main-nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.08rem; padding: 0.9rem 0.8rem; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--mint); border-radius: 6px; }
  .dropdown { position: static; transform: none; width: auto; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; box-shadow: none; margin: 0.25rem 0 0.5rem; background: var(--ink-800); }
  .has-dropdown.open .dropdown { display: grid; transform: none; }
  .header-actions .btn-quote, .header-actions .header-phone { display: none; }
  .mobile-only { display: block; }
  .mobile-cta { display: grid; gap: 0.7rem; margin-top: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink-900); color: var(--white); }
.section-dark p { color: var(--muted-dark); }
.on-dark { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mint-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--mint); }
.section-head { max-width: 760px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: var(--muted-dark); }
.lead { font-size: 1.15rem; color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(58, 184, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(44, 230, 166, 0.18), transparent 60%), var(--ink-900);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { color: var(--muted-dark); font-size: 1.18rem; max-width: 560px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.25rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; color: var(--muted-dark); font-size: 0.93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points .ic { color: var(--mint); width: 18px; height: 18px; }
.pill {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.9rem 0.4rem 0.45rem; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.05); font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 1.5rem;
}
.pill-ic { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--grad); color: var(--ink-900); }
.pill-ic .ic { width: 14px; height: 14px; }
.pill b { background: var(--grad); color: var(--ink-900); font-size: 0.72rem; padding: 0.18rem 0.55rem; border-radius: 999px; letter-spacing: 0.05em; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Live demo card ---------- */
.demo-card {
  position: relative; border-radius: 22px; padding: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
}
.demo-card::after { content: ''; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, rgba(44, 230, 166, 0.6), transparent 40%, transparent 60%, rgba(58, 184, 255, 0.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.demo-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; font-size: 0.85rem; color: var(--muted-dark); }
.demo-top strong { color: var(--white); font-weight: 600; }
.live-dot { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--mint); font-size: 0.75rem; letter-spacing: 0.12em; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(44, 230, 166, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(44, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 230, 166, 0); } }
.demo-body { display: grid; grid-template-columns: 1fr 190px; gap: 12px; }
.demo-map { position: relative; border-radius: 14px; overflow: hidden; background: #0b1528; aspect-ratio: 4 / 3.3; }
.demo-map canvas { width: 100%; height: 100%; }
.demo-list { display: flex; flex-direction: column; gap: 8px; }
.demo-veh {
  text-align: left; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); color: var(--white); border-radius: 12px; padding: 9px 10px;
  display: grid; grid-template-columns: 10px 1fr; gap: 2px 9px; align-items: center; transition: border-color 0.15s ease, background 0.15s ease;
}
.demo-veh:hover, .demo-veh.active { border-color: rgba(44, 230, 166, 0.55); background: rgba(44, 230, 166, 0.08); }
.demo-veh i { width: 10px; height: 10px; border-radius: 50%; grid-row: span 2; }
.demo-veh b { font-size: 0.82rem; font-weight: 600; }
.demo-veh span { font-size: 0.74rem; color: var(--muted-dark); grid-column: 2; }
.demo-feed { margin-top: 12px; display: grid; gap: 6px; min-height: 76px; }
.demo-event { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--muted-dark); background: rgba(255, 255, 255, 0.03); border-radius: 10px; padding: 7px 10px; animation: slideIn 0.35s ease; }
.demo-event .ic { width: 16px; height: 16px; }
.demo-event.warn .ic { color: var(--amber); }
.demo-event.ok .ic { color: var(--mint); }
.demo-event.info .ic { color: var(--sky); }
.demo-event time { margin-left: auto; font-size: 0.72rem; opacity: 0.7; white-space: nowrap; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } }
.demo-note { margin-top: 10px; font-size: 0.74rem; color: var(--muted-dark); opacity: 0.75; text-align: center; }
@media (max-width: 560px) { .demo-body { grid-template-columns: 1fr; } .demo-list { display: grid; grid-template-columns: 1fr 1fr; } }

/* ---------- Trust bar ---------- */
.trust { background: var(--ink-800); color: var(--white); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 0.9rem; padding: 1.6rem 1.25rem; border-left: 1px solid var(--line-dark); }
.trust-item:first-child { border-left: 0; }
.trust-item .ic { color: var(--mint); width: 26px; height: 26px; }
.trust-item b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.trust-item span { font-size: 0.85rem; color: var(--muted-dark); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3) { border-left: 0; } .trust-item { border-top: 1px solid var(--line-dark); } .trust-item:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust-grid { grid-template-columns: 1fr; } .trust-item { border-left: 0; border-top: 1px solid var(--line-dark); } .trust-item:first-child { border-top: 0; } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card h3 { margin-top: 1.1rem; }
.section-dark .card { background: var(--ink-800); border-color: var(--line-dark); }
.section-dark .card:hover { border-color: rgba(44, 230, 166, 0.35); box-shadow: 0 20px 50px -25px rgba(44, 230, 166, 0.35); }
.section-dark .card p { color: var(--muted-dark); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--mint-600); }
.section-dark .icon-badge { color: var(--mint); }
.icon-badge .ic { width: 26px; height: 26px; }
.card .link-arrow { margin-top: 1.1rem; }
.card-link { display: flex; flex-direction: column; }
.card-link::after { content: ''; position: absolute; inset: 0; }
.card-num { position: absolute; top: 1.5rem; right: 1.6rem; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--muted); opacity: 0.6; }

/* Solution cards (home) */
.solution-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.solution-card .sc-art { height: 150px; background: var(--ink-800); position: relative; overflow: hidden; }
.solution-card .sc-art svg { width: 100%; height: 100%; }
.solution-card .sc-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.solution-card .sc-body h3 { margin-top: 0; }
.solution-card .link-arrow { margin-top: auto; padding-top: 1.1rem; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split + .split { margin-top: clamp(4rem, 8vw, 6.5rem); }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.check-list { display: grid; gap: 0.8rem; margin: 1.5rem 0 0; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .ic { color: var(--ink-900); background: var(--mint); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; stroke-width: 3; }
.check-list b { display: block; }
.check-list span { color: var(--muted); font-size: 0.95rem; }
.section-dark .check-list span { color: var(--muted-dark); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* Mock UI panels (platform visuals) */
.mock {
  border-radius: var(--radius); background: var(--ink-800); border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  color: var(--white); overflow: hidden; font-size: 0.85rem;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3a5c; }
.mock-bar span { margin-left: 8px; color: var(--muted-dark); font-size: 0.78rem; }
.mock-body { padding: 16px; }
.mock svg { width: 100%; height: auto; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.mock-stat { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 12px; padding: 10px 12px; }
.mock-stat b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.mock-stat span { color: var(--muted-dark); font-size: 0.72rem; }
.mock-row { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 8px; padding: 9px 10px; border-radius: 10px; align-items: center; }
.mock-row:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }
.mock-row small { color: var(--muted-dark); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tag-ok { background: rgba(44, 230, 166, 0.14); color: var(--mint); }
.tag-warn { background: rgba(255, 176, 32, 0.14); color: var(--amber); }
.tag-off { background: rgba(163, 175, 200, 0.14); color: var(--muted-dark); }
.tag-info { background: rgba(58, 184, 255, 0.14); color: var(--sky); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 0.6rem; background: var(--white); color: var(--text); border-radius: 14px;
  padding: 0.7rem 0.9rem; box-shadow: var(--shadow); font-size: 0.82rem; font-weight: 600; animation: bob 5s ease-in-out infinite;
}
.float-chip .ic { color: var(--mint-600); }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Phone mockup */
.phone {
  width: 270px; margin-inline: auto; border-radius: 40px; padding: 12px; background: #0d1426; border: 1px solid #263556;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #111a30; position: relative;
}
.phone-screen { border-radius: 30px; overflow: hidden; background: #0b1528; aspect-ratio: 9 / 19; position: relative; }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; background: #000; border-radius: 20px; z-index: 2; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--ink-900); background: var(--grad); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.1rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; margin-bottom: 0.5rem; }
.stat span { color: var(--muted-dark); font-size: 0.93rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.calc-inputs { padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.6rem; }
.calc-row label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 0.6rem; gap: 1rem; }
.calc-row output { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink-900); white-space: nowrap; }
.calc-row small { display: block; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--mint) var(--fill, 50%), #e3e9f3 var(--fill, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink-900); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink-900); cursor: grab; }
.calc-result { background: var(--ink-900); color: var(--white); padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.calc-result::before { content: ''; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 230, 166, 0.28), transparent 65%); }
.calc-result > * { position: relative; }
.calc-big { font-family: var(--font-head); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; line-height: 1; margin: 0.4rem 0 0.3rem; }
.calc-break { margin: 1.5rem 0; display: grid; gap: 0.6rem; }
.calc-break div { display: flex; justify-content: space-between; color: var(--muted-dark); font-size: 0.93rem; border-bottom: 1px dashed var(--line-dark); padding-bottom: 0.6rem; }
.calc-break b { color: var(--white); }
.calc-result .btn { margin-top: auto; }
.calc-note { font-size: 0.78rem; color: var(--muted-dark); margin: 0.9rem 0 0; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 600; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 0.25s ease; color: var(--mint-600); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

/* ---------- Chips / tabs ---------- */
.chip {
  border: 1px solid var(--line); background: var(--white); color: var(--text); padding: 0.55rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--ink-900); }
.chip[aria-pressed="true"], .chip.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }

/* ---------- Devices ---------- */
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .device-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .device-grid { grid-template-columns: 1fr; } }
.device { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.25s ease; }
.device:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.device[hidden] { display: none; }
.device-art { background: radial-gradient(circle at 50% 40%, #1c2b4d, var(--ink-900) 75%); height: 210px; display: grid; place-items: center; position: relative; }
.device-art svg { width: 70%; height: 80%; }
.device-art .tag { position: absolute; top: 14px; left: 14px; }
.device-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.device-body h3 { margin: 0 0 0.25rem; }
.device-type { color: var(--mint-600); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.8rem; }
.device-body > p { color: var(--muted); font-size: 0.95rem; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin: 0.5rem 0 1.3rem; font-size: 0.85rem; }
.spec-list li { display: flex; align-items: center; gap: 0.45rem; color: var(--text); }
.spec-list .ic { width: 16px; height: 16px; color: var(--mint-600); }
.device-actions { margin-top: auto; display: flex; gap: 0.6rem; }
.device-actions .btn { flex: 1; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 0.92rem; }
.compare th, .compare td { padding: 0.95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink-900); color: var(--white); font-family: var(--font-head); font-weight: 600; position: sticky; top: 0; }
.compare tbody th { font-weight: 600; color: var(--muted); white-space: nowrap; background: var(--paper); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.yes { color: var(--mint-600); font-weight: 700; }
.no { color: #b3bdd1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(900px 420px at 90% 0%, rgba(58, 184, 255, 0.2), transparent 60%), radial-gradient(700px 380px at 0% 100%, rgba(44, 230, 166, 0.14), transparent 60%), var(--ink-900);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 860px; }
.page-hero .lead { color: var(--muted-dark); max-width: 680px; margin-bottom: 0; }
.page-hero .hero-ctas { margin: 2rem 0 0; }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--muted-dark); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--mint); }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* Solutions page anchors */
.jump-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump-nav ul { display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.7rem 0; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--muted); transition: all 0.15s ease; }
.jump-nav a:hover { color: var(--text); background: var(--paper); }
.jump-nav a.active { background: var(--ink-900); color: var(--white); }
.jump-nav .ic { width: 16px; height: 16px; }
.solution-block { padding: clamp(4rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--line); }
.solution-block:nth-of-type(even) { background: var(--paper); }
.uses { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.uses span { font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--grad-soft); color: var(--ink-700); }
.art-frame { border-radius: 24px; overflow: hidden; background: var(--ink-900); aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); position: relative; }
.art-frame > svg { width: 100%; height: 100%; }

/* Values grid */
.value { display: flex; gap: 1rem; padding: 1.4rem; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.value .icon-badge { width: 46px; height: 46px; flex: none; }
.value h3 { margin: 0 0 0.3rem; font-size: 1.08rem; }
.value p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Downloads */
.dl { display: flex; gap: 1.1rem; align-items: center; padding: 1.4rem; border-radius: 18px; border: 1px solid var(--line); background: var(--white); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.dl:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dl-icon { width: 56px; height: 64px; border-radius: 10px; background: var(--ink-900); color: var(--mint); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; flex: none; position: relative; }
.dl-icon::after { content: ''; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: linear-gradient(225deg, var(--paper) 50%, var(--ink-600) 50%); border-radius: 0 10px 0 4px; }
.dl h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.dl p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.dl .btn { margin-left: auto; }
@media (max-width: 560px) { .dl { flex-wrap: wrap; } .dl .btn { margin-left: 0; width: 100%; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); color: var(--white); background: radial-gradient(600px 300px at 100% 0%, rgba(58, 184, 255, 0.35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(44, 230, 166, 0.3), transparent 60%), var(--ink-900); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { color: var(--muted-dark); margin: 0; font-size: 1.08rem; }
.cta-band .hero-ctas { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .hero-ctas { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--text); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px;
  padding: 0.8rem 0.95rem; transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2356637f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfd8e6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-600); background: var(--white); box-shadow: 0 0 0 4px rgba(44, 230, 166, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--rose); background: #fff6f7; }
.field-error { display: none; color: #d6243f; font-size: 0.82rem; margin-top: 0.35rem; font-weight: 500; }
.field.invalid .field-error { display: block; }
.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--mint-600); flex: none; }
.consent a { color: var(--text); text-decoration: underline; }
.consent.invalid { color: #d6243f; }
.hp { position: absolute !important; left: -9999px !important; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.form-foot small { color: var(--muted); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .ic { display: none; }
.btn[disabled] { opacity: 0.7; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success .ok-badge { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; background: var(--grad); color: var(--ink-900); animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1); }
.form-success .ok-badge .ic { width: 34px; height: 34px; stroke-width: 3; }
.form-success p { color: var(--muted); max-width: 420px; margin-inline: auto; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
form.sent .form-body { display: none; }
form.sent .form-success { display: block; }
.form-error-msg { display: none; margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 12px; background: #fff1f3; color: #b0182f; font-size: 0.9rem; }
form.failed .form-error-msg { display: block; }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
@media (max-width: 600px) { .option-grid { grid-template-columns: 1fr 1fr; } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option span {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; padding: 0.9rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white);
  font-weight: 600; font-size: 0.9rem; transition: all 0.15s ease; height: 100%;
}
.option span .ic { color: var(--mint-600); }
.option input:hover + span { border-color: #c4cfdf; }
.option input:checked + span { border-color: var(--mint-600); background: rgba(44, 230, 166, 0.08); box-shadow: 0 0 0 3px rgba(44, 230, 166, 0.18); }
.option input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-tiles { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-tile { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.contact-tile:hover { border-color: var(--mint-600); box-shadow: var(--shadow); }
.contact-tile small { display: block; color: var(--muted); font-size: 0.8rem; }
.contact-tile b { font-size: 1.02rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 9, 19, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 0.2s ease; }
.modal-panel { position: relative; width: min(680px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--white); border-radius: 26px; box-shadow: var(--shadow-lg); animation: rise 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
.modal-head { padding: 1.6rem 1.75rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.modal-head h2 { font-size: 1.6rem; margin: 0 0 0.2rem; }
.modal-head p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.modal-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; flex: none; color: var(--text); }
.modal-close:hover { background: var(--paper); }
.modal form { padding: 1.4rem 1.75rem 1.75rem; }
.progress { display: flex; gap: 6px; margin: 1.2rem 1.75rem 0; }
.progress i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); transition: background 0.3s ease; }
.progress i.done { background: var(--grad); }
.q-step { display: none; }
.q-step.active { display: block; animation: fade 0.25s ease; }
.q-step h3 { font-size: 1.12rem; margin-bottom: 1rem; }
.q-nav { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.q-step-error { display: none; color: #d6243f; font-size: 0.86rem; margin-top: 0.75rem; font-weight: 500; }
.q-step.invalid .q-step-error { display: block; }
.stepper { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; width: fit-content; }
.stepper button { width: 52px; height: 52px; border: 0; background: var(--paper); font-size: 1.4rem; font-weight: 600; color: var(--text); }
.stepper button:hover { background: #e7edf6; }
.stepper input { width: 90px; height: 52px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 1.2rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quick-qty { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
body.modal-open { overflow: hidden; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 400; display: grid; gap: 0.6rem; width: min(440px, calc(100% - 32px)); }
.toast { display: flex; gap: 0.75rem; align-items: center; background: var(--ink-900); color: var(--white); padding: 0.95rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 0.93rem; animation: rise 0.3s ease; border: 1px solid var(--line-dark); }
.toast .ic { color: var(--mint); }
.toast.error .ic { color: var(--rose); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--muted-dark); padding: 4.5rem 0 2rem; font-size: 0.94rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin: 1.1rem 0 1.5rem; max-width: 360px; }
.footer-brand .footer-rep { display: flex; align-items: center; gap: 0.6rem; margin: -0.5rem 0 1.5rem; color: var(--white); font-weight: 600; font-size: 0.92rem; line-height: 1.35; }
.site-footer .brand { color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1.1rem; }
.site-footer ul { display: grid; gap: 0.65rem; }
.site-footer a:hover { color: var(--mint); }
.newsletter { display: flex; gap: 0.5rem; max-width: 400px; }
.newsletter input { flex: 1; min-width: 0; font: inherit; font-size: 0.93rem; padding: 0.75rem 1rem; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.05); color: var(--white); }
.newsletter input::placeholder { color: #7f8ba6; }
.newsletter input:focus { outline: none; border-color: var(--mint); }
.newsletter-form .form-success { padding: 0.5rem 0; text-align: left; }
.newsletter-form .form-success p { margin: 0; color: var(--mint); font-weight: 600; }
.newsletter-form .form-error-msg { font-size: 0.82rem; }
.newsletter-form .field-error { color: var(--rose); }
.newsletter-form.invalid .field-error { display: block; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .ic { color: var(--mint); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: 0.85rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--ink-900); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--mint); color: var(--ink-900); }

/* Legal pages */
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; display: grid; gap: 0.4rem; }
.legal a { color: var(--mint-600); text-decoration: underline; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 1060px) { .header-actions { margin-left: auto; } .nav-toggle { margin-left: 0; } }
@media (max-width: 400px) { .brand small { display: none; } .container { width: calc(100% - 32px); } }

/* Illustrated art frames */
.art-frame { background: radial-gradient(circle at 50% 50%, #18294b 0%, var(--ink-900) 70%); }
.art-frame::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); }
.art-frame > svg { position: relative; }
.art-frame .ring { fill: none; stroke: rgba(255,255,255,.09); }
.art-frame .route { fill: none; stroke: rgba(44,230,166,.45); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.art-frame .float-chip { z-index: 2; }
.art-frame .float-chip:nth-of-type(2) { animation-delay: -2.5s; }
@media (max-width: 520px) { .art-frame .float-chip { font-size: .72rem; padding: .5rem .65rem; } .art-frame .float-chip small { font-size: .66rem; } }
.brand-mark { flex: none; }
.brand small { white-space: nowrap; }
