/* ==========================================================================
   Scaleon AI — Landing page
   Monochrome, Apple-inspired design system. No frameworks.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #050506;
  --bg-elev: #0a0a0c;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-1: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1140px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button { cursor: none; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(245, 245, 247, 0.9); color: #050506; }

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.container-narrow { max-width: 780px; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--text-1);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  background: linear-gradient(120deg, #ffffff 20%, #9a9aa0 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-right: 0.06em; /* keep italic terminal off the clip edge */
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.br-desktop { display: none; }
@media (min-width: 720px) { .br-desktop { display: inline; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out) var(--delay, 0s),
    transform 0.9s var(--ease-out) var(--delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-mark { text-align: center; }
.preloader-word {
  display: block;
  overflow: hidden;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  animation: preloader-rise 0.9s var(--ease-out) 0.1s both;
}
.preloader-word .thin { font-weight: 400; color: var(--text-3); }
.preloader-line {
  display: block;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, transparent, var(--text-1), transparent);
  transform: scaleX(0);
  animation: preloader-line 1.1s var(--ease-out) 0.3s both;
}
@keyframes preloader-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes preloader-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #77777d);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--text-1);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245, 245, 247, 0.35);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: rgba(245, 245, 247, 0.7);
  background: rgba(245, 245, 247, 0.06);
}

/* ---------- Ambient layers ---------- */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              color 0.4s var(--ease-out);
  will-change: transform;
}
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

.btn-primary {
  background: var(--text-1);
  color: #060607;
}
.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(245, 245, 247, 0.25);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--text-1);
  outline-offset: 3px;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 5, 6, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-thin { font-weight: 400; color: var(--text-3); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text-1); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-1);
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
body.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(5, 5, 6, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s var(--ease-out), visibility 0.45s;
  }
  body.menu-open .nav-menu { opacity: 1; visibility: visible; }
  .nav-link {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-1);
    padding: 10px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }
  body.menu-open .nav-link {
    opacity: 1;
    transform: none;
  }
  body.menu-open .nav-link:nth-child(1) { transition-delay: 0.08s; }
  body.menu-open .nav-link:nth-child(2) { transition-delay: 0.14s; }
  body.menu-open .nav-link:nth-child(3) { transition-delay: 0.2s; }
  body.menu-open .nav-link:nth-child(4) { transition-delay: 0.26s; }
  .nav-cta {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out) 0.32s, transform 0.5s var(--ease-out) 0.32s;
  }
  body.menu-open .nav-cta { opacity: 1; transform: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
  overflow: clip;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.orb-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 65%);
  animation: orb-drift 16s ease-in-out infinite alternate;
}
.orb-2 {
  width: 480px;
  height: 480px;
  bottom: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 65%);
  animation: orb-drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-60px, 40px, 0) scale(1.12); }
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 820px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.12) 60deg,
    transparent 140deg,
    transparent 220deg,
    rgba(255, 255, 255, 0.07) 290deg,
    transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 0.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 0.5px));
  animation: ring-spin 40s linear infinite;
  opacity: 0.9;
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-inner {
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  font-size: 0.875rem;
  color: var(--text-3);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--text-2); flex-shrink: 0; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-hint-track {
  display: block;
  width: 24px;
  height: 38px;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  position: relative;
}
.scroll-hint-dot {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--text-2);
  animation: scroll-dot 2.2s var(--ease-out) infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(96px, 12vw, 168px) 0;
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(56px, 7vw, 88px);
}
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section-sub {
  margin-top: 20px;
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
  margin-inline: auto;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.card { grid-column: span 2; }
.card-featured { grid-column: span 4; }

@media (max-width: 960px) {
  .card { grid-column: span 3; }
  .card-featured { grid-column: span 6; }
}
@media (max-width: 620px) {
  .card, .card-featured { grid-column: span 6; }
}

.card {
  position: relative;
  padding: 34px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  transform-style: preserve-3d;
}
.card:hover {
  border-color: var(--border-strong);
}

/* Cursor spotlight */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 255, 255, 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text-1);
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
}

.card-featured {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 40px;
}
.card-featured h3 { font-size: 1.55rem; }
.card-featured p { max-width: 560px; font-size: 1.02rem; }
.card-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--surface);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

.process-step {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.process-num {
  display: block;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.15));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--text-2);
}

/* ---------- Results ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

.stat {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  text-align: left;
  transition: border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stat:hover { border-color: var(--border-strong); transform: translateY(-4px); }

.stat-value {
  display: block;
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.55;
}

.roi-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(600px circle at 0% 0%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
@media (max-width: 860px) { .roi-band { grid-template-columns: 1fr; } }

.roi-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.roi-copy p { color: var(--text-2); font-size: 1rem; }

.roi-list {
  display: grid;
  gap: 14px;
}
.roi-list li {
  position: relative;
  padding: 18px 22px 18px 46px;
  font-size: 0.95rem;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.roi-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--text-1);
  box-shadow: 0 0 12px rgba(245, 245, 247, 0.8);
}

/* ---------- Guarantee ---------- */
.guarantee {
  padding: clamp(88px, 11vw, 150px) 0;
  text-align: center;
  background:
    radial-gradient(720px circle at 50% 50%, rgba(255, 255, 255, 0.045), transparent 60%);
}
.guarantee-title {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 880px;
  margin: 0 auto 22px;
}
.guarantee-sub { color: var(--text-3); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  transition: border-color 0.4s var(--ease-out);
  overflow: hidden;
}
.faq-item:hover, .faq-item.open { border-color: var(--border-strong); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 24px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--text-2);
  transition: transform 0.45s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::before { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  padding: 0 26px 26px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  padding: clamp(110px, 14vw, 190px) 0;
  text-align: center;
  overflow: clip;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(860px circle at 50% 110%, rgba(255, 255, 255, 0.09), transparent 60%);
}
.final-title {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 860px;
  margin: 0 auto 24px;
}
.final-sub {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
}
.final-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding: 56px 0 40px;
}
.footer-brand p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-3);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.footer-nav a { transition: color 0.3s var(--ease-out); }
.footer-nav a:hover { color: var(--text-1); }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring, .scroll-hint { display: none; }
}

/* ---------- Touch devices ---------- */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}
