:root {
  --bg: #0b0b0f;
  --bg-alt: #111117;
  --surface: #16161d;
  --surface-2: #1d1d26;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f3ee;
  --muted: #9b9ba8;
  --accent: #c6ff3d;
  --accent-ink: #0b0b0f;
  --violet: #7b5cff;
  --radius: 20px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 10px 40px -10px rgba(198, 255, 61, .6); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198,255,61,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(198,255,61,0); } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11,11,15,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 200deg, var(--accent), var(--violet), var(--accent));
  position: relative;
}
.logo__mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--bg); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 6px; padding: 12px 20px 24px; background: rgba(11,11,15,.96); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 20px; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; }

/* Hero */
.hero { position: relative; padding: 168px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; top: -200px; left: 50%; width: 1100px; height: 800px; transform: translateX(-30%);
  background:
    radial-gradient(closest-side, rgba(123,92,255,.35), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(198,255,61,.14), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.hero .wrap { position: relative; }
.hero__title {
  font-size: clamp(56px, 11vw, 168px); font-weight: 800; line-height: .92; letter-spacing: -0.045em;
  margin: 28px 0 32px;
}
.hero__title em { font-size: 1.08em; }
.hl { color: var(--accent); }
.hero__sub { max-width: 620px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__chips { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(255,255,255,.02); }

.marquee { margin-top: 96px; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-alt); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: scroll 40s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); font-weight: 600; white-space: nowrap; letter-spacing: -0.02em; }
.marquee__track i { color: var(--accent); font-style: normal; font-size: 20px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Statement */
.statement { padding: 140px 0 40px; }
.statement__text { font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; max-width: 1050px; }

/* Sections */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head h2, .why__intro h2 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 800; margin-top: 18px; }
.section__head h2 em, .why__intro h2 em, .contact__title em { color: var(--accent); }
.section__lead { color: var(--muted); font-size: 19px; margin-top: 20px; max-width: 560px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(198,255,61,.10), transparent 60%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(198,255,61,.35); }
.card:hover::before { opacity: 1; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 28px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.card__tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card__tags li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.05); color: #c9c9d3; }

.services__more { margin-top: 28px; padding: 26px 32px; border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.18); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.services__more p { color: var(--muted); }
.services__more strong { color: var(--text); font-weight: 600; }
.link-arrow { color: var(--accent); font-weight: 600; display: inline-flex; gap: 8px; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* Journey */
.journey { border: 1px solid var(--line); border-radius: 28px; background: var(--surface); overflow: hidden; }
.journey__tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.journey__tab {
  background: none; border: 0; color: var(--muted); font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 28px); font-weight: 600;
  padding: 28px 24px; text-align: left; cursor: pointer; transition: color .3s; display: flex; align-items: baseline; gap: 12px;
}
.journey__tab:not(:last-of-type) { border-right: 1px solid var(--line); }
.journey__tab:hover { color: var(--text); }
.journey__tab[aria-selected="true"] { color: var(--text); }
.journey__num { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: .08em; }
.journey__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.journey__bar span { display: block; height: 100%; width: 25%; background: var(--accent); transition: transform .5s var(--ease); }
.journey__panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 48px; align-items: center; animation: fadeUp .5s var(--ease); }
.journey__panel[hidden] { display: none; }
.journey__panel h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; margin-bottom: 18px; }
.journey__panel p { color: var(--muted); font-size: 18px; }
.stack { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stack li { padding: 16px 20px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 500; display: flex; align-items: center; gap: 12px; }
.stack li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 36px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plan__label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan h3 { font-size: 30px; font-weight: 600; margin: 18px 0 14px; }
.plan > p:not(.plan__label) { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan--featured { background: linear-gradient(160deg, #1f2412, var(--surface) 55%); border-color: rgba(198,255,61,.4); transform: translateY(-12px); box-shadow: 0 30px 80px -40px rgba(198,255,61,.35); }
.badge { background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: rgba(198,255,61,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c6ff3d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 32px 28px; border-top: 2px solid var(--line); position: relative; transition: border-color .3s; }
.step:hover { border-color: var(--accent); }
.step__n { font-family: var(--font-serif); font-style: italic; font-size: 56px; color: var(--accent); line-height: 1; display: block; margin-bottom: 22px; }
.step h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.why__intro { position: sticky; top: 120px; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.why__item { background: var(--bg); padding: 36px 30px; }
.why__item h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.why__item p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq__list { display: grid; gap: 12px; max-width: 900px; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .3s; }
details[open] { border-color: rgba(198,255,61,.35); }
summary {
  list-style: none; cursor: pointer; padding: 24px 28px; font-family: var(--font-display); font-size: 20px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 28px; color: var(--accent); transition: transform .3s var(--ease); flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 28px 26px; color: var(--muted); max-width: 720px; }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -200px; top: 0; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123,92,255,.22), transparent); pointer-events: none;
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__title { font-size: clamp(52px, 8vw, 112px); font-weight: 800; letter-spacing: -0.045em; margin-top: 18px; }
.contact__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.contact__points li { display: flex; gap: 12px; align-items: center; }
.contact__points li::before { content: "✦"; color: var(--accent); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label:not(.pill) { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: #c9c9d3; }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(198,255,61,.12); }
.form .is-invalid { border-color: #ff6b6b !important; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 14px; font-weight: 500; color: #c9c9d3; margin-bottom: 10px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: all .2s; user-select: none; }
.pill:hover span { border-color: rgba(255,255,255,.3); color: var(--text); }
.pill input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__status { font-size: 14px; min-height: 1.4em; color: var(--muted); text-align: center; }
.form__status.is-error { color: #ff8a8a; }
.form__status.is-ok { color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; overflow: hidden; }
.footer__big {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  font-size: clamp(40px, 13vw, 190px); text-align: center; white-space: nowrap;
  padding: 0 0.08em 0.08em;
  background: linear-gradient(180deg, var(--text) 30%, rgba(244,243,238,.35));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px; font-size: 14px; color: var(--muted); }
.footer__row nav { display: flex; gap: 24px; }
.footer__row a:hover { color: var(--text); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .services, .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .why__intro { position: static; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .journey__tabs { grid-template-columns: repeat(2, 1fr); }
  .journey__tab { padding: 20px; }
  .journey__tab:nth-of-type(2) { border-right: 0; }
  .journey__tab:nth-of-type(-n+2) { border-bottom: 1px solid var(--line); }
  .journey__bar { display: none; }
  .journey__tab[aria-selected="true"] { background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
  .journey__panel { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 128px; }
  .hero__ctas .btn { width: 100%; }
  .marquee { margin-top: 64px; }
  .statement { padding: 96px 0 16px; }
  .section { padding: 88px 0; }
  .section__head { margin-bottom: 44px; }
  .services, .plans, .steps, .why__grid, .form__row { grid-template-columns: 1fr; }
  .card, .plan { padding: 28px 24px; }
  .form { padding: 24px 20px; border-radius: 22px; }
  summary { padding: 20px; font-size: 18px; }
  details p { padding: 0 20px 22px; }
  .services__more { padding: 22px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
