/* UrbanElevate — urbanelevatesl.org. Light, grid-framed layout. */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0f141f;
  --text: #2a303b;
  --muted: #6b7280;
  --faint: #9aa1ab;
  --line: #e6e8eb;
  --line-2: #d6d9de;
  --bg: #ffffff;
  --soft: #f7f8f9;
  --blue: #3d63ff;
  --blue-dark: #2948d6;
  --blue-soft: #e9eeff;
  --lime: #c4f04a;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --pad: 48px;
  --header-h: 64px;
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; font-weight: 500; }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
mark { background: var(--blue-soft); color: var(--ink); padding: 0 .15em; border-radius: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 300; }
.skip:focus { top: 12px; color: #fff; }

/* Frame: the vertical grid lines that run down the page */
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.frame { border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0 var(--pad); }
.frame--flush { padding: 0; }

.mono-label, .eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.eyebrow { color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.2em; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: .92rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262d3b; color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--sm { padding: .55em 1em; font-size: .85rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; margin-top: 12px; }
.link-arrow svg, .cell__more svg, .card__arrow svg, .row__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header + mega menu */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); padding: 0 24px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.mark { width: 48px; height: 22px; }
.logo__name { font-weight: 300; font-size: 1.16rem; letter-spacing: -.02em; }
.logo__name b { font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.nav { flex: 1; }
.nav__list { display: flex; gap: 2px; list-style: none; }
.nav__trigger { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; font: inherit; font-size: .9rem; color: var(--text); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nav__trigger:hover, .nav__item.is-open .nav__trigger { background: var(--soft); color: var(--ink); }
.nav__item.is-current .nav__trigger { color: var(--blue); }
.chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
.nav__item.is-open .chev { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(15, 20, 31, .08); display: none; }
.nav__item.is-open .mega { display: block; }
.mega__inner { display: flex; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.mega__cols { flex: 1; display: grid; grid-template-columns: repeat(var(--cols), 1fr); }
.mega__col { padding: 28px 24px; border-right: 1px solid var(--line); }
.mega__col ul { list-style: none; display: grid; gap: 2px; }
.mega__link { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.mega__link b { display: block; font-weight: 500; font-size: .92rem; }
.mega__link span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.mega__link:hover { background: var(--soft); color: var(--ink); }
.mega__feat { width: 300px; flex-shrink: 0; padding: 28px 24px; text-decoration: none; color: var(--text); background: var(--soft); display: flex; flex-direction: column; gap: 8px; }
.mega__feat b { color: var(--ink); font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.mega__feat > span:not(.card__tag):not(.mega__feat-art) { font-size: .86rem; color: var(--muted); }
.mega__feat em { font-style: normal; color: var(--blue); font-weight: 500; font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.mega__feat em svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mega__feat-art .art { width: 110px; margin-bottom: 6px; }
.mega__feat .card__tag { align-self: flex-start; margin-bottom: 0; }
.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: .74rem; }
.lang a, .lang span { padding: 4px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.lang span { color: var(--ink); background: var(--soft); }
.lang a:hover { color: var(--ink); }
.nav__mobile { display: none; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s, top .2s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* Inline title icon */
.hi { display: inline-grid; place-items: center; width: .95em; height: .95em; border: 1px solid var(--line-2); border-radius: .22em; vertical-align: -.08em; margin: 0 .08em; background: #fff; }
.hi svg { width: 62%; height: 62%; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); }
.hero__inner { padding-top: 72px; padding-bottom: 80px; }
.hero__inner--split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; letter-spacing: -.035em; max-width: 21em; }
.hero__inner--split .hero__title { font-size: clamp(2rem, 3.3vw, 2.85rem); }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; margin-top: 18px; }
.hero--small .hero__inner { padding-top: 44px; padding-bottom: 56px; }
.hero--small .hero__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.hero__tags { margin-top: 26px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-bottom: 26px; text-transform: uppercase; letter-spacing: .04em; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; color: var(--line-2); }
.crumbs [aria-current] { color: var(--blue); }

/* Sections */
.section { border-bottom: 1px solid var(--line); }
.section > .frame { padding-top: 88px; padding-bottom: 88px; }
.section > .frame--flush { padding-top: 0; padding-bottom: 0; }
.section--soft { background: var(--soft); }
.section--flush > .frame { padding-top: 0; padding-bottom: 0; }
.shead { max-width: 760px; margin-bottom: 44px; }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.shead__title { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; margin-bottom: .45em; }
.shead__lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Tags / pills */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .78rem; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text); background: #fff; }
.card__tag, .cell__tag, .row__tag { display: inline-block; align-self: flex-start; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 4px; margin-bottom: 12px; }

/* Logos wall */
.logos__title { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; padding: 22px 16px; margin: 0; border-bottom: 1px solid var(--line); }
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); overflow: hidden; }
.logos li { display: grid; place-items: center; min-height: 76px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; letter-spacing: -.02em; color: #5c6370; font-size: .96rem; text-align: center; margin: 0 -1px -1px 0; }

/* Cell grid (bordered) */
.cells { display: grid; grid-template-columns: repeat(var(--cols), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { display: flex; flex-direction: column; padding: 28px 26px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; background: #fff; transition: background-color .2s; }
.cell--link:hover { background: var(--soft); color: var(--text); }
.cell h3 { margin: 4px 0 8px; font-size: 1.06rem; }
.cell p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; flex: 1; }
.cell__art { height: 130px; display: grid; place-items: center; margin-bottom: 18px; }
.cell__art .art { height: 120px; width: auto; }
.cell__icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 9px; margin-bottom: 18px; }
.cell__icon svg, .feat__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cell__more { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--blue); }
.cell__more svg { transition: transform .2s; }
.cell--link:hover .cell__more svg { transform: translateX(3px); }

/* Line art */
.art { fill: none; stroke: #8f97a3; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.art path, .art rect, .art circle, .art ellipse { fill: #fff; }
.art .t { fill: #fbfbfc; }
.art .a { stroke: var(--blue); }
.art .t.a { fill: #f3f6ff; }
.vis-art { display: grid; place-items: center; padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 16px 16px; }
.vis-art .art { width: 72%; max-width: 360px; }

/* Features */
.feats { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 34px 40px; }
.feat { display: flex; gap: 16px; }
.feat__icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; }
.feat h3 { margin: 6px 0 6px; }
.feat p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__text { order: 2; }
.split--text { grid-template-columns: 1fr; max-width: 820px; }
.checks { list-style: none; display: grid; gap: 10px; margin: 6px 0 4px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Tag panels */
.tpanels { display: grid; grid-template-columns: repeat(var(--cols), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tpanel { padding: 32px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tpanel h3 { font-size: 1.15rem; }
.tpanel p { color: var(--muted); font-size: .95rem; }
.tpanel .tags { margin-top: 18px; }

/* Phases (001, 002 …) */
.phases { border-top: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: 1.25fr 1fr; border-bottom: 1px solid var(--line); }
.phase__main { padding: 40px 48px 40px 0; border-right: 1px solid var(--line); }
.phase__side { padding: 40px 0 40px 40px; }
.phase__num { display: inline-block; font-family: var(--mono); font-size: .78rem; color: var(--muted); border-left: 2px solid var(--ink); padding-left: 8px; margin-bottom: 20px; }
.phase h3 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 14px; }
.phase__side .tags { margin-bottom: 26px; }
.outs { list-style: none; display: grid; gap: 10px; }
.outs li { display: flex; gap: 10px; font-size: .93rem; }
.outs svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; fill: none; stroke: var(--ink); stroke-width: 1.8; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--cols), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--mono); font-size: .78rem; color: var(--blue); display: block; margin-bottom: 18px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(var(--cols), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.stat p { color: var(--muted); font-size: .93rem; margin: 0; }
.stats__note { font-size: .8rem; color: var(--faint); margin: 16px 0 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols), 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; background: #fff; transition: background-color .2s; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; padding-right: 22px; }
.card p { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.card__meta { font-family: var(--mono); font-size: .74rem; color: var(--faint); margin-top: auto; }
.card__arrow { position: absolute; top: 28px; right: 24px; color: var(--faint); transition: transform .2s, color .2s; }
.card--link:hover { background: var(--soft); color: var(--text); }
.card--link:hover .card__arrow { color: var(--blue); transform: translateX(3px); }

/* Rows */
.rows { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.row__main { flex: 1; }
.row h3 { margin: 0 0 4px; font-size: 1.12rem; }
.row p { margin: 0; color: var(--muted); font-size: .93rem; }
.row__tag { margin-bottom: 8px; }
.row__meta { font-family: var(--mono); font-size: .76rem; color: var(--faint); white-space: nowrap; }
.row__arrow { color: var(--faint); }
a.row:hover { color: var(--text); }
a.row:hover h3, a.row:hover .row__arrow { color: var(--blue); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 500; background: var(--soft); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--ink); font-weight: 500; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq .shead { margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 500; color: var(--ink); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--mono); font-size: 1.2rem; color: var(--muted); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px; color: var(--muted); }
.faq__a p:last-child { margin: 0; }

/* Statement */
.statement { max-width: 880px; margin: 0 auto; text-align: center; }
.statement__text { font-family: var(--mono); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--ink); margin: 0; }
.statement__text b, .statement__text mark { font-weight: 600; }
.statement__sub { color: var(--muted); margin: 18px 0 0; font-size: .92rem; }

/* Callout */
.callout { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 18px 18px; }
.callout p { color: var(--muted); margin: 0; max-width: 46em; }
.callout .ctas { margin: 0; flex-shrink: 0; }

/* CTA band */
.cta-band { background: var(--ink); color: #c7ccd4; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 72px; border-color: rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-band .ctas { margin: 0; flex-shrink: 0; }
.cta-band .hi { background: transparent; border-color: rgba(255, 255, 255, .25); }
.cta-band .hi svg { stroke: #fff; }

/* Prose & article */
.prose { font-size: 1.02rem; }
.prose--narrow { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; letter-spacing: -.025em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--blue); color: var(--ink); font-family: var(--mono); font-size: .95rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--soft); border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; }
.prose pre { background: var(--ink); color: #e6e9ef; padding: 18px 20px; border-radius: var(--r); overflow-x: auto; font-size: .85rem; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose .note { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); font-size: .95rem; }
.article__grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.article .prose { max-width: 740px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-family: var(--mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 26px; }
.art-meta .card__tag { margin: 0; }
.art-lead { font-size: 1.2rem; color: var(--ink); max-width: 820px; margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: .86rem; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--ink); }

/* Glossary */
.gl__idx { position: sticky; top: var(--header-h); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0; margin-bottom: 30px; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); }
.gl__idx a { font-family: var(--mono); font-size: .82rem; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.gl__idx a:hover { border-color: var(--ink); }
.gl { columns: 2; column-gap: 56px; }
.gl__letter { font-family: var(--mono); font-size: 1rem; color: var(--blue); margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); break-after: avoid; }
.gl__letter:first-child { margin-top: 0; }
.gl__item { break-inside: avoid; margin-bottom: 18px; }
.gl__item h3 { font-size: 1rem; margin-bottom: 4px; }
.gl__item p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Checklist */
.ck__bar { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; gap: 14px; padding: 14px 0; margin-bottom: 26px; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.ck__meter { flex: 1; max-width: 360px; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.ck__meter i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .3s; }
.ck__pct { color: var(--ink); font-weight: 600; }
.ck__reset { margin-left: auto; }
.ck__group { margin-bottom: 36px; }
.ck__group h3 { font-size: 1.15rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ck__group ul { list-style: none; display: grid; gap: 2px; }
.ck__group label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; margin: 0 -10px; border-radius: 8px; cursor: pointer; }
.ck__group label:hover { background: var(--soft); }
.ck__group input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.ck__group input:checked + span { color: var(--faint); text-decoration: line-through; }

/* Network visual */
.net { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 30px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 16px 16px; min-height: 320px; }
.net svg:not(.mark) { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--line-2); stroke-width: 1; }
.net__col { position: relative; display: grid; gap: 46px; justify-items: start; }
.net__col--r { justify-items: end; }
.net__chip { font-size: .86rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; box-shadow: 0 1px 2px rgba(15, 20, 31, .05); }
.net__core { position: relative; display: grid; justify-items: center; gap: 8px; padding: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 12px 30px rgba(15, 20, 31, .08); font-weight: 600; font-size: .85rem; color: var(--ink); }
.net__core .mark { width: 65px; height: 30px; margin: 4px 0; }

/* SERP visual */
.serp { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: 0 20px 50px rgba(15, 20, 31, .08); font-size: .82rem; line-height: 1.45; }
.serp__bar { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 14px; color: var(--ink); }
.serp__bar svg, .serp__ai svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.serp__ai { padding: 14px; border-radius: 10px; background: linear-gradient(135deg, #f3f6ff, #f4fff8); margin-bottom: 10px; color: var(--muted); }
.serp__ai b { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.serp__ai span { display: block; margin-bottom: 8px; }
.serp__ai i { font-style: normal; font-family: var(--mono); font-size: .7rem; border: 1px solid var(--line-2); background: #fff; padding: 2px 6px; border-radius: 5px; margin-right: 6px; }
.serp__ai i:first-of-type { border-color: var(--blue); color: var(--blue); }
.serp__item { padding: 10px 12px; border-radius: 8px; }
.serp__item .u { display: block; font-size: .72rem; color: var(--muted); }
.serp__item .t { display: block; color: #1a3fd1; font-size: .96rem; font-weight: 500; margin: 1px 0 2px; }
.serp__item .d { display: block; color: var(--muted); }
.serp__item--you { outline: 1px solid var(--blue); background: #fafbff; }
.serp__item .sk { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 7px; }

/* Code + metrics visual */
.code { border-radius: var(--r); overflow: hidden; background: var(--ink); color: #e6e9ef; font-family: var(--mono); font-size: .8rem; }
.code__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4150; }
.code__bar span { margin-left: 8px; color: #8b93a1; font-size: .74rem; }
.code pre { margin: 0; padding: 18px; overflow-x: auto; line-height: 1.6; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mt { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.mt span { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; }
.mt b { font-size: 1.5rem; font-weight: 500; color: var(--ink); }

/* Contact / forms */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.cinfo { list-style: none; display: grid; border-top: 1px solid var(--line); margin-top: 26px; }
.cinfo li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cinfo svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cinfo b { display: block; font-weight: 500; color: var(--ink); font-size: .92rem; }
.cinfo span, .cinfo address { color: var(--muted); font-size: .92rem; display: block; }
.cinfo a { font-size: .92rem; }
.form { padding: 36px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 500; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form__foot small { color: var(--muted); }
.form__status { margin: 14px 0 0; font-size: .92rem; font-weight: 500; }
.form__status[data-state="error"] { color: #c0392b; }

/* Sitemap */
.smap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.smap h2 { font-size: 1.1rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.smap ul { list-style: none; display: grid; gap: 6px; }
.smap a { text-decoration: none; color: var(--text); font-size: .93rem; }
.smap a:hover { color: var(--blue); }

/* Footer */
.footer { background: #fff; }
.footer > .frame { padding-top: 64px; padding-bottom: 96px; }
.footer__top { display: grid; grid-template-columns: 1fr 2.4fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); font-size: .9rem; margin: 18px 0; }
.footer__brand address { font-size: .82rem; color: var(--faint); line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.footer__col { display: grid; align-content: start; gap: 7px; }
.footer__col a { color: var(--text); text-decoration: none; font-size: .88rem; }
.footer__col a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: .8rem; color: var(--faint); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a { color: var(--muted); text-decoration: none; }

/* Floating CTA bar */
.floatbar { position: fixed; left: 50%; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 40px rgba(15, 20, 31, .14); transform: translate(-50%, 160%); transition: transform .35s ease; font-size: .88rem; color: var(--ink); }
.floatbar.is-visible { transform: translate(-50%, 0); }
.floatbar[hidden] { display: none; }
.js .floatbar[hidden] { display: flex; }
.floatbar > span { white-space: nowrap; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  :root { --pad: 32px; }
  .hero__inner--split, .split, .contact, .faq { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__text { order: 0; }
  .cells, .cards, .steps, .stats { grid-template-columns: repeat(min(var(--cols), 2), 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .article__grid { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .smap { grid-template-columns: repeat(2, 1fr); }
  .mega__feat { display: none; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; overflow-y: auto; overscroll-behavior: contain; display: none; padding: 8px 20px 40px; border-top: 1px solid var(--line); z-index: 99; }
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__trigger { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav__trigger:hover, .nav__item.is-open .nav__trigger { background: none; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega__inner { border: 0; }
  .mega__cols { grid-template-columns: 1fr; }
  .mega__col { border: 0; padding: 0 4px 16px; }
  .nav__mobile { display: grid; gap: 10px; margin-top: 24px; }
  .nav__mobile .btn { justify-content: center; }
  .tpanels { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; }
  .phase__main { padding: 32px 0 20px; border-right: 0; }
  .phase__side { padding: 0 0 32px; }
}
@media (max-width: 680px) {
  :root { --pad: 16px; }
  body { font-size: 15.5px; }
  .header__inner { padding: 0 16px; gap: 12px; }
  .section > .frame { padding-top: 60px; padding-bottom: 60px; }
  .hero__inner { padding-top: 40px; padding-bottom: 52px; }
  .cells, .cards, .steps, .stats, .feats, .form__grid, .smap { grid-template-columns: 1fr; }
  .gl { columns: 1; }
  .callout, .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .callout { padding: 28px 22px; }
  .form { padding: 24px 18px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .floatbar > span { display: none; }
  .floatbar { padding: 6px; bottom: 14px; }
  .net { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 16px; }
  .net__core { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .net svg:not(.mark) { display: none; }
  .net__col { gap: 12px; }
  .row { flex-wrap: wrap; gap: 8px; }
  .row__meta { order: 3; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hero--bare .hero__inner { padding-top: 24px; padding-bottom: 24px; }
.hero--bare .hero__stage { margin-top: 0; border-top: 0; padding-top: 0; }
.hero__caption { text-align: center; padding-top: 18px; opacity: 0; transform: translateY(10px); animation: ue-rise .8s ease forwards 2.9s; }
.hero--stage.hero--bare .hero__title { font-size: clamp(1.8rem, 3.1vw, 2.75rem); max-width: none; margin: 0 auto; letter-spacing: -.035em; text-wrap: balance; }
.hero__line { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; }
.hero__caption .ctas { justify-content: center; margin-top: 22px; }
@keyframes ue-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__caption { opacity: 1; transform: none; animation: none; } }
/* Full-screen hero stage: the UE monogram draws itself, services cycle inside it */
.hero--stage .hero__inner { height: calc(100svh - var(--header-h)); min-height: 620px; max-height: 1000px; display: flex; flex-direction: column; padding-top: 44px; padding-bottom: 20px; }
.hero__top { display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: end; }
.hero--stage .hero__title { font-size: clamp(2.2rem, 4.2vw, 3.7rem); margin: 0; max-width: 12em; }
.hero--stage .hero__lead { margin-top: 0; font-size: 1rem; }
.hero--stage .ctas { margin-top: 20px; }
.hero--stage .hero__tags { margin-top: 18px; }
.hero__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.ue-wrap { width: 100%; height: 100%; }
.ue-anim { display: block; width: 100%; height: 100%; overflow: visible; font-family: var(--sans); }

.ue-trace { fill: none; stroke: var(--ink); stroke-width: 20; stroke-opacity: .07; opacity: 0; animation: ue-fade 1s ease forwards .1s; }
.ue-bold { fill: none; stroke: var(--ink); stroke-width: 20; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ue-u { animation: ue-draw 1.2s cubic-bezier(.65, 0, .35, 1) forwards .45s; }
.ue-e { animation: ue-draw 1.1s cubic-bezier(.65, 0, .35, 1) forwards 1.25s; }
.ue-bar { animation: ue-draw .5s cubic-bezier(.65, 0, .35, 1) forwards 2.1s; }
.ue-node { fill: #fff; stroke: var(--ink); stroke-width: 4; opacity: 0; animation: ue-fade .4s ease forwards; }
.ue-n0 { animation-delay: 1.05s; } .ue-n1 { animation-delay: 1.3s; } .ue-n2 { animation-delay: 1.55s; }
.ue-cap { font-family: var(--mono); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); opacity: 0; animation: ue-fade .7s ease forwards; }
.ue-cap-u { animation-delay: .9s; } .ue-cap-e { animation-delay: 1.7s; }
.ue-ray { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ue-draw .7s ease-out forwards; }
.ue-pt { fill: var(--blue); opacity: 0; animation: ue-fade .3s ease forwards; }
.ue-ray.ue-r0 { animation-delay: 2.45s; } .ue-ray.ue-r1 { animation-delay: 2.6s; } .ue-ray.ue-r2 { animation-delay: 2.75s; }
.ue-pt.ue-r0 { animation-delay: 3.05s; } .ue-pt.ue-r1 { animation-delay: 3.2s; } .ue-pt.ue-r2 { animation-delay: 3.35s; }

/* Cycling texts: 8 services x 2.4 s = 19.2 s loop; 4 surface sets x 4.8 s in step */
.ue-svc, .ue-set { opacity: 0; transform-box: fill-box; }
.ue-svc { animation: ue-cycle8 19.2s ease-in-out infinite; animation-delay: calc(2.4s + var(--i) * 2.4s); }
.ue-set { animation: ue-cycle6 19.2s ease-in-out infinite; animation-delay: calc(2.6s + var(--k) * 3.2s); }
.ue-svc-k { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; fill: var(--muted); }
.ue-svc-n { font-size: 27px; font-weight: 600; letter-spacing: -.02em; fill: var(--ink); }
.ue-set text { font-size: 27px; font-weight: 600; letter-spacing: -.02em; fill: var(--ink); }
@keyframes ue-cycle8 {
  0% { opacity: 0; transform: translateY(14px); }
  2.5% { opacity: 1; transform: none; }
  10% { opacity: 1; transform: none; }
  12.5% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes ue-cycle6 {
  0% { opacity: 0; transform: translateY(12px); }
  3% { opacity: 1; transform: none; }
  14% { opacity: 1; transform: none; }
  16.67% { opacity: 0; transform: translateY(-12px); }
  100% { opacity: 0; transform: translateY(-12px); }
}
@keyframes ue-cycle4 {
  0% { opacity: 0; transform: translateX(-10px); }
  3% { opacity: 1; transform: none; }
  22% { opacity: 1; transform: none; }
  25% { opacity: 0; transform: translateX(10px); }
  100% { opacity: 0; }
}
@keyframes ue-draw { to { stroke-dashoffset: 0; } }
@keyframes ue-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ue-trace, .ue-node, .ue-cap, .ue-pt { opacity: 1; animation: none; }
  .ue-bold, .ue-ray { stroke-dashoffset: 0; animation: none; }
  .ue-svc, .ue-set { animation: none; }
  .ue-svc[style*="--i:0"], .ue-set[style*="--k:0"] { opacity: 1; }
}
@media (max-width: 1100px) {
  .hero__top { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .hero--stage .hero__inner { height: auto; min-height: 0; max-height: none; }
  .hero__stage { flex: none; }
  .ue-wrap, .ue-anim { height: auto; }
}
@media (max-width: 680px) {
  .hero--stage .hero__inner { min-height: 0; padding-top: 36px; }
  .hero__stage { min-height: 0; margin-top: 24px; }
  .ue-svc-n { font-size: 34px; }
  .ue-svc-k, .ue-cap { font-size: 19px; }
  .ue-set text { font-size: 34px; }
}
@media (max-width: 680px) { .hero__line { font-size: .64rem; letter-spacing: .06em; } }
