@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
  --red: #ef405b;
  --red-2: #ff7a59;
  --red-dark: #c8304a;
  --red-text: #c8304a;   /* small red text on light backgrounds (AA contrast) */
  --btn-1: #d42f4a;
  --btn-2: #a82640;
  --night: #161518;
  --night-2: #222024;
  --ink: #2b2a2d;
  --muted: #6b6a6d;
  --paper: #fbfaf8;
  --sand: #f3f0eb;
  --line: rgba(43, 42, 45, 0.1);
  --white: #fff;
  --radius: 22px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
strong { font-weight: 600; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--red); color: var(--white); }
h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-text);
}
.partners .eyebrow { color: var(--red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--white); }
.muted { color: var(--muted); }

/* Pills (buttons) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: translate 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease;
}
.pill:hover { translate: 0 -2px; }
.pill-red { background: linear-gradient(135deg, var(--btn-1), var(--btn-2)); color: var(--white); box-shadow: 0 10px 30px -10px rgba(239, 64, 91, 0.7); }
.pill-red:hover { color: var(--white); box-shadow: 0 16px 36px -10px rgba(239, 64, 91, 0.85); }
.pill-ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.3); }
.pill-ghost:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.pill-white { background: var(--white); color: var(--red-dark); }
.pill-white:hover { color: var(--red-dark); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.35); }

/* Scroll progress bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transform-origin: left;
  transform: scaleX(0);
}

/* Floating top bar */
.topbar { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); }
.topbar-inner {
  max-width: calc(var(--max) - 2 * 24px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(22, 21, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -16px rgba(0, 0, 0, 0.5);
  animation: drop-in 0.8s var(--ease) both;
}
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.topbar-cta { padding: 10px 20px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 0;
  background: var(--night);
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") 70% center / cover no-repeat;
  background-image: image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  opacity: 0.22;
  filter: grayscale(0.4);
  animation: hero-zoom 20s ease-out both;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 21, 24, 0.2) 0%, rgba(22, 21, 24, 0.6) 60%, var(--night) 100%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.glow-1 { width: 520px; height: 520px; left: -140px; top: 10%; background: var(--red); animation: drift 16s ease-in-out infinite alternate; }
.glow-2 { width: 420px; height: 420px; right: -100px; bottom: 5%; background: var(--red-2); opacity: 0.35; animation: drift 20s ease-in-out infinite alternate-reverse; }
.grid-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -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%);
}
.grid-lines::before {
  content: "";
  position: absolute;
  inset: -64px 0 0 -64px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  will-change: transform;
  animation: grid-pan 6s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  animation: rise 0.8s 0.1s var(--ease) both;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(239, 64, 91, 0.7); animation: ping 2s infinite; }
