:root {
  /* Three colors only: ink black, white, and one pastel gradient wash */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F3F3;
  --ink: #0A0A0A;
  --ink-2: #2E2E2E;
  --ink-3: #5E5E5E;
  --line: #E4E4E4;
  --line-2: #CFCFCF;
  --accent: #0A0A0A;
  --accent-hover: #2A2A2A;
  --accent-ink: #FFFFFF;
  --tint: #F3F3F3;
  --signal: #0A0A0A;
  --ok: #0A0A0A;
  --ok-tint: #F3F3F3;
  --rack: #FFFFFF;
  --rack-2: #FFFFFF;
  --rack-line: #E4E4E4;
  --rack-ink: #0A0A0A;
  --rack-ink-2: #5E5E5E;
  --wash: linear-gradient(120deg, #FFE4D6 0%, #F6E3F4 45%, #E4E6FF 100%);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -16px rgba(0,0,0,.18);
  --radius: 14px;
  --radius-sm: 8px;
  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; }
.label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

/* Prototype strip */
.proto { background: var(--rack); color: var(--rack-ink-2); font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; text-align: center; padding: 8px 16px; }
.proto b { color: var(--signal); font-weight: 500; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--f-display); letter-spacing: -0.03em; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-2); position: relative; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.icon-btn .count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 600 10px/17px var(--f-mono); text-align: center; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .menu-btn { display: grid; }
  .nav .btn-ghost.hide-sm { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--surface-2); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 5px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .01em; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip.sys::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.chip.cap { background: var(--tint); color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-top { display: inline-flex; align-items: center; gap: 5px; font: 600 11px/1 var(--f-mono); color: var(--ok); background: var(--ok-tint); padding: 5px 8px; border-radius: 5px; letter-spacing: .02em; }

/* HERO */
.hero { padding-block: 56px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.035em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 22px; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.search { margin-top: 30px; display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font-size: 15.5px; outline: none; }
.search input::placeholder { color: var(--ink-3); }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-3); font-size: 13.5px; }
.hero-meta b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-block: 36px 48px; } }
@media (max-width: 520px) { .search { flex-direction: column; } .search input { height: 44px; } }

