:root {
  --bg: #FAFBFC;
  --bg-alt: #F2F6FA;
  --ink: #0F1B2D;
  --ink-soft: #42516A;
  --ink-mute: #7A8699;
  --line: #E6ECF2;
  /* ALVIA brand: teal primary (matched to official logo) */
  --teal-50: #E7F1F6;
  --teal-100: #CEE2EB;
  --teal-300: #6FA5BF;
  --teal-500: #246789;
  --teal-600: #205C7A;
  --teal-700: #18506B;
  /* ALVIA brand: pink/magenta accent (i-dot) */
  --pink-50: #FCE6EE;
  --pink-500: #E91E63;
  --pink-600: #D01657;
  /* Legacy aliases preserved for existing classes */
  --blue-50: #E8F1F6;
  --blue-100: #CFE1EB;
  --blue-300: #6FA4BF;
  --blue-500: #236E93;
  --blue-600: #1F6182;
  --blue-700: #17526F;
  --green-50: #E8F5EC;
  --green-400: #6EC48A;
  --green-500: #52B788;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.04), 0 2px 6px rgba(15, 27, 45, 0.04);
  --shadow: 0 4px 16px rgba(15, 27, 45, 0.06), 0 10px 40px rgba(15, 27, 45, 0.06);
  --shadow-lg: 0 10px 30px rgba(15, 27, 45, 0.08), 0 30px 80px rgba(15, 27, 45, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anchor target that clears the fixed nav when linked via #form */
.anchor-offset { display: block; position: relative; top: -90px; visibility: hidden; height: 0; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- NAV ---------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
/* Brand wordmark — official ALVIA logo image */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}
.footer-left .logo img { height: 44px; }
@media (max-width: 560px) {
  .logo img { height: 28px; }
  .footer-left .logo img { height: 38px; }
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
/* Keep the primary CTA legible in the nav (override .nav-links a color). */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

/* ---------------- MOBILE NAV (hamburger + full-screen menu) ---------------- */
/* Below 960px there isn't room for 5 links + language picker + CTA in one row,
   so the links and the language picker move into a full-screen overlay menu.
   The CTA stays in the bar — most mobile visitors never open a menu. */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, border-color .2s ease;
}
.nav-toggle:hover { background: #fff; }
.nav-toggle:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 2px; }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99; /* below .nav (100) so the bar + close button stay on top */
  background: var(--bg);
  padding: 92px 28px calc(32px + env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
}
.mm-link:active { color: var(--teal-500); }
.mm-link svg { color: var(--ink-mute); flex: none; }
.mm-foot {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.mm-foot .lang-picker { background: #fff; }
.mm-foot .mm-contact {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.mm-foot .mm-company {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-mute);
}
.mm-foot .mm-company a { color: inherit; text-decoration: none; }

body.menu-open { overflow: hidden; }
/* The bar is translucent + blurred; make it solid while the menu is behind it. */
body.menu-open .nav {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 960px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .nav-links .lang-picker { display: none; }
  .nav-links { gap: 10px; margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
  .btn-nav { padding: 9px 15px; font-size: 13.5px; }
}
@media (max-width: 400px) {
  .nav-links { gap: 8px; }
  .btn-nav { padding: 8px 12px; font-size: 13px; }
  .nav-toggle { width: 40px; height: 40px; }
  .mobile-menu { padding-left: 22px; padding-right: 22px; }
  .mm-link { font-size: 18.5px; padding: 17px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .nav-toggle span { transition: none; }
}

/* Language picker */
.lang-picker {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--ink-mute);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease;
  line-height: 1;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  background: var(--ink);
  color: #fff;
}
.lang-btn.active:hover { color: #fff; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 27, 45, 0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(15, 27, 45, 0.22);
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: #cfd8e3;
  transform: translateY(-1px);
}
.btn-blue {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.28);
}
.btn-blue:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(43, 108, 176, 0.32);
}
.btn-nav {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------------- SECTION BASE ---------------- */
section {
  padding: 110px 0;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
h1, h2, h3 { letter-spacing: -0.025em; color: var(--ink); }
h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 18px;
}
.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head { text-align: center; margin-bottom: 72px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* ---------------- HERO ---------------- */
.hero {
  padding: 150px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(82, 183, 136, 0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding: 130px 0 80px; }
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  margin: 22px 0 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--pink-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-talk-link {
  display: block;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-talk-link:hover {
  color: var(--ink);
}
.hero-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}
/* Ripple via a pseudo-element animating transform/opacity only (compositor-only —
   the old box-shadow keyframe forced a main-thread paint every frame). */
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green-500);
  opacity: 0.5;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Hero visual — senior photo cover */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(15, 27, 45, 0.18));
}
.hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #E8F1F6 0%, #F2F6FA 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0) 55%, rgba(15, 27, 45, 0.18) 100%);
  pointer-events: none;
}
.hero-visual .halo {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(36, 103, 137, 0.14), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  20% { transform: scale(1.22); }
  40% { transform: scale(1); }
  60% { transform: scale(1.12); }
}

.gateway {
  position: absolute;
  right: -6%;
  bottom: 10%;
  width: 38%;
  max-width: 200px;
  aspect-ratio: 1.4 / 1;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 27, 45, 0.15), 0 4px 12px rgba(15, 27, 45, 0.08);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.6);
}
.gateway-row { display: flex; align-items: center; gap: 8px; }
.gateway-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.18); }
.gateway-label { font-size: 11px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; }
.gateway-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}
.gateway-wave span {
  display: block;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-300));
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}
.gateway-wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.gateway-wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.gateway-wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.gateway-wave span:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.gateway-wave span:nth-child(5) { height: 85%; animation-delay: 0.4s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}
.gateway-bottom {
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

.badge-float {
  position: absolute;
  left: -6%;
  top: 12%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: 0 20px 40px rgba(15, 27, 45, 0.15), 0 4px 12px rgba(15, 27, 45, 0.08);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.6);
}
.badge-float .icn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
}
.badge-float .txt small { display: block; font-size: 10px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.badge-float .txt strong { font-size: 13px; color: var(--ink); font-weight: 600; }

/* ---------------- DEMO VIDEO ---------------- */
.demo-video {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.demo-poster,
.demo-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0) 55%, rgba(15, 27, 45, 0.22) 100%);
  pointer-events: none;
  transition: opacity .2s ease;
}
.demo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.3);
  transition: transform .2s ease, background .2s ease;
}
.demo-play svg { margin-left: 3px; }
.demo-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.demo-video.is-playing .demo-poster,
.demo-video.is-playing .demo-play { display: none; }
.demo-video.is-playing::after { opacity: 0; }
@media (max-width: 640px) {
  .demo-play { width: 62px; height: 62px; }
}

