:root {
  --bg: #07060c;
  --bg-2: #0c0b12;
  --card: #14131c;
  --line: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.38);
  --accent: #8d59ff;
  --accent-2: #c4b5fd;
  --header: rgba(7, 6, 12, 0.92);
  --menu: #16151e;
  --input: #0c0b12;
  --input-text: #fff;
  --dim: rgba(255, 255, 255, 0.32);
  --hover: #fff;
  --ours-text: #fff;
  --max: 1120px;
}

body:has(#theme:checked) {
  --bg: #f6f5fb;
  --bg-2: #eceaf3;
  --card: #ffffff;
  --line: rgba(20, 18, 28, 0.12);
  --text: #16141f;
  --muted: #5c5870;
  --faint: #7a7690;
  --accent-2: #0e2e8f;
  --header: rgba(255, 255, 255, 0.94);
  --menu: #ffffff;
  --input: #ffffff;
  --input-text: #16141f;
  --dim: rgba(22, 20, 31, 0.38);
  --hover: #16141f;
  --ours-text: #16141f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }
img { max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Sora, "Segoe UI", sans-serif; font-weight: 500; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section { padding: 88px 0; }
.section h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; max-width: 16ch; }
.lead { color: var(--muted); max-width: 52ch; margin-top: 16px; font-size: 18px; }

.nav-toggle, .theme { position: absolute; opacity: 0; pointer-events: none; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: #0b1f6e; }
.brand img { width: 60px; height: 60px; }
.brand-name {
  font-family: Montserrat, Sora, sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #0b1f6e;
}
.brand-name span {
  margin-left: 0.14em;
  background: linear-gradient(100deg, #1636b0 8%, #2f78ff 48%, #3ec6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.burger i {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.burger i:nth-of-type(1) { top: 15px; }
.burger i:nth-of-type(2) { top: 21px; }
.burger i:nth-of-type(3) { top: 27px; }
.nav-toggle:checked ~ .site-header .burger i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle:checked ~ .site-header .burger i:nth-of-type(2) { opacity: 0; }
.nav-toggle:checked ~ .site-header .burger i:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .drop > a.trigger {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 16px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 26px 0;
  font-weight: bold;
}
.nav-links > a:hover, .drop:hover > a.trigger, .drop:focus-within > a.trigger,
.nav-links > a[aria-current="page"] { color: var(--text); }
.caret { font-size: 9px; }
.try {
  position: relative;
  overflow: hidden;
  background: #20419f;
  color: #fff !important;
  border-radius: 999px;
  padding: 12px 22px !important;
  box-shadow: 0 8px 22px rgba(32, 65, 159, 0.38);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.try::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.38) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}
.try:hover {
  background: #2c56c9;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(32, 65, 159, 0.46);
}
.try:hover::after { transform: translateX(130%); }
.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  font-size: 16px;
}
.theme-btn .for-light { display: none; }
body:has(#theme:checked) .theme-btn .for-dark { display: none; }
body:has(#theme:checked) .theme-btn .for-light { display: inline; }
.drop { position: relative; }
.drop-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--menu);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.drop-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: grid; }
.drop-panel a {
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: var(--text);
}
.drop-panel a:hover { background: rgba(141, 89, 255, 0.12); }
.drop-panel strong { display: block; font-family: Sora, sans-serif; font-weight: 500; font-size: 15px; }
.drop-panel span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f4f1ff;
  color: #14121c !important;
  border-radius: 999px;
  padding: 10px 16px 10px 18px;
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-size: 14px;
}
.btn span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #14121c;
  color: #fff;
  display: grid;
  place-items: center;
}

