/* GingerClick — patch.io-style design system */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161814;
  --ink-2: #1e201a;
  --ink-3: #282b24;
  --paper: #ffffff;
  --card: #f7f7f5;
  --card-2: #efeee9;
  --accent: #ea642b;
  --accent-hi: #f5763d;
  --olive: #5c5443;
  --mut-d: #a3a59b;
  --mut-d2: #747672;
  --line-d: rgba(255, 255, 255, 0.14);
  --line-d2: rgba(255, 255, 255, 0.08);
  --mut-l: #6d7066;
  --line-l: rgba(22, 24, 20, 0.12);
  --line-l2: rgba(22, 24, 20, 0.07);
  --r-sm: 8.5px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 102px;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --h-hero: clamp(3.2rem, 6.6vw, 7.5rem);
  --h-xxl: clamp(2.6rem, 5vw, 4.25rem);
  --h-xl: clamp(2.1rem, 3.6vw, 3.19rem);
  --h-lg: clamp(1.7rem, 2.6vw, 2.13rem);
  --h-md: 1.33rem;
  --wrap: 1248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(234, 100, 43, 0.35); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 16px; z-index: 300; padding: 10px 18px; background: var(--ink-3); border-radius: var(--r-sm); transform: translateY(-160%); transition: transform 0.2s; }
.skip:focus { transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em;
  white-space: nowrap; transition: background 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.2s;
}
.btn:active { transform: scale(0.975); }
.btn .arr { width: 14px; height: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); }
.btn-outline { border: 1px solid var(--line-l); color: var(--ink); }
.btn-outline:hover { border-color: rgba(22, 24, 20, 0.45); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.lm { font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lm:hover { color: var(--accent); }
.sec-light .lm, .on-light .lm { color: var(--ink); }
.sec-light .lm:hover, .on-light .lm:hover { color: var(--accent); }

/* ---------- chips / eyebrows ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--ink-3); color: #fff;
  font-size: 12.75px; font-weight: 500; line-height: 1.5; letter-spacing: 0.01em;
}
.chip::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; transform: rotate(45deg); flex-shrink: 0; }
.chip-l { background: var(--card-2); color: var(--ink); }
.chip-t { background: rgba(20, 22, 16, 0.55); color: #fff; backdrop-filter: blur(8px); }

/* ---------- header ---------- */
.site-head { position: fixed; top: 16px; left: 0; right: 0; z-index: 200; padding: 0 20px; }
.nav {
  position: relative; display: flex; align-items: center; gap: 24px;
  max-width: 1400px; height: 58px; margin: 0 auto; padding: 0 8px 0 20px;
  background: #fff; border-radius: 10px; color: var(--ink);
  box-shadow: 0 6px 30px rgba(10, 12, 8, 0.16);
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 19.5px; font-weight: 500; letter-spacing: -0.03em; }
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: stretch; gap: 4px; margin-inline: auto; height: 100%; }
.nav-item { position: static; display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 15px; font-weight: 450; color: var(--ink); border-radius: 6px; }
.nav-link:hover { color: var(--accent); }
.nav-link .car { width: 11px; height: 11px; transition: transform 0.25s var(--ease); opacity: 0.6; }
.nav-item.open .car { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.langs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--mut-l); }
.langs a { padding: 4px 2px; }
.langs a.on { color: var(--ink); font-weight: 600; }

/* mega dropdown */
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-item.open .drop, .nav-item:focus-within .drop { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.drop-panel {
  background: #fff; color: var(--ink); border-radius: var(--r-md);
  box-shadow: 0 24px 70px rgba(10, 12, 8, 0.28); padding: 26px;
  max-width: min(1060px, calc(100vw - 40px));
}
.drop-title { font-size: 13.5px; color: var(--mut-l); margin-bottom: 18px; }
.drop-cards { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; }
.dcard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-sm); padding: 8px 8px 14px; transition: background 0.2s; }
.dcard:hover { background: #f0efe9; }
.dcard .thumb { aspect-ratio: 1.52; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.dcard .thumb svg { width: 100%; height: 100%; }
.dcard .t { font-size: 15.5px; font-weight: 550; letter-spacing: -0.01em; margin-bottom: 4px; }
.dcard .d { font-size: 13px; color: var(--mut-l); line-height: 1.35; margin-bottom: 12px; flex: 1; }
.dcard .lm { font-size: 13.5px; }
.drop-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; min-width: 560px; }
.dlink { display: block; padding: 13px 0; border-bottom: 1px solid var(--line-l2); }
.dlink .n { font-size: 15.5px; font-weight: 550; display: flex; justify-content: space-between; align-items: center; }
.dlink .n .arr { width: 13px; height: 13px; opacity: 0; transform: translateX(-4px); transition: 0.2s var(--ease); }
.dlink:hover .n { color: var(--accent); }
.dlink:hover .n .arr { opacity: 1; transform: none; }
.dlink .sub { font-size: 13px; color: var(--mut-l); margin-top: 2px; }
.drop-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-l2); font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); align-items: center; justify-content: center; background: var(--card); }
.burger svg { width: 20px; height: 20px; }

