/* Monk & Machine Marketing — shared styles (home, thank-you, privacy). */
:root {
  --ink: oklch(0.17 0.012 250);
  --ink-2: oklch(0.215 0.014 250);
  --ink-3: oklch(0.265 0.014 250);
  --ink-line: oklch(0.32 0.014 250);
  --fg: oklch(0.97 0.004 100);
  --muted: oklch(0.76 0.012 250);
  --accent: oklch(0.6 0.21 266);
  --accent-hover: oklch(0.66 0.2 266);
  --accent-l: oklch(0.8 0.11 266);
  --accent-deep: oklch(0.5 0.21 266);
  --accent-soft: oklch(0.95 0.03 266);
  --paper: oklch(0.972 0.006 100);
  --white: oklch(0.995 0.003 100);
  --paper-line: oklch(0.89 0.008 100);
  --paper-muted: oklch(0.43 0.012 250);
  --coral: oklch(0.72 0.15 32);
  --coral-deep: oklch(0.53 0.17 30);
  --coral-soft: oklch(0.95 0.035 30);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Manrope', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 5vw, 64px);
  --r: clamp(28px, 3.4vw, 48px);
  --sec-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-l); text-decoration: none; }
a:hover { color: var(--fg); }
input, button, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-l); outline-offset: 3px; }
.sec--paper :focus-visible, .sec--white :focus-visible, .form-card :focus-visible { outline-color: var(--ink); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.container { position: relative; max-width: 1312px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Progress + header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 12px clamp(8px, 2vw, 24px) 0; pointer-events: none; }
.hdr__bar {
  pointer-events: auto; max-width: 1312px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 10px 0 clamp(14px, 2vw, 22px); border-radius: 20px; border: 1px solid oklch(1 0 0 / .09);
  background: oklch(0.17 0.012 250 / .55); color: var(--fg);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  transition: background-color .35s, border-color .35s, box-shadow .35s, color .35s;
}
.hdr[data-theme="light"] .hdr__bar { background: oklch(0.985 0.004 100 / .84); border-color: oklch(0.17 0.012 250 / .08); color: var(--ink); box-shadow: 0 18px 40px -26px oklch(0.17 0.012 250 / .45); }
.hdr__right { display: flex; align-items: center; gap: 10px; }
.hdr__cta { height: 44px; padding: 0 20px; font-size: 14.5px; }
@media (max-width: 767px) { .hdr .hdr__cta { display: none; } }
@media (max-width: 559px) { .hdr__bar { height: 60px; border-radius: 18px; } }
@media (max-width: 374px) { .hdr__bar { padding-left: 12px; padding-right: 8px; gap: 8px; } .hdr__right { gap: 6px; } .lang button { min-width: 34px; padding: 0 7px; } .brand { font-size: 17px; gap: 8px; } .brand__dot { margin-top: 3.5px; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: flex-start; gap: 10px; color: inherit; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; line-height: 1; }
.brand:hover { color: inherit; }
.brand__dot { flex: none; width: 10px; height: 10px; margin-top: 4.5px; border-radius: 50%; background: var(--accent-l); transition: background-color .35s; }
.brand__text { display: flex; flex-direction: column; gap: 5px; }
.brand__name { white-space: nowrap; }
.brand__amp { color: var(--accent-l); font-weight: 500; transition: color .35s; }
.brand__sub { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.2em; line-height: 1; color: var(--muted); white-space: nowrap; transition: color .35s; }
.hdr[data-theme="light"] .brand__dot { background: var(--accent-deep); }
.hdr[data-theme="light"] .brand__amp { color: var(--accent-deep); }
.hdr[data-theme="light"] .brand__sub { color: var(--paper-muted); }

/* ---------- Language switch ---------- */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid oklch(1 0 0 / .14); background: oklch(1 0 0 / .05); transition: border-color .35s, background-color .35s; }
.lang button { height: 36px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: inherit; opacity: .72; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; transition: background-color .25s, color .25s, opacity .25s; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--ink); opacity: 1; }
.hdr[data-theme="light"] .lang { border-color: oklch(0.17 0.012 250 / .1); background: oklch(0.17 0.012 250 / .04); }
.hdr[data-theme="light"] .lang button[aria-pressed="true"] { background: var(--ink); color: var(--fg); }

