/* TechProgeny v2 — brand: black chip, amber P */
:root {
  --ink: #0a0a0a;
  --ink-2: #2b2d31;
  --muted: #5f646d;
  --line: #e4e6ea;
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --amber: #f1ac0c;
  --amber-deep: #c98b00;
  --amber-soft: #fff4d6;
  --night: #070707;
  --on-night: #f5f5f4;
  --on-night-muted: #9a9ea6;
  --destructive: #b42318;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-control: 999px;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 80px);
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.45em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--amber); padding: 8px 12px; z-index: 30; }
.hl { color: var(--amber-deep); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.bar { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--amber-deep); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: var(--radius-control); }
.nav a:hover { background: var(--bg-2); }
.nav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--ink-2); }
.menu-btn { display: none; font: inherit; font-weight: 600; background: var(--bg-2); border: 0; padding: 9px 16px; border-radius: var(--radius-control); cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 1rem; padding: 15px 26px; border-radius: var(--radius-control); text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.1; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffbb1f; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--bg-2); }
.head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 56px); }
.head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 700; color: var(--ink-2); background: var(--amber-soft); padding: 6px 14px; border-radius: var(--radius-control); margin-bottom: 20px; }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: block; }
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); overflow: hidden; background: radial-gradient(1200px 520px at 85% 30%, #fff8e6 0%, rgba(255,248,230,0) 60%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { display: flex; gap: clamp(20px, 3vw, 40px); margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof div { font-size: 0.92rem; color: var(--muted); line-height: 1.3; }
.proof strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--ink); letter-spacing: -0.03em; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero h1 { max-width: 14ch; } }
.circuit { width: 100%; height: auto; }
.circuit .tr { fill: none; stroke: #d6d9de; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.circuit .sig { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 18 260; animation: flow 3.2s linear infinite; }
.circuit .sig:nth-of-type(2n) { animation-duration: 4.1s; animation-delay: -1.3s; }
.circuit .sig:nth-of-type(3n) { animation-duration: 3.6s; animation-delay: -2.2s; }
.circuit .via { fill: #fff; stroke: #c3c7ce; stroke-width: 2.5; }
.circuit .pad rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.circuit .pad text { font-family: var(--display); font-weight: 600; font-size: 15px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.circuit .pad.hot rect { fill: var(--ink); stroke: var(--ink); }
.circuit .pad.hot text { fill: #fff; }
.circuit .glow { fill: url(#glow); }
@keyframes flow { from { stroke-dashoffset: 278; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .circuit .sig { animation: none; stroke-dasharray: none; opacity: .5; } .marquee .track { animation: none; } }
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: #fff; }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: #a3a8b0; white-space: nowrap; letter-spacing: -0.02em; }
@keyframes slide { to { transform: translateX(-50%); } }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10,10,10,.25); border-color: #d2d5da; }
.svc .ico { width: 72px; height: 72px; border-radius: 18px; background: var(--amber-soft); display: grid; place-items: center; margin-bottom: 26px; }
.svc .ico svg { width: 40px; height: 40px; }
.svc h3 { font-size: 1.45rem; }
.svc p { color: var(--muted); margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.chips li { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-control); background: var(--bg-2); color: var(--ink-2); }
.svc.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.svc.dark p { color: var(--on-night-muted); }
.svc.dark .ico { background: rgba(241,172,12,.14); }
.svc.dark .chips li { background: #1d1f23; color: #d9dbe0; }
@media (max-width: 980px) { .cards3 { grid-template-columns: 1fr; } }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.work:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10,10,10,.25); }
.work .viz { background: var(--night); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 18px; }
.work .viz svg { width: 100%; height: 100%; }
.work .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.work .kind { font-size: 0.85rem; font-weight: 700; color: var(--amber-deep); margin-bottom: 8px; }
.work h3 { font-size: 1.25rem; }
.work p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
@media (max-width: 980px) { .works { grid-template-columns: 1fr; } }
.viz text { font-family: var(--display); font-size: 13px; font-weight: 600; fill: #e8e9ec; text-anchor: middle; dominant-baseline: central; }
.viz .box { fill: #17191d; stroke: #34373e; stroke-width: 1.5; }
.viz .box.hot { fill: var(--amber); stroke: var(--amber); }
.viz .box.hot + text, .viz text.dk { fill: var(--ink); }
.viz .ln { stroke: #4a4e57; stroke-width: 2; fill: none; }
.viz .ln.a { stroke: var(--amber); stroke-dasharray: 6 6; animation: flow2 1.2s linear infinite; }
.viz .cap { font-size: 11px; font-weight: 500; fill: var(--on-night-muted); }
@keyframes flow2 { to { stroke-dashoffset: -12; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 10px, transparent 10px 18px); }
.steps li { position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--amber); font-family: var(--display); font-weight: 700; font-size: 1.3rem; margin-bottom: 22px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10,10,10,.25); }
.post-card .cov { aspect-ratio: 16 / 9; background: var(--night); position: relative; overflow: hidden; }
.post-card .cov img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cov svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-card .pb { padding: 22px 24px 26px; }
.post-card .meta { color: var(--muted); font-size: 0.88rem; margin: 0 0 8px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.status { color: var(--muted); }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr; } }
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 18px 32px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.5rem; color: var(--amber-deep); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }
.cta { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.cta-box { position: relative; overflow: hidden; background: var(--amber); border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-box h2 { margin-bottom: 14px; max-width: 16ch; }
.cta-box p { font-size: 1.15rem; max-width: 44ch; color: #2a2108; }
.cta-box .mark { justify-self: end; width: min(260px, 100%); aspect-ratio: 1; background: #fff; border-radius: 40px; display: grid; place-items: center; padding: 22px; box-shadow: 0 30px 60px -30px rgba(80,50,0,.5); transform: rotate(-6deg); }
@media (max-width: 760px) { .cta-box { grid-template-columns: 1fr; } .cta-box .mark { display: none; } }
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--amber); }
.site-footer .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #1f2125; }
/* page hero */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(900px 420px at 90% 0%, #fff4d6 0%, rgba(255,244,214,0) 65%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 16ch; }
.page-hero p { color: var(--muted); font-size: 1.2rem; max-width: 52ch; margin: 0; }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row .art { background: var(--night); border-radius: var(--radius-lg); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 28px; }
.svc-row .art svg { width: 100%; height: 100%; }
.svc-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.svc-row p { color: var(--muted); font-size: 1.1rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; font-size: 0.98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 5px; background: var(--amber); box-shadow: inset 0 0 0 4px var(--amber-soft); }
.svc-row.flip .art { order: 2; }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr; } .svc-row.flip .art { order: 0; } .ticks { grid-template-columns: 1fr; } }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-grid .lead { font-size: 1.25rem; color: var(--ink-2); }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.skill { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; }
.skill strong { display: block; font-family: var(--display); font-size: 1rem; margin-bottom: 4px; }
.skill span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.oss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .oss { grid-template-columns: 1fr; } }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.case .viz { background: var(--night); border-radius: var(--radius-lg); aspect-ratio: 16 / 10; padding: 22px; display: grid; place-items: center; }
.case .viz svg { width: 100%; height: 100%; }
.case dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 18px 0 0; }
.case dt { font-weight: 700; }
.case dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case dl { grid-template-columns: 1fr; gap: 2px; } .case dd { margin-bottom: 10px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 60px -36px rgba(10,10,10,.3); }
.field { margin-bottom: 20px; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.98rem; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-2); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--destructive) !important; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { position: relative; }
.radio-row input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-row span { display: inline-block; padding: 9px 16px; border-radius: var(--radius-control); background: var(--bg-2); font-weight: 600; font-size: 0.93rem; border: 1.5px solid transparent; }
.radio-row input:checked + span { background: var(--ink); color: #fff; }
.radio-row input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.field .opt { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-weight: 500; }
.field .help { font-size: 0.9rem; color: var(--muted); margin: 6px 0 0; }
.field .err { font-size: 0.9rem; color: var(--destructive); margin: 6px 0 0; font-weight: 600; }
.req { color: var(--amber-deep); }
.form-error { color: var(--destructive); margin-bottom: 14px; font-weight: 600; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .big { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 20px; background: var(--amber); display: grid; place-items: center; }
.side-card { background: var(--night); color: var(--on-night); border-radius: var(--radius-lg); padding: 32px; }
.side-card h2 { font-size: 1.5rem; }
.side-card ol { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: n; }
.side-card ol li { counter-increment: n; position: relative; padding: 0 0 18px 46px; color: var(--on-night-muted); }
.side-card ol li strong { color: var(--on-night); display: block; }
.side-card ol li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--amber); color: var(--ink); font-weight: 700; display: grid; place-items: center; font-family: var(--display); }
.side-card a { color: var(--amber); font-weight: 700; }
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.article h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.article .meta { color: var(--muted); }
.article .cover { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }
.article .body { font-size: 1.12rem; line-height: 1.75; }
.article .body h2 { font-size: 1.6rem; margin-top: 1.7em; }
.article .body blockquote { margin: 1.6em 0; padding: 18px 24px; border-radius: var(--radius-md); background: var(--amber-soft); font-weight: 600; font-size: 1.15rem; }
.article .body img { height: auto; border-radius: var(--radius-md); }
.article .body pre { overflow-x: auto; background: var(--bg-2); padding: 16px; border-radius: var(--radius-md); }
.cat-chips { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.cat-chips a { font-size: 0.85rem; font-weight: 700; text-decoration: none; padding: 6px 12px; border-radius: var(--radius-control); background: var(--amber-soft); }
.post-cta { margin-top: 56px; background: var(--night); color: var(--on-night); border-radius: var(--radius-lg); padding: 32px; }
.post-cta h2 { font-size: 1.5rem; }
.post-cta p { color: var(--on-night-muted); }
.silicon { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.si { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 18px 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.si:hover { border-color: var(--ink); transform: translateY(-2px); }
.si strong { font-family: var(--display); font-size: 1.02rem; letter-spacing: -0.01em; }
.si span:last-child { color: var(--muted); font-size: 0.88rem; }
.si .pin { position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 6px; background: var(--ink); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 12px var(--amber); }
.si:hover .pin { background: var(--amber); }
.ico-sm { width: 56px; height: 56px; border-radius: 16px; background: var(--amber-soft); display: grid; place-items: center; margin-bottom: 18px; }
.ico-sm svg { width: 32px; height: 32px; }
.kind-l { font-size: 0.88rem; font-weight: 700; color: var(--amber-deep); margin-bottom: 6px; }
.lead-s { font-size: 1.15rem; color: var(--ink-2); }
.muted-p { color: var(--muted); font-size: 1.05rem; }
.case h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.case .chips { margin-top: 18px; }
.oss a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.oss a:hover { border-color: var(--ink); transform: translateY(-2px); }
.oss strong { font-family: var(--display); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.oss span { color: var(--muted); font-size: 0.95rem; }
.page-hero .tag { margin-bottom: 18px; }
.svc-row .chips { margin-top: 4px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.post-tags li { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-control); background: var(--bg-2); }
.status.error { color: var(--destructive); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 9px 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius-control); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.more { margin-top: 36px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
/* static blog */
.post-card .cov-cat { position: absolute; left: 14px; bottom: 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: .02em; padding: 5px 10px; border-radius: var(--radius-control); background: var(--amber); color: var(--ink); }
.si.still:hover { border-color: var(--line); transform: none; }
.si.still:hover .pin { background: var(--ink); }
.oss .o { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.bc { font-size: 0.9rem; color: var(--muted); margin: 0 0 14px; }
.bc a { font-weight: 700; color: var(--ink); }
.article .lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink); margin: 18px 0 32px; padding-left: 16px; border-left: 4px solid var(--amber); }
.article .body ul, .article .body ol { padding-left: 1.3em; }
.article .body li { margin: 0.45em 0; }
.article .body ol li::marker { font-weight: 700; color: var(--amber-deep); }
.article .body ul li::marker { color: var(--amber-deep); }
/* v2 articles */
.ahero { background: var(--night); color: var(--on-night); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.ahero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(241,172,12,.22), rgba(241,172,12,0) 70%); pointer-events: none; }
.ahero .wrap { max-width: 920px; position: relative; z-index: 1; }
.ahero .bc, .ahero .bc a { color: var(--on-night-muted); }
.ahero .bc a { color: #fff; }
.ahero .kind { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .9rem; font-weight: 600; color: var(--on-night-muted); }
.ahero .kind span { background: var(--amber); color: var(--ink); font-weight: 700; padding: 5px 12px; border-radius: var(--radius-control); }
.ahero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; margin: 0 0 18px; }
.ahero .dek { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: #d6d6d3; max-width: 760px; margin: 0 0 24px; }
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; color: var(--on-night-muted); font-size: .92rem; line-height: 1.4; }
.byline img { border-radius: 10px; background: #fff; padding: 3px; }
.byline strong { color: #fff; }
.hstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hstats div { border: 1px solid #2a2c31; border-radius: var(--radius-md); padding: 18px 20px; background: rgba(255,255,255,.03); }
.hstats strong { display: block; font-family: var(--display); color: var(--amber); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.15; }
.hstats span { color: var(--on-night-muted); font-size: .9rem; }
.answer { border: 1px solid #2a2c31; border-radius: var(--radius-lg); padding: 22px 24px; background: rgba(255,255,255,.03); }
.answer .lbl, .post-cta .lbl { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.answer dl { margin: 0; display: grid; gap: 2px; }
.answer dl div { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid #23252a; }
.answer dl div:first-child { border-top: 0; }
.answer dt { color: #d6d6d3; }
.answer dd { margin: 0; color: #fff; font-weight: 700; }
.alayout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; justify-content: center; padding-top: 56px; padding-bottom: 72px; }
.aside { position: sticky; top: 96px; align-self: start; }
.toc p { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0 0 24px; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--amber); }
.aside-cta { width: 100%; justify-content: center; }
.prose { font-size: 1.1rem; line-height: 1.75; color: #1f2023; }
.prose > p:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2em 0 .6em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.12rem; margin: 0 0 4px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--amber-deep); font-weight: 700; }
.snapshot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.snapshot div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.snapshot div:nth-child(odd) { border-right: 1px solid var(--line); }
.snapshot div:nth-last-child(-n+2) { border-bottom: 0; }
.snapshot dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.snapshot dd { margin: 2px 0 0; font-weight: 600; font-size: 1rem; line-height: 1.45; }
.pull { margin: 36px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--amber); }
.pull blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.35; color: var(--ink); }
.pull figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.vsteps { list-style: none; padding: 0; margin: 24px 0; counter-reset: s; }
.vsteps li { position: relative; padding: 0 0 26px 60px; margin: 0; counter-increment: s; }
.vsteps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--amber); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.vsteps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.vsteps li:last-child::after { display: none; }
.vsteps p { margin: 0; color: #3b3d42; }
.tbl { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.tbl table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; min-width: 560px; }
.tbl caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.tbl th { background: var(--ink); color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:nth-child(even) td { background: var(--bg-2); }
.tbl td:first-child { font-weight: 700; }
.callout { margin: 28px 0; padding: 20px 22px; border-radius: var(--radius-lg); border: 1px solid; }
.callout strong { display: block; font-family: var(--display); margin-bottom: 4px; }
.callout p { margin: 0; font-size: 1rem; line-height: 1.65; }
.callout.tip { background: var(--amber-soft); border-color: #f3d38a; }
.callout.warn { background: #fff1ef; border-color: #f4c7c0; }
.callout.warn strong { color: #b42318; }
.takeaways { margin: 24px 0; padding: 24px; border-radius: var(--radius-lg); background: var(--bg-2); }
.takeaways h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { display: flex; gap: 12px; margin: 10px 0; }
.takeaways svg { flex: 0 0 24px; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--amber); color: var(--ink); margin-top: 3px; }
.prose .faq { margin-top: 8px; }
.prose .post-tags { padding-left: 0; }
.sources ol { font-size: .92rem; color: var(--muted); }
.sources a { color: var(--ink); }
.post-cta.big { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; margin-top: 56px; }
.post-cta.big h2 { margin: 0 0 8px; color: #fff; font-size: 1.6rem; }
.author { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.author img { border-radius: 14px; border: 1px solid var(--line); padding: 4px; }
.author p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 980px) {
  .alayout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
  .aside { position: static; }
  .aside .toc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px 4px; margin-bottom: 28px; }
  .aside-cta { display: none; }
  .hstats { grid-template-columns: 1fr; }
  .snapshot { grid-template-columns: 1fr; }
  .snapshot div:nth-child(odd) { border-right: 0; }
  .snapshot div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .answer dl div { grid-template-columns: 1fr; gap: 2px; }
  .post-cta.big { flex-direction: column; align-items: flex-start; padding: 28px; }
}
/* v2 blog + services */
.post-card .cov-cat.st { background: #fff; }
.pairbox { display: block; margin: 36px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius-md); text-decoration: none; transition: border-color .15s ease; }
.pairbox:hover { border-color: var(--ink); border-left-color: var(--amber); }
.pairbox span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 4px; }
.pairbox strong { font-family: var(--display); font-size: 1.08rem; line-height: 1.35; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--bg-2); border-radius: var(--radius-control); margin: 8px 0 18px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; font-size: .98rem; border: 0; background: transparent; padding: 10px 18px; border-radius: var(--radius-control); cursor: pointer; color: var(--muted); }
.tabs button span { font-weight: 600; font-size: .82rem; margin-left: 4px; opacity: .7; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.feat-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); text-decoration: none; overflow: hidden; transition: transform .2s ease; }
.feat-card:hover { transform: translateY(-4px); }
.feat-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(241,172,12,.25), rgba(241,172,12,0) 70%); }
.feat-card .cov-cat { position: static; align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-control); background: var(--amber); color: var(--ink); }
.feat-card h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; margin: 0; }
.feat-card .hs { display: flex; gap: 28px; }
.feat-card .hs strong { display: block; font-family: var(--display); color: var(--amber); font-size: 1.3rem; }
.feat-card .hs span { color: var(--on-night-muted); font-size: .85rem; }
.feat-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: auto; }
.feat-card .more svg { width: 18px; height: 18px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc8 { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.svc8:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 40px -20px rgba(10,10,10,.3); }
.svc8 .num { font-family: var(--display); font-weight: 700; color: var(--amber-deep); font-size: .9rem; }
.svc8 h3 { font-size: 1.18rem; line-height: 1.25; margin: 14px 0 8px; }
.svc8 p { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0 0 18px; }
.svc8 .go { margin-top: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); transition: background .2s ease; }
.svc8 .go svg { width: 18px; height: 18px; }
.svc8:hover .go { background: var(--amber); }
.svc8.dark { background: var(--night); border-color: var(--night); color: var(--on-night); }
.svc8.dark h3 { color: #fff; }
.svc8.dark p { color: var(--on-night-muted); }
.svc8.dark .go { background: var(--amber); color: var(--ink); }
.svc8.dark .num { color: var(--amber); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc8 { min-height: 0; } .feat { grid-template-columns: 1fr; } }
.shero { background: var(--night); color: var(--on-night); padding: clamp(48px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.shero::after { content: ""; position: absolute; right: -140px; bottom: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(241,172,12,.22), rgba(241,172,12,0) 70%); }
.shero .wrap { position: relative; z-index: 1; }
.shero .bc, .shero .bc a { color: var(--on-night-muted); }
.shero .bc a { color: #fff; }
.shero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; max-width: 900px; margin: 0 0 18px; }
.shero .dek { color: #d6d6d3; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 720px; margin: 0 0 28px; }
.shero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn-ghost-d { border-color: #3a3d44; color: #fff; background: transparent; }
.btn-ghost-d:hover { border-color: #fff; }
.chips.dk li { background: rgba(255,255,255,.06); color: #e6e6e3; }
.deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.deliver > div { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.deliver .dot { display: block; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); box-shadow: inset 0 0 0 7px var(--ink), inset 0 0 0 14px var(--amber); margin-bottom: 16px; }
.deliver h3 { font-size: 1.1rem; margin: 0 0 6px; }
.deliver p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.plist li { display: flex; gap: 12px; font-size: 1.05rem; line-height: 1.55; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plist svg { flex: 0 0 24px; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--amber); margin-top: 2px; }
.svc-mini { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-mini a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius-control); text-decoration: none; font-weight: 600; }
.svc-mini a:hover { border-color: var(--ink); }
.svc-mini svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .deliver { grid-template-columns: 1fr; } .plist { grid-template-columns: 1fr; } }
/* floating contact button */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 14px 34px -10px rgba(10,10,10,.45), 0 0 0 1px rgba(10,10,10,.08); opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.fab.on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: #ffbe2e; }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.fab svg { flex: 0 0 24px; }
@media (max-width: 600px) { .fab { right: 16px; bottom: 16px; padding: 15px; } .fab span { display: none; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }