@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/unbounded-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/unbounded-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  color-scheme: dark;
  --bg: #05060f;
  --text: #f5f7ff;
  --body: rgba(232, 236, 250, 0.84);
  --muted: rgba(220, 226, 245, 0.6);
  --faint: rgba(220, 226, 245, 0.36);
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(18, 21, 40, 0.62);
  --glass-strong: rgba(14, 16, 32, 0.82);
  --cyan: #38c7f2;
  --mint: #61ebc7;
  --blue: #338cf2;
  --violet: #7359f2;
  --pink: #c86bfa;
  --grad: linear-gradient(100deg, #38c7f2 0%, #61ebc7 45%, #a78bfa 100%);
  --display: "Unbounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grain on top of everything keeps the gradients from banding. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(97, 235, 199, 0.35); color: #fff; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Aurora */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(51, 140, 242, 0.22), transparent 70%),
    linear-gradient(180deg, #070a1c 0%, #05060f 60%);
}

.aurora span {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.55;
  will-change: transform;
  animation: drift 26s var(--ease) infinite alternate;
}

.aurora span:nth-child(1) {
  top: -30vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(56, 199, 242, 0.45), transparent 62%);
}

.aurora span:nth-child(2) {
  top: 10vmax;
  right: -30vmax;
  background: radial-gradient(circle, rgba(115, 89, 242, 0.5), transparent 62%);
  animation-duration: 32s;
  animation-delay: -8s;
}

.aurora span:nth-child(3) {
  bottom: -40vmax;
  left: 10vmax;
  background: radial-gradient(circle, rgba(97, 235, 199, 0.28), transparent 62%);
  animation-duration: 38s;
  animation-delay: -16s;
}

.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, #000 20%, transparent 75%);
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
  100% { transform: translate3d(-4vmax, 8vmax, 0) scale(0.95); }
}

/* Header */

header {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 16px;
}

header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1120px;
  height: 60px;
  margin: 14px auto 0;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 28, 0.55);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 700 16px/1 var(--display);
  letter-spacing: -0.01em;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 6px 20px rgba(115, 89, 242, 0.5);
}

.brand em, .gradient-text {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-actions { display: flex; align-items: center; gap: 6px; }

header nav { display: flex; gap: 2px; }

header nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

header nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
header nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.1); }

.lang { position: relative; }

.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s, background 0.2s;
}

.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: rgba(255, 255, 255, 0.12); }
.lang summary svg { width: 16px; height: 16px; }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(20, 22, 40, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  animation: pop 0.18s var(--ease);
}

@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }

.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
}

.lang-menu a:hover { background: rgba(255, 255, 255, 0.07); text-decoration: none; }
.lang-menu a[aria-current="true"]::after { content: "✓"; color: var(--mint); font-weight: 700; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background: var(--grad);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  box-shadow: 0 0 12px rgba(97, 235, 199, 0.7);
}

/* Layout */

main, footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0; color: var(--text); }

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(97, 235, 199, 0.25);
  border-radius: 999px;
  background: rgba(97, 235, 199, 0.07);
  color: var(--mint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.eyebrow .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 80%, 100% { transform: scale(2); opacity: 0; } }

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  min-height: min(860px, calc(100vh - 90px));
  padding: 56px 0 40px;
}

.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(36px, 5.6vw, 72px);
}

.hero h1 .gradient-text { display: inline-block; padding-bottom: 0.08em; }

.tagline {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--body);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.store-badge {
  display: inline-block;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.store-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(56, 199, 242, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.25); }
.store-badge img { display: block; height: 56px; width: auto; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.text-link svg { width: 18px; height: 18px; color: var(--mint); transition: transform 0.25s var(--ease); }
.text-link:hover { text-decoration: none; }
.text-link:hover svg { transform: translateX(4px); }

.note { margin: 26px 0 0; color: var(--faint); font-size: 14px; }

/* Device mockup */

.device-wrap { position: relative; display: flex; justify-content: center; text-align: left; }

.device-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 89, 242, 0.55), rgba(56, 199, 242, 0.25) 45%, transparent 70%);
  filter: blur(40px);
}

.device {
  position: relative;
  width: 310px;
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(145deg, #3a3f55, #12141f 40%, #2a2e40);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-4deg);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-14px); }
}

.screen {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  padding: 54px 16px 20px;
  border-radius: 44px;
  background:
    radial-gradient(circle 220px at 15% 10%, rgba(56, 199, 242, 0.22), transparent),
    radial-gradient(circle 260px at 90% 90%, rgba(175, 82, 222, 0.2), transparent),
    linear-gradient(160deg, #0d1224, #080a1a 55%, #0a0d1f);
}

.island {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 28px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
}

.m-title { margin: 0 4px 12px; font: 700 24px/1.1 var(--sans); letter-spacing: -0.02em; }

.m-card {
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(28, 28, 30, 0.92);
  border: 1px solid rgba(97, 235, 199, 0.16);
}

.m-score { display: flex; align-items: center; gap: 14px; }
.m-score-text { flex: 1; min-width: 0; }
.m-score strong { display: block; margin-bottom: 8px; font-size: 13px; line-height: 1.25; }

.ring {
  --size: 84px;
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--cyan), var(--mint) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  animation: ring-fill 2s var(--ease) 0.3s both;
}

@keyframes ring-fill { from { --p: 0; } }

.ring-wrap { position: relative; flex: none; }

.ring-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 26px/1 var(--display);
  letter-spacing: -0.04em;
}

.pillars { margin: 0; padding: 0; list-style: none; flex: 1; min-width: 0; }

.pillars li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.pillars li b { color: var(--text); font-weight: 600; }

.pillars li i {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pillars li i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--bar, var(--grad));
  animation: grow 1.6s var(--ease) 0.5s both;
}

@keyframes grow { from { width: 0; } }

.m-row { display: flex; align-items: baseline; justify-content: space-between; color: var(--muted); font-size: 12px; }
.m-row b { color: var(--text); font: 700 22px/1 var(--display); letter-spacing: -0.03em; }
.m-row small { color: var(--muted); font: 600 11px var(--sans); letter-spacing: 0; }

.pulse { display: block; width: 100%; height: auto; overflow: visible; }
.m-card .pulse { margin-top: 6px; }
.pulse .trace-bg { stroke: rgba(255, 255, 255, 0.08); }
.pulse .trace-glow { opacity: 0.9; }
.pulse .trace, .pulse .trace-glow { stroke-dasharray: 0 10000; }
.pulse .head { opacity: 0; }

.m-bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 20px 20px 20px 6px;
  background: linear-gradient(135deg, rgba(115, 89, 242, 0.35), rgba(56, 199, 242, 0.18));
  border: 1px solid rgba(167, 139, 250, 0.3);
  font-size: 13px;
  line-height: 1.4;
}

.m-bubble p { margin: 0; }

.floating {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 22, 42, 0.72);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: float-chip 7s ease-in-out infinite;
}

.floating small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.floating.one { top: -3%; left: -12%; }
.floating.two { bottom: 10%; right: -10%; animation-delay: -3.5s; }

@keyframes float-chip { 50% { transform: translateY(-10px); } }

/* Chips */