/* ---------------- PROBLEM / SOLUTION ---------------- */
#problem { padding-top: 88px; }
.voc-intro {
  text-align: center;
  margin-bottom: 28px;
}
.voc-heading {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
.voc-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 0 0 40px;
}
.voc-quote {
  position: relative;
  flex: 1 1 240px;
  max-width: 320px;
  margin: 0;
  padding: 26px 22px 22px;
  background: var(--blue-50);
  border: none;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--teal-500), var(--pink-500)) 1;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  box-shadow: 0 4px 16px rgba(15, 27, 45, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.voc-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.09);
}
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 820px) { .ps-grid { grid-template-columns: 1fr; } }
.ps-cta { text-align: center; margin-top: 44px; }
.ps-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
}
.ps-card.problem { background: linear-gradient(180deg, #FFFFFF, #FAFAFB); }
.ps-card.solution {
  background: linear-gradient(180deg, #F2F9F5, #FFFFFF);
  border-color: #D8EFE1;
}
.ps-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.ps-card.problem .ps-label { background: #FEECEC; color: #C44343; }
.ps-card.solution .ps-label { background: var(--green-50); color: #2E7A50; }
.ps-card h3 { font-size: 24px; margin: 0 0 18px; font-weight: 600; }
.ps-list { list-style: none; padding: 0; margin: 0; }
.ps-list li {
  padding: 12px 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
}
.ps-list li:first-child { border-top: 0; }
.ps-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-mute);
}
.ps-card.solution .ps-list li::before { background: var(--green-500); }

/* ---------------- HOW IT WORKS ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  text-align: center;
  padding: 40px 24px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 600;
  color: var(--blue-600);
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.step h3 { font-size: 22px; margin: 0 0 10px; font-weight: 600; }
.step p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.steps::before {
  content: '';
  position: absolute;
  top: 68px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
@media (max-width: 820px) { .steps::before { display: none; } }

/* ---------------- DEVICE SHOWCASE ---------------- */
#device { padding-top: 40px; padding-bottom: 120px; }
.device-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) { .device-grid { grid-template-columns: 1fr; gap: 50px; } }
.device-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.8) 0%, transparent 55%),
    linear-gradient(135deg, #E8F1F6 0%, #F2F6FA 55%, #E8F1F6 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.device-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 80% 85%, rgba(233, 30, 99, 0.08), transparent 60%),
    radial-gradient(500px 300px at 20% 20%, rgba(36, 103, 137, 0.12), transparent 60%);
  pointer-events: none;
}
.device-visual .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36,103,137,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,103,137,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
}
.device-visual .product {
  position: absolute;
  z-index: 2;
}
.device-visual .product img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(15, 27, 45, 0.2)) drop-shadow(0 6px 14px rgba(15, 27, 45, 0.1));
}
.device-visual .product-label {
  position: absolute;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 10px 24px rgba(15, 27, 45, 0.1);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  white-space: nowrap;
  z-index: 4;
}
.product.gateway-product {
  top: 14%;
  right: 4%;
  width: 58%;
  animation: floaty 7s ease-in-out infinite;
}
.product.gateway-product .product-label { top: -12px; right: 16%; }
.product.bracelet-product {
  bottom: 6%;
  left: -2%;
  width: 52%;
  animation: floaty 6s ease-in-out infinite reverse;
  animation-delay: -2s;
}
.product.bracelet-product .product-label { bottom: -6px; left: 22%; }
.connector-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}
.device-info h2 { margin-bottom: 20px; }
.device-info .lead { margin-bottom: 32px; }
.device-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
@media (max-width: 520px) { .device-specs { grid-template-columns: 1fr; } }
.device-specs li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.spec-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-500);
  display: flex; align-items: center; justify-content: center;
}
.device-specs strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.device-specs span {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ---------------- FEATURES ---------------- */
#features { background: var(--bg-alt); }
#who { background: var(--bg-alt); }
#testimonial { padding-top: 90px; }
#faq { background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #DCE4EE;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 20px;
}
.feature h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 15px; line-height: 1.55; }
.features-jump {
  display: block;
  text-align: center;
  margin: 28px auto 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-500);
}
.features-jump:hover { color: var(--ink); }

