/* ТАНКМЕДИА — public pages. Mobile first; steps at 640 / 900 / 1180 px. */

/* --- Header ------------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.hdr.is-stuck, .nav-open .hdr { background: rgba(11, 13, 16, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.hdr .logo { padding-block: 12px; flex: none; }
.nav { display: none; }
.nav__list { display: flex; flex-direction: column; }
.nav__list a { display: block; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--silver); transition: color .2s; }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--text); }
.nav__login { font-size: 14px; font-weight: 500; color: var(--silver); padding: 10px 4px; white-space: nowrap; }
.nav__login:hover { color: var(--text); }
.burger { width: 46px; height: 46px; display: grid; place-items: center; margin-right: -10px; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), background-color .2s; }
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; } .burger__bars::after { top: 7px; }
.nav-open .burger__bars { background: transparent; }
.nav-open .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1079.98px) {
  .nav-open .nav { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; position: fixed; inset: 69px 0 0; padding: 28px var(--gutter) 40px; background: var(--bg); overflow-y: auto; }
  .nav__list a { padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 20px/1.2 var(--f-display); letter-spacing: 0; color: var(--text); }
  .nav__side { display: grid; gap: 14px; }
  .nav__side .btn { width: 100%; min-height: 52px; }
  .nav__login { padding: 14px 0; font-size: 16px; }
  .nav-open body, body.nav-open { overflow: hidden; }
}
@media (min-width: 1080px) {
  .burger { display: none; }
  .nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 28px; margin-left: clamp(24px, 4vw, 72px); }
  .nav__list { flex-direction: row; gap: clamp(18px, 2.2vw, 36px); }
  .nav__list a { padding: 12px 0; position: relative; font-size: 13px; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
  .nav__side { display: flex; align-items: center; gap: 20px; }
  .hdr__in { min-height: 76px; }
}

/* --- Breadcrumbs ---------------------------------------------------------------- */
.crumbs { padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font: 400 12px/1.5 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--line-3); }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--silver); display: inline-block; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* --- Sections ------------------------------------------------------------------- */
.sec { padding-block: clamp(64px, 9vw, 136px); position: relative; }
.sec--tight { padding-top: 0; }
.sec--blue { background: radial-gradient(120% 140% at 85% 0%, var(--blue-2) 0%, var(--blue) 42%, #091a2a 100%); border-block: 1px solid var(--line); }
.sec--surface { background: var(--bg-raised); border-block: 1px solid var(--line); }
.sec--blue + .sec--tight, .sec--surface + .sec--tight { padding-top: clamp(64px, 9vw, 136px); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 64px); max-width: 900px; }
.sec__head--row { max-width: none; }
.sec__idx { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.sec__idx span { color: var(--accent); }
.sec__idx::after { content: ""; flex: 0 1 72px; height: 1px; background: var(--line-2); }
.sec__intro { color: var(--text-2); font-size: clamp(16px, 1.25vw, 18px); max-width: 44em; }
.sec__more { margin-top: clamp(28px, 3vw, 44px); }
@media (min-width: 900px) {
  .sec__head--row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .sec__head--row > .arrow-link { justify-self: end; padding-bottom: 8px; }
}
.split { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
  .split__head { position: sticky; top: 112px; }
}
.split__head { display: grid; gap: 18px; }

/* --- Hero ----------------------------------------------------------------------- */
.hero { position: relative; overflow: clip; margin-top: -77px; padding-top: 77px; border-bottom: 1px solid var(--line); }
.hero__grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(202, 209, 217, .055) 1px, transparent 1px), linear-gradient(to bottom, rgba(202, 209, 217, .055) 1px, transparent 1px);
  background-size: clamp(64px, 8.33vw, 120px) clamp(64px, 8.33vw, 120px); background-position: var(--gutter) 0;
  mask-image: radial-gradient(90% 80% at 70% 40%, #000 0%, transparent 78%); -webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 0%, transparent 78%); }
.hero__in { position: relative; display: grid; gap: 8px; padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 72px); }
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2vw, 28px); color: var(--silver); }
.tick { width: 8px; height: 8px; background: var(--accent); flex: none; }
.tick--in { display: inline-block; margin-right: 12px; }
.hero h1 span { display: block; }
.hero__l2 { color: #8E99A7; margin-top: .14em; }
.hero__lead { margin-top: clamp(20px, 2.2vw, 32px); }
.hero__cta { margin-top: clamp(26px, 3vw, 44px); }
.hero__object { position: relative; width: min(64%, 260px); aspect-ratio: 1; margin: 0 auto 4px; order: -1; }
.hero__poster, .hero__canvas { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.hero__canvas { opacity: 0; transition: opacity .9s ease; }
.hero__object.is-live .hero__canvas { opacity: 1; }
.hero__object.is-live .hero__poster { opacity: 0; transition: opacity .9s ease .2s; }
.frame { position: absolute; inset: 0; }
.frame__c { position: absolute; width: 18px; height: 18px; border: solid var(--line-3); border-width: 0; }
.frame__c--tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.frame__c--tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.frame__c--bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.frame__c--br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.frame__axis { position: absolute; background: var(--line); }
.frame__axis--x { left: 0; right: 0; top: 50%; height: 1px; }
.frame__axis--y { top: 0; bottom: 0; left: 50%; width: 1px; }
.frame__ring { position: absolute; inset: 9%; border: 1px solid var(--line); border-radius: 50%; }
.frame__label { position: absolute; font-size: 9px; color: var(--text-3); }
.frame__label--tl { left: 24px; top: 2px; } .frame__label--tr { right: 24px; top: 2px; }
.frame__label--bl { left: 24px; bottom: 2px; } .frame__label--br { right: 24px; bottom: 2px; }
.hero__strip { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); font-size: 14px; color: var(--silver); }
.hero__strip li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero__strip li:last-child { border-bottom: 0; }
.hero__strip .mono { color: var(--accent); }
@media (min-width: 640px) { .hero__object { width: min(70%, 420px); } .hero__strip { grid-template-columns: repeat(5, 1fr); } .hero__strip li { border-bottom: 0; padding: 20px 0; } }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(16px, 3vw, 56px); min-height: min(78vh, 780px); }
  .hero__object { order: 0; width: min(100%, 600px); margin: 0 0 0 auto; }
  .frame__label { font-size: 10.5px; }
  .hero__text { padding-block: 24px; }
}
@media (min-width: 1180px) { .hero__object { width: 118%; max-width: 660px; margin-right: -6%; } }

