/* pmanaktala.com — one stylesheet, no build step. */

:root {
  --bg: #f5f4f0;
  --bg-2: #eceae4;
  --surface: #ffffff;
  --ink: #141417;
  --ink-2: #3a3a42;
  --muted: #6b6b75;
  --line: #e2e0d9;
  --line-2: #d3d0c7;
  --accent: #d2561f;
  --accent-ink: #ffffff;
  --accent-soft: #fbe7dc;
  --green: #2f6b4f;
  --green-soft: #e1eee6;
  --blue: #3b5f8a;
  --shadow: 0 1px 2px rgb(20 20 23 / .04), 0 12px 40px -12px rgb(20 20 23 / .12);
  --phone-shadow: 0 30px 60px -24px rgb(20 20 23 / .35);
  --radius: 20px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0f;
    --bg-2: #141417;
    --surface: #17171b;
    --ink: #f2f1ed;
    --ink-2: #cfcfd4;
    --muted: #9a9aa4;
    --line: #26262c;
    --line-2: #34343b;
    --accent: #ff8047;
    --accent-ink: #1a0d06;
    --accent-soft: #3a1d10;
    --green: #7cc9a0;
    --green-soft: #15291f;
    --blue: #8fb3e0;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 40px -12px rgb(0 0 0 / .6);
    --phone-shadow: 0 30px 60px -24px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0f;
  --bg-2: #141417;
  --surface: #17171b;
  --ink: #f2f1ed;
  --ink-2: #cfcfd4;
  --muted: #9a9aa4;
  --line: #26262c;
  --line-2: #34343b;
  --accent: #ff8047;
  --accent-ink: #1a0d06;
  --accent-soft: #3a1d10;
  --green: #7cc9a0;
  --green-soft: #15291f;
  --blue: #8fb3e0;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 40px -12px rgb(0 0 0 / .6);
  --phone-shadow: 0 30px 60px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.92rem; padding: 6px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg-2); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; cursor: pointer; padding: 0;
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; }
:root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .moon { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font: 500 0.95rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 0.88rem; }
.btn svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 28px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); letter-spacing: -0.045em; line-height: 0.98; }
.hero h1 .serif { color: var(--accent); letter-spacing: -0.02em; }
.hero .lede { margin-top: 28px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero .cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }

