/* ATR Solutions – site styles (dark theme, no external fonts: GDPR friendly) */
:root {
  color-scheme: dark;
  --bg: #060913;
  --bg-2: #0a0f1f;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #eef1f8;
  --muted: #9aa3ba;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --orange: #f59e5b;
  --grad: linear-gradient(120deg, #a78bfa 0%, #6366f1 35%, #22d3ee 70%, #a78bfa 100%);
  --radius: 20px;
  --max: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #a5b4fc; text-decoration: none; }
a:hover { color: #c7d2fe; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: rgba(139, 92, 246, .45); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; color: #c4b5fd; margin-bottom: 1.1em;
  padding: 7px 12px; border-radius: 999px; background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .28);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--indigo); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Page-wide ambient glow */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .16;
}
.ambient::before { background: #4f46e5; top: -30vmax; left: -20vmax; }
.ambient::after { background: #0e7490; bottom: -35vmax; right: -25vmax; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.solid {
  background: rgba(6, 9, 19, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand .logo { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); opacity: .82; padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; transition: opacity .2s, background .2s; }
.nav-links a:hover { opacity: 1; background: var(--surface-2); color: var(--text); }
.nav-links .nav-cta { opacity: 1; background: var(--surface-2); border: 1px solid var(--border-strong); margin-left: 8px; }
.icon-btn {
  display: none; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .icon-btn { display: inline-grid; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(6, 9, 19, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 8px 16px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 12px; }
  .nav-links .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px;
  font: 600 1rem/1 var(--font); border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; color: var(--text);
}
.btn:hover { transform: translateY(-2px); color: var(--text); }
.btn-primary {
  color: #fff; background: linear-gradient(120deg, #7c3aed, #4f46e5 50%, #0891b2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 10px 30px -8px rgba(99, 102, 241, .7);
}
.btn-primary:hover { color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 44px -8px rgba(99, 102, 241, .9); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -2; opacity: .55; animation: float 18s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, #7c3aed, transparent 65%); top: -120px; left: -140px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, #0891b2, transparent 65%); bottom: -160px; right: -100px; animation-delay: -6s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #db2777, transparent 65%); top: 30%; right: 30%; opacity: .22; animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.06); } 66% { transform: translate(-30px, 30px) scale(.96); } }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; width: 100%; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 56px; } }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 560px; margin-bottom: 2.2em; }
.rotator .word { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
.caret { display: inline-block; width: 4px; height: .82em; margin-left: 6px; vertical-align: -.04em; background: var(--cyan); animation: blink 1s steps(1) infinite; border-radius: 2px; box-shadow: 0 0 12px var(--cyan); }
@keyframes blink { 50% { opacity: 0; } }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 52px; }
.stat { padding: 14px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px); min-width: 130px; }
.stat strong { display: block; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Hero showcase card */
.showcase { position: relative; perspective: 1200px; }
.showcase-card {
  position: relative; display: block; border-radius: 26px; padding: 14px; color: var(--text);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid var(--border-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 90px -20px rgba(124, 58, 237, .5);
  transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform;
}
.showcase-card:hover { color: var(--text); }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.showcase-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 60%, #a78bfa 75%, #22d3ee 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.showcase-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: #0d1222; position: relative; }
.showcase-img img { width: 100%; height: 100%; object-fit: cover; }
.showcase-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 19, .9)); }
.showcase-meta { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 12px; transform: translateZ(40px); }
.showcase-meta small { display: block; font: 600 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 4px; }
.showcase-meta strong { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
.showcase-meta .arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b1020; flex: none; transition: transform .25s; }
.showcase-meta .arrow svg { width: 20px; height: 20px; }
.showcase-card:hover .arrow { transform: rotate(-45deg); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(10, 15, 31, .88); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  animation: bob 5s ease-in-out infinite; white-space: nowrap; pointer-events: none;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.chip-1 { top: -16px; left: -18px; }
.chip-2 { top: 42%; right: -24px; animation-delay: -2.5s; }
.chip-2 i { background: var(--orange); box-shadow: 0 0 10px var(--orange); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .chip-1 { left: 8px; } .chip-2 { right: 8px; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 760px), (max-width: 960px) { .scroll-hint { display: none; } }

/* Marquee */
.marquee { border-block: 1px solid var(--border); background: rgba(255, 255, 255, .015); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-weight: 600; font-size: 1.05rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span::after { content: "✦"; color: #8b5cf6; font-size: .8rem; margin: 0 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; align-items: center; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); cursor: pointer; font: 500 .92rem var(--font); transition: background .2s, border-color .2s;
}
.filter-btn:hover { background: var(--surface-2); }
.filter-btn[aria-pressed="true"] { background: #fff; color: #0b1020; border-color: #fff; }
.search {
  flex: 1 1 220px; max-width: 320px; margin-left: auto; padding: 10px 16px 10px 40px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--text); font: inherit; font-size: .92rem;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa3ba' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E") no-repeat 15px center;
}
.search::placeholder { color: var(--muted); }
@media (max-width: 560px) { .search { margin-left: 0; max-width: none; } }

/* Spotlight (cursor-follow glow) */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .16), transparent 45%);
}
.spot:hover::after { opacity: 1; }

/* Project cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); color: var(--text); box-shadow: 0 30px 60px -30px rgba(124, 58, 237, .6); }
.cover { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center; background: #0d1222; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .cover img { transform: scale(1.06); }
.cover .initials { font-size: 3rem; font-weight: 800; color: rgba(255, 255, 255, .92); letter-spacing: -.02em; }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  background: rgba(6, 9, 19, .72); color: #fff; border: 1px solid var(--border-strong); backdrop-filter: blur(8px); z-index: 1;
}
.badge.featured { left: auto; right: 14px; background: linear-gradient(120deg, #fbbf24, #f97316); border-color: transparent; color: #1a1000; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font: 500 .76rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.card-body h3 { font-size: 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-body h3::after { content: "→"; font-weight: 400; color: var(--muted); transition: transform .2s, color .2s; }
.card:hover .card-body h3::after { transform: translateX(4px); color: var(--text); }
.card-body p { color: var(--muted); font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; list-style: none; padding-left: 0; margin-bottom: 0; }
.tags li { font-size: .76rem; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: #c9cfe0; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }
.card.coming { border-style: dashed; background: transparent; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; min-height: 300px; }
.card.coming:hover { transform: none; box-shadow: none; }
.card.coming h3 { font-size: 1.2rem; }
.card.coming .plus { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--border-strong); margin-bottom: 16px; font-size: 1.5rem; color: var(--muted); }

/* Services */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.feature { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s, transform .3s; }
.feature:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.feature .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: #fff;
  background: linear-gradient(135deg, var(--c1, #7c3aed), var(--c2, #4f46e5)); box-shadow: 0 10px 30px -10px var(--c1, #7c3aed);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* About */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { padding: 20px 22px 20px 64px; position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.checklist li::before {
  content: "✓"; position: absolute; left: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .85rem; color: #0b1020; background: linear-gradient(135deg, #a78bfa, #22d3ee);
}
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact-wrap {
  position: relative; border-radius: 28px; padding: 1px;
  background: linear-gradient(140deg, rgba(167, 139, 250, .6), rgba(255, 255, 255, .06) 40%, rgba(34, 211, 238, .5));
}
.contact-inner {
  position: relative; border-radius: 27px;
  background: radial-gradient(800px 400px at 0% 0%, rgba(124, 58, 237, .22), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(8, 145, 178, .2), transparent 60%), #0a0f1f;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding: 56px;
}
@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; padding: 36px 22px; gap: 32px; } }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; color: var(--muted); }
.contact-points li { display: flex; gap: 12px; align-items: center; }
.contact-points svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }
.form { display: grid; gap: 16px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: #d4d9e8; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .04);
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7490; }
.field input:focus, .field textarea:focus { outline: none; border-color: #a78bfa; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.field .err-msg { color: #fca5a5; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid .err-msg { display: block; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .82rem; color: var(--muted); margin: 0; }
.form-status { display: none; padding: 14px 16px; border-radius: 14px; font-size: .95rem; }
.form-status.ok { display: block; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #a7f3d0; }
.form-status.error { display: block; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: rot .8s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
@keyframes rot { to { transform: rotate(360deg); } }

/* Project detail page (for future projects without their own page) */
.page-top { padding-top: 120px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 600; }
.detail-cover { border-radius: var(--radius); overflow: hidden; margin: 24px 0 40px; border: 1px solid var(--border); }
.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; gap: 24px; } }
.facts { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface); align-self: start; }
.facts dl { margin: 0; }
.facts dt { font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 2px 0 14px; font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: #fff; color: #0b1020; padding: 10px 18px; border-radius: 10px; transition: .25s; pointer-events: none; z-index: 200; font-weight: 600;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Legal pages */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 5vw, 3.2rem); overflow-wrap: anywhere; hyphens: auto; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p { color: #cdd3e3; }
.placeholder { background: rgba(245, 158, 11, .2); color: #fde68a; padding: 0 4px; border-radius: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.footer-row .logo { height: 28px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Reveal animation (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .feature, .showcase-card { transition: none; }
}
