:root {
  --navy: #0b1440;
  --navy-2: #121d55;
  --ink: #141833;
  --muted: #4b5072;
  --line: #dfe2f0;
  --lav: #f3f2fd;
  --lav-2: #e7e4fb;
  --teal: #0a8278;
  --teal-bright: #19c3b4;
  --violet: #5b3fd9;
  --violet-bright: #7b5cff;
  --orange: #a8400e;
  --green: #137a4a;
  --grad: linear-gradient(120deg, #0f9e92, #5b3fd9);
  --radius: 26px;
  --shadow: 0 22px 50px rgba(11, 20, 64, 0.14);
  --sans: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.025em; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--violet); }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.stages :focus-visible, .products :focus-visible, .join :focus-visible, .footer :focus-visible { outline-color: #fff; }

.eyebrow { margin: 0 0 12px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.eyebrow-light { color: #8ff0e6; }
.muted { color: var(--muted); }
.grad-text { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(15, 158, 146, 0.55); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s; }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(91, 63, 217, 0.35); }
.btn-outline { color: var(--navy); border-color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--lav); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--lav-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.round { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.round:hover { background: var(--navy); color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { position: relative; display: flex; align-items: center; gap: 18px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.mark { width: 42px; height: 42px; }
.logo-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.primary { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.primary > ul { display: flex; gap: 2px; }
.has-menu { position: relative; }
.has-menu > button, .nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; font-weight: 600; font-size: 0.96rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.has-menu > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.has-menu > button:hover, .nav-link:hover, .has-menu > button[aria-expanded="true"] { background: var(--lav); color: var(--violet); }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.submenu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.submenu a:hover { background: var(--lav); color: var(--violet); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: radial-gradient(circle at 85% 15%, rgba(123, 92, 255, 0.18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(25, 195, 180, 0.16), transparent 45%), var(--lav); }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-waves path { fill: none; stroke-width: 2; stroke: rgba(91, 63, 217, 0.18); stroke-dasharray: 10 14; animation: drift 14s linear infinite; }
.hero-waves path:nth-child(2) { stroke: rgba(15, 158, 146, 0.2); animation-duration: 18s; }
.hero-waves path:nth-child(3) { stroke: rgba(11, 20, 64, 0.1); animation-duration: 22s; }
@keyframes drift { to { stroke-dashoffset: -240; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-visual { position: relative; }
.blob { overflow: hidden; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 1.3rem; color: var(--navy); line-height: 1.1; }
.float-card span { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.fc-1 { left: -24px; top: 18%; }
.fc-2 { right: -12px; bottom: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.fc-ico, .adv-ico { flex-shrink: 0; width: 40px; height: 40px; background: var(--grad); }
.ico-ring { border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); mask: radial-gradient(circle, transparent 38%, #000 40%); }
.ico-square { border-radius: 12px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 10px; }

.edge { padding: 96px 0 72px; }
.edge-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.edge-head h2 { margin: 0; }
.rail-controls { display: flex; gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: thin; }
.adv { scroll-snap-align: start; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.adv:hover { border-color: var(--violet-bright); transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-ico { width: 48px; height: 48px; margin-bottom: 18px; }
.adv p { margin: 0; color: var(--muted); }

.stages { padding: 104px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stages::before { content: ""; position: absolute; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 92, 255, 0.4), transparent 65%); }
.stages h2 { color: #fff; position: relative; }
.stage-row { position: relative; display: flex; gap: 16px; margin-top: 32px; min-height: 380px; }
.stage { flex: 1; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.14); transition: flex 0.45s ease, background 0.3s; overflow: hidden; }
.stage.is-open { flex: 2.4; background: linear-gradient(160deg, #1c2a7a, #3a2a9a); }
.stage h3 { margin: 0; }
.stage h3 button { width: 100%; display: grid; gap: 6px; text-align: left; padding: 28px 28px 18px; background: none; border: 0; color: #fff; font: inherit; cursor: pointer; }
.st-num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: #8ff0e6; }
.st-title { font-size: 1.4rem; font-weight: 800; }
.st-sub { color: #c9cdf2; font-weight: 500; font-size: 0.98rem; }
.stage h3 button:hover .st-title { text-decoration: underline; text-underline-offset: 5px; }
.st-body { padding: 0 28px 28px; animation: fadeUp 0.4s ease both; }
.st-body p { color: #dcdff7; }
.st-body ul { display: flex; flex-wrap: wrap; gap: 8px; }
.st-body li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); font-weight: 600; font-size: 0.92rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.numbers { padding: 72px 0; }
.num-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.num-row li { text-align: center; padding: 28px 18px; border-radius: var(--radius); background: var(--lav); }
.num-row strong { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1.05; color: var(--violet); }
.num-row span { font-weight: 700; color: var(--muted); }

.finder { padding: 96px 0; background: linear-gradient(180deg, #fff, var(--lav)); }
.finder-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.finder-head h2 { margin: 0; }
.finder-head .muted { max-width: 380px; margin: 0; }
.finder-panel { padding: 32px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.finder-controls { display: grid; gap: 18px; }
.finder-label { font-weight: 800; color: var(--navy); }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 18px; width: 22px; height: 22px; color: var(--muted); }
.search input { width: 100%; min-height: 58px; padding: 0 20px 0 52px; border-radius: 999px; border: 2px solid #8a8fb0; font: inherit; font-size: 1.05rem; color: var(--ink); }
.search input:focus { border-color: var(--violet); }
.filters { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filters legend { font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.filters label { position: relative; }
.filters input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.filters span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 0.94rem; background: #fff; }
.filters input:hover + span { border-color: var(--violet); }
.filters input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }
.finder-count { margin: 22px 0 14px; font-weight: 800; color: var(--violet); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.result { padding: 16px 18px; border-radius: 16px; background: var(--lav); border: 1px solid transparent; animation: fadeUp 0.3s ease both; }
.result:hover { border-color: var(--violet-bright); }
.result strong { display: block; color: var(--navy); }
.result span { font-size: 0.85rem; font-weight: 700; color: var(--teal); }
.result mark { background: #ffe6a8; color: inherit; border-radius: 4px; padding: 0 2px; }
.finder-empty { margin: 0; padding: 18px; border-radius: 16px; background: var(--lav); font-weight: 600; }

.brief { padding: 104px 0; }
.brief-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.brief-form { display: grid; gap: 14px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--navy); }
.field input, .field select { min-height: 50px; padding: 10px 14px; border-radius: 14px; border: 2px solid #8a8fb0; font: inherit; color: var(--ink); background: #fff; }
.field select:focus, .field input:focus { border-color: var(--violet); }
.brief-doc { border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc-head { display: flex; align-items: center; gap: 10px; padding: 16px 24px; background: var(--navy); color: #fff; font-weight: 800; }
.doc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal-bright); }
.doc-body { padding: 26px 28px; min-height: 290px; }
.doc-body h3 { font-size: 1.15rem; }
.doc-body dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0 0 16px; }
.doc-body dt { font-weight: 700; color: var(--muted); }
.doc-body dd { margin: 0; font-weight: 600; }
.doc-body ul { list-style: disc; padding-left: 20px; color: var(--ink); }
.doc-actions { display: flex; align-items: center; gap: 14px; padding: 0 28px 26px; }
.copy-note { margin: 0; color: var(--green); font-weight: 700; }

.products { padding: 104px 0; background: var(--navy); color: #fff; }
.products h2 { color: #fff; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.prod { padding: 16px 16px 24px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.14); transition: transform 0.25s, border-color 0.25s; }
.prod:hover { transform: translateY(-6px); border-color: #8ff0e6; }
.prod h3 { color: #fff; }
.prod p { margin: 0; color: #c9cdf2; }
.prod-img { height: 180px; border-radius: 18px; background: #eef0fb; overflow: hidden; margin-bottom: 18px; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.prod-lens { display: grid; place-items: center; background: var(--grad); }
.prod-lens span { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; color: #fff; font-weight: 800; font-size: 1.6rem; }

.news { padding: 104px 0 72px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.news-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: box-shadow 0.25s, transform 0.25s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card > div { padding: 22px 24px 26px; }
.n-tag { margin: 0 0 6px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.news-card p:last-child { margin: 0; color: var(--muted); }

.join { padding: 0 0 88px; }
.join-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 52px 56px; border-radius: 36px; background: var(--grad); }
.join-band h2 { color: #fff; margin: 0; max-width: 680px; }

.contact { padding: 0 0 104px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 48px; border-radius: 36px; background: var(--lav); }
.form { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.field [aria-invalid="true"] { border-color: var(--orange); }
.err { margin: 0; color: var(--orange); font-weight: 600; }
.form-alert { padding: 12px 14px; border-radius: 12px; background: #fdeee6; color: var(--orange); font-weight: 700; }
.ok { margin: 0; color: var(--green); font-weight: 700; }

.footer { padding: 64px 0 24px; background: var(--navy); color: #c9cdf2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.3rem; }
.footer h2 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8ff0e6; margin-bottom: 12px; }
.footer nav a { display: block; padding: 5px 0; color: #eef0fb; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.9rem; }

@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 20px) / 2); }
  .prod-grid, .num-row { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; place-items: center; }
  .primary { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .primary.is-open { display: flex; }
  .primary > ul { flex-direction: column; }
  .submenu { position: static; box-shadow: none; border: 0; }
  .hero-grid, .brief-grid, .contact-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .stage-row { flex-direction: column; }
  .stage.is-open { flex: auto; }
  .finder-head, .edge-head { flex-direction: column; align-items: start; }
  .join-band { flex-direction: column; align-items: start; padding: 36px; }
  .fc-1 { left: 8px; }
  .fc-2 { right: 8px; }
}
@media (max-width: 600px) {
  .rail { grid-auto-columns: 86%; }
  .prod-grid, .num-row, .results { grid-template-columns: 1fr; }
  .doc-body dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