/* Patchbay rack */
.rack { background: var(--rack); border-radius: 14px; padding: 18px; color: var(--rack-ink); position: relative; box-shadow: 0 30px 60px -30px rgba(10,12,20,.55); border: 1px solid var(--rack-line); }
.rack-head { display: flex; justify-content: space-between; align-items: center; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rack-ink-2); padding: 2px 4px 14px; border-bottom: 1px dashed var(--rack-line); }
.rack-head .led { display: inline-flex; align-items: center; gap: 7px; }
.rack-head .led::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.rack-body { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26%; padding: 16px 4px 8px; }
.rack-col { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 2; }
.rack-col-title { font: 500 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rack-ink-2); margin-bottom: 4px; }
.jack { display: flex; align-items: center; gap: 10px; background: var(--rack-2); border: 1px solid var(--rack-line); border-radius: 7px; padding: 7px 10px; font: 500 12px/1.1 var(--f-mono); color: var(--rack-ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s; text-align: left; }
.jack:hover { border-color: #444B60; color: #fff; }
.jack .port { width: 14px; height: 14px; border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 50%, #05060A 0 38%, #3A4052 40% 58%, #23283A 60%); box-shadow: inset 0 0 0 1px #4A5168; }
.jack.on { border-color: var(--jc, var(--signal)); color: #fff; background: #1E2332; }
.jack.on .port { box-shadow: inset 0 0 0 2px var(--jc, var(--signal)), 0 0 10px -2px var(--jc, var(--signal)); }
.jack .n { margin-left: auto; color: var(--rack-ink-2); font-size: 10.5px; }
.cables { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.cables path { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.cables path.shadow { stroke: rgba(0,0,0,.5); stroke-width: 6; }
.cables path.draw { stroke-dasharray: 600; stroke-dashoffset: 0; animation: plug .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes plug { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.rack-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--rack-line); margin-top: 10px; padding: 14px 4px 2px; }
.rack-foot .readout { font: 500 12px/1.4 var(--f-mono); color: var(--rack-ink-2); }
.rack-foot .readout b { color: #fff; font-weight: 500; }
.rack-foot .btn { height: 36px; font-size: 13px; background: var(--signal); color: #111; }
.rack-foot .btn:hover { background: #FFB935; }
@media (max-width: 520px) {
  .rack { padding: 12px; }
  .rack-body { gap: 0 16%; }
  .jack { font-size: 10.5px; padding: 7px 7px; gap: 7px; }
  .jack .n { display: none; }
  .rack-foot { flex-direction: column; align-items: stretch; }
}

/* Sections */
section.block { padding-block: 64px; }
section.block + section.block { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head p { color: var(--ink-2); max-width: 36em; margin-top: 10px; }
.link-arrow { font-weight: 600; color: var(--accent); font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { gap: 9px; }

/* Package card */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .2s, transform .2s; position: relative; }
.pkg:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pkg-top { padding: 18px 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fmt { font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 7px; }
.fmt i { width: 8px; height: 8px; border-radius: 2px; background: var(--ink-3); display: inline-block; }
.fmt.sprint i { background: var(--accent); }
.fmt.session i { background: var(--signal); border-radius: 50%; }
.fmt.retainer i { background: var(--ok); transform: rotate(45deg); }
.save { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; }
.save:hover { background: var(--surface-2); color: var(--ink); }
.save.on { color: var(--accent); }
.pkg h3 { font-size: 19px; line-height: 1.18; padding: 10px 18px 0; letter-spacing: -0.015em; }
.pkg .sum { color: var(--ink-2); font-size: 14px; padding: 8px 18px 0; }
.pkg .chips { padding: 14px 18px 0; }
.pkg-foot { margin-top: auto; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 18px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface-2); flex: none; }
.who-name { font-weight: 600; font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-sub { font-size: 12px; color: var(--ink-3); }
.price { text-align: right; flex: none; }
.price b { font: 700 19px/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: block; }
.price span { font: 500 11px/1.6 var(--f-mono); color: var(--ink-3); }
.pkg .stretch { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.pkg .save, .pkg .who a { position: relative; z-index: 2; }

/* Expert card */
.experts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.xcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .15s; }
.xcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.xcard .photo { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; background: var(--surface-2); filter: saturate(.92); }
.xcard .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.xcard .niche { font: 600 17px/1.2 var(--f-display); letter-spacing: -0.015em; }
.xcard .name { font-size: 13.5px; color: var(--ink-2); }
.xcard .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.star { color: var(--signal); }
.from b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step { padding: 26px 24px; }
.step + .step { border-left: 1px solid var(--line); }
.step .k { font: 500 12px/1 var(--f-mono); color: var(--accent); }
.step h3 { font-size: 21px; margin: 14px 0 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--line); } }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.cmp.old { background: transparent; }
.cmp.new { background: var(--rack); color: var(--rack-ink); border-color: var(--rack-line); }
.cmp h3 { font-size: 22px; margin-bottom: 18px; }
.cmp.new h3 { color: #fff; }
.cmp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cmp li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14.5px; }
.cmp.old li { color: var(--ink-2); }
.cmp li svg { margin-top: 3px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* CTA band */
.band { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.band p { opacity: .85; margin-top: 10px; }
.band .actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.band .btn-inv { background: var(--accent-ink); color: var(--accent); }
.band .btn-line { border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); color: var(--accent-ink); background: transparent; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px; } .band .actions { justify-content: flex-start; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; margin-top: 40px; color: var(--ink-3); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Browse */
.page-head { padding-block: 40px 24px; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.page-head p { color: var(--ink-2); margin-top: 10px; max-width: 40em; }
.browse { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-bottom: 40px; align-items: start; }
.filters { position: sticky; top: calc(80px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 22px; }
.fgroup h4 { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.fopts { display: flex; flex-direction: column; gap: 2px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.fopt:hover { background: var(--surface-2); color: var(--ink); }
.fopt input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.fopt .c { margin-left: auto; font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.range-row { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-mono); color: var(--ink-2); margin-top: 8px; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface-2); padding: 3px; border-radius: 9px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 7px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.select { height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 0 10px; font-size: 13.5px; }
.result-count { font: 500 12px/1 var(--f-mono); color: var(--ink-3); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters button { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 5px 9px; font: 500 12px/1 var(--f-mono); cursor: pointer; color: var(--ink-2); }
.active-filters button:hover { border-color: var(--ink-3); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .browse { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
  .filters.open { display: flex; }
  .filter-toggle { display: inline-flex; }
}

/* Profile */
.profile-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; padding-block: 40px 32px; align-items: start; }
.profile-hero .photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.crumbs { font: 500 12px/1 var(--f-mono); color: var(--ink-3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.profile-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.profile-hero .who-line { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat { padding: 14px 16px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 22px/1.1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--ink-3); }
@media (max-width: 800px) {
  .profile-hero { grid-template-columns: 1fr; gap: 24px; }
  .profile-hero .photo { max-width: 200px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-bottom: 40px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.h-sm { font-size: 22px; margin-bottom: 16px; }
.shipped { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.shipped li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review p { font-size: 15.5px; line-height: 1.6; }
.review .by { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.review .by b { color: var(--ink-2); font-weight: 600; }
.sample-note { font: 500 11px/1 var(--f-mono); color: var(--ink-3); margin-left: 8px; letter-spacing: .04em; }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.slot { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 8px 4px; text-align: center; cursor: pointer; font-size: 12px; line-height: 1.3; color: var(--ink-2); }
.slot b { display: block; font: 600 13px/1.2 var(--f-body); color: var(--ink); }
.slot:hover { border-color: var(--ink-3); }
.slot.on { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.slot.on b { color: var(--accent); }

/* Package detail */
.pkg-detail { padding-block: 36px 24px; }
.pkg-detail h1 { font-size: clamp(30px, 4vw, 48px); margin-top: 10px; max-width: 18em; }
.pkg-detail .lede { font-size: 18px; color: var(--ink-2); margin-top: 14px; max-width: 40em; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; margin-top: 8px; }
.spec-row { display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row > div { padding: 14px 18px; }
.spec-row > div:first-child { font: 500 11px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.spec ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
@media (max-width: 600px) { .spec-row { grid-template-columns: 1fr; } .spec-row > div:first-child { padding-bottom: 8px; } }
.timeline { display: grid; gap: 0; margin-top: 4px; }
.tl { display: grid; grid-template-columns: 90px 18px 1fr; gap: 12px; align-items: start; }
.tl .t { font: 500 12px/1.6 var(--f-mono); color: var(--ink-3); text-align: right; }
.tl .dot { position: relative; height: 100%; min-height: 36px; }
.tl .dot::before { content: ""; position: absolute; left: 50%; top: 5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.tl .dot::after { content: ""; position: absolute; left: 50%; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.tl:last-child .dot::after { display: none; }
.tl .d { font-size: 15px; padding-bottom: 18px; }
.buy-price { font: 700 36px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.buy-price small { font: 500 13px/1 var(--f-mono); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.buy-meta { display: grid; gap: 10px; margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); font-size: 14px; }
.buy-meta div { display: flex; justify-content: space-between; gap: 12px; }
.buy-meta span:first-child { color: var(--ink-3); }
.assure { display: grid; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.assure div { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(8,10,16,.55); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .18s ease both; }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: rise .28s cubic-bezier(.2,.8,.2,1) both; }
.modal-h { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.modal-h h3 { font-size: 20px; }
.modal-b { padding: 20px 22px; display: grid; gap: 16px; }
.modal-f { padding: 16px 22px 22px; display: flex; gap: 10px; justify-content: flex-end; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 13.5px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.input, .textarea, .field select { width: 100%; border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 10px 12px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus, .textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input.bad, .textarea.bad { border-color: #D4462C; }
.err { color: #D4462C; font-size: 12.5px; }
.pickers { display: flex; flex-wrap: wrap; gap: 6px; }
.pick { border: 1px solid var(--line-2); background: var(--surface); border-radius: 7px; padding: 7px 11px; font-size: 13.5px; cursor: pointer; color: var(--ink-2); transition: all .12s; }
.pick:hover { border-color: var(--ink-3); color: var(--ink); }
.pick.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* Match flow */
.match-wrap { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }
.progress { display: flex; gap: 6px; margin-bottom: 24px; }
.progress i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); }
.progress i.on { background: var(--accent); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: grid; gap: 20px; }
.panel-actions { display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 520px) { .panel { padding: 18px; } }
.match-res { display: grid; gap: 12px; }
.mr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.mr img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.mr h4 { font: 600 17px/1.25 var(--f-display); letter-spacing: -0.01em; }
.mr .why { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.score { width: 64px; height: 64px; position: relative; display: grid; place-items: center; font: 600 15px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
@media (max-width: 600px) { .mr { grid-template-columns: 48px minmax(0, 1fr); } .mr img { width: 48px; height: 48px; } .mr .score, .mr .go { grid-column: 2; } .score { width: auto; height: auto; justify-content: start; } .score svg { display: none; } }
.scanning { text-align: center; padding: 48px 20px; display: grid; gap: 14px; justify-items: center; }
.scan-bar { width: 220px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.scan-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent); animation: scan 1s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding-bottom: 48px; }
.builder .preview { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .builder .preview { position: static; } }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.perk { border-top: 2px solid var(--ink); padding-top: 14px; }
.perk b { font: 700 28px/1 var(--f-display); letter-spacing: -0.03em; display: block; font-variant-numeric: tabular-nums; }
.perk span { font-size: 14px; color: var(--ink-2); display: block; margin-top: 8px; }
@media (max-width: 700px) { .perks { grid-template-columns: 1fr; } }

/* Success */
.success { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 12px 0; }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: grid; place-items: center; }
.receipt { width: 100%; border: 1px dashed var(--line-2); border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; font-size: 13.5px; text-align: left; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; }
.receipt span:first-child { color: var(--ink-3); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 9px; font-weight: 500; font-size: 14px; z-index: 200; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); animation: rise .25s ease both; }

/* Saved drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); border-left: 1px solid var(--line); z-index: 101; display: flex; flex-direction: column; animation: slide .25s cubic-bezier(.2,.8,.2,1) both; padding-top: env(safe-area-inset-top, 0px); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-h { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-b { padding: 12px 20px; overflow: auto; flex: 1; display: grid; gap: 0; align-content: start; }
.drow { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drow img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.drow .t { font-weight: 600; font-size: 14px; line-height: 1.3; }
.drow .s { font-size: 12.5px; color: var(--ink-3); }
.drawer-f { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; }

.fade-in { animation: pagein .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pagein { from { opacity: .001; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  .experts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .xcard .body { padding: 12px; gap: 6px; }
  .xcard .niche { font-size: 15px; }
  .xcard .chips { display: none; }
  .xcard .row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .hero-meta { gap: 8px 18px; }
}

/* ===== Light gradient theme (intro.co-inspired): black, white, one pastel wash ===== */
body { background: #FFFFFF; }
body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 980px; background: var(--wash); opacity: .9; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
body { position: relative; isolation: isolate; }
.proto { background: #0A0A0A; color: #FFFFFF; }
.proto b { color: #FFFFFF; font-weight: 600; }
.nav { background: rgba(255,255,255,.72); border-bottom-color: rgba(10,10,10,.08); }
.btn { border-radius: 999px; }
.btn-ghost { background: #FFFFFF; border-color: #0A0A0A; }
.btn-ghost:hover { background: #0A0A0A; color: #FFFFFF; }
.hero h1 em { color: var(--ink); background: var(--wash); padding: 0 .12em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.search { border-color: #0A0A0A; border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); padding-left: 10px; }
.chip { background: #FFFFFF; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 999px; }
.chip.sys::before { background: #0A0A0A; width: 5px; height: 5px; }
.chip.cap { background: #0A0A0A; color: #FFFFFF; border-color: #0A0A0A; }
.badge-top { background: var(--wash); color: #0A0A0A; border-radius: 999px; }
.fmt i, .fmt.sprint i, .fmt.session i, .fmt.retainer i { background: #0A0A0A; }
.fmt.session i { border-radius: 50%; }
.fmt.retainer i { background: transparent; border: 1.5px solid #0A0A0A; transform: none; border-radius: 2px; }
.star { color: #0A0A0A; }
.pkg, .xcard, .spec, .side-card, .panel, .mr, .stats, .steps, .cmp.old { border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.pkg:hover, .xcard:hover { border-color: #0A0A0A; box-shadow: var(--shadow); }
.xcard .photo { filter: none; }
.link-arrow { color: #0A0A0A; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.step .k { color: #0A0A0A; font-weight: 600; }
.cmp.new { background: #0A0A0A; color: #FFFFFF; border-color: #0A0A0A; }
.cmp.new li span[style] { color: #FFFFFF !important; }
.band { background: #0A0A0A; color: #FFFFFF; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: var(--wash); opacity: .9; filter: blur(10px); pointer-events: none; }
.band > * { position: relative; z-index: 1; }
.band .btn-inv { background: #FFFFFF; color: #0A0A0A; }
.band .btn-line { border-color: #FFFFFF; color: #FFFFFF; background: rgba(10,10,10,.35); }
.slot.on { background: #0A0A0A; border-color: #0A0A0A; color: #FFFFFF; }
.slot.on b { color: #FFFFFF; }
.pick.on { background: #0A0A0A; color: #FFFFFF; border-color: #0A0A0A; }
.seg { background: rgba(10,10,10,.06); border-radius: 999px; }
.seg button { border-radius: 999px; }
.seg button.on { background: #0A0A0A; color: #FFFFFF; }
.select, .input, .textarea, .field select { border-color: var(--line-2); }
.success .tick { background: var(--wash); color: #0A0A0A; }
.icon-btn { border-radius: 999px; }
.save.on { color: #0A0A0A; }

/* Patchbay panel, light */
.rack { background: rgba(255,255,255,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid #0A0A0A; box-shadow: 0 30px 60px -34px rgba(0,0,0,.4); color: #0A0A0A; border-radius: 18px; }
.rack-head { color: var(--ink-3); border-bottom-color: var(--line-2); }
.rack-head .led::before { background: #0A0A0A; box-shadow: none; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.jack { background: #FFFFFF; border-color: var(--line-2); color: #0A0A0A; border-radius: 999px; padding: 6px 10px; }
.jack:hover { border-color: #0A0A0A; color: #0A0A0A; }
.jack .port { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #0A0A0A; }
.jack.on { background: #0A0A0A; border-color: #0A0A0A; color: #FFFFFF; }
.jack.on .port { background: #FFFFFF; box-shadow: inset 0 0 0 4px #0A0A0A, 0 0 0 1.5px #FFFFFF; }
.jack.on .n { color: rgba(255,255,255,.7); }
.jack.armed { background: var(--wash); color: #0A0A0A; border-color: #0A0A0A; }
.cables path { stroke: #0A0A0A !important; stroke-width: 2.5; }
.cables path.shadow { stroke: rgba(10,10,10,.08) !important; stroke-width: 7; }
.rack-foot { border-top-color: var(--line-2); }
.rack-foot .readout { color: var(--ink-3); }
.rack-foot .readout b { color: #0A0A0A; font-weight: 600; }
.rack-foot .btn { background: #0A0A0A; color: #FFFFFF; }
.rack-foot .btn:hover { background: #2A2A2A; }
.rack-body .rack-col { gap: 6px; }
.jack { font-size: 11.5px; }
.band .btn-line { background: #0A0A0A; }
.band::after { right: -140px; top: -230px; width: 380px; height: 380px; }

/* ===== Enterprise polish pass ===== */
.proto { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 16px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.proto span:first-child { padding: 2px 7px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.proto-short { display: none; }
@media (max-width: 640px) { .proto-long { display: none; } .proto-short { display: inline; } }

.nav .wrap { height: 64px; }
.icon-btn { width: 40px; height: 40px; border-color: var(--line-2); background: #FFFFFF; }

.hero { padding-block: 72px 88px; }
.hero-grid { gap: 64px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.04em; max-width: 11.5em; }
.hero h1 em { all: unset; }
.hero .hl { white-space: nowrap; background-image: var(--wash); background-repeat: no-repeat; background-size: 100% 34%; background-position: 0 88%; }
.hero-sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }

.search { margin-top: 32px; display: flex; align-items: center; gap: 6px; padding: 6px; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 16px 40px -24px rgba(0,0,0,.28); transition: border-color .15s, box-shadow .15s; max-width: 560px; }
.search:focus-within { border-color: #0A0A0A; box-shadow: 0 0 0 4px rgba(10,10,10,.06), 0 16px 40px -24px rgba(0,0,0,.28); }
.search-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 12px; color: var(--ink-3); cursor: text; }
.search-field svg { flex: none; }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; padding: 0; font-size: 16px; color: var(--ink); outline: none; text-overflow: ellipsis; }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-btn.btn { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; flex: none; }

.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; }
.popular span { color: var(--ink-3); margin-right: 2px; }
.popular a { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); color: var(--ink); font-weight: 500; transition: border-color .15s, background .15s; }
.popular a:hover { border-color: #0A0A0A; background: #FFFFFF; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 36px 0 0; padding: 0; }
.hero-stats div { padding: 0 28px; border-left: 1px solid var(--line-2); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hero-stats dd { margin: 8px 0 0; font: 600 26px/1 var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

section.block { padding-block: 80px; }
.sec-head { margin-bottom: 32px; }

@media (max-width: 640px) {
  .nav .wrap { height: 60px; }
  .hero { padding-block: 40px 56px; }
  .hero-grid { gap: 44px; }
  .hero h1 { font-size: 40px; line-height: 1.04; }
  .hero-sub { font-size: 16.5px; margin-top: 16px; }
  .search { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: 14px; margin-top: 28px; overflow: hidden; }
  .search-field { padding: 4px 16px; border-bottom: 1px solid var(--line); }
  .search input { height: 50px; }
  .search-btn.btn { height: 50px; margin: 8px; border-radius: 10px; }
  .popular { margin-top: 14px; gap: 6px; }
  .popular a { padding: 6px 11px; font-size: 13px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
  .hero-stats div { padding: 0 12px; }
  .hero-stats dd { font-size: 22px; }
  .hero-stats dt { font-size: 10px; }
  section.block { padding-block: 56px; }
  .rack { padding: 14px; border-radius: 16px; }
  .rack-body { gap: 0 14%; padding-top: 14px; }
  .jack { padding: 7px 9px; font-size: 11px; min-height: 34px; }
}
.hero .hl { background-image: linear-gradient(90deg, #FFC7AE 0%, #F2C2EA 50%, #C7CBFF 100%); background-size: 100% 30%; background-position: 0 90%; }
@media (max-width: 640px) {
  .popular { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .popular::-webkit-scrollbar { display: none; }
  .popular a { flex: none; }
}
@media (max-width: 640px) {
  .jack > span:not(.port):not(.n) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .jack { letter-spacing: -0.01em; }
}
/* Brand: Fractional Flow */
.brand { gap: 10px; font: 700 19px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name span { font-weight: 500; color: var(--ink-2); }
@media (max-width: 380px) { .brand { font-size: 17px; } .brand-mark { width: 28px; height: 28px; } }
/* Brand lockup from supplied logo */
.brand { gap: 10px; }
.brand-mark { width: auto; height: 26px; }
.brand-name { font: 700 16px/1 "Montserrat", var(--f-display); letter-spacing: .04em; color: #0A0A0A; white-space: nowrap; }
.brand-name span { font-weight: 500; color: #0A0A0A; }
@media (max-width: 380px) { .brand-name { font-size: 14px; } .brand-mark { height: 22px; } }

/* Custom quote pricing */
.buy-price { font-size: 32px; }
.buy-range { margin-top: 8px; font: 500 13px/1.5 var(--f-mono); color: var(--ink-3); }
.buy-range b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.price b { font-size: 16px; white-space: nowrap; }
.price span { white-space: nowrap; }
/* Longer value-prop headline */
.hero h1 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.04; max-width: 12.5em; }
@media (max-width: 600px) { .hero h1 { font-size: 35px; } }