/* mobile menu */
.m-menu { position: fixed; inset: 0; z-index: 190; background: var(--ink); color: #fff; padding: 100px 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: 0.3s var(--ease); }
body.menu-open .m-menu { opacity: 1; visibility: visible; }
.m-menu details { border-bottom: 1px solid var(--line-d); }
.m-menu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 21px; font-weight: 300; letter-spacing: -0.01em; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu summary .car { width: 14px; height: 14px; transition: transform 0.25s; }
.m-menu details[open] summary .car { transform: rotate(180deg); }
.m-menu .m-links { padding: 6px 0 18px; }
.m-menu .m-links a { display: block; padding: 8px 0; font-size: 16px; color: var(--mut-d); }
.m-menu > a { display: block; padding: 18px 0; font-size: 21px; font-weight: 300; border-bottom: 1px solid var(--line-d); }
.m-menu .btn { margin-top: 24px; width: 100%; }
.m-langs { display: flex; gap: 16px; margin-top: 20px; font-size: 15px; color: var(--mut-d); }
.m-langs a.on { color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: #fff; overflow: hidden; background: #0e130e; }
.hero-art { position: absolute; inset: 0; }
.hero-art svg { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 10, 0.35), rgba(10, 13, 10, 0.05) 40%, rgba(10, 13, 10, 0.5)); }
.hero-body { position: relative; flex: 1; display: flex; align-items: flex-end; padding-top: 140px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 48px; align-items: end; width: 100%; padding-bottom: 44px; }
.hero h1 { font-size: var(--h-hero); font-weight: 300; line-height: 0.99; letter-spacing: -0.025em; }
.hero .dots {
  color: transparent;
  background-image: radial-gradient(circle at center, #fff 1.05px, transparent 1.25px);
  background-size: 5.5px 5.5px;
  -webkit-background-clip: text; background-clip: text;
}
.hero-sub p { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 420px; margin-bottom: 26px; }
.hero-news {
  position: absolute; top: 96px; right: 24px; z-index: 5;
  display: flex; align-items: center; gap: 12px; width: 285px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(22, 24, 18, 0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1); color: #fff;
}
.hero-news .chip { padding: 3px 8px; font-size: 10.5px; }
.hero-news .nt { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.hero-news .nx { margin-left: auto; opacity: 0.6; flex-shrink: 0; width: 16px; height: 16px; }
.hero-strip { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.marquee { overflow: hidden; padding: 24px 0 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marq 34s linear infinite; }
.marquee-track span { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.82); white-space: nowrap; display: flex; align-items: center; gap: 72px; }
.marquee-track span::after { content: "◆"; font-size: 7px; color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: 96px 0; background: var(--ink); color: #fff; }
.sec + .sec { border-top: 1px solid var(--line-d2); }
.sec-light { background: #fff; color: var(--ink); }
.sec-light + .sec-light { border-top: 1px solid var(--line-l2); }
.sec-olive { background: var(--olive); }
.sec .chip { margin-bottom: 26px; }
.h2 { font-size: var(--h-xl); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; max-width: 760px; }
.h2 + .sub { max-width: 560px; margin-top: 20px; font-size: 17px; color: var(--mut-d); }
.sec-light .h2 + .sub { color: var(--mut-l); }
.sec-head { margin-bottom: 56px; }
.split-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: end; }
.split-head .right p { font-size: 17px; line-height: 1.55; color: var(--mut-d); margin-bottom: 24px; }
.sec-light .split-head .right p { color: var(--mut-l); }

/* numbered rows accordion */
.acc { border-top: 1px solid var(--line-d); }
.acc-item { border-bottom: 1px solid var(--line-d); }
.acc-btn { display: grid; grid-template-columns: 64px 1fr 32px; align-items: baseline; width: 100%; padding: 22px 0; text-align: left; gap: 16px; }
.acc-num { font-size: 14px; color: var(--mut-d); }
.acc-t { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.acc-x { width: 18px; height: 18px; justify-self: end; opacity: 0.5; transition: transform 0.3s var(--ease); }
.acc-item.open .acc-x { transform: rotate(45deg); }
.acc-item.open .acc-num, .acc-item.open .acc-t { color: var(--accent); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-in { overflow: hidden; }
.acc-body p { max-width: 560px; padding: 0 0 26px 80px; font-size: 16px; color: var(--mut-d); line-height: 1.55; }
.sec-light .acc { border-color: var(--line-l); }
.sec-light .acc-item { border-color: var(--line-l); }
.sec-light .acc-num { color: var(--mut-l); }
.sec-light .acc-body p { color: var(--mut-l); }

/* media panel */
.panel { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.panel svg.art { width: 100%; height: 100%; position: absolute; inset: 0; }
.panel-fig { aspect-ratio: 1.35; }
.panel .chip { position: absolute; top: 18px; left: 18px; z-index: 2; }

/* big quote / metric */
.bigmark { font-size: 76px; font-weight: 300; line-height: 0.6; color: var(--mut-d); margin-bottom: 40px; }
.metric { font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.metric-label { font-size: var(--h-md); color: var(--mut-d); margin-top: 14px; max-width: 380px; line-height: 1.4; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 64px; }
.quote p { font-size: var(--h-md); line-height: 1.4; letter-spacing: -0.01em; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.quote .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; font-size: 14px; color: var(--mut-d); overflow: hidden; }
.quote .who .n { font-size: 15px; font-weight: 550; }
.quote .who .r { font-size: 13.5px; color: var(--mut-d); }

/* horizontal strip */
.strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.tile { position: relative; flex: 0 0 224px; height: 190px; border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); }
.tile svg { width: 100%; height: 100%; }
.pills { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.pill .pi { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.pill .pi svg { width: 20px; height: 20px; }
.plus { color: var(--mut-d); font-size: 20px; font-weight: 300; }

/* difference: feature + 3 cols */
.diff { display: grid; grid-template-columns: 1.05fr 1.9fr; gap: 60px; align-items: start; }
.diff-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.dcol .ct { font-size: 17px; font-weight: 550; letter-spacing: -0.01em; margin-bottom: 10px; }
.dcol p { font-size: 14.5px; line-height: 1.5; color: var(--mut-l); margin-bottom: 14px; }
.dcol .links a { display: block; font-size: 14px; padding: 3px 0; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.dcol .links a:hover { color: var(--accent); }
.fcard { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: var(--ink); color: #fff; aspect-ratio: 0.95; }
.fcard svg.art { position: absolute; inset: 0; width: 100%; height: 100%; }
.fcard .fc-in { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.fcard .fc-t { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.fcard .fc-d { font-size: 14px; color: var(--mut-d); }

/* stack explorer */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.fbtn { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-l); font-size: 14px; font-weight: 500; color: var(--mut-l); transition: 0.2s; }
.fbtn:hover { border-color: var(--ink); color: var(--ink); }
.fbtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tool { display: flex; align-items: center; gap: 10px; padding: 16px 14px; background: var(--card); border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; transition: opacity 0.25s, transform 0.25s; }
.tool .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.tool.dim { opacity: 0.25; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 44px; padding: 28px; background: var(--card); border-radius: var(--r-md); }
.fstage .fs-t { font-size: 13px; color: var(--mut-l); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.fstage .fs-n { font-size: 16.5px; font-weight: 550; }
.fstage .fs-d { font-size: 13.5px; color: var(--mut-l); margin-top: 4px; }
.flow .farr { color: var(--mut-l); width: 22px; height: 22px; }

/* insight cards */
.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.icard { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--card); transition: transform 0.3s var(--ease); }
.icard:hover { transform: translateY(-4px); }
.icard .im { position: relative; aspect-ratio: 1.7; background: var(--ink); }
.icard .im svg { width: 100%; height: 100%; }
.icard .im .chip { position: absolute; top: 14px; left: 14px; }
.icard .bd { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.icard .t { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.icard .d { font-size: 14.5px; color: var(--mut-l); line-height: 1.5; flex: 1; }
.icard .ft { margin-top: 20px; }

/* cta panel */
.cta-panel { position: relative; border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 380px; color: #fff; }
.cta-panel .cp-in { position: relative; z-index: 2; padding: 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-panel .cp-t { font-size: var(--h-lg); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px; }
.cta-panel .cp-b { font-size: 16px; color: rgba(255, 255, 255, 0.8); max-width: 440px; margin-bottom: 28px; line-height: 1.55; }
.cta-panel .cp-art { position: absolute; inset: 0; }
.cta-panel .cp-art svg { width: 100%; height: 100%; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: 88px; border-top: 1px solid var(--line-d2); }
.f-head { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 48px; }
.f-title { font-size: var(--h-lg); font-weight: 300; letter-spacing: -0.02em; }
.f-form { display: flex; gap: 8px; }
.f-form input {
  width: 300px; height: 46px; padding: 0 16px; border: 0; border-radius: var(--r-sm);
  background: var(--ink-3); color: #fff; font: inherit; font-size: 15px;
}
.f-form input::placeholder { color: var(--mut-d); }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 52px 0 80px; border-top: 1px solid var(--line-d); }
.f-col h4 { font-size: 13px; font-weight: 500; color: var(--mut-d2); margin-bottom: 20px; }
.f-col a { display: block; padding: 5px 0; font-size: 15.5px; }
.f-col a:hover { color: var(--accent); }
.f-mark { font-size: clamp(84px, 16.5vw, 250px); font-weight: 350; letter-spacing: -0.045em; line-height: 0.95; padding: 24px 0 8px; border-top: 1px solid var(--line-d); white-space: nowrap; overflow: hidden; }
.f-bot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0 26px; border-top: 1px solid var(--line-d2); font-size: 13px; color: var(--mut-d2); }
.f-bot nav { display: flex; gap: 28px; }
.f-bot a:hover { color: #fff; }
.f-soc { display: flex; gap: 14px; }
.f-soc a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); }
.f-soc svg { width: 15px; height: 15px; fill: #fff; }

/* ---------- subpage ---------- */
.page-hero { position: relative; padding: 168px 0 88px; overflow: hidden; color: #fff; }
.page-hero .ph-art { position: absolute; inset: 0; opacity: 0.5; }
.page-hero .ph-art svg { width: 100%; height: 100%; }
.page-hero .wrap { position: relative; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--mut-d); margin-bottom: 34px; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: 0.4; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.02; max-width: 900px; }
.page-hero .lede { font-size: var(--h-md); line-height: 1.45; color: var(--mut-d); max-width: 640px; margin-top: 26px; }
.page-hero .btn-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.rows { border-top: 1px solid var(--line-l); }
.rows-light { border-color: var(--line-d); }
.row { display: grid; grid-template-columns: 64px 1fr 1.25fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.rows-light .row { border-color: var(--line-d); }
.row .rn { font-size: 14px; color: var(--mut-l); }
.rows-light .row .rn { color: var(--mut-d); }
.row .rt { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.row .rb { font-size: 15.5px; line-height: 1.55; color: var(--mut-l); }
.rows-light .row .rb { color: var(--mut-d); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.bcol .bt { font-size: 19px; font-weight: 550; letter-spacing: -0.015em; margin-bottom: 10px; }
.bcol p { font-size: 15px; line-height: 1.55; color: var(--mut-l); }
.sec-dark-soft .bcol p, .on-dark .bcol p { color: var(--mut-d); }

.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { padding: 9px 15px; border-radius: var(--r-pill); background: var(--card); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.on-dark .tchip, .chip-dark { background: var(--ink-3); color: #fff; }
.tchip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* work cards */
.wgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wcard { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--card); color: var(--ink); transition: transform 0.3s var(--ease); }
.wcard:hover { transform: translateY(-4px); }
.wcard .im { position: relative; aspect-ratio: 1.9; background: var(--ink); }
.wcard .im svg { width: 100%; height: 100%; }
.wcard .im .chip { position: absolute; top: 16px; left: 16px; }
.wcard .bd { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.wcard .t { font-size: 23px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.wcard .d { font-size: 15px; color: var(--mut-l); line-height: 1.5; flex: 1; }
.wcard .out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-l2); font-size: 13.5px; color: var(--mut-l); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.wcard .out b { font-weight: 500; color: var(--ink); }

/* article / prose */
.prose-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 80px; align-items: start; }
.toc { position: sticky; top: 110px; font-size: 14px; }
.toc .toc-t { font-size: 13px; color: var(--mut-l); margin-bottom: 14px; }
.toc a { display: block; padding: 6px 0; color: var(--mut-l); border-left: 2px solid var(--line-l); padding-left: 14px; }
.toc a:hover { color: var(--ink); border-color: var(--accent); }
.prose { max-width: 720px; }
.prose .intro { font-size: 19px; line-height: 1.55; color: var(--ink); margin-bottom: 48px; }
.prose h3 { font-size: 23px; font-weight: 500; letter-spacing: -0.02em; margin: 44px 0 16px; }
.prose p { font-size: 16.5px; line-height: 1.65; color: #3c3f38; margin-bottom: 16px; }
.prose .srcs { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-l); }
.prose .srcs .st { font-size: 14px; color: var(--mut-l); margin-bottom: 12px; }
.prose .srcs a { display: block; padding: 4px 0; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.author { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding: 20px; background: var(--card); border-radius: var(--r-md); font-size: 14px; color: var(--mut-l); }
.author .ava { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }

/* audit wizard */
.wiz { max-width: 780px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 44px; }
.wiz-prog { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.wiz-prog .bar { flex: 1; height: 3px; background: var(--card-2); border-radius: 2px; overflow: hidden; }
.wiz-prog .fill { display: block; height: 100%; background: var(--accent); transition: width 0.4s var(--ease); }
.wiz-prog .lbl { font-size: 13px; color: var(--mut-l); white-space: nowrap; }
.wiz-q { font-size: var(--h-lg); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 28px; }
.wiz-opts { display: grid; gap: 10px; }
.wiz-opt { display: flex; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid var(--line-l); border-radius: var(--r-sm); font-size: 16px; text-align: left; transition: border-color 0.2s, background 0.2s; }
.wiz-opt:hover { border-color: var(--ink); }
.wiz-opt.sel { border-color: var(--accent); background: rgba(234, 100, 43, 0.06); }
.wiz-opt .radio { width: 18px; height: 18px; border: 1.5px solid var(--mut-l); border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.wiz-opt.sel .radio { border-color: var(--accent); }
.wiz-opt.sel .radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.wiz-opt input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: 36px; }
.wiz-res .rb-card { background: var(--card); border-radius: var(--r-md); padding: 28px; margin-bottom: 24px; }
.wiz-res .rb-card .bt { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.wiz-res .rb-card p { font-size: 15px; color: var(--mut-l); line-height: 1.55; }
.wiz-res .svc { display: inline-block; margin: 14px 8px 0 0; }
.wiz-mail { display: flex; gap: 8px; margin: 8px 0 16px; }
.wiz-mail input { flex: 1; height: 46px; padding: 0 16px; border: 1px solid var(--line-l); border-radius: var(--r-sm); font: inherit; font-size: 15px; }
.wiz-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--mut-l); margin: 18px 0; line-height: 1.45; }
.wiz-check input { margin-top: 3px; }
.wiz-note { font-size: 13px; color: var(--mut-l); margin-top: 18px; line-height: 1.5; }
.wiz-err { color: #b3401a; font-size: 13.5px; margin-top: 8px; display: none; }

/* security/policy */
.pol-rows .row { grid-template-columns: 1fr 1.6fr; }
.hdr-t { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; }
.hdr-t .hh { font-size: 15px; font-weight: 550; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.hdr-t .hv { font-size: 13.5px; color: var(--mut-l); font-family: ui-monospace, monospace; padding: 14px 0; border-bottom: 1px solid var(--line-l); text-align: right; }

/* promo banner (news card generic) */
.notice { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--card); border-radius: var(--r-sm); font-size: 14px; color: var(--mut-l); }

/* 404 */
.big404 { font-size: clamp(120px, 22vw, 300px); font-weight: 300; letter-spacing: -0.05em; line-height: 0.9; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tools { grid-template-columns: repeat(4, 1fr); }
  .drop-cards { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
}
@media (max-width: 990px) {
  .nav-links { display: none; }
  .nav-right .langs { display: none; }
  .burger { display: inline-flex; }
  .nav-right .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-news { display: none; }
  .diff { grid-template-columns: 1fr; }
  .diff-cols { grid-template-columns: 1fr 1fr; }
  .icards { grid-template-columns: 1fr; }
  .wgrid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; gap: 28px; }
  .grid2 { grid-template-columns: 1fr; gap: 36px; }
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .cp-in { padding: 40px 28px; }
  .f-head { flex-direction: column; align-items: flex-start; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .prose-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .flow { grid-template-columns: 1fr; }
  .flow .farr { transform: rotate(90deg); justify-self: center; }
  .row { grid-template-columns: 44px 1fr; }
  .row .rb { grid-column: 2; }
  .pol-rows .row { grid-template-columns: 1fr; gap: 8px; }
  .split-head { grid-template-columns: 1fr; gap: 24px; }
  .sec { padding: 72px 0; }
  .page-hero { padding: 140px 0 64px; }
  .acc-body p { padding-left: 0; }
  .acc-btn { grid-template-columns: 40px 1fr 28px; }
  .drop-list { min-width: 0; grid-template-columns: 1fr; }
  .f-bot { flex-direction: column; align-items: flex-start; }
  .wiz { padding: 28px 20px; }
  .tools { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 991px) {
  .m-menu { display: none; }
}