.id-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; display: grid; gap: 18px;
}
.id-card .who { display: flex; gap: 14px; align-items: center; }
.id-card .who img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.id-card .who strong { display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.id-card dl { margin: 0; display: grid; gap: 0; }
.id-card dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 0.93rem; }
.id-card dt { color: var(--muted); font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 3px; }
.id-card dd { margin: 0; }
.id-card .links { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Proof strip ---------- */
.proof { border-block: 1px solid var(--line); background: var(--bg-2); }
.proof ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.proof li { padding: 28px 22px; border-left: 1px solid var(--line); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof .n { display: block; white-space: nowrap; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.proof .n .arrow { color: var(--accent); font-weight: 400; }
.proof .l { display: block; margin-top: 8px; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) {
  .proof ul { grid-template-columns: repeat(2, 1fr); }
  .proof li, .proof li:first-child { padding: 22px 16px 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof li:nth-child(-n+2) { border-top: 0; }
  .proof li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .proof li:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
section.block { padding: clamp(72px, 10vw, 128px) 0 0; scroll-margin-top: 64px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .kicker { color: var(--accent); margin-bottom: 14px; display: block; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; }
.sec-head p { color: var(--muted); max-width: 34em; justify-self: end; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* ---------- Work bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px);
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-12 { grid-column: span 12; }
@media (max-width: 980px) { .span-7, .span-5, .span-6 { grid-column: span 12; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  font: 500 0.72rem/1 var(--mono); letter-spacing: 0.03em; text-transform: uppercase;
}
.tag.hot { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.tag.ok { color: var(--green); background: var(--green-soft); border-color: transparent; }
.tag.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.card h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.03em; }
.card .sum { color: var(--ink-2); }
.card .stack { color: var(--muted); font-family: var(--mono); font-size: 0.76rem; margin-top: auto; padding-top: 6px; }

details.more { border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after {
  content: "+"; font: 400 1.1rem/1 var(--mono); color: var(--accent);
  transition: transform .2s;
}
details.more[open] summary::after { transform: rotate(45deg); }
details.more .body { padding-top: 12px; display: grid; gap: 12px; color: var(--ink-2); font-size: 0.97rem; }

/* visuals inside cards */
.viz {
  border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line);
  padding: clamp(16px, 2.4vw, 24px); overflow: hidden;
}
.chain { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.chain span { padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.92rem; }
.chain i { font-style: normal; color: var(--accent); font-family: var(--mono); }
.scan { margin-top: 16px; display: flex; align-items: center; gap: 14px; }
.barcode { height: 38px; flex: 0 0 132px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); border-radius: 3px; position: relative; }
.barcode::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: scanline 2.4s ease-in-out infinite; }
@keyframes scanline { 0%,100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }
.scan p { font-size: 0.86rem; color: var(--muted); line-height: 1.4; }

.route svg { width: 100%; height: auto; display: block; }
.route .node rect { fill: var(--surface); stroke: var(--line-2); }
.route .node.hi rect { fill: var(--accent-soft); stroke: var(--accent); }
.route text { fill: var(--ink); font: 500 13px var(--sans); }
.route text.sub { fill: var(--muted); font: 400 9.5px var(--mono); }
.route .wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.route .flow { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 8; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

.bignum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.bignum .from { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.04em; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--accent); }
.bignum .to { font-size: clamp(3.4rem, 7vw, 5.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.bignum .unit { flex-basis: 100%; font-size: 0.86rem; color: var(--muted); }
.kit { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.kit span { font-size: 0.8rem; padding: 5px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }

table.states { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.states th { text-align: left; font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 0 12px 10px 0; }
table.states td { padding: 11px 12px 11px 0; border-top: 1px solid var(--line); }
table.states td:first-child { font-family: var(--mono); font-size: 0.84rem; color: var(--accent); }
table.states .both { font-weight: 600; }

.mini-fix { display: grid; gap: 10px; }
.mini-fix .num { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.mini-fix .num .arrow { color: var(--accent); font-weight: 400; }

.note { margin-top: 16px; color: var(--muted); font-size: 0.86rem; display: flex; gap: 8px; align-items: center; }
.note svg { width: 14px; height: 14px; flex: none; }

/* ---------- Apps ---------- */
.app {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--line);
  background: var(--surface); overflow: hidden; position: relative;
}
.app + .app { margin-top: 16px; }
.app.flip .app-copy { order: 2; }
.app-copy { display: grid; gap: 16px; align-content: center; }
.app-copy .head { display: flex; align-items: center; gap: 14px; }
.app-copy .head img { width: 52px; height: 52px; border-radius: 12px; }
.app-copy h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; }
.app-copy p { color: var(--ink-2); }
.app-copy .stack { color: var(--muted); font-family: var(--mono); font-size: 0.76rem; }
.app-copy .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.shots { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 2vw, 20px); position: relative; }
.shots::before { content: ""; position: absolute; inset: 12% 4% -10%; border-radius: 50%; background: var(--glow, var(--accent-soft)); filter: blur(50px); opacity: .9; z-index: 0; }
.phone {
  position: relative; z-index: 1; flex: 0 1 220px; aspect-ratio: 660 / 1434;
  border-radius: clamp(22px, 3vw, 34px); overflow: hidden;
  border: clamp(4px, .6vw, 7px) solid #0b0b0d; background: #0b0b0d;
  box-shadow: var(--phone-shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.lift { transform: translateY(-28px); }
.app.dump { --glow: rgb(120 140 255 / .22); }
.app.void { --glow: rgb(236 120 170 / .3); }
.app.roamed { --glow: rgb(214 150 70 / .28); }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app.flip .app-copy { order: 0; }
  .phone { flex-basis: 170px; }
  .phone.lift { transform: translateY(-16px); }
}
@media (max-width: 480px) {
  .shots .phone:nth-child(3) { display: none; }
  .phone { flex-basis: 46%; }
}

.minis { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .minis { grid-template-columns: 1fr; } }
.minis .card h3 { font-size: 1.35rem; }
.minis .card p { color: var(--ink-2); font-size: 0.96rem; }

/* ---------- How I work ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }
.principles .card .big { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.2; font-weight: 500; }
.principles .card .big .serif { color: var(--accent); }
.owns { display: flex; flex-wrap: wrap; gap: 6px; }
.owns span { font-size: 0.82rem; padding: 5px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }

/* ---------- Experience ---------- */
.exp { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
@media (max-width: 900px) { .exp { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline .when { color: var(--muted); font-family: var(--mono); font-size: 0.8rem; padding-top: 4px; }
.timeline h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.timeline .role { color: var(--muted); font-size: 0.93rem; margin-top: 2px; }
.timeline p.d { margin-top: 10px; color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }
.side { display: grid; gap: 16px; align-content: start; }
.side h4 { font: 500 0.74rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.edu p + p { margin-top: 10px; }
.edu strong { display: block; }
.skills { display: grid; gap: 16px; }
.skills div p { font-size: 0.93rem; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact {
  --c-bg: #131316; --c-ink: #f2f1ed; --c-muted: #a8a8b0; --c-line: rgb(242 241 237 / .22);
  margin-top: clamp(72px, 10vw, 128px);
  background: var(--c-bg); color: var(--c-ink); border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(36px, 7vw, 88px); display: grid; gap: 28px; position: relative; overflow: hidden;
}
.contact::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: var(--accent); opacity: .22; filter: blur(80px); }
.contact h2 { font-size: clamp(2.4rem, 6.4vw, 5rem); letter-spacing: -0.045em; line-height: 1; position: relative; z-index: 1; }
.contact h2 .serif { color: var(--accent); }
.contact p { color: var(--c-muted); max-width: 34em; position: relative; z-index: 1; }
.contact .cta { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.contact .btn { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.contact .btn:hover { border-color: var(--c-ink); }
.contact .btn.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.mail { font-size: clamp(1.3rem, 3.4vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; text-decoration: none; position: relative; z-index: 1; width: fit-content; max-width: 100%; overflow-wrap: anywhere; border-bottom: 2px solid var(--accent); }

footer.foot { padding: 40px 0 56px; color: var(--muted); font-size: 0.88rem; }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.foot nav { display: flex; gap: 18px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--ink); }

/* ---------- Scroll reveal (progressive) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .barcode::after, .route .flow { animation: none; }
}

/* ---------- Simple pages (privacy, support) ---------- */
.doc { padding: clamp(40px, 8vw, 96px) 0 24px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.035em; margin: 10px 0 20px; }
.doc h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc a { color: var(--accent); }

/* Let the visual absorb spare height so paired cards don't leave a gap. */
.card > .viz { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.minis .card p.stack { font-size: 0.76rem; color: var(--muted); }
.route .steps { display: none; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.route .steps li { position: relative; padding: 10px 12px 10px 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.route .steps li + li { margin-top: 8px; }
.route .steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 12px; top: 11px; font: 500 0.78rem/1.4 var(--mono); color: var(--accent); }
.route .steps li.hi { background: var(--accent-soft); border-color: var(--accent); }
.route .steps b { font-weight: 600; font-size: 0.92rem; }
.route .steps span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 560px) {
  .route svg { display: none; }
  .route .steps { display: block; }
}