.hero h1 {
  font-size: clamp(52px, 8.5vw, 116px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
  animation: rise 0.9s 0.2s var(--ease) both;
}
.hero h1 em {
  display: block;
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(90deg, var(--red), var(--red-2), var(--red));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
.hero-sub {
  max-width: 560px;
  margin: 28px 0 36px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  animation: rise 0.9s 0.35s var(--ease) both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise 0.9s 0.5s var(--ease) both; }

.hero-cards { position: relative; height: 440px; }
.glass {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.glass .big { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.glass .small { font-size: 14px; color: rgba(255, 255, 255, 0.72); max-width: 190px; line-height: 1.45; }
.card-a { top: 0; right: 8%; width: 250px; animation: rise 1s 0.55s var(--ease) both, bob 7s 1.6s ease-in-out infinite; }
.card-a .big { color: var(--red); }
.card-b { top: 150px; left: 0; width: 240px; animation: rise 1s 0.7s var(--ease) both, bob 8s 1.8s ease-in-out infinite reverse; }
.card-c { bottom: 0; right: 0; width: 300px; animation: rise 1s 0.85s var(--ease) both, bob 9s 2s ease-in-out infinite; }
.steps { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.steps b { font-weight: 600; }
.steps i { flex: 1; height: 2px; min-width: 14px; background: linear-gradient(90deg, var(--red), var(--red-2)); border-radius: 2px; }

.marquee {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }

/* Sections */
section { padding: clamp(80px, 11vw, 140px) 0; }

/* About: bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  grid-column: span 3;
  transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile:hover { translate: 0 -4px; box-shadow: 0 24px 50px -28px rgba(43, 42, 45, 0.35); }
.tile p:last-child { margin-bottom: 0; }
.tile-intro { grid-column: span 4; }
.tile-intro h2 { font-size: clamp(30px, 3.6vw, 46px); }
.hl { color: var(--red); }
.num { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--red-text); }
.tile-stat {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, var(--btn-1) 0%, var(--btn-2) 100%);
  color: var(--white);
  border: 0;
}
.tile-stat .num { color: rgba(255, 255, 255, 0.85); }
.tile-stat h3 { font-size: 30px; margin-bottom: 14px; }
.tile-stat p { font-size: 17px; line-height: 1.5; }
.tile-mark {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
.tile-mark::after { content: ""; position: absolute; top: -14px; left: 50%; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.tile-quote {
  grid-column: span 6;
  background: var(--night);
  color: var(--white);
  border: 0;
}
.tile-quote::before {
  content: "“";
  position: absolute;
  top: 18px;
  right: 36px;
  font-size: 200px;
  line-height: 0.8;
  font-weight: 700;
  color: rgba(239, 64, 91, 0.25);
}
.tile-quote p { position: relative; max-width: 900px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; }
.tile-quote em { font-style: normal; font-weight: 600; color: var(--red); }

/* Services */
.services { background: var(--sand); position: relative; overflow: hidden; }
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.services-head p:not(.eyebrow) { font-size: 17px; max-width: 540px; }
.device { position: relative; }
.device::before {
  content: "";
  position: absolute;
  inset: 10% 5% 20% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 64, 91, 0.35), transparent 70%);
  filter: blur(30px);
}
.device img { position: relative; animation: float 7s ease-in-out infinite; }

.journey {
  position: relative;
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.journey li {
  position: relative;
  padding: 0 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.journey li:hover { translate: 0 -6px; box-shadow: 0 24px 50px -28px rgba(43, 42, 45, 0.35); }
.step {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -1px 0 20px;
  border-radius: 0 0 20px 20px;
  transition: background 0.3s ease;
  background: var(--night);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}
.journey li:hover .step { background: var(--red); }
.journey p { color: var(--muted); margin: 0; }

/* Partners */
.partners { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.partners::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -260px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 64, 91, 0.22), transparent 65%);
}
.partners .wrap { position: relative; }
.partners-head { max-width: 780px; }
.partners-head p:not(.eyebrow) { font-size: 17px; color: rgba(255, 255, 255, 0.82); }
.partners-head .muted { color: rgba(255, 255, 255, 0.55); font-size: 15px; }
.people {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.person {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--night-2);
  isolation: isolate;
}
.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.8s var(--ease);
}
.person::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 21, 24, 0.92) 100%);
  transition: background 0.4s ease;
}
.person:hover img { transform: scale(1.06); }
.person:hover::after { background: linear-gradient(180deg, rgba(239, 64, 91, 0.12) 30%, rgba(200, 48, 74, 0.94) 100%); }
.person-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; }
.person .name { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.person .role { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); line-height: 1.4; }
.card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.3s var(--ease);
}
.card-link:hover { color: var(--white); opacity: 1; transform: translateX(4px); }

/* Careers */
.careers { padding: clamp(32px, 5vw, 64px) 0; background: var(--paper); }
.careers-inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--btn-2);
  color: var(--white);
}
/* gradient drift lives on ::before so it doesn't clash with the scroll-reveal animation */
.careers-inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200%;
  background: linear-gradient(110deg, #a82640, #d42f4a 30%, #d63a2f 50%, #d42f4a 70%, #a82640);
  will-change: transform;
  animation: slide-x 14s ease-in-out infinite alternate;
}
.careers-inner > * { position: relative; z-index: 1; }
.careers-inner > div { max-width: 640px; }
.careers-inner h2 { font-size: clamp(30px, 4vw, 48px); }
.careers-inner p:not(.eyebrow) { margin: 0; font-size: 17px; }
.careers-inner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.12);
}

