/* Olot Technologies — website styles (shared by index / privacy / terms) */
:root {
  --bg: #0a0a0b;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --t-92: rgba(255, 255, 255, 0.92);
  --t-62: rgba(255, 255, 255, 0.62);
  --t-55: rgba(255, 255, 255, 0.55);
  --t-42: rgba(255, 255, 255, 0.42);
  --red: #ee1010;
  --blue: #4d7cff;
  --purple: #8b6cff;
  --green: #16c172;
  --amber: #f5a524;
  --spectrum-red: #ff2e2e;
  /* Figma frame = 1440 wide with 160 padding each side => 1120 content */
  --maxw: 1440px;
  --pad: 160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--t-92);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient background glows (radial gradients instead of image assets) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 60% 2%, rgba(238, 16, 16, 0.18), transparent 70%),
    radial-gradient(45% 35% at 5% 40%, rgba(77, 124, 255, 0.1), transparent 70%),
    radial-gradient(45% 35% at 95% 55%, rgba(139, 108, 255, 0.1), transparent 70%);
}

.page { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

.serif {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 600;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); width: 100%; }

/* ── Olot logo (colors vary by placement — intentional brand inconsistency) ── */
.logo { display: inline-flex; align-items: center; gap: 1px; }
.logo .tile {
  display: flex; align-items: center; justify-content: center;
  border-radius: 6.24px; overflow: hidden;
  font-family: 'ADLaM Display', sans-serif;
  line-height: 1;
  /* ADLaM's "O" sits ~0.03em low in its box; padding-bottom lifts the
     flex-centred glyph up to true optical centre (scales with font size). */
  padding-bottom: 0.07em;
}
.logo .word {
  font-family: 'Akshar', sans-serif; font-weight: 500;
  display: inline-flex; align-items: baseline;
}
.logo .word .o2 { font-family: 'ADLaM Display', sans-serif; }

/* header/footer small logo */
.logo.sm .tile { width: 25px; height: 26px; font-size: 20.8px; }
.logo.sm .word { font-size: 21.84px; gap: 0; }

/* ── Header ── */
.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
}
.site-header nav a { font-weight: 600; font-size: 15px; color: var(--t-62); }
.site-header nav { display: flex; gap: 26px; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 56px;
  margin-top: 40px;
}
.site-footer .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .links a { font-weight: 600; font-size: 14px; color: var(--t-62); }
.site-footer .links a:hover { color: var(--t-92); }
.site-footer .copy {
  text-align: center; font-size: 13.5px; color: var(--t-42);
  margin-top: 24px; line-height: 1.7;
}