/* ---------------- FOR WHO ---------------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }
.who-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.who-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--pink-500));
  opacity: 0;
  transition: opacity .3s;
}
.who-card:hover::before { opacity: 1; }
.who-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.who-card:nth-child(1) .who-icon { background: var(--blue-50); color: var(--blue-600); }
.who-card:nth-child(2) .who-icon { background: var(--green-50); color: var(--green-500); }
.who-card:nth-child(3) .who-icon { background: #FFF4E4; color: #D68B1F; }
.who-card h3 { font-size: 22px; margin: 0 0 8px; font-weight: 600; }
.who-tag { font-size: 13px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.who-card p { color: var(--ink-soft); margin: 14px 0 0; font-size: 15.5px; }

/* ---------------- TESTIMONIAL ---------------- */
.testimonial-quote {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 0;
  border: none;
  text-align: center;
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.testimonial-name {
  max-width: 640px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------------- DIFFERENTIATION ---------------- */
.diff {
  background: linear-gradient(135deg, #0F1B2D 0%, #1C2D4A 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.diff::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(59,130,246,0.25), transparent 60%),
    radial-gradient(500px 400px at 80% 80%, rgba(82,183,136,0.18), transparent 60%);
  pointer-events: none;
}
.diff > * { position: relative; }
.diff h2 { color: #fff; max-width: 720px; margin: 0 auto 44px; font-size: clamp(28px, 3.6vw, 44px); }
.diff h2 .accent {
  background: linear-gradient(135deg, #6FA4BF, #F38DB0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.diff-pills {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pill {
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 14.5px;
  font-weight: 500;
  color: #E6EDF7;
  backdrop-filter: blur(10px);
}
@media (max-width: 640px) { .diff { padding: 60px 28px; } }

/* ---------------- FUTURE VISION ---------------- */
#vision { background: var(--bg-alt); }
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .vision-grid { grid-template-columns: 1fr; } }
.vision-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.vision-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vision-card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 600; }
.vision-card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.vision-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 20px;
}

/* ---------------- PRICING ---------------- */
.pricing-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal-500), var(--pink-500));
}
.pricing-card::after {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 103, 137, 0.10), transparent 70%);
  pointer-events: none;
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--teal-50);
  color: var(--teal-600);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
}
.pricing-badge .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}
.pricing-badge .pulse-dot::after {
  background: var(--teal-500);
}
.pricing-name {
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pricing-desc {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 32px;
  max-width: 520px;
}
.pricing-price-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.pricing-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-original {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--pink-500);
  letter-spacing: 0.01em;
}
.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
}
.price-currency {
  font-size: 28px;
  font-weight: 600;
  color: var(--teal-500);
  transform: translateY(-6px);
}
.price-amount {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-size: clamp(52px, 6.4vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--teal-500), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.price-period {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
}
.pricing-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
  border-left: 2px solid var(--line);
  max-width: 260px;
}
.pricing-note strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink-600);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pricing-note span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
}
.pricing-features li svg {
  flex-shrink: 0;
  color: var(--green-500);
  margin-top: 3px;
}
.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
}
.pricing-cta-secondary {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pricing-cta-secondary:hover {
  color: var(--ink);
}
.pricing-small {
  text-align: center;
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .pricing-card { padding: 36px 24px; }
  .pricing-price-row { gap: 20px; flex-direction: column; align-items: flex-start; }
  .pricing-note { padding-left: 0; border-left: none; border-top: 2px solid var(--line); padding-top: 16px; max-width: 100%; }
}

/* ---------------- FAQ ---------------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 22px;
  font-weight: 400;
  color: var(--teal-500);
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------------- FORM ---------------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.form-wrap::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.14), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
}
.form-intro h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.form-intro p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }
.form-intro .note {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-mute);
}
.form-intro .note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
.form-intro .company {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-mute);
}
.form-intro .company strong { color: var(--ink-soft); font-weight: 600; }
.form-intro .company a { color: inherit; text-decoration: none; transition: color .2s; }
.form-intro .company a:hover { color: var(--ink); }

.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 { position: relative; display: flex; flex-direction: column; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field label .opt { color: var(--ink-mute); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FAFBFC;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  resize: vertical;
}
.field textarea { min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237A8699' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
/* Preferred contact method — two radio "pills" that read like the inputs
   above them. The group is required; .invalid flashes it on submit. */
.pref-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.pref-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pref-group { grid-template-columns: 1fr; } }
.pref-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FAFBFC;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.pref-option:hover { border-color: var(--blue-300); }
.field .pref-option input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: none;
  padding: 0;
  margin: 0;
  accent-color: var(--blue-500);
}
.pref-option:focus-within,
.pref-option:has(input:checked) {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.pref-group.invalid .pref-option { border-color: #E86D6D; }
.form-submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 16px;
}
/* Sending state. The POST is opaque (mode: 'no-cors'), so between the click
   and the success panel there is nothing to report — without this the page
   looks frozen. The fields fade out and stop taking input, and the button's
   arrow is swapped for a spinner. */
.form.is-sending .form-row,
.form.is-sending .field {
  opacity: 0.45;
  pointer-events: none;
}
.form-row,
.field { transition: opacity 0.25s; }
.form-submit .label-sending,
.form-submit .spinner { display: none; }
.form.is-sending .form-submit { cursor: progress; }
.form.is-sending .form-submit .label-idle,
.form.is-sending .form-submit .arrow { display: none; }
.form.is-sending .form-submit .label-sending { display: inline; }
.form.is-sending .form-submit .spinner { display: inline-block; }
.form-submit .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: form-spin 0.7s linear infinite;
}
@keyframes form-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .form-submit .spinner { animation-duration: 2.4s; }
  .form-row, .field { transition: none; }
}
.form-submit-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1px solid #CDE8D6;
  color: #2E7A50;
}
.form-success.show { display: block; animation: fadeInUp .4s ease; }
.form-success h3 { color: #2E7A50; margin: 10px 0 6px; }
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto;
  border-radius: 50%; background: var(--green-500);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}