/* --- Tasks (situations) ------------------------------------------------------------ */
.tasks { border-top: 1px solid var(--line-2); }
.tasks__row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px 12px; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.tasks__row::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--accent); transition: width .6s var(--ease); }
.tasks__row:hover::before { width: 100%; }
.tasks__n { padding-top: 5px; color: var(--accent); }
.tasks__title { font: 500 clamp(18px, 1.55vw, 22px)/1.3 var(--f-text); color: var(--text); text-wrap: balance; }
.tasks__text, .tasks__link { grid-column: 2; }
.tasks__text { color: var(--text-2); font-size: 16px; max-width: 54ch; }
.tasks__link { margin-top: 6px; font-size: 14px; }
@media (min-width: 900px) {
  .tasks__row { grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr) 210px; gap: 32px; align-items: start; padding: 32px 0; }
  .tasks__text, .tasks__link { grid-column: auto; }
  .tasks__link { margin-top: 3px; justify-self: end; text-align: right; }
}

/* --- Services grid ------------------------------------------------------------------- */
.grid9 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; height: 100%; padding: 26px 22px 30px; background: var(--bg); transition: background-color .35s var(--ease); min-height: 190px; }
.cell:hover, .cell:focus-visible { background: var(--blue); }
.cell__n { color: var(--accent); }
.cell__title { font: 400 clamp(16px, 1.3vw, 19px)/1.28 var(--f-display); text-transform: uppercase; padding-right: 36px; text-wrap: balance; }
.cell__text { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.cell__go { position: absolute; right: 22px; top: 24px; font-family: var(--f-mono); color: var(--text-3); transition: transform .3s var(--ease), color .3s; }
.cell:hover .cell__go { transform: translate(4px, -4px) rotate(-45deg); color: var(--text); }
@media (min-width: 640px) { .grid9 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid9 { grid-template-columns: repeat(3, 1fr); } .cell { padding: 32px 30px 36px; min-height: 236px; } .cell__go { right: 30px; top: 30px; } }

/* --- Flow scheme ------------------------------------------------------------------------ */
.flow { position: relative; }
.flow__line { position: absolute; left: 5px; top: 0; width: 2px; height: 100%; overflow: visible; }
.flow__line path { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.flow__list { display: grid; gap: 34px; position: relative; }
.flow__step { position: relative; padding-left: 34px; display: grid; gap: 8px; align-content: start; }
.flow__node { position: absolute; left: 0; top: 4px; width: 11px; height: 11px; background: var(--bg); border: 1px solid var(--accent); }
.flow__node::after { content: ""; position: absolute; inset: 2px; background: var(--accent); }
.flow__step .mono { color: var(--accent); }
.flow__title { font: 400 clamp(17px, 1.4vw, 20px)/1.2 var(--f-display); text-transform: uppercase; }
.flow__text { font-size: 15px; line-height: 1.5; color: var(--silver); opacity: .92; }
@media (max-width: 899.98px) { .flow__line { display: none; } .flow__list::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(139, 174, 200, .5); } }
@media (min-width: 900px) {
  .flow__line { left: 0; top: 0; width: calc((100% + 28px) * .8 + 6px); height: 12px; }
  .flow__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
  .flow__step { padding: 40px 0 0; }
  .flow__node { top: 0; }
}
.js .flow__line path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.js .flow.is-in .flow__line path { stroke-dashoffset: 0; }
.js .flow__step { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 260ms + 150ms); }
.js .flow.is-in .flow__step { opacity: 1; transform: none; }