/* ── Hero ── */
.hero { text-align: center; padding: 120px 0 110px; }
/* stack hero content vertically & centred (badge above the logo, etc.) */
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px 8px 13px;
  font-weight: 600; font-size: 13.5px; color: var(--t-62); letter-spacing: 0.2px;
  margin-bottom: 34px;
}
.hero .badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
}
.hero .logo.lg { justify-content: center; gap: 5px; }
.hero .logo.lg .tile {
  width: 88px; height: 92px; border-radius: 22.08px;
  background: var(--red); font-size: 73.6px;
}
.hero .logo.lg .tile span { color: #fff; }
.hero .logo.lg .word { font-size: 77.28px; }
.hero .logo.lg .word .l { color: #1414e8; }
.hero .logo.lg .word .o2 { color: #a50eb0; }
.hero .logo.lg .word .t { color: #11be11; font-size: 81.9px; }
.spectrum { display: flex; gap: 6px; justify-content: center; padding: 24px 0 26px; }
.spectrum span { width: 40px; height: 5px; border-radius: 5px; }
.hero .shift { font-family: 'Akshar', sans-serif; font-weight: 500; font-size: 30px; color: var(--t-62); }
.hero h1 {
  font-size: 60px; line-height: 1.04; letter-spacing: -1px;
  color: var(--t-92); max-width: 760px; margin: 0 auto;
}
.hero .lede {
  font-weight: 400; font-size: 18px; line-height: 1.6; color: var(--t-62);
  max-width: 680px; margin: 22px auto 0;
}

/* ── Section heading (WHAT IT IS / ABOUT) ── */
.eyebrow {
  font-weight: 700; font-size: 13px; color: var(--t-42);
  letter-spacing: 2.4px; text-transform: uppercase;
}

/* ── Features ── */
.features { padding: 60px 0; }
.features .head { margin-bottom: 46px; }
.features .head h2 {
  font-size: 44px; line-height: 1.06; letter-spacing: -1px;
  color: var(--t-92); margin: 14px 0 14px; max-width: 560px;
}
.features .head p { font-size: 17px; color: var(--t-62); max-width: 620px; line-height: 1.55; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px;
}
.card .ico {
  width: 52px; height: 52px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card .ico.blue { background: rgba(77,124,255,0.16); border: 1px solid rgba(77,124,255,0.32); }
.card .ico.purple { background: rgba(139,108,255,0.16); border: 1px solid rgba(139,108,255,0.32); }
.card .ico.green { background: rgba(22,193,114,0.16); border: 1px solid rgba(22,193,114,0.32); }
.card .ico .otile {
  width: 49.8px; height: 52px; border-radius: 8.7px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: 'ADLaM Display', sans-serif; font-size: 41.6px; color: #fff;
  line-height: 1; padding-bottom: 0.07em;
}
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.3px; color: #fff; }
.card p { font-size: 15.5px; color: var(--t-62); line-height: 1.55; margin-top: 8px; }
.tag {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 4px 10px; font-weight: 700; font-size: 11.5px; letter-spacing: 0.8px;
  margin-top: 14px;
}
.tag.safety { background: rgba(255,46,46,0.14); color: var(--spectrum-red); }
.tag.assistant { background: rgba(22,193,114,0.14); color: var(--green); }

/* ── About + Contact split ── */
.about-contact { padding: 60px 0 96px; }
.split { display: grid; grid-template-columns: 1fr 480px; gap: 24px; align-items: stretch; }
.about {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 24px; padding: 40px;
}
.about h2 {
  font-size: 32px; line-height: 1.08; letter-spacing: -0.5px;
  color: var(--t-92); margin: 16px 0 20px;
}
.about p { font-size: 16.5px; color: var(--t-62); line-height: 1.6; }
.about p + p { margin-top: 14px; }
.contact {
  border: 1px solid var(--line); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(146deg, rgba(238,16,16,0.16) 0%, rgba(255,255,255,0.02) 71%);
}
.contact .eyebrow { color: var(--t-55); }
.contact h2 {
  font-size: 28px; line-height: 1.12; letter-spacing: -0.5px;
  color: var(--t-92); margin: 16px 0 12px;
}
.contact p { font-size: 16px; color: var(--t-62); line-height: 1.58; }
.mail-btn {
  display: inline-flex; align-items: center; gap: 11px; align-self: flex-start;
  background: #c3a6e4; border-radius: 999px; padding: 14px 22px;
  box-shadow: 0 12px 30px rgba(238,16,16,0.4);
  font-weight: 700; font-size: 16px; color: #fff; margin-top: 24px;
  transition: transform 0.15s ease;
}
.mail-btn:hover { transform: translateY(-1px); }

/* ── Legal pages (privacy / terms) ── */
.legal { padding: 70px 0 40px; max-width: 820px; }
.legal .back { font-weight: 600; font-size: 14px; color: var(--t-62); display: inline-block; margin-bottom: 30px; }
.legal h1 { font-size: 48px; letter-spacing: -1px; color: var(--t-92); }
.legal .meta { font-size: 13.5px; color: var(--t-42); margin: 10px 0 26px; }
.legal .intro { font-size: 17px; color: var(--t-62); line-height: 1.7; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 34px 0; }
.legal h2 {
  font-size: 20px; font-weight: 700; color: #fff; margin: 34px 0 14px;
}
.legal h2 .num { color: var(--t-42); margin-right: 8px; }
.legal p { font-size: 15.5px; color: var(--t-62); line-height: 1.7; margin-bottom: 12px; }
.legal ul { list-style: none; margin: 0 0 12px; }
.legal li {
  font-size: 15.5px; color: var(--t-62); line-height: 1.7;
  padding-left: 18px; position: relative; margin-bottom: 6px;
}
.legal li::before { content: ''; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* ══════ LIFE: cinematic + interactive ══════ */

/* Cursor-reactive spotlight — light follows the mouse across the dark page */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 640px; height: 640px;
  margin: -320px 0 0 -320px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(238,16,16,0.12), rgba(77,124,255,0.07) 42%, transparent 70%);
  pointer-events: none; opacity: 0; transition: opacity 0.6s ease; will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* Living aurora behind the hero logo */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.aurora {
  position: absolute; left: 50%; top: 200px; width: 640px; height: 640px;
  margin-left: -320px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg, #ee1010, #8b6cff, #4d7cff, #16c172, #f5a524, #ee1010);
  filter: blur(95px); opacity: 0.24; animation: aurora-spin 20s linear infinite;
}
@keyframes aurora-spin { to { transform: rotate(360deg); } }

/* Background glow breathes + drifting particle field */
body::before { animation: glow-breathe 14s ease-in-out infinite; }
@keyframes glow-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.particles span {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.6);
  animation: drift linear infinite; will-change: transform, opacity;
}
@keyframes drift {
  0% { transform: translateY(30px); opacity: 0; }
  15% { opacity: var(--o, 0.16); } 85% { opacity: var(--o, 0.16); }
  100% { transform: translateY(-90px); opacity: 0; }
}

/* Hero cinematic entrance on load (pure CSS) */
.hero .wrap > * { animation: rise-in 0.9s cubic-bezier(0.22,0.61,0.36,1) both; }
.hero .badge { animation-delay: 0.15s; }
.hero .logo.lg {
  animation: pop-in 0.9s 0.3s cubic-bezier(0.34,1.56,0.64,1) both,
             bob 6.5s 1.5s ease-in-out infinite;
}
.hero .spectrum { animation-delay: 0.5s; }
.hero .shift { animation-delay: 0.62s; }
.hero h1 { animation-delay: 0.74s; }
.hero .lede { animation-delay: 0.88s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.55); } to { opacity: 1; transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero .badge .dot { animation: dot-pulse 2.6s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { box-shadow: 0 0 8px var(--amber); opacity: 0.9; } 50% { box-shadow: 0 0 22px var(--amber); opacity: 1; } }

.spectrum span { animation: shimmer 3.4s ease-in-out infinite; }
.spectrum span:nth-child(2) { animation-delay: 0.25s; }
.spectrum span:nth-child(3) { animation-delay: 0.5s; }
.spectrum span:nth-child(4) { animation-delay: 0.75s; }
.spectrum span:nth-child(5) { animation-delay: 1s; }
@keyframes shimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.mail-btn { animation: btn-glow 3s ease-in-out infinite; }
@keyframes btn-glow { 0%, 100% { box-shadow: 0 12px 30px rgba(238,16,16,0.35); } 50% { box-shadow: 0 12px 46px rgba(238,16,16,0.68); } }

/* Spotlight cards — a highlight tracks the cursor inside each card, and they lift */
.card, .about, .contact { position: relative; }
.card::before, .about::before, .contact::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.09), transparent 62%);
  opacity: 0; transition: opacity 0.35s ease;
}
.card:hover::before, .about:hover::before, .contact:hover::before { opacity: 1; }
.card > *, .about > *, .contact > * { position: relative; z-index: 1; }
.card { transition: transform 0.3s ease, border-color 0.3s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.22); }

/* Scroll-reveal (applied via site.js; no-JS users still see everything) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22,0.61,0.36,1), transform 0.8s cubic-bezier(0.22,0.61,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  body::before, .hero .logo.lg, .hero .badge .dot, .spectrum span, .mail-btn, .aurora, .hero .wrap > * { animation: none; }
  .particles, .cursor-glow { display: none; }
  .reveal, .hero .wrap > * { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  :root { --pad: 40px; }
  .hero h1 { font-size: 44px; }
  .features .head h2 { font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact { width: auto; }
  .legal h1 { font-size: 36px; }
}
@media (max-width: 560px) {
  :root { --pad: 22px; }
  .hero { padding: 70px 0 70px; }
  .hero .logo.lg .tile { width: 66px; height: 69px; font-size: 55px; border-radius: 17px; }
  .hero .logo.lg .word { font-size: 58px; }
  .hero .logo.lg .word .t { font-size: 61px; }
  .hero h1 { font-size: 34px; }
  .hero .lede { font-size: 16px; }
  .site-footer .row { flex-direction: column; align-items: flex-start; }
}