.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.chip svg { width: 22px; height: 22px; }
.chip.sm { width: 28px; height: 28px; border-radius: 9px; }
.chip.sm svg { width: 15px; height: 15px; }
.chip.cyan { background: linear-gradient(135deg, #38c7f2, #2b7de0); }
.chip.mint { background: linear-gradient(135deg, #61ebc7, #1f9e85); }
.chip.violet { background: linear-gradient(135deg, #a78bfa, #6d4ef0); }
.chip.blue { background: linear-gradient(135deg, #5aa7ff, #2d6fe0); }
.chip.gray { background: linear-gradient(135deg, #8e8e93, #4a4a50); }

/* Marquee */

.marquee {
  position: relative;
  margin: 30px calc(50% - 50vw) 0;
  padding: 22px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: transparent;
  font: 700 clamp(26px, 3.6vw, 44px)/1 var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}

.marquee span:nth-child(3n + 2) { color: var(--text); -webkit-text-stroke: 0; }
.marquee span::after { content: "✦"; color: var(--mint); -webkit-text-stroke: 0; font-size: 0.5em; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */

.section { padding: 110px 0 0; }

.section-head { max-width: 760px; margin-bottom: 40px; }

.kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); }

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(97, 235, 199, 0.13), transparent 45%);
  transition: opacity 0.4s;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--x) var(--y), rgba(97, 235, 199, 0.75), rgba(56, 199, 242, 0.25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.tile:hover { transform: translateY(-4px); }
.tile:hover::before, .tile:hover::after { opacity: 1; }

.tile.wide { grid-column: span 2; }

.tile h3 { margin: 18px 0 8px; font: 700 21px/1.25 var(--display); letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--body); font-size: 16px; }
.tile .visual { margin-top: auto; padding-top: 26px; }

.tile-score { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.tile-score .visual { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.tile-score .ring { --size: 150px; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); mask: radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px)); }
.tile-score .ring-value { font-size: 44px; }
.tile-score .pillars li { font-size: 13px; margin-bottom: 12px; }
.tile-score .pillars li i { height: 7px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }

.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--mint), rgba(56, 199, 242, 0.25));
  transform-origin: bottom;
  animation: bar 1.2s var(--ease) both;
}

.bars i:nth-child(2) { animation-delay: 0.06s; }
.bars i:nth-child(3) { animation-delay: 0.12s; }
.bars i:nth-child(4) { animation-delay: 0.18s; }
.bars i:nth-child(5) { animation-delay: 0.24s; }
.bars i:nth-child(6) { animation-delay: 0.3s; }
.bars i:nth-child(7) { animation-delay: 0.36s; background: linear-gradient(180deg, #a78bfa, rgba(115, 89, 242, 0.3)); }

@keyframes bar { from { transform: scaleY(0); } }

.chat { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; }

.chat p {
  max-width: 88%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 18px;
}

.chat .me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--blue); color: #fff; }
.chat .ai { border-bottom-left-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--text); }

.doc-scan {
  position: relative;
  overflow: hidden;
  height: 120px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.doc-scan i { display: block; height: 7px; margin-bottom: 11px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.doc-scan i:nth-child(1) { width: 45%; background: rgba(255, 255, 255, 0.28); }
.doc-scan i:nth-child(2) { width: 85%; }
.doc-scan i:nth-child(3) { width: 70%; }
.doc-scan i:nth-child(4) { width: 78%; }
.doc-scan i:nth-child(5) { width: 55%; }

.doc-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(97, 235, 199, 0.35));
  border-bottom: 2px solid var(--mint);
  box-shadow: 0 6px 18px rgba(97, 235, 199, 0.5);
  animation: scan 2.8s ease-in-out infinite;
}

@keyframes scan { 0% { top: -36px; } 100% { top: 120px; } }

.shield-visual { display: grid; place-items: center; }

.shield-visual .halo {
  position: relative;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(97, 235, 199, 0.25), transparent 70%);
}

.shield-visual .halo::before, .shield-visual .halo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(97, 235, 199, 0.4);
  animation: ping 3s var(--ease) infinite;
}

.shield-visual .halo::after { animation-delay: 1.5s; }
.shield-visual .chip { width: 60px; height: 60px; border-radius: 18px; }
.shield-visual .chip svg { width: 30px; height: 30px; }

/* Final CTA */

.cta {
  position: relative;
  overflow: hidden;
  margin-top: 110px;
  padding: 72px 32px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle 500px at 0% 0%, rgba(56, 199, 242, 0.25), transparent),
    radial-gradient(circle 500px at 100% 100%, rgba(115, 89, 242, 0.35), transparent),
    rgba(12, 14, 30, 0.7);
  text-align: center;
}

.cta img.cta-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 26px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 60px rgba(115, 89, 242, 0.6);
}

.cta h2 { max-width: 760px; margin: 0 auto 14px; font-size: clamp(30px, 4.6vw, 56px); }
.cta p { margin: 0 0 30px; color: var(--body); font-size: 18px; }

/* Info list */

.links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
  color: var(--text);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.link-card:hover { transform: translateY(-3px); border-color: rgba(97, 235, 199, 0.35); background: rgba(24, 28, 52, 0.75); text-decoration: none; }
.link-card .text { flex: 1; min-width: 0; }
.link-card strong { display: block; font-weight: 650; }
.link-card small { display: block; overflow: hidden; color: var(--muted); font-size: 14px; text-overflow: ellipsis; }
.link-card .chevron { width: 9px; height: 15px; color: var(--faint); flex: none; }

/* Legal documents */