/* --- Rules list (transparency) -------------------------------------------------------------- */
.prose--rules ul { gap: 0; border-top: 1px solid var(--line-2); }
.prose--rules ul > li { padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line); max-width: none; }
.prose--rules ul > li::before { top: 1.75em; left: 4px; }
.prose--rules > * + * { margin-top: 1.4em; }

/* --- Cabinet scheme ------------------------------------------------------------------------- */
.cab { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cab__text { display: grid; gap: 20px; }
.cab__note { font-size: 14.5px; color: var(--text-3); border-left: 1px solid var(--line-3); padding-left: 16px; max-width: 52ch; }
@media (min-width: 1000px) { .cab { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.ui { border: 1px solid var(--line-2); background: var(--bg); font-size: 12.5px; color: var(--text-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ui__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.ui__bar span { width: 7px; height: 7px; border: 1px solid var(--line-3); }
.ui__bar em { margin-left: auto; font-style: normal; font-size: 10px; }
.ui__body { display: grid; grid-template-columns: 104px 1fr; min-height: 300px; }
.ui__nav { border-right: 1px solid var(--line); padding: 14px 0; display: grid; align-content: start; gap: 2px; }
.ui__nav li { padding: 8px 14px; border-left: 2px solid transparent; }
.ui__nav .is-on { color: var(--text); border-left-color: var(--accent); background: rgba(139, 174, 200, .07); }
.ui__main { padding: 16px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ui__steps { display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 4px; }
.ui__steps li { position: relative; padding: 5px 0 5px 18px; color: var(--text-3); }
.ui__steps li::before { content: ""; position: absolute; left: -4px; top: 11px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--line-3); }
.ui__steps .is-done { color: var(--text-2); } .ui__steps .is-done::before { background: var(--text-3); border-color: var(--text-3); }
.ui__steps .is-now { color: var(--text); } .ui__steps .is-now::before { background: var(--accent); border-color: var(--accent); }
.ui__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui__card { border: 1px solid var(--line); padding: 12px; display: grid; gap: 9px; align-content: start; min-width: 0; }
.ui__card .mono { font-size: 10px; }
.ui__card i { display: block; height: 8px; background: var(--surface-2); width: 86%; }
.ui__card i.s { width: 58%; margin-left: auto; background: var(--blue-2); }
.ui__card b { font-weight: 400; font-size: 12px; padding: 6px 8px; border: 1px solid var(--line); color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 640px) { .ui { font-size: 13.5px; } .ui__body { grid-template-columns: 140px 1fr; min-height: 340px; } .ui__main { padding: 22px; } }

/* --- Article teasers ------------------------------------------------------------------------- */
.reads { display: grid; border-top: 1px solid var(--line-2); }
.read { position: relative; display: grid; gap: 10px; padding: 28px 44px 28px 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.read:hover { padding-left: 14px; }
.read__title { font: 400 clamp(19px, 2.1vw, 30px)/1.22 var(--f-display); text-transform: uppercase; text-wrap: balance; max-width: 26em; }
.read__lead { color: var(--text-2); font-size: 16px; max-width: 62ch; }
.read__go { position: absolute; right: 4px; top: 30px; font-family: var(--f-mono); color: var(--accent); transition: transform .3s var(--ease); }
.read:hover .read__go { transform: translateX(6px); }
@media (min-width: 900px) { .read { grid-template-columns: 150px minmax(0, 1fr); gap: 10px 32px; padding-block: 36px; } .read__meta { grid-row: span 2; padding-top: 8px; } .read__lead { grid-column: 2; } .read__go { top: 40px; } }

/* --- Accordion --------------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line-2); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; text-align: left; font: 500 clamp(17px, 1.35vw, 19px)/1.35 var(--f-text); color: var(--text); }
.acc__q button:hover { color: var(--accent); }
.acc__q i { flex: none; position: relative; width: 16px; height: 16px; }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.acc__q i::after { transform: rotate(90deg); }
.acc__q button[aria-expanded="true"] i::after { transform: rotate(0); }
.acc__inner { padding: 0 0 24px; }
.js .acc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--ease), visibility 0s .45s; }
.js .acc__panel > .acc__inner { overflow: hidden; min-height: 0; padding-bottom: 0; }
.js .acc__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--ease), visibility 0s; }
.js .acc__panel.is-open > .acc__inner { padding-bottom: 24px; transition: padding .45s var(--ease); }
.no-js .acc__q i { display: none; }

/* --- Brief form ---------------------------------------------------------------------------------- */
.brief { display: grid; gap: clamp(32px, 5vw, 72px); }
.brief__text { display: grid; gap: 18px; align-content: start; }
.brief__alt { margin-top: 12px; color: var(--silver); font-size: 15px; line-height: 2; }
@media (min-width: 1000px) { .brief { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .brief__text { position: sticky; top: 112px; } }
.form { display: grid; gap: 24px; }
.form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.form__foot { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .form__foot { grid-template-columns: 1fr auto; gap: 32px; } }
.form__note { font-size: 13.5px; color: var(--text-3); }
.sec--blue .field input, .sec--blue .field select, .sec--blue .field textarea, .sec--blue .check input { background-color: rgba(5, 14, 23, .55); }
.sec--blue .form__note, .sec--blue .field__opt, .sec--blue .field__help { color: #9FB0C0; }

/* --- Page hero (inner pages) -------------------------------------------------------------------- */
.phead { padding: clamp(36px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: clip; }
.phead__in { display: grid; gap: 28px; position: relative; }
.phead__text { display: grid; gap: 22px; align-content: center; }
.phead .lead { color: var(--silver); }
.phead__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.phead__price { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.phead__price::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--accent); }
.phead__art { justify-self: center; width: min(72%, 360px); aspect-ratio: 1; position: relative; }
.phead--grid::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(202, 209, 217, .05) 1px, transparent 1px); background-size: clamp(64px, 8.33vw, 120px) 100%; background-position: var(--gutter) 0; mask-image: linear-gradient(to bottom, transparent, #000 60%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); }
@media (min-width: 900px) { .phead__in--art { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: center; } .phead__art { width: 100%; max-width: 400px; justify-self: end; } }
.glyph { width: 100%; height: 100%; overflow: visible; }
.glyph .g-flow { fill: none; stroke: var(--silver); stroke-opacity: .34; stroke-width: 1; vector-effect: non-scaling-stroke; }
.glyph .g-out { fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.glyph .g-node { fill: var(--bg); stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.glyph .g-ring { fill: none; stroke: var(--line-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.glyph .g-core { fill: var(--text); }
.glyph .g-axis { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.js .phead__art .g-flow { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.8s var(--ease) .2s forwards; }
.js .phead__art .g-out { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1s var(--ease) 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* --- Service page ------------------------------------------------------------------------------- */
.svc { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 88px); }
.svc__toc { display: none; }
.svc__sec { display: grid; gap: 18px; padding-block: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.svc__sec:first-child { border-top: 0; padding-top: 0; }
.svc__h { display: grid; gap: 10px; align-content: start; }
.svc__h h2 { font: 400 clamp(19px, 1.7vw, 24px)/1.2 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.svc__h .mono { color: var(--accent); }
@media (min-width: 760px) { .svc__sec { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; } }
@media (min-width: 1180px) {
  .svc { grid-template-columns: 220px minmax(0, 1fr); gap: 72px; align-items: start; }
  .svc__toc { display: block; position: sticky; top: 112px; }
  .svc__toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
  .svc__toc a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--text-3); transition: color .2s, border-color .2s; }
  .svc__toc a:hover, .svc__toc a.is-active { color: var(--text); border-left-color: var(--accent); }
  .svc__toc .mono { margin-bottom: 14px; display: block; }
}
.band { border: 1px solid var(--line-2); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; background: linear-gradient(120deg, rgba(13, 37, 59, .85), rgba(13, 37, 59, .25)); }
.band h2 { font: 400 clamp(20px, 2vw, 28px)/1.2 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.band p { color: var(--silver); max-width: 58ch; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; align-items: center; gap: 48px; } }
.minis { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.minis a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 20px; background: var(--bg); font-size: 15.5px; transition: background-color .3s; }
.minis a:hover { background: var(--blue); }
.minis a::after { content: "→"; font-family: var(--f-mono); color: var(--text-3); }
@media (min-width: 640px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .minis { grid-template-columns: repeat(4, 1fr); } }
.block { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.block > .wrap { display: grid; gap: clamp(24px, 3vw, 40px); }
.block__h { font: 400 clamp(20px, 2vw, 28px)/1.2 var(--f-display); text-transform: uppercase; }

/* --- Services overview ----------------------------------------------------------------------------- */
.svcs { border-top: 1px solid var(--line-2); }
.svcs__row { display: grid; gap: 12px; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); position: relative; }
.svcs__row h2 { font: 400 clamp(19px, 1.9vw, 27px)/1.2 var(--f-display); text-transform: uppercase; text-wrap: balance; }
.svcs__row h2 a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 3px; }
.svcs__row:hover h2 a { background-size: 100% 1px; }
.svcs__row h2 a::after { content: ""; position: absolute; inset: 0; }
.svcs__row p { color: var(--text-2); max-width: 60ch; }
.svcs__row .mono { color: var(--accent); }
.svcs__go { font-family: var(--f-mono); color: var(--text-3); transition: transform .3s var(--ease), color .3s; }
.svcs__row:hover .svcs__go { transform: translateX(6px); color: var(--text); }
@media (min-width: 900px) { .svcs__row { grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr) 40px; gap: 32px; align-items: baseline; } .svcs__go { justify-self: end; } }

/* --- Process page ------------------------------------------------------------------------------------ */
.steps { display: grid; }
.step { display: grid; gap: 20px; padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; }
.step__n { font: 300 clamp(48px, 7vw, 104px)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--line-3); }
.step__title { font: 400 clamp(22px, 2.4vw, 34px)/1.15 var(--f-display); text-transform: uppercase; }
.step__sum { color: var(--silver); font-size: clamp(17px, 1.35vw, 19px); max-width: 48ch; }
.step__cols { display: grid; gap: 24px; margin-top: 8px; }
.step__box { border: 1px solid var(--line); padding: 20px 22px; display: grid; gap: 12px; align-content: start; background: var(--bg-raised); }
.step__box .prose { font-size: 15.5px; }
@media (min-width: 760px) { .step__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .step { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } .step__head { position: sticky; top: 112px; align-self: start; display: grid; gap: 18px; } }

/* --- Articles ------------------------------------------------------------------------------------------ */
.alist { display: grid; border-top: 1px solid var(--line-2); }
.acard { position: relative; display: grid; gap: 12px; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.acard h2 { font: 400 clamp(19px, 1.9vw, 27px)/1.22 var(--f-display); text-transform: uppercase; text-wrap: balance; max-width: 30em; }
.acard h2 a::after { content: ""; position: absolute; inset: 0; }
.acard h2 a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 3px; }
.acard:hover h2 a { background-size: 100% 1px; }
.acard p { color: var(--text-2); max-width: 66ch; }
.acard__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.acard__tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.tag { font: 400 11.5px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-2); padding: 5px 9px; border-radius: 2px; transition: color .2s, border-color .2s; }
a.tag:hover { color: var(--text); border-color: var(--accent); }
@media (min-width: 900px) { .acard { grid-template-columns: 190px minmax(0, 1fr); gap: 12px 32px; } .acard__meta { grid-row: span 3; flex-direction: column; padding-top: 8px; } .acard > *:not(.acard__meta) { grid-column: 2; } }

.art { padding-block: clamp(32px, 4.5vw, 64px) clamp(56px, 7vw, 104px); }
.art__head { display: grid; gap: 22px; max-width: 980px; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.art__title { font-size: clamp(26px, 3.5vw, 50px); }
.art__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.art__grid { display: grid; gap: 40px; padding-top: clamp(28px, 4vw, 56px); }
.art__body { font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.7; min-width: 0; }
.art__body.prose { color: #C3CAD3; }
.art__body.prose > h2:first-child { margin-top: 0; }
.art__toc { display: none; }
.art__end { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 28px; }
.sources { border-top: 1px solid var(--line-2); padding-top: 24px; display: grid; gap: 14px; }
.sources ol { display: grid; gap: 10px; counter-reset: s; font-size: 15px; line-height: 1.5; }
.sources li { counter-increment: s; position: relative; padding-left: 36px; color: var(--text-2); overflow-wrap: anywhere; }
.sources li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: .2em; font: 400 11.5px/1.6 var(--f-mono); color: var(--accent); }
.sources a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.sources a:hover { color: var(--text); text-decoration-color: var(--accent); }
.byline { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.byline .mark__svg { width: 34px; height: 34px; flex: none; }
@media (min-width: 1100px) {
  .art__grid { grid-template-columns: minmax(0, 720px) 240px; justify-content: space-between; gap: 72px; }
  .art__toc { display: block; position: sticky; top: 112px; align-self: start; }
  .art__toc ol { display: grid; gap: 2px; border-left: 1px solid var(--line-2); margin-top: 14px; }
  .art__toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--text-3); }
  .art__toc a:hover, .art__toc a.is-active { color: var(--text); border-left-color: var(--accent); }
}

/* --- Documents / plain pages ------------------------------------------------------------------------------ */
.doc { padding-block: clamp(32px, 4.5vw, 64px) clamp(56px, 7vw, 104px); display: grid; gap: 32px; }
.doc__body { max-width: 820px; font-size: 16.5px; }
.doc__body.prose h2 { font-size: clamp(18px, 1.6vw, 22px); }
.doc__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.doclist { display: grid; border-top: 1px solid var(--line-2); }
.doclist a { display: grid; gap: 6px; padding: 24px 40px 24px 0; border-bottom: 1px solid var(--line); position: relative; }
.doclist a::after { content: "→"; position: absolute; right: 4px; top: 26px; font-family: var(--f-mono); color: var(--text-3); transition: transform .3s var(--ease); }
.doclist a:hover::after { transform: translateX(6px); color: var(--text); }
.doclist h2 { font: 500 clamp(17px, 1.4vw, 20px)/1.3 var(--f-text); }
.doclist p { color: var(--text-2); font-size: 15px; max-width: 70ch; }

/* --- Contacts / about ------------------------------------------------------------------------------------- */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: var(--bg); padding: 26px 24px; display: grid; gap: 10px; align-content: start; }
.facts dt { font: 400 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.facts dd { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; overflow-wrap: anywhere; }
.facts dd a:hover { color: var(--accent); }
.facts small { display: block; margin-top: 6px; font-size: 14px; color: var(--text-3); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts--3 { grid-template-columns: repeat(3, 1fr); } }
.cols2 { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .cols2 { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); } }
.cols2 h2 { font: 400 clamp(19px, 1.8vw, 26px)/1.2 var(--f-display); text-transform: uppercase; text-wrap: balance; }

/* --- Done / 404 ---------------------------------------------------------------------------------------------- */
.center { min-height: 62vh; display: grid; align-content: center; gap: 24px; padding-block: 72px; max-width: 820px; }
.center .mono { color: var(--accent); }
.big404 { font: 300 clamp(96px, 20vw, 260px)/.85 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--line-3); letter-spacing: -.02em; }

/* --- Footer ----------------------------------------------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line); background: #090B0D; padding-top: clamp(48px, 6vw, 88px); font-size: 15px; }
.ftr__top { display: grid; gap: 40px; }
.ftr__brand { display: grid; gap: 20px; align-content: start; max-width: 380px; }
.ftr__about { color: var(--text-2); }
.ftr__col { display: grid; gap: 16px; align-content: start; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__col a { color: var(--silver); transition: color .2s; }
.ftr__col a:hover { color: var(--text); }
.ftr__h2 { margin-top: 16px; }
.ftr__legal { margin-top: clamp(40px, 5vw, 72px); padding-block: 24px 32px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13.5px; color: var(--text-3); }
@media (min-width: 640px) { .ftr__top { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .ftr__top { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 48px; } .ftr__brand { grid-column: auto; } .ftr__legal { grid-template-columns: auto 1fr auto; gap: 32px; } .ftr__legal p:last-child { text-align: right; } }

/* --- Reveal ------------------------------------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .flow__step { opacity: 1; transform: none; }
  .js .flow__line path, .js .phead__art .g-flow, .js .phead__art .g-out { stroke-dashoffset: 0; animation: none; }
}

/* --- Overflow guards ------------------------------------------------------------------------------------------- */
.art__grid > *, .doc > *, .svc > *, .svc__sec > *, .split > *, .cols2 > *, .step > *, .brief > *, .cab > * { min-width: 0; }
.arrow-link { padding-block: 6px; }