@media (max-width: 559px) {
  .lang button { height: 34px; min-width: 34px; padding: 0 7px; font-size: 10.5px; letter-spacing: .04em; }
  .brand__sub { letter-spacing: .12em; font-size: 8.5px; }
  .hdr__bar { gap: 8px; padding-right: 8px; }
}
@media (max-width: 374px) { .lang button { min-width: 30px; padding: 0 5px; } .brand__name { font-size: 16px; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  height: 60px; padding: 0 6px 0 26px; border: 0; border-radius: 999px;
  font-family: var(--font); font-size: 16.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .25s, border-color .2s, transform .25s var(--ease);
}
.btn__arrow { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, oklch(1 0 0 / var(--sheen, .55)) 50%, transparent 100%);
  transform: translateX(-160%) skewX(-20deg);
  animation: btn-sheen 6s cubic-bezier(.45, 0, .2, 1) var(--sheen-delay, 1.4s) infinite;
}
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 18px 40px -18px oklch(0.6 0.21 266 / .7), inset 0 1px 0 oklch(1 0 0 / .25); }
.btn--accent:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 22px 48px -16px oklch(0.6 0.21 266 / .85), inset 0 1px 0 oklch(1 0 0 / .25); }
.btn--accent .btn__arrow { background: #fff; color: var(--accent); }
.btn--ghost { justify-content: center; padding: 0 24px; background: transparent; color: var(--fg); border: 1px solid oklch(1 0 0 / .2); --sheen: 0; }
.btn--ghost:hover { color: var(--fg); background: oklch(1 0 0 / .06); border-color: oklch(1 0 0 / .32); }
.btn--ink { background: var(--ink); color: var(--fg); --sheen: .14; --sheen-delay: .8s; }
.btn--ink:hover { background: var(--ink-3); color: var(--fg); }
.btn--ink .btn__arrow { background: var(--accent); color: #fff; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; --sheen: .45; }
.btn:disabled { cursor: progress; opacity: .9; }
.btn:disabled::before { animation: none; opacity: 0; }
.btn.is-sending .btn__arrow { animation: btn-pulse 1s ease-in-out infinite; }
@keyframes btn-sheen { 0% { transform: translateX(-160%) skewX(-20deg); } 22%, 100% { transform: translateX(360%) skewX(-20deg); } }
@keyframes btn-pulse { 50% { transform: scale(.86); opacity: .7; } }

/* ---------- Common type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-l); }
.sec--paper .eyebrow, .sec--white .eyebrow { color: var(--paper-muted); }
.sec--paper .eyebrow::before, .sec--white .eyebrow::before { background: var(--accent-deep); }
.sec--ink .eyebrow { color: var(--muted); }
.h1 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; max-width: 15em; margin-top: 18px; }
.lead { margin-top: 20px; max-width: 36em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; }
.sec--paper .lead, .sec--white .lead { color: var(--paper-muted); }
.sec--ink .lead { color: var(--muted); }
.hl { color: var(--accent-l); }
.sec--paper .hl, .sec--white .hl { color: var(--accent-deep); }
.neg { color: var(--coral-deep); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 1000px) {
  .sec-head--split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
  .sec-head--split .lead { margin-top: 0; }
}

/* ---------- Sections ---------- */
.sec { position: relative; border-radius: var(--r) var(--r) 0 0; padding: var(--sec-y) 0 calc(var(--sec-y) + var(--r)); }
.sec + .sec, .hero + .sec { margin-top: calc(-1 * var(--r)); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--white { background: var(--white); color: var(--ink); box-shadow: 0 -1px 0 var(--paper-line); }
.sec--ink { background: var(--ink); color: var(--fg); }
.sec--last { padding-bottom: var(--sec-y); }

/* ---------- Background helpers ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(oklch(1 0 0 / .045) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / .045) 1px, transparent 1px);
  background-size: clamp(36px, 4.6vw, 72px) clamp(36px, 4.6vw, 72px); background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 0%, transparent 72%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.glow--a { top: -18%; right: -12%; width: min(70vw, 900px); aspect-ratio: 1; background: radial-gradient(closest-side, oklch(0.6 0.21 266 / .34), transparent 72%); animation: drift 18s ease-in-out infinite; }
.glow--c { top: 8%; left: -22%; width: min(64vw, 820px); aspect-ratio: 1; background: radial-gradient(closest-side, oklch(0.6 0.21 266 / .2), transparent 72%); animation: drift 26s ease-in-out infinite; }
.sec--glow { overflow: clip; }
.glow--b { bottom: -30%; left: -14%; width: min(60vw, 760px); aspect-ratio: 1; background: radial-gradient(closest-side, oklch(0.55 0.12 230 / .32), transparent 72%); animation: drift 22s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-4%, 3%, 0) scale(1.1); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); padding-top: calc(76px + clamp(36px, 6vw, 96px)); padding-bottom: var(--r); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 8px; border: 1px solid var(--ink-line); border-radius: 999px; max-width: 100%; background: oklch(1 0 0 / .03); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; line-height: 1; text-transform: uppercase; color: var(--fg); }
.live { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-l); animation: live-blink 2.4s ease-in-out infinite; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-l); animation: live-ring 2.4s ease-out infinite; }
@keyframes live-blink { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes live-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.hero .h1 { margin-top: 24px; max-width: 11.5em; }
.h1 .hl, .h2 .hl { -webkit-hyphens: manual; hyphens: manual; }
.hero .h1 .hl { white-space: nowrap; }
:is(:lang(uk), :lang(pl)) .h1 { font-size: clamp(34px, 4.9vw, 66px); letter-spacing: -0.035em; }
:is(:lang(uk), :lang(pl)) .hero .h1 { max-width: 12.5em; }
:is(:lang(uk), :lang(pl)) .h2 { font-size: clamp(28px, 3.5vw, 50px); letter-spacing: -0.03em; max-width: 16em; }
@media (max-width: 400px) { .hero .h1 .hl { white-space: normal; } }
@media (max-width: 639px) { .hero .badge { align-items: flex-start; border-radius: 14px; padding: 9px 12px 8px; font-size: 10.5px; letter-spacing: .07em; line-height: 1.45; text-wrap: balance; } .hero .badge .live { margin-top: 4px; } }
.hero__sub { margin-top: 24px; max-width: 33em; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.6; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 559px) { .hero__ctas .btn { width: 100%; } }

.chart-card { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: clamp(22px, 2.4vw, 30px); background: linear-gradient(160deg, oklch(1 0 0 / .07), oklch(1 0 0 / .02)); border: 1px solid oklch(1 0 0 / .1); box-shadow: inset 0 1px 0 oklch(1 0 0 / .08), 0 40px 80px -40px oklch(0 0 0 / .65); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.chart-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.chart-card__title { font-family: var(--display); font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.015em; }
.chip-brand { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: oklch(1 0 0 / .06); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.chip-brand::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-l); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: oklch(1 0 0 / .07); }
.chart__axis { stroke: oklch(1 0 0 / .2); }
.chart__label { fill: oklch(0.76 0.012 250); font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.3px; }
.chart__be { stroke: var(--coral); stroke-width: 1.2; stroke-dasharray: 3 4; }
.chart__be-label { fill: var(--coral); font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.3px; }
.chart__now { fill: none; stroke: oklch(0.85 0.01 250 / .5); stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; animation: dash-flow 1.6s linear infinite; }
.chart__new { fill: none; stroke: url(#mmLine); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; filter: drop-shadow(0 6px 12px oklch(0.6 0.21 266 / .55)); }
.chart.is-drawn .chart__new { transition: stroke-dashoffset 2.1s cubic-bezier(.16, 1, .3, 1); stroke-dashoffset: 0; }
.chart__area { fill: url(#mmArea); opacity: 0; }
.chart.is-drawn .chart__area { transition: opacity 1.2s ease .9s; opacity: 1; }
.chart__dot { opacity: 0; transition: opacity .5s ease; }
.chart__dot.is-on { opacity: 1; }
.chart__shift { fill: none; stroke: var(--accent-l); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 190; stroke-dashoffset: 190; }
.chart.is-shifted .chart__shift { transition: stroke-dashoffset 1s cubic-bezier(.16, 1, .3, 1); stroke-dashoffset: 0; }
.chart__arrow { fill: var(--accent-l); }
.chart__dot-now circle { fill: var(--ink); stroke: oklch(0.85 0.01 250 / .8); stroke-width: 2.4; }
.chart__dot-new circle { fill: var(--accent-l); stroke: var(--ink); stroke-width: 2.4; }
.chart__dot-text { fill: oklch(0.85 0.01 250); font-family: var(--mono); font-size: 10.5px; }
.chart__dot-new .chart__dot-text { fill: var(--accent-l); }
@keyframes dash-flow { to { stroke-dashoffset: -26; } }
.legend { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid oklch(1 0 0 / .08); }
.legend__row { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.legend__mark { flex: none; width: 22px; height: 0; margin-top: 10px; border-top: 2px dashed oklch(0.85 0.01 250 / .55); }
.legend__mark--new { border-top: 3px solid var(--accent-l); border-radius: 2px; }
.legend__row--new { color: var(--fg); }

.marquee { position: relative; margin-top: clamp(56px, 7vw, 104px); padding: 20px 0; border-top: 1px solid oklch(1 0 0 / .08); border-bottom: 1px solid oklch(1 0 0 / .08); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); padding-right: clamp(20px, 2.6vw, 36px); font-family: var(--display); font-size: clamp(17px, 1.7vw, 23px); font-weight: 500; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }
.marquee__sep { color: var(--accent-l); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.pcard { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 30px); border-radius: 24px; background: var(--white); border: 1px solid var(--paper-line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pcard:hover { transform: translateY(-4px); border-color: oklch(0.82 0.01 100); box-shadow: 0 28px 50px -34px oklch(0.17 0.012 250 / .45); }
.icon-box { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--accent-l); margin-bottom: 8px; }
.icon-box svg { width: 20px; height: 20px; }
.icon-box { transition: transform .45s var(--ease); }
.pcard:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.pcard h3 { font-family: var(--display); font-size: clamp(19px, 1.5vw, 21px); font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.pcard p { font-size: 16px; line-height: 1.6; color: var(--paper-muted); }

/* ---------- Cause / chain ---------- */
.chain { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 480px) { .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .chain { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .chain::before { content: ""; position: absolute; left: 4%; right: 4%; top: 37px; height: 2px; background-image: linear-gradient(90deg, var(--ink-line) 50%, transparent 50%); background-size: 12px 2px; animation: chain-flow 1.2s linear infinite; }
}
@keyframes chain-flow { to { background-position: 12px 0; } }
.node { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 132px; padding: 18px; border-radius: 20px; border: 1px solid var(--ink-line); background: var(--ink-2); color: var(--fg); text-align: left; transition: background-color .45s, border-color .45s, transform .3s var(--ease); }
.node:hover { transform: translateY(-2px); border-color: oklch(0.42 0.014 250); }
.node__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink-3); color: var(--accent-l); transition: background-color .45s, color .45s; }
.node__icon svg { width: 17px; height: 17px; }
.node__name { font-family: var(--display); font-size: 16.5px; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; transition: color .45s; }
.node__stage { margin-top: auto; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-l); opacity: .5; transition: opacity .35s, color .35s; }
.node.is-active { background: linear-gradient(oklch(0.6 0.21 266 / .16), oklch(0.6 0.21 266 / .16)), var(--ink-2); border-color: oklch(0.6 0.21 266 / .6); animation: node-pulse 2.4s ease-out infinite; }
.node.is-active .node__icon { background: oklch(0.6 0.21 266 / .26); color: var(--accent-l); }
.node.is-active .node__name { color: var(--fg); }
.node.is-active .node__stage { opacity: 1; }
@keyframes node-pulse { 0% { box-shadow: 0 0 0 0 oklch(0.6 0.21 266 / .4); } 100% { box-shadow: 0 0 0 14px oklch(0.6 0.21 266 / 0); } }
.sec--paper .steps__rail { background: var(--paper-line); }
.sec--paper .steps__fill { background: var(--accent-deep); }
.sec--paper .step__dot { background: var(--paper); border-color: oklch(0.8 0.01 250); }
.sec--paper .step.is-on .step__dot { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 0 0 6px oklch(0.6 0.21 266 / .18); }
.sec--paper .step__num { color: var(--paper-muted); }
.sec--paper .step__time { border-color: var(--paper-line); color: var(--ink); }
.sec--paper .step p { color: var(--paper-muted); }
.chain-out { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 64px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid oklch(1 0 0 / .08); }
@media (min-width: 960px) { .chain-out { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }
.chain-line { min-height: 2.6em; font-family: var(--display); font-size: clamp(20px, 1.9vw, 27px); font-weight: 500; line-height: 1.3; max-width: 30em; letter-spacing: -0.025em; color: var(--fg); transition: opacity .26s, transform .26s; }
.chain-line.is-swapping { opacity: 0; transform: translateY(6px); }
.chain-side { display: grid; justify-items: start; gap: 24px; }
.thesis { display: flex; gap: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.thesis::before { content: ""; flex: none; width: 3px; border-radius: 2px; background: var(--accent-l); }

.sec-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 2.6vw, 30px) clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--white, #fff); border: 1px solid var(--paper-line); }
.sec-cta p { flex: 1 1 320px; max-width: 34em; font-size: 17px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
@media (max-width: 559px) { .sec-cta .btn { width: 100%; justify-content: space-between; } }

/* ---------- System ---------- */
.cards6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.scard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.4vw, 32px); border-radius: 26px; background: linear-gradient(160deg, oklch(1 0 0 / .065), oklch(1 0 0 / .018)); border: 1px solid oklch(1 0 0 / .09); box-shadow: inset 0 1px 0 oklch(1 0 0 / .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .35s, transform .35s var(--ease); }
.scard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), oklch(0.6 0.21 266 / .18), transparent 70%); }
.scard:hover { border-color: oklch(1 0 0 / .16); transform: translateY(-3px); }
.scard:hover::before { opacity: 1; }
.scard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.scard__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: oklch(1 0 0 / .07); color: var(--accent-l); transition: transform .45s var(--ease), background-color .35s; }
.scard:hover .scard__icon { transform: translateY(-2px) rotate(-6deg); background: oklch(0.6 0.21 266 / .22); }
.scard__icon svg { width: 22px; height: 22px; }
.scard__num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.scard h3 { font-family: var(--display); font-size: clamp(21px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.scard__tags { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--accent-l); }
.scard p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Directions ---------- */
.dirs { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 1.2vw, 16px); }
@media (min-width: 960px) { .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dcard { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 44px); border-radius: 30px; }
.dcard--light { background: var(--white); border: 1px solid var(--paper-line); }
.dcard--dark { background: var(--ink); color: var(--fg); }
.dcard--dark, .flist--good { position: relative; overflow: hidden; isolation: isolate; }
.dcard--dark::before, .flist--good::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), oklch(0.6 0.21 266 / .24), transparent 70%); }
.dcard--dark:hover::before, .flist--good:hover::before { opacity: 1; }
.dcard__tag { align-self: flex-start; padding: 8px 12px 7px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.dcard--light .dcard__tag { background: var(--ink); color: var(--fg); }
.dcard--dark .dcard__tag { background: var(--accent); color: #fff; }
.dcard h3 { margin-top: 6px; font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.dcard p { font-size: 16.5px; line-height: 1.65; }
.dcard--light p { color: var(--paper-muted); }
.dcard--dark p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; transition: transform .25s var(--ease), border-color .25s; }
.chips span:hover { transform: translateY(-2px); }
.dcard--light .chips span { background: var(--paper); border: 1px solid var(--paper-line); }
.dcard--dark .chips span { background: var(--ink-2); border: 1px solid var(--ink-line); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: auto; border-radius: 20px; overflow: hidden; }
.dcard--light .kpis { background: var(--paper-line); border: 1px solid var(--paper-line); }
.dcard--dark .kpis { background: var(--ink-line); border: 1px solid var(--ink-line); }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.dcard--light .kpi { background: var(--white); }
.dcard--dark .kpi { background: var(--ink); }
.kpi__k { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.dcard--dark .kpi__k { color: var(--accent-l); }
.kpi__d { font-size: 13.5px; line-height: 1.4; }
.dcard--light .kpi__d { color: var(--paper-muted); }
.dcard--dark .kpi__d { color: var(--muted); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.1vw, 14px); }
.member { position: relative; overflow: hidden; isolation: isolate; margin: 0; border-radius: 24px; border: 1px solid oklch(1 0 0 / .09); background: radial-gradient(120% 80% at 50% 100%, oklch(0.6 0.21 266 / .38), transparent 62%), linear-gradient(170deg, var(--ink-3), var(--ink-2)); }
.member::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 30%), oklch(0.8 0.11 266 / .18), transparent 70%); }
.member:hover::before { opacity: 1; }
.member__photo { aspect-ratio: 4 / 5; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.035); }
.member__info { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 16px; border: 1px solid oklch(1 0 0 / .12); background: oklch(0.17 0.012 250 / .62); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.member__name { font-family: var(--display); font-size: clamp(16px, 1.2vw, 18px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; color: var(--fg); }
.member__role { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; color: var(--accent-l); text-wrap: balance; }
@media (max-width: 999px) {
  .team { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px; scrollbar-width: none; }
  .team::-webkit-scrollbar { display: none; }
  .member { flex: 0 0 clamp(200px, 30vw, 260px); scroll-snap-align: start; }
}
@media (max-width: 479px) { .member { flex-basis: 64vw; } }

/* ---------- Fit ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1000px) { .fit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.fit__note { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: 20px; background: var(--accent-soft); max-width: 34em; }
.fit__note-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--accent-l); }
.fit__note-icon svg { width: 18px; height: 18px; }
.fit__note p { font-size: 16px; line-height: 1.55; font-weight: 500; }
.fit__lists { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 1.2vw, 16px); }
@media (min-width: 640px) { .fit__lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.flist { padding: clamp(22px, 2.6vw, 32px); border-radius: 26px; }
.flist--good { background: var(--ink); color: var(--fg); }
.flist--bad { background: var(--paper); border: 1px solid var(--paper-line); }
.flist__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.flist__badge { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.flist__badge svg { width: 17px; height: 17px; }
.flist--good .flist__badge { background: var(--accent); color: #fff; }
.flist--bad .flist__badge { background: oklch(0.88 0.008 250); color: var(--paper-muted); }
.flist h3 { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.flist li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid; font-size: 16px; line-height: 1.5; }
.flist--good li { border-color: oklch(1 0 0 / .1); }
.flist--bad li { border-color: var(--paper-line); color: var(--paper-muted); }
.flist li svg { flex: none; width: 15px; height: 15px; margin-top: 4px; }
.flist--good li svg { color: var(--accent-l); }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; --p: 0; }
.steps__rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--ink-line); border-radius: 2px; overflow: hidden; }
.steps__fill { position: absolute; inset: 0; background: var(--accent-l); transform-origin: 50% 0; transform: scaleY(var(--p)); transition: transform .15s linear; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 0 36px 44px; }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--ink-line); transition: background-color .35s, border-color .35s, box-shadow .35s; }
.step.is-on .step__dot { background: var(--accent-l); border-color: var(--accent-l); box-shadow: 0 0 0 6px oklch(0.6 0.21 266 / .3); }
.step__meta { display: flex; align-items: center; gap: 12px; }
.step__num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step__time { padding: 6px 10px 5px; border-radius: 999px; border: 1px solid var(--ink-line); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fg); transition: background-color .35s, color .35s, border-color .35s; }
.step.is-on .step__time { background: var(--accent); border-color: var(--accent); color: #fff; }
.step h3 { font-family: var(--display); font-size: clamp(21px, 1.8vw, 25px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 30em; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .steps__rail { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .steps__fill { transform-origin: 0 50%; transform: scaleX(var(--p)); }
  .step { padding: 44px 0 0; }
  .step__dot { top: 0; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .contact__intro { position: sticky; top: 112px; } }
.contact .h2 { max-width: 11em; }
.perks { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.perks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.perks__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: oklch(0.6 0.21 266 / .22); color: var(--accent-l); }
.perks__icon svg { width: 15px; height: 15px; }
.form-card { padding: clamp(20px, 3vw, 40px); border-radius: clamp(22px, 2.4vw, 30px); background: var(--white); color: var(--ink); box-shadow: 0 0 0 10px oklch(1 0 0 / .05), 0 0 0 11px oklch(1 0 0 / .12), 0 50px 100px -40px oklch(0.6 0.21 266 / .45); }
.form-card h3 { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.form-card__sub { margin-top: 8px; font-size: 15.5px; color: var(--paper-muted); }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.field__input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--paper-line); border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 16.5px; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s, background-color .15s; }
textarea.field__input { height: auto; min-height: 104px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field__input::placeholder { color: oklch(0.6 0.01 250); }
.field__input:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px oklch(0.6 0.21 266 / .25); }
.field__input[aria-invalid="true"] { border-color: var(--coral-deep); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px oklch(0.9 0.06 30); }
.field__input:-webkit-autofill, .field__input:-webkit-autofill:hover, .field__input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--white) inset; transition: background-color 9999s; }
.field--choice { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.field--choice legend { padding: 0; margin-bottom: 8px; }
.field--choice .field__error { display: block; margin-top: 8px; }
.choice { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 479px) { .choice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice__opt { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 10px; border: 1px solid var(--paper-line); border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.choice__opt::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid oklch(0.6 0.01 250); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.choice__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__opt:hover { border-color: oklch(0.78 0.01 250); }
.choice__opt:active { transform: scale(.97); }
.choice__opt:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--fg); }
.choice__opt:has(input:checked)::before { background: var(--accent-l); border-color: var(--accent-l); box-shadow: 0 0 0 3px oklch(0.6 0.21 266 / .32); }
.choice__opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.field__error { font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--coral-deep); }
.form__error { padding: 12px 14px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-deep); font-size: 15px; line-height: 1.45; }
.form__submit { width: 100%; margin-top: 4px; height: 62px; padding-left: 28px; font-size: 17px; }
.form__note { font-size: 13.5px; line-height: 1.5; color: var(--paper-muted); text-align: center; }
.form__note a { color: var(--ink); text-decoration: underline; text-decoration-color: oklch(0.17 0.012 250 / .3); text-underline-offset: 3px; }
.form__note a:hover { color: var(--ink); text-decoration-color: currentColor; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 0 12px; }
.success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--accent); color: #fff; margin-bottom: 20px; }
.success h3 { margin-bottom: 10px; }
.success p { max-width: 32em; font-size: 15.5px; line-height: 1.6; color: var(--paper-muted); }
.success a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--fg); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; padding-top: 48px; padding-bottom: 32px; border-top: 1px solid oklch(1 0 0 / .08); }
.footer__desc { margin-top: 16px; max-width: 30em; font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer__mail { font-family: var(--display); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.01em; color: var(--fg); white-space: nowrap; border-bottom: 1px solid oklch(1 0 0 / .2); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 720px) { .footer__contacts { align-items: flex-end; } }
.contact__tg { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; font-size: 16px; color: var(--muted); }
.tg-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid oklch(1 0 0 / .18); background: oklch(1 0 0 / .04); font-size: 15px; font-weight: 600; color: var(--fg); white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.tg-link svg { flex: none; color: #2aabee; }
.tg-link:hover { color: var(--fg); background: oklch(0.68 0.14 235 / .16); border-color: oklch(0.68 0.14 235 / .55); }
.tg-link--sm { min-height: 36px; padding: 0 14px 0 11px; font-size: 14px; }
.footer__mail:hover { color: var(--accent-l); border-color: var(--accent-l); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid oklch(1 0 0 / .08); font-size: 14px; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--fg); }

.footer__legal { margin: 0; padding: 0 0 28px; font-size: 12.5px; line-height: 1.6; color: var(--muted); opacity: .8; }

/* ---------- Simple page header (thank-you, privacy) ---------- */
.page-top { position: relative; overflow: hidden; background: var(--ink); color: var(--fg); }
.page-top > .container { width: 100%; }
.page-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 16px; padding-top: 20px; padding-bottom: 20px; }
.back { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid oklch(1 0 0 / .18); border-radius: 999px; color: var(--fg); font-size: 14.5px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.back:hover { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.back svg { width: 15px; height: 15px; }
.page-mail { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); overflow-wrap: anywhere; }
.page-mail:hover { color: var(--accent-l); }

/* ---------- Thank-you ---------- */
.ty-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--ink); }
.ty-page .page-top { flex: 1 0 auto; display: flex; flex-direction: column; }
.ty { position: relative; z-index: 2; flex: 1 0 auto; display: flex; align-items: center; padding-top: clamp(16px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 104px); }
.ty .container { width: 100%; }
.ty__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ty__icon { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--accent); color: #fff; margin-bottom: 28px; box-shadow: 0 20px 44px -16px oklch(0.6 0.21 266 / .7); }
.ty__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--accent-l); animation: ty-ring 2.8s ease-out infinite; }
.ty__icon svg { width: 34px; height: 34px; }
@keyframes ty-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.ty__title { margin-top: 22px; font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.042em; text-wrap: balance; }
.ty__text { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.ty__steps { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: clamp(36px, 4.6vw, 52px); text-align: left; }
.ty-step { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--ink-2); border: 1px solid oklch(1 0 0 / .08); }
.ty-step--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.ty-step__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.ty-step__num { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--accent-l); }
.ty-step--accent .ty-step__num { color: #fff; }
.ty-step__time { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ty-step--accent .ty-step__time { color: oklch(1 0 0 / .78); }
.ty-step h2 { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.ty-step p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.ty-step--accent p { color: oklch(1 0 0 / .86); }
.ty__back { margin-top: clamp(32px, 4vw, 44px); }
.ty-page .footer__bottom { border-top: 1px solid oklch(1 0 0 / .08); }
.js .ty__inner > * { animation: ty-pop .8s var(--ease) both; }
.js .ty__inner > *:nth-child(2) { animation-delay: .08s; }
.js .ty__inner > *:nth-child(3) { animation-delay: .16s; }
.js .ty__inner > *:nth-child(4) { animation-delay: .24s; }
.js .ty__inner > *:nth-child(5) { animation-delay: .34s; }
.js .ty__inner > *:nth-child(6) { animation-delay: .44s; }
@keyframes ty-pop { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Legal document ---------- */
.doc-hero { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: clamp(24px, 4vw, 56px); padding-bottom: calc(clamp(48px, 6vw, 88px) + var(--r)); }
.doc-hero__title { max-width: 14em; font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.042em; text-wrap: balance; }
.doc-hero__lead { max-width: 40em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--muted); }
.doc-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-hero__chips span { padding: 8px 12px 7px; border-radius: 999px; border: 1px solid var(--ink-line); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc-body { position: relative; margin-top: calc(-1 * var(--r)); border-radius: var(--r) var(--r) 0 0; background: var(--paper); color: var(--ink); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.doc { max-width: 920px; display: flex; flex-direction: column; }
.doc-sec { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px clamp(16px, 2.4vw, 32px); padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--paper-line); }
.doc-sec:first-child { border-top: 0; padding-top: 0; }
.doc-sec__num { align-self: start; justify-self: start; margin-top: 3px; padding: 6px 10px 5px; border: 1px solid var(--paper-line); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--paper-muted); }
.doc-sec h2 { margin-bottom: 14px; font-family: var(--display); font-size: clamp(22px, 2.1vw, 28px); font-weight: 600; line-height: 1.18; letter-spacing: -0.025em; }
.doc-sec__body { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.7; color: oklch(0.33 0.012 250); }
.doc-sec__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-sec__body a:hover { color: var(--accent-deep); }
.doc-sec__body strong { color: var(--ink); font-weight: 600; }
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-list li { position: relative; padding-left: 22px; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-deep); }
.doc-list--cards { gap: 10px; }
.doc-list--cards li { padding: 14px 16px 14px 36px; border-radius: 14px; background: var(--white); border: 1px solid var(--paper-line); }
.doc-list--cards li::before { left: 18px; top: calc(14px + .7em); }
.doc-list--checks li::before { content: ""; top: .45em; left: 0; width: 14px; height: 14px; border-radius: 0; background: none; border: 0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; background-color: var(--accent-deep); }
.doc-card { max-width: 40rem; margin-top: 4px; border-radius: 18px; background: var(--white); border: 1px solid var(--paper-line); overflow: hidden; }
.doc-card__row { display: grid; grid-template-columns: minmax(96px, 150px) minmax(0, 1fr); gap: 4px 20px; padding: 14px 18px; border-top: 1px solid var(--paper-line); }
.doc-card__row:first-child { border-top: 0; }
.doc-card dt { padding-top: 3px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); }
.doc-card dd { color: var(--ink); font-weight: 500; }
@media (max-width: 560px) {
  .doc-sec { grid-template-columns: minmax(0, 1fr); }
  .doc-card__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Small screens ---------- */
@media (max-width: 559px) {
  .hdr { padding-left: 8px; padding-right: 8px; }
  .hdr__bar { min-width: 0; padding-left: 14px; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand__text { min-width: 0; }
  .hdr__right { flex: none; }
  .node { min-height: 0; gap: 10px; padding: 14px; border-radius: 18px; }
  .node__icon { width: 34px; height: 34px; }
  .node__name { font-size: 15px; line-height: 1.25; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .node__stage { font-size: 10px; }
  .chain { gap: 8px; }
  .chain-line { min-height: 0; }
  .dcard { padding: 22px 18px; border-radius: 26px; gap: 14px; }
  .dcard h3 { font-size: 24px; }
  .dcard p { font-size: 15.5px; line-height: 1.6; }
  .chips { gap: 6px; }
  .chips span { padding: 7px 11px; font-size: 13px; }
  .kpis { border-radius: 16px; }
  .kpi { padding: 14px 12px; gap: 3px; }
  .kpi__k { font-size: 20px; white-space: nowrap; }
  .kpi__d { font-size: 12.5px; line-height: 1.35; -webkit-hyphens: auto; hyphens: auto; }
  .pcard, .scard { padding: 22px 20px; }
  .flist { padding: 22px 18px; }
  .flist h3 { font-size: 18px; }
  .flist li { font-size: 15px; }
  .fit__note { padding: 16px; }
  .step { padding-bottom: 28px; }
}
@media (max-width: 419px) {
  .brand__sub { display: none; }
  .brand__dot { margin-top: 5px; }
  .brand { font-size: 17px; gap: 8px; }
  .lang { padding: 2px; }
  .lang button { height: 34px; min-width: 32px; padding: 0 6px; }
}
@media (max-width: 359px) {
  .brand__name { font-size: 15px; }
  .lang button { min-width: 28px; padding: 0 4px; font-size: 10px; }
  .chain { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Reveal ---------- */
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(26px); filter: blur(8px); }
.js [data-reveal].is-visible, .js [data-reveal-group] > .is-visible { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), filter .9s var(--ease) var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn::before, .live, .live::after, .glow, .ty__icon::after, .js .ty__inner > *, .marquee__track, .chart__now, .chain::before, .node.is-active { animation: none !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; filter: none; }
  .chart__new { stroke-dashoffset: 0; }
  .chart__area, .chart__dot { opacity: 1; }
  .chart__shift { stroke-dashoffset: 0; }
}