/* ---------------- TRUST ---------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
}
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item h3 { font-size: 16.5px; margin: 0 0 4px; font-weight: 600; }
.trust-item p { color: var(--ink-mute); margin: 0; font-size: 14.5px; }

/* ---------------- FOOTER ---------------- */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left .logo { margin-bottom: 8px; }
.footer-left small {
  color: var(--ink-mute);
  font-size: 13px;
  display: block;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-right a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.footer-right a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.socials a:hover { background: var(--ink); color: #fff; }
.footer-company {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-mute);
}
.footer-company strong { color: var(--ink-soft); font-weight: 600; }
.footer-company a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-company a:hover { color: var(--ink); }
.footer-company + .footer-legal { margin-top: 16px; padding-top: 16px; }

.footer-legal {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-legal-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal-links a:hover { color: var(--teal-500); }

/* ---------------- LEGAL PAGES ---------------- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--bg);
}
.legal-container {
  max-width: 820px;
}
.legal-content h1 {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 8px;
  color: var(--ink);
}
.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 36px 0 10px;
  color: var(--ink);
}
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.legal-content ul {
  padding-left: 22px;
  margin: 8px 0 14px;
}
.legal-content li { margin: 4px 0; }
.legal-content a {
  color: var(--teal-500);
  text-decoration: none;
  border-bottom: 1px solid var(--teal-100);
  transition: color .2s, border-color .2s;
}
.legal-content a:hover {
  color: var(--teal-700);
  border-bottom-color: var(--teal-500);
}
.legal-meta {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
@media (max-width: 560px) {
  .legal-page { padding-top: 100px; padding-bottom: 56px; }
  .legal-content h2 { font-size: 18px; margin-top: 28px; }
  .legal-content p, .legal-content li { font-size: 15px; }
}

/* ---------------- SCROLL REVEAL ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------------
   Feature note — the single compact qualification, sitting under the Fall
   Detection card. Visually secondary on purpose: it must be readable and
   findable, not compete with the feature it qualifies.
   --------------------------------------------------------------------------- */
/* Specificity note: `.feature p` (0,1,1) sets colour, margin, font-size and
   line-height for every paragraph in a feature card and would otherwise win
   over a single class, rendering this note at full body size. `p.feature-note`
   (0,2,1) is what makes it actually look secondary. */
.feature p.feature-note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.feature p.feature-note a {
  display: inline-block;
  margin-top: 2px;
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.feature p.feature-note a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Pre-purchase pointer to the safety limits, under the checkout agreements. */
.consent-foot {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-mute);
}
.consent-foot a { color: var(--teal-600); font-weight: 600; }