.doc-hero { padding: 72px 0 44px; max-width: 860px; }
.doc-hero h1 { margin: 20px 0 16px; font-size: clamp(34px, 5.6vw, 64px); }
.updated { margin: 0; color: var(--muted); font-size: 15px; }
.translation-note { margin: 8px 0 0; color: var(--faint); font-size: 14px; }
.translation-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.toc p { margin: 0 12px 10px; color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; }

.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  transition: color 0.2s, background 0.2s;
}

.toc a span { flex: none; color: var(--faint); font: 600 12px/1.6 var(--display); }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.toc a.active { color: var(--text); background: rgba(97, 235, 199, 0.1); }
.toc a.active span { color: var(--mint); }

.doc-body { max-width: 780px; color: var(--body); }
.doc-body > p { margin: 0 0 18px; font-size: 18px; }

.callout {
  position: relative;
  margin: 26px 0 30px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(16, 20, 38, 0.92), rgba(16, 20, 38, 0.92)) padding-box,
    linear-gradient(120deg, rgba(56, 199, 242, 0.8), rgba(97, 235, 199, 0.5) 40%, rgba(167, 139, 250, 0.6)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 60px rgba(56, 199, 242, 0.12);
  color: var(--body);
  font-size: 17px;
}

.callout strong { color: var(--text); }

.doc section {
  margin: 0 0 16px;
  padding: 30px 32px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass-strong);
}

.doc section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 14px;
  font: 700 22px/1.3 var(--display);
  letter-spacing: -0.02em;
}

.doc section h2 .num {
  flex: none;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 15px;
}

.doc section h3 { margin: 26px 0 8px; color: var(--mint); font-size: 17px; font-weight: 650; }
.doc section p, .doc section ul { margin: 0 0 14px; }
.doc section ul { padding-left: 22px; }
.doc section li { margin: 7px 0; }
.doc section li::marker { color: var(--mint); }
.doc section strong { color: var(--text); }

table {
  width: 100%;
  margin: 10px 0 18px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
}

th, td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255, 255, 255, 0.03); }
td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }

/* 404 */

.not-found { padding: 120px 0 80px; text-align: center; }
.not-found .pulse { max-width: 440px; margin: 0 auto 30px; }
.not-found .pulse .trace-bg { stroke: rgba(56, 199, 242, 0.6); filter: drop-shadow(0 0 6px rgba(56, 199, 242, 0.8)); }
.not-found h1 { font: 700 clamp(32px, 5vw, 56px)/1.1 var(--display); letter-spacing: -0.03em; margin-bottom: 12px; }
.not-found p { color: var(--muted); }

.button {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--grad);
  color: #04121a;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(97, 235, 199, 0.3);
  transition: transform 0.25s var(--ease);
}

.button:hover { text-decoration: none; transform: translateY(-2px); }

/* Footer */

footer { margin-top: 110px; padding: 32px 0 44px; border-top: 1px solid var(--line); }

footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  color: var(--faint);
  font-size: 14px;
}

footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Reveal on scroll */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].in { opacity: 1; transform: none; }

/* Animations inside tiles start when the tile is revealed. */
.js .tile:not(.in) .bars i,
.js .tile:not(.in) .ring,
.js .tile:not(.in) .pillars li i::before { animation-play-state: paused; }

/* Responsive */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 64px; min-height: 0; padding-top: 48px; text-align: center; }
  .hero .tagline { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.wide { grid-column: span 2; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .links { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  main, footer .inner { padding: 0 18px; }
  header { top: 10px; padding: 0 10px; }
  header .bar { height: 56px; margin-top: 10px; padding: 0 8px 0 10px; }
  header nav a { padding: 7px 10px; font-size: 14px; }
  .lang summary { padding: 0 11px; }
  .brand-name { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .tile-score { grid-template-columns: 1fr; }
  .tile-score .ring { --size: 120px; }
  .tile-score .ring-value { font-size: 36px; }
  .floating.one { top: -4%; left: 0; }
  .floating.two { bottom: 2%; right: 0; }
  .device { width: 280px; }
  .screen { min-height: 540px; }
  .section { padding-top: 80px; }
  .cta { padding: 56px 22px; border-radius: 32px; }
  .doc-hero { padding: 48px 0 32px; }
  .doc-body > p { font-size: 17px; }
  .doc section { padding: 24px 20px 12px; border-radius: 24px; }
  .doc section h2 { font-size: 19px; }
  td:first-child { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .pulse .trace, .pulse .trace-glow { stroke-dasharray: none; }
}