.hero {
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.24);
  --dim: rgba(255, 255, 255, 0.5);
  --accent-2: #c5d4ff;
  padding: 156px 0 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 36% at 50% 12%, rgba(158, 186, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 80% 55% at 50% 118%, rgba(32, 65, 159, 0.9), transparent 62%),
    linear-gradient(180deg, #07122c 0%, #0d1e4d 46%, #081428 100%);
  color: rgba(255, 255, 255, 0.94);
}
.hero .lead { max-width: 52ch; margin: 22px auto 0; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at 50% 38%, #000 12%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-slides { display: grid; margin-top: 4px; }
.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: hero-slide 12s ease-in-out infinite;
}
.hero-slide + .hero-slide { animation-delay: -6s; }
@keyframes hero-slide {
  0%, 36% { opacity: 1; transform: translateY(0); }
  46%, 86% { opacity: 0; transform: translateY(-32px); }
  92% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-keep {
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 0.98;
  max-width: 14ch;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 8%, #e7eeff 52%, #8eafff 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin: 18px auto 0; max-width: 36ch; color: rgba(255, 255, 255, 0.82); font-size: clamp(18px, 2vw, 24px); line-height: 1.4; }
.hero-keep { max-width: 16ch; font-family: Sora, "Segoe UI", sans-serif; letter-spacing: -0.035em; }
.hero-keep .dim {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: rgba(255, 255, 255, 0.48);
}
.hero .lead { margin: 18px auto 0; color: rgba(255, 255, 255, 0.72); }
.hero-deck {
  position: relative;
  width: min(520px, 100%);
  height: 210px;
  margin: 36px auto 4px;
}
.sheet {
  position: absolute;
  left: 50%;
  top: 8px;
  width: min(320px, 86%);
  margin-left: min(-160px, -43%);
  min-height: 118px;
  padding: 16px 18px 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 40px rgba(2, 8, 28, 0.35);
  backdrop-filter: blur(10px);
  animation: deck-stack 9s ease-in-out infinite;
}
.sheet:nth-child(2) { animation-delay: -3s; }
.sheet:nth-child(3) { animation-delay: -6s; }
.sheet strong { display: block; font-family: Sora, sans-serif; font-size: 16px; font-weight: 500; color: #fff; }
.sheet span { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.68); font-size: 13px; }
.sheet i {
  display: block;
  height: 6px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}
.sheet i:first-of-type { width: 72%; margin-top: 14px; background: #8eafff; }
.sheet i:nth-of-type(2) { width: 92%; }
.sheet i:nth-of-type(3) { width: 48%; }
@keyframes deck-stack {
  0%, 24% { transform: translate(0, 0) scale(1) rotate(0deg); z-index: 3; opacity: 1; }
  34%, 57% { transform: translate(28px, 48px) scale(0.94) rotate(-4deg); z-index: 1; opacity: 0.78; }
  67%, 90% { transform: translate(-26px, 24px) scale(0.97) rotate(3.5deg); z-index: 2; opacity: 0.9; }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); z-index: 3; opacity: 1; }
}
.hero-actions { display: flex; justify-content: center; margin-top: 28px; position: relative; }
.hero .btn {
  background: #fff;
  color: #10245a !important;
  padding: 12px 16px 12px 22px;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(4, 12, 36, 0.35);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.hero .btn span { transition: transform 0.28s ease; background: #20419f; }
.hero .btn:hover {
  transform: translateY(-3px);
  background: #eef3ff;
  box-shadow: 0 18px 36px rgba(32, 65, 159, 0.4);
}
.hero .btn:hover span { transform: translate(3px, -3px); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; position: relative; }
.pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.alt { background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.stat, .card, .step, .faq details, .contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.stat { padding: 24px; }
.stat strong { display: block; font-family: Sora, sans-serif; font-size: 36px; font-weight: 500; letter-spacing: -0.04em; }
.stat span { color: var(--muted); display: block; margin-top: 8px; }
.note { color: var(--faint); font-size: 14px; margin-top: 18px; max-width: 80ch; }
.risks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.card, .step { padding: 24px; }
.card h3, .step h3 { font-size: 22px; margin-bottom: 8px; }
.card p, .step p, .faq p { color: var(--muted); }
.kicker { color: var(--accent-2); font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.step .num { font-family: Sora, sans-serif; font-size: 40px; color: rgba(141, 89, 255, 0.7); }
.card a { display: inline-block; margin-top: 16px; color: var(--accent-2); }

.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: 22px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 16px 18px; vertical-align: top; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--muted); font-weight: 500; }
td.ours, th.ours { background: rgba(141, 89, 255, 0.16); color: var(--ours-text); }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { padding-left: 22px; position: relative; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.card p.value-mark { margin: 0; font-family: Sora, sans-serif; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.04em; color: var(--accent-2); line-height: 1.1; }
.point-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.point-head svg, .point-icon { width: 26px; height: 26px; color: var(--accent-2); flex-shrink: 0; }
.point-icon { display: block; margin-bottom: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
#cta h2 { max-width: 18ch; }
#cta .lead { max-width: 62ch; }
#cta .btn { background:#0c2a83; color: #fff !important; padding: 12px 22px; }
#cta .btn-ghost { background: transparent; }
.btn-ghost { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 500; background: var(--card); }

.faq details { padding: 8px 22px; margin-top: 12px; }
.faq summary { cursor: pointer; font-family: Sora, sans-serif; font-size: 18px; padding: 14px 0; }
.faq details p { padding-bottom: 16px; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; margin-top: 36px; }
.contact-card { padding: 28px; }
#contact { padding: 52px 0 44px; }
.contact-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.contact-head h2 { max-width: 16ch; }
.contact-head .lead { margin-top: 8px; font-size: 16px; }
.contact-mail {
  flex-shrink: 0;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 500;
}
.contact-mail span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: end;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.contact-form label { margin: 0 0 4px; font-size: 13px; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 10px 12px; }
.contact-form textarea { min-height: 46px; resize: vertical; }
.contact-form .field-wide { grid-column: span 2; }
.contact-form .form-actions { display: flex; justify-content: flex-end; }
.contact-form button.btn { margin-top: 0; }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
input, select, textarea {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--line);
  color: var(--input-text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
button.btn { border: 0; cursor: pointer; margin-top: 18px; }

.footer {
  position: relative;
  isolation: isolate;
  padding: 64px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(720px 240px at 8% 0%, rgba(61, 107, 245, 0.46), transparent 62%),
    linear-gradient(180deg, #12245f 0%, #08122e 46%, #070e24 100%);
  border-top: 0;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #20419f 0%, #b7cbff 50%, #20419f 100%);
}
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 80%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 80%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.45fr 0.8fr 0.8fr; gap: 40px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.footer-mark img { width: 44px; height: 44px; }
.footer h3 { font-size: 20px; margin: 0; color: #fff; }
.footer-grid > div:not(:first-child) h3 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7cbff;
  margin-bottom: 16px;
}
.footer p { max-width: 38ch; color: rgba(255, 255, 255, 0.7); }
.footer a {
  display: block;
  width: fit-content;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer a:hover { color: #fff; transform: translateX(4px); }
.footer a.footer-callback {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 14px 22px;
  background: #20419f;
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(32, 65, 159, 0.45);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  animation: callback-glow 2.8s ease-in-out infinite;
}
.footer a.footer-callback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.42) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: callback-shine 3.6s ease-in-out infinite;
}
.footer a.footer-callback span { display: inline-block; transition: transform 0.28s ease; }
.footer a.footer-callback:hover {
  background: #2c56c9;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(32, 65, 159, 0.55);
  animation: none;
}
.footer a.footer-callback:hover::after {
  animation: none;
  transform: translateX(130%);
  transition: transform 0.55s ease;
}
.footer a.footer-callback:hover span { transform: translate(3px, -3px); }
.copy {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.48);
}
@keyframes callback-glow {
  0%, 100% { box-shadow: 0 8px 18px rgba(32, 65, 159, 0.32); }
  50% { box-shadow: 0 14px 30px rgba(110, 150, 255, 0.62); }
}
@keyframes callback-shine {
  0%, 58% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.studio { padding: 132px 0 28px; }
.studio-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.studio-num {
  margin: 0 0 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.studio-num span { color: #c2410c; margin-right: 8px; }
.studio-index nav { display: grid; gap: 8px; }
.studio-index nav a { color: var(--text); font-size: 16px; }
.studio-index nav a:hover { color: var(--accent-2); }
.studio-est {
  margin: 48px 0 0;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.45;
}
.studio-kicker {
  margin: 0 0 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.studio h1 {
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 12em;
}
.studio-copy > p:last-of-type {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
}
.studio-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 500;
}
.studio-textlink { text-decoration: underline; text-underline-offset: 6px; font-weight: 500; }
.studio-photos {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1.15fr;
  gap: 16px;
  margin-top: 64px;
}
.studio-photos img, .studio-photos figure {
  border-radius: 28px;
  overflow: hidden;
}
.studio-photos img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.studio-photos figure { position: relative; margin: 0; }
.studio-photos figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(20, 18, 28, 0.72);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}
.about-hero { padding: 72px 0 0; }
.about-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.55fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}
.mega {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  font-size: clamp(56px, 7.2vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.mega .ch {
  display: inline-block;
  overflow: hidden;
  height: 0.95em;
}
.mega .ch b {
  display: block;
  font-weight: inherit;
  transform: translateY(110%);
  animation: letter-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 45ms);
}
.mega .sp { width: 0.28em; height: 0.95em; }
@keyframes letter-up { to { transform: translateY(0); } }
.about-aside { color: var(--muted); font-size: 16px; margin: 0 0 8px; }
.rise { animation: rise 0.9s 0.45s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-frame {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-2);
}
.hero-frame img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  transform: scale(1.18);
  animation: zoom-in 1.7s 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  animation: unveil 1.5s 0.15s ease forwards;
  pointer-events: none;
}
@keyframes zoom-in { to { transform: scale(1); } }
@keyframes unveil { to { opacity: 0; } }
.ticker {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  font-family: Sora, sans-serif;
  font-size: 22px;
  letter-spacing: -0.03em;
  padding: 0 36px;
  color: var(--muted);
}
.ticker-track span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 36px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.team-head {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  align-items: end;
  gap: 24px;
}
.section h2 .dim { color: var(--dim); display: block; }
.pillars .figure-num { font-size: clamp(42px, 4vw, 64px); margin-bottom: 8px; }
.pillars .card h3 { font-size: 20px; }
.years {
  margin: 0;
  text-align: right;
  font-family: Sora, sans-serif;
  font-size: clamp(72px, 8vw, 112px);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.years small {
  display: block;
  margin-top: 10px;
  font-family: "Inter Tight", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.portrait {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.portrait img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.portrait:hover img { transform: scale(1); }
.portrait-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
}
.portrait-meta strong { font-family: Sora, sans-serif; font-weight: 500; font-size: 18px; }
.portrait-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.beliefs { list-style: none; margin: 36px 0 0; padding: 0; }
.beliefs li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.beliefs li:last-child { border-bottom: 1px solid var(--line); }
.beliefs li > span {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-2);
  padding-top: 4px;
}
.beliefs h3 { font-size: 26px; margin-bottom: 6px; }
.figures {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.3fr;
  gap: 48px;
  align-items: start;
}
.figures h2 { max-width: 8ch; }
.figure-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1fr;
  gap: 24px;
  align-items: end;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.figure-list article:last-child { border-bottom: 1px solid var(--line); }
.figure-num {
  font-family: Sora, sans-serif;
  font-size: clamp(56px, 7vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0;
}
.figure-list h3 { font-size: 18px; margin: 0 0 8px; }
.figure-list p { color: var(--muted); max-width: 42ch; }
.about-close .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.about-close h2 { max-width: 16ch; }

@media (prefers-reduced-motion: reduce) {
  .mega .ch b, .hero-frame img, .hero-frame::after, .rise, .ticker-track, .hero-slide, .sheet, .try::after { animation: none; }
  .mega .ch b, .hero-frame img { transform: none; }
  .hero-frame::after { opacity: 0; }
  .hero-slide { grid-area: auto; opacity: 1; transform: none; }
  .hero-slide + .hero-slide { margin-top: 28px; }
  .sheet:nth-child(1) { transform: translate(0, 0) rotate(0deg); z-index: 3; }
  .sheet:nth-child(2) { transform: translate(-26px, 24px) rotate(3.5deg); opacity: 0.9; z-index: 2; }
  .sheet:nth-child(3) { transform: translate(28px, 48px) rotate(-4deg); opacity: 0.78; z-index: 1; }
  .footer a.footer-callback, .footer a.footer-callback::after { animation: none; }
  .try:hover, .hero .btn:hover, .hero .btn:hover span,
  .footer a:hover, .footer a.footer-callback:hover, .footer a.footer-callback:hover span { transform: none; }
}

@media (max-width: 1080px) {
  .burger { display: inline-block; }
  .nav { position: relative; width: calc(100% - 32px); }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--menu);
    box-shadow: 0 24px 40px rgba(8, 10, 24, 0.16);
    max-height: calc(100vh - 92px);
    overflow: auto;
    z-index: 50;
  }
  .nav-toggle:checked ~ .site-header .nav-links { display: flex; }
  body:has(#nav-toggle:checked) { overflow: hidden; }
  .nav-links > a, .drop > a.trigger {
    padding: 14px 0;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links > a.try {
    margin-top: 14px;
    justify-content: center;
    border-bottom: 0;
    min-height: 46px;
  }
  .theme-btn { margin: 16px 0 4px; }
  .drop-panel { position: static; display: grid; width: auto; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 12px; }
  .drop-panel::before { display: none; }
  .drop-panel a { padding: 10px 0; }
}
@media (max-width: 980px) {
  .stats, .grid-4, .grid-3, .grid-2, .risks, .contact-grid, .footer-grid, .row,
  .about-hero-top, .team-head, .portraits, .figures, .about-close .wrap,
  .studio-grid, .studio-photos { grid-template-columns: 1fr; }
  .studio-est { margin-top: 18px; max-width: none; }
  .studio-photos img { height: 240px; }
  .years, .about-close .wrap { text-align: left; }
  .about-close .wrap { display: grid; }
  .hero-frame img, .portrait img { height: 320px; }
  .beliefs li { grid-template-columns: 48px 1fr; }
  .origin, .chapter-grid, .node-grid, .open-grid { grid-template-columns: 1fr; }
  .origin-visual { min-height: 520px; }
}

body:has(.a5) { background: #fff; }
.a5 { background: #fff; color: #16141f; }
.origin { display: grid; grid-template-columns: 0.86fr 1.14fr; margin-top: 76px; min-height: 680px; }
.origin-side { background: #0e2e8f; color: #fff; padding: 56px 40px 40px; text-align: right; }
.origin-kicker { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #0e2e8f; }
.origin-side .origin-kicker { color: rgba(255,255,255,0.82); }
.origin-kicker span { margin-right: 8px; }
.origin-num { margin: 36px 0 8px; font-family: Sora, sans-serif; font-weight: 600; font-size: clamp(92px, 9vw, 148px); line-height: 0.85; letter-spacing: -0.06em; }
.origin-side > p { margin: 0 0 0 auto; max-width: 28ch; }
.origin-note { margin-top: 10px !important; color: rgba(255,255,255,0.62); }
.origin-rows { margin-top: 56px; }
.origin-rows div { display: flex; justify-content: flex-end; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.16); font-size: 15px; text-align: right; }
.origin-rows span { color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; font-family: "IBM Plex Mono", monospace; }
.origin-visual { position: relative; min-height: 680px; background: #111 url("images/about-hero.jpg") center 30%/cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.origin-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.82) 48%); }
.origin-copy { position: relative; padding: 48px 44px 52px; max-width: 680px; }
.origin-copy h1 { color: #fff; font-size: clamp(42px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; }
.origin-copy h1 .dim { color: rgba(255,255,255,0.72); }
.origin-copy p { color: rgba(255,255,255,0.86); margin-top: 18px; max-width: 54ch; }
.origin-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.origin-link, .open-mail { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.chapters, .nodes { padding: 88px 0 20px; background: #fff; color: #16141f; }
.chapters h2, .nodes h2 { color: #16141f; font-size: clamp(40px, 5vw, 68px); max-width: 16ch; line-height: 1.02; font-weight: 600; }
.nodes h2 { max-width: 12ch; }
.chapter-lead { max-width: 68ch; color: #2a2733; margin-top: 18px; }
.chapter-grid, .node-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.chapter-grid article { border-top: 1px solid #e4e4e4; padding-top: 18px; }
.chapter-grid article > p:first-child { color: #0e2e8f; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 12px; }
.chapter-grid h3, .node-grid h3 { font-size: 22px; margin-bottom: 8px; }
.chapter-grid p, .node-grid p { color: #5c5870; }
.node-grid article { background: #f3f1f6; border-radius: 18px; padding: 28px 22px 32px; min-height: 180px; }
.open-band { margin: 48px 20px 28px; background: #0e2e8f; color: #fff; border-radius: 28px; }
.open-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 8px; align-items: start; }
.footer-callback { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; background: #20419f; color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 500; }
.open-kicker { margin: 0 0 12px; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.open-band h2 { color: #fff; font-size: clamp(40px, 5vw, 64px); max-width: 10ch; line-height: 0.98; }
.open-band p { color: rgba(255,255,255,0.92); margin-top: 8px; max-width: 42ch; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: #0c2a83; color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 500; }
.a5 + .footer, body:has(.a5) .footer { color: rgba(255, 255, 255, 0.74); }
.offer-stack { position: relative; background: #f4f2f7; margin-top: 56px; }
.offer-sticky {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.offer-stage { position: relative; width: 100%; height: min(460px, calc(100vh - 180px)); overflow: hidden; }
.offer-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  background: #f4f2f7;
  transform-origin: center top;
  will-change: transform;
}
.offer-copy { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.offer-copy > p:first-child { margin: 0 0 14px; color: #0e2e8f; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-copy h3 { color: #16141f; font-size: clamp(46px, 5.2vw, 84px); line-height: 0.94; letter-spacing: -0.045em; font-weight: 500; max-width: 11ch; }
.offer-copy > p:last-child { margin-top: 22px; color: #3c3848; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 32ch; }
.offer-photo img { width: 100%; height: min(380px, 52vh); object-fit: cover; border-radius: 28px; display: block; }
.offer-panel:not(:first-child) { transform: translate3d(0, 100%, 0); }
@media (max-width: 980px) {
  .offer-panel { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .offer-copy { height: auto; padding-bottom: 0; }
  .offer-copy > p:last-child { margin-top: 16px; }
  .offer-photo img { height: 240px; }
  .offer-stage { height: min(640px, calc(100vh - 120px)); }
}
@media (prefers-reduced-motion: reduce) {
  .offer-stack { height: auto !important; }
  .offer-sticky { position: static; height: auto; min-height: 0; display: block; padding: 24px 0 48px; }
  .offer-stage { height: auto; overflow: visible; display: grid; gap: 48px; }
  .offer-panel { position: relative; inset: auto; transform: none !important; }
}

body:has(.db) { background: #fff; }
.db { background: #fff; color: #16141f; }
.db h2 { color: #16141f; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; max-width: 16ch; font-weight: 600; }
.db-lead { margin-top: 18px; max-width: 62ch; color: #3c3848; font-size: 18px; }
.db .btn-dark { margin-top: 28px; padding: 8px 8px 8px 18px; }
.db .btn-dark span { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #14121c; display: grid; place-items: center; }
.btn-dark,
.btn-solid,
.hero .btn,
#cta .btn:not(.btn-ghost) {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.btn-dark::after,
.btn-solid::after,
.hero .btn::after,
#cta .btn:not(.btn-ghost)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.42) 50%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}
.btn-dark span,
.btn-solid span,
.hero .btn span,
#cta .btn:not(.btn-ghost) span {
  position: relative;
  z-index: 1;
  transition: transform 0.28s ease;
}
.btn-dark:hover,
.btn-solid:hover,
#cta .btn:not(.btn-ghost):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(20, 18, 28, 0.28);
}
.btn-dark:hover::after,
.btn-solid:hover::after,
.hero .btn:hover::after,
#cta .btn:not(.btn-ghost):hover::after { transform: translateX(130%); }
.btn-dark:hover span,
.btn-solid:hover span,
#cta .btn:not(.btn-ghost):hover span { transform: translate(3px, -3px); }

.db-hero { padding: 132px 0 28px; }
.db-hero-top { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; }
.db-crumb { margin: 0 0 18px; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #0e2e8f; }
.db-crumb a { color: inherit; }
.db-hero h1 { font-size: clamp(64px, 8vw, 108px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 600; }
.db-kicker { margin-top: 16px; font-size: 20px; color: #3c3848; }
.db-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.db-chips span { border: 1px solid rgba(22, 20, 31, 0.16); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.db-intro p { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; letter-spacing: -0.02em; }
.db-intro p + p { margin-top: 16px; font-size: 17px; line-height: 1.6; letter-spacing: 0; color: #3c3848; max-width: 52ch; }

.db-stage {
  width: min(1200px, calc(100% - 40px));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border-radius: 32px;
  background: #e7eefc;
}
.db-app {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 36, 90, 0.16);
}
.db-side { background: #10245a; color: #fff; padding: 22px 16px; display: flex; flex-direction: column; gap: 8px; }
.db-side strong { font-family: Sora, sans-serif; font-size: 18px; margin-bottom: 12px; }
.db-side span { padding: 8px 10px; border-radius: 10px; color: rgba(255,255,255,0.72); font-size: 14px; }
.db-side span.on { background: rgba(142, 175, 255, 0.28); color: #fff; }
.db-workspace { padding: 18px; }
.db-bar { display: flex; justify-content: space-between; color: #7a7690; font-size: 13px; font-family: "IBM Plex Mono", monospace; }
.db-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.db-metrics div { background: #eef3ff; border-radius: 14px; padding: 14px; }
.db-metrics b { display: block; font-family: Sora, sans-serif; font-size: 28px; letter-spacing: -0.04em; }
.db-metrics span { color: #5c5870; font-size: 13px; }
.db-rows { margin-top: 14px; display: grid; gap: 8px; }
.db-rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(22,20,31,0.08); border-radius: 12px; font-size: 14px; }
.db-rows em { font-style: normal; color: #20419f; }
.db-rows i { font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 999px; background: #e7eefc; color: #20419f; }
.db-screen {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(16, 36, 90, 0.16);
  animation: db-float 6s ease-in-out infinite;
}
.db-screen-top { display: flex; gap: 6px; margin-bottom: 28px; }
.db-screen-top span { width: 8px; height: 8px; border-radius: 50%; background: #c5d4f5; }
.db-screen p { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #20419f; }
.db-screen h2 { margin-top: 8px; font-size: 40px; max-width: none; }
.db-screen blockquote { margin: 16px 0 0; color: #3c3848; font-size: 16px; line-height: 1.5; }
.db-screen-note { margin-top: 18px !important; color: #5c5870 !important; letter-spacing: 0 !important; text-transform: none !important; font-family: "Inter Tight", sans-serif !important; font-size: 14px !important; }
@keyframes db-float { 50% { transform: translateY(-10px); } }

.db-problem, .db-features, .db-users { padding: 88px 0; }
.db-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; align-items: center; }
.db-chain article {
  position: relative;
  margin-right: 28px;
  min-height: 150px;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.db-chain article::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 50%;
  width: 28px;
  height: 2px;
  background: #c5d4f5;
}
.db-chain article:last-child { margin-right: 0; }
.db-chain article:last-child::after { display: none; }
.db-chain b { font-family: Sora, sans-serif; font-size: clamp(32px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.db-chain span { margin-top: 8px; color: #3c3848; }
.db-chain article:nth-child(1) { background: #e7f0ff; color: #2458c5; }
.db-chain article:nth-child(2) { background: #e5f6ee; color: #1d8a56; }
.db-chain article:nth-child(3) { background: #e7eefc; color: #20419f; }
.db-chain article:nth-child(4) { background: #ffe8ef; color: #c4235a; }
.db-chain article span { color: inherit; }

.db-steps { padding: 28px 0 88px; background: #eef2fb; }
.db-steps h2, .db-steps .db-lead { color: #16141f; }
.db-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; align-items: start; }
.db-step-grid article {
  background: #fff;
  border-radius: 22px;
  padding: 22px 20px 26px;
  min-height: 210px;
  box-shadow: 0 10px 30px rgba(22, 20, 31, 0.04);
  animation: db-rise linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.db-step-grid article:nth-child(2),
.db-step-grid article:nth-child(4) { margin-top: 48px; }
.db-step-grid article:nth-child(2) { animation-delay: 0.08s; }
.db-step-grid article:nth-child(3) { animation-delay: 0.16s; }
.db-step-grid article:nth-child(4) { animation-delay: 0.24s; }
.db-step-grid p { margin: 0; color: #b0abbd; font-family: "IBM Plex Mono", monospace; }
.db-step-grid h3 { margin: 14px 0 8px; font-size: 26px; }
.db-step-grid span { color: #5c5870; }
.db-step-grid article:last-child { background: #e7eefc; }
@keyframes db-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.db-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; margin-top: 36px; }
.db-feature-grid article { padding: 8px 0 18px; }
.db-feature-grid svg { width: 28px; height: 28px; color: #20419f; }
.db-feature-grid h3 { margin: 12px 0 6px; font-size: 24px; }
.db-feature-grid p { color: #5c5870; max-width: 36ch; }
.db-feature-grid article:has(svg) {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
}
.db-feature-grid article:has(svg) svg { grid-column: 1; grid-row: 1; display: block; margin: 0; }
.db-feature-grid article:has(svg) h3 { grid-column: 2; grid-row: 1; margin: 0; }
.db-feature-grid article:has(svg) p { grid-column: 2; grid-row: 2; margin: 0; }

.db-engine { margin: 0 20px 28px; padding: 64px 0; background: #08122e; color: #fff; border-radius: 28px; }
.db-engine .eyebrow, .db-engine h2, .db-engine .db-lead { color: #fff; }
.db-engine .db-lead { color: rgba(255,255,255,0.72); }
.db-engine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.db-engine-grid article {
  background: #12245f;
  border-radius: 18px;
  padding: 22px 18px;
  min-height: 120px;
  transition: transform 0.25s ease;
}
.db-engine-grid article:hover { transform: translateY(-4px); }
.db-engine-grid b { display: block; font-family: Sora, sans-serif; font-size: 20px; font-weight: 500; }
.db-engine-grid span { display: block; margin-top: 6px; color: rgba(255,255,255,0.62); }
.db-engine-grid .wide { grid-column: span 2; background: #1a3480; }
.db-engine-grid .wide b { font-size: 28px; color: #b7cbff; }

.db-marquee { overflow: hidden; margin-top: 28px; border-top: 1px solid rgba(22,20,31,0.08); border-bottom: 1px solid rgba(22,20,31,0.08); }
.db-track { display: flex; gap: 42px; width: max-content; padding: 18px 0; animation: db-marquee 28s linear infinite; }
.db-track span { font-family: Sora, sans-serif; font-size: 22px; white-space: nowrap; }
.db-track span::before { content: "↗ "; color: #0e2e8f; }
@keyframes db-marquee { to { transform: translateX(-50%); } }
.db-user-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.db-user-list li { padding: 16px 0; border-bottom: 1px solid rgba(22,20,31,0.1); font-size: 20px; }

.db-close { padding: 20px 0 88px; }
.db-close h2 { max-width: 18ch; }
@media (max-width: 980px) {
  .db-hero-top, .db-stage, .db-app, .db-chain, .db-step-grid, .db-feature-grid, .db-engine-grid, .db-user-list { grid-template-columns: 1fr; }
  .db-screen { animation: none; }
  .db-chain article { margin: 0 0 12px; }
  .db-chain article::after { display: none; }
  .db-step-grid article:nth-child(2),
  .db-step-grid article:nth-child(4) { margin-top: 0; }
  .db-engine { margin: 0 12px 20px; }
  .db-engine-grid .wide { grid-column: auto; }
  .db-rows div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-deck-wrap { height: auto !important; }
  .rv-deck { position: static; height: auto; display: grid; gap: 16px; }
  .rv-deck article { position: relative; inset: auto; transform: none !important; }
  .db-screen, .db-step-grid article, .db-track { animation: none; }
  .db-marquee { overflow: visible; }
  .db-track { flex-wrap: wrap; width: auto; padding: 18px 20px; }
  .db-track span:nth-child(n + 7) { display: none; }
}

.rv-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.rv-cta .btn-dark { margin-top: 0; }
.rv-trial { display: inline-flex; align-items: center; border: 1px solid rgba(22,20,31,0.18); border-radius: 999px; padding: 12px 20px; font-weight: 500; background: #fff; color: #16141f; }
.rv-subhead { margin: 36px 0 0; font-size: 22px; }
.rv-pin { padding: 72px 0 40px; }
.rv-pin-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.rv-pin-copy { position: sticky; top: 120px; }
.rv-pin-copy h2 { max-width: 11ch; font-size: clamp(40px, 4.4vw, 64px); }
.rv-pin-copy h2 span { color: #9a96a8; }
.rv-deck-wrap { position: relative; height: 280vh; }
.rv-deck { position: sticky; top: 140px; height: 280px; overflow: hidden; border-radius: 28px; }
.rv-deck article {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid rgba(22, 20, 31, 0.08);
  border-radius: 28px;
  padding: 28px 28px 32px;
  box-shadow: 0 18px 50px rgba(22, 20, 31, 0.08);
}
.rv-deck article:first-child { transform: none; }
.rv-deck article:not(:first-child) { transform: translateY(108%); }
.rv-deck svg { width: 28px; height: 28px; color: #20419f; }
.rv-deck h3 { margin: 18px 0 8px; font-size: 26px; }
.rv-deck p { color: #5c5870; max-width: 36ch; }
.rv-steps { grid-template-columns: repeat(5, 1fr); align-items: start; }
.rv-steps article { margin-top: 0 !important; min-height: 0; }
.rv-steps article:nth-child(even) { margin-top: 72px !important; }
.rv-steps h3 { font-size: 22px; }
.rv-step-visual { height: 110px; margin-top: 18px; border-radius: 16px; background:
  linear-gradient(#fff, #fff) 16px 22px / 46% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 40px / 70% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 58px / 38% 8px no-repeat,
  #0e2e8f; }
.rv-steps article:nth-child(2) .rv-step-visual { background:
  linear-gradient(#fff, #fff) 16px 22px / 60% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 40px / 34% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 58px / 72% 8px no-repeat,
  #163a8c; }
.rv-steps article:nth-child(3) .rv-step-visual { background:
  linear-gradient(#fff, #fff) 16px 22px / 40% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 40px / 66% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 58px / 28% 8px no-repeat,
  #20419f; }
.rv-steps article:nth-child(4) .rv-step-visual { background:
  linear-gradient(#fff, #fff) 16px 22px / 55% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 40px / 30% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 58px / 64% 8px no-repeat,
  #2c56c9; }
.rv-steps article:nth-child(5) .rv-step-visual { background:
  linear-gradient(#fff, #fff) 16px 22px / 48% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 40px / 72% 8px no-repeat,
  linear-gradient(#fff, #fff) 16px 58px / 36% 8px no-repeat,
  #5d86f5; }
.rv-finding-band { padding: 20px 0 72px; }
.rv-finding { margin-top: 18px; background: #fff; border: 1px solid rgba(22,20,31,0.08); border-radius: 24px; padding: 28px; box-shadow: 0 16px 40px rgba(22,20,31,0.05); }
.rv-badges { display: flex; gap: 8px; }
.rv-badges span { border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.rv-badges .is-major { background: #ffe8ef; color: #c4235a; }
.rv-badges .is-open { background: #fff1e4; color: #b45309; }
.rv-fix-label { margin: 22px 0 8px; color: #1d8a56; font-weight: 600; }
.rv-finding > p:last-of-type { max-width: 68ch; color: #1d8a56; background: #e9f8ef; border-radius: 16px; padding: 16px 18px; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rv-chips span { border-radius: 999px; padding: 8px 14px; background: #eef3ff; font-size: 14px; }
.rv-chips span:first-child { background: #e5f6ee; color: #1d8a56; }
.rv-note { margin-top: 28px; max-width: 68ch; color: #3c3848; }
.rv-ask {
  position: relative;
  width: min(760px, 100%);
  height: 340px;
  margin: 28px auto 8px;
}
.rv-ask article {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  min-height: 190px;
  padding: 32px 36px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(22, 20, 31, 0.08);
  box-shadow: 0 22px 50px rgba(22, 20, 31, 0.1);
  animation: rv-ask-stack 15s ease-in-out infinite;
}
.rv-ask article:nth-child(2) { animation-delay: -12s; }
.rv-ask article:nth-child(3) { animation-delay: -9s; }
.rv-ask article:nth-child(4) { animation-delay: -6s; }
.rv-ask article:nth-child(5) { animation-delay: -3s; }
.rv-ask span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #20419f;
}
.rv-ask p {
  margin: 14px 0 0;
  max-width: 16ch;
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #16141f;
}
@keyframes rv-ask-stack {
  0%, 14% { transform: translate(0, 0) scale(1) rotate(0deg); z-index: 5; opacity: 1; }
  22%, 34% { transform: translate(-28px, 28px) scale(0.94) rotate(3deg); z-index: 4; opacity: 0.92; }
  42%, 54% { transform: translate(34px, 56px) scale(0.88) rotate(-3.2deg); z-index: 3; opacity: 0.7; }
  62%, 76% { transform: translate(0, 72px) scale(0.84) rotate(0deg); z-index: 1; opacity: 0; }
  84%, 94% { transform: translate(0, 40px) scale(0.98) rotate(0deg); z-index: 6; opacity: 0; }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); z-index: 5; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-ask { height: auto; display: grid; gap: 14px; }
  .rv-ask article {
    position: relative;
    left: auto;
    right: auto;
    animation: none;
    transform: none;
    opacity: 1;
  }
}
.rv-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.rv-table th, .rv-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid rgba(22,20,31,0.1); }
.rv-table th { color: #5c5870; font-weight: 500; font-size: 14px; }
.rv-table td:first-child { font-weight: 600; width: 28%; }
body:has(.cu) { background: #fff; }
.cu { background: #fff; color: #16141f; }
.cu-hero { margin-top: 76px; }
.cu-hero img { width: 100%; height: min(520px, 62vh); object-fit: cover; object-position: center 40%; display: block; }
.cu-body { padding: 64px 0 96px; }
.cu-kicker { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #0e2e8f; }
.cu-head { display: grid; grid-template-columns: 1.15fr auto 0.85fr; gap: 28px; align-items: end; margin-top: 14px; }
.cu-head h1 { font-size: clamp(64px, 8vw, 112px); line-height: 0.88; letter-spacing: -0.05em; font-weight: 500; }
.cu-star { width: 64px; height: 64px; color: #16141f; margin-bottom: 8px; }
.cu-head p { margin: 0 0 10px; max-width: 34ch; justify-self: end; text-align: right; color: #3c3848; font-size: 17px; }
.cu-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 72px; margin-top: 56px; align-items: start; }
.cu-block + .cu-block { margin-top: 36px; }
.cu-aside h2 { font-size: 22px; margin: 0 0 8px; }
.cu-aside p { margin: 0; color: #5c5870; }
.cu-aside a { color: #16141f; }
.cu-aside a:hover { color: #0e2e8f; }
.cu-form label { margin: 18px 0 0; color: #8a8698; font-size: 14px; }
.cu-form input, .cu-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(22, 20, 31, 0.22);
  color: #16141f;
  padding: 10px 0 12px;
  box-shadow: none;
}
.cu-form textarea { min-height: 110px; resize: vertical; }
.cu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cu-send {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  background: #0c2a83;
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px 12px 20px;
  font: inherit;
  font-weight: 500;
}
.cu-send span { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #14121c; display: grid; place-items: center; }

@media (max-width: 980px) {
  .rv-steps { grid-template-columns: 1fr; }
  .rv-steps article:nth-child(even) { margin-top: 0 !important; }
  .rv-pin-grid { grid-template-columns: 1fr; }
  .rv-pin-copy { position: static; }
  .rv-deck { height: 320px; }
  .rv-table td:first-child { width: auto; }
  .cu-head, .cu-grid, .cu-row { grid-template-columns: 1fr; }
  .cu-star { display: none; }
  .cu-head p { justify-self: start; text-align: left; }
  .cu-hero img { height: 280px; }
  .rv-table { width: 100%; min-width: 0; table-layout: fixed; }
  .rv-table th, .rv-table td { overflow-wrap: anywhere; }
  .origin-side { padding: 40px 24px 32px; }
  .origin-copy { padding: 32px 24px 40px; }
  .origin-visual { min-height: 460px; }
  .open-band { margin: 32px 12px 20px; }
  .db-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 64px 0; }
  .hero { padding: 128px 0 64px; }
}

@media (max-width: 640px) {
  .brand { gap: 6px; }
  .brand-name { font-size: 16px; }
  .brand img { width: 44px; height: 44px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding: 108px 0 48px; }
  .hero h1, .hero-keep { font-size: clamp(34px, 10vw, 48px); }
  .hero-sub, .hero .lead { font-size: 16px; }
  .hero-deck { height: 168px; margin-top: 28px; }
  .sheet { width: min(250px, 84%); padding: 14px; }
  .section { padding: 48px 0; }
  .section h2, .db h2 { font-size: clamp(30px, 8vw, 40px); }
  .origin, .origin-visual { min-height: 0; }
  .origin-visual { min-height: 380px; }
  .origin-num { font-size: 72px; margin-top: 20px; }
  .origin-copy h1, .chapters h2, .nodes h2, .open-band h2 { font-size: clamp(34px, 9vw, 46px); }
  .chapters, .nodes { padding: 48px 0 8px; }
  .offer-copy h3 { font-size: clamp(34px, 10vw, 48px); }
  .offer-stage { height: auto; min-height: 520px; }
  .db-hero { padding: 108px 0 16px; }
  .db-hero h1 { font-size: clamp(46px, 13vw, 68px); }
  .db-stage { padding: 12px; border-radius: 20px; margin-top: 28px; }
  .db-app { min-height: 0; }
  .db-metrics b { font-size: 22px; }
  .cu-head h1 { font-size: clamp(46px, 13vw, 68px); }
  .cu-body { padding: 36px 0 56px; }
  .cu-grid { gap: 36px; margin-top: 32px; }
  .rv-deck { height: 280px; }
  .rv-deck h3 { font-size: 18px; }
  .rv-ask { height: 300px; }
  .rv-ask article { left: 0; right: 0; min-height: 168px; padding: 24px 22px; }
  .rv-ask p { font-size: 28px; }
  .footer-grid { gap: 28px; }
  .pills span { font-size: 13px; padding: 7px 12px; }
  .origin, .chapter-grid, .node-grid, .open-grid, .offer-panel { grid-template-columns: 1fr; }
  .origin-rows div { grid-template-columns: 88px 1fr; }
}

@media (max-width: 980px) {
  .origin, .chapter-grid, .node-grid, .open-grid, .offer-panel { grid-template-columns: 1fr; }
  .origin-rows div { grid-template-columns: 88px 1fr; }
  .contact-head { flex-direction: column; align-items: flex-start; }
  .contact-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .contact-form, .contact-form .field-wide { grid-template-columns: 1fr; }
  .contact-form .field-wide { grid-column: auto; }
  .contact-form .form-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-dark:hover, .btn-solid:hover, .hero .btn:hover, .hero .btn:hover span,
  #cta .btn:not(.btn-ghost):hover, #cta .btn:not(.btn-ghost):hover span,
  .btn-dark:hover span, .btn-solid:hover span { transform: none; }
}