/* FAQ */
.faq { padding-top: clamp(40px, 6vw, 80px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq-head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s var(--ease);
}
.faq-item[open] { border-color: rgba(200, 48, 74, 0.35); box-shadow: 0 18px 40px -28px rgba(200, 48, 74, 0.5); }
.faq-item summary {
  position: relative;
  padding: 20px 64px 20px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 12px 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 12px no-repeat,
    var(--night);
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--red-text); }
.faq-item summary:hover { color: var(--red-text); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq-item[open] p { animation: faq-in 0.35s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-main h2 { font-size: clamp(48px, 7vw, 88px); font-weight: 300; letter-spacing: -0.04em; }
.contact-main p:not(.eyebrow) { max-width: 520px; font-size: 17px; color: var(--muted); }
.mail {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) left bottom / 100% 3px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s ease;
}
.mail:hover { color: var(--red); background-size: 0 3px; }
.contact-cards { display: grid; gap: 14px; }
.info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: translate 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s var(--ease);
}
a.info:hover { translate: 6px 0; border-color: var(--red); box-shadow: 0 18px 40px -26px rgba(239, 64, 91, 0.6); color: var(--ink); }
.info .label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-text); }
.info .value { font-size: 17px; font-weight: 500; }

/* Footer */
.footer { background: var(--night); color: rgba(255, 255, 255, 0.6); font-size: 14px; padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-inner img { height: 30px; width: auto; }
.footer nav { display: flex; gap: 24px; margin-left: auto; }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: var(--red); }

/* Text pages (terms, 404) */
.page { padding: 150px 0 clamp(64px, 8vw, 110px); }
.page .wrap { max-width: 860px; }
.page h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; margin-bottom: 36px; }
.page h2 { font-size: 20px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.page ul { padding-left: 22px; }
.page li { margin: 0 0 10px; }
.page h3 { font-size: 17px; margin: 26px 0 8px; }
.notice-box {
  margin: 8px 0 12px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red-text);
}
.notice-box p { margin: 0; }
.contact-main p.privacy-note { margin-top: 18px; font-size: 14px; }
.footer nav { flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-cards { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .glass { position: relative; inset: auto; width: auto; }
  .glass .big { font-size: 44px; }
  .card-c .steps { flex-wrap: wrap; font-size: 13px; }
  .bento .tile, .tile-intro, .tile-stat { grid-column: span 6; }
  .services-head, .contact-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { gap: 24px; }
  .device { max-width: 560px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 124px; }
  .topbar { top: 10px; }
  .topbar-inner { flex-wrap: wrap; gap: 6px 12px; padding: 10px 10px 8px 18px; border-radius: 26px; }
  .logo img { height: 38px; }
  .topbar-cta { margin-left: auto; padding: 8px 16px; font-size: 13px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .nav a { padding: 6px 4px; font-size: 12.5px; }
  .hero { padding-top: 150px; }
  .hero-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-c { grid-column: span 2; }
  .glass { padding: 18px; }
  .glass .small { max-width: none; font-size: 13px; }
  .marquee { margin-top: 48px; }
  .journey { grid-template-columns: minmax(0, 1fr); }
  .footer nav { margin-left: 0; }
}

@media (max-width: 420px) {
  .topbar { padding: 0 10px; top: 8px; }
  .topbar-inner { padding: 8px 8px 6px 14px; gap: 4px 10px; }
  .topbar-cta { padding: 7px 14px; }
  .nav a { padding: 6px 3px; font-size: 12px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .person img { aspect-ratio: 4 / 4.4; }
}

/* Tiny phones (e.g. 280px fold screens): menu row scrolls sideways, fade hints at more */
@media (max-width: 319px) {
  .nav {
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
    mask-image: linear-gradient(90deg, #000 80%, transparent);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
  .nav a:last-child { margin-right: 24px; }
  .logo img { height: 32px; }
}

/* Animations */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-20px); } }
@keyframes hero-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes grid-pan { to { transform: translate(64px, 64px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(239, 64, 91, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(239, 64, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 64, 91, 0); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(-0.6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slide-x { to { transform: translateX(-50%); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Scroll-driven animations (browsers without support show everything, static) */
@supports (animation-timeline: view()) {
  .progress { animation: grow-x linear both; animation-timeline: scroll(root); }
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 50%;
  }
  .bento .tile:nth-child(2), .journey li:nth-child(2), .people li:nth-child(2) { animation-range: entry 10% entry 60%; }
  .bento .tile:nth-child(4), .journey li:nth-child(3), .people li:nth-child(3) { animation-range: entry 15% entry 70%; }
  .people li:nth-child(4) { animation-range: entry 20% entry 80%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .progress { display: none; }
}
