:root {
  color-scheme: light;
  --page: #f4f7f8;
  --surface: #ffffff;
  --surface-soft: #edf3f4;
  --ink: #142b35;
  --muted: #657980;
  --line: #dce6e7;
  --navy: #102d38;
  --navy-deep: #0c242e;
  --teal: #148a78;
  --teal-dark: #0f6c60;
  --lime: #c8e971;
  --shadow: 0 22px 60px rgba(19, 48, 57, .09);
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #101c21;
  --surface: #17272d;
  --surface-soft: #1d3238;
  --ink: #edf5f4;
  --muted: #a0b4b8;
  --line: #30464c;
  --navy: #102b34;
  --navy-deep: #0b2028;
  --teal: #48b5a0;
  --teal-dark: #79d1bd;
  --lime: #d0ec80;
  --shadow: 0 22px 60px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-width: 320px;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 6vw, 90px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  inset: 0 0 auto;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--teal);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 12px; letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; margin-top: 3px; }
.top-nav { display: flex; align-items: center; gap: 34px; height: 100%; }
.top-nav a { color: var(--muted); font-size: 13px; font-weight: 650; height: 100%; display: flex; align-items: center; position: relative; }
.top-nav a:hover, .top-nav a.active { color: var(--ink); }
.top-nav a.active::after { content: ""; height: 2px; background: var(--teal); position: absolute; inset: auto 0 0; }
.button {
  min-height: 44px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--teal); color: #fff; }
.button-primary:hover { background: var(--teal-dark); }
.button-outline { color: var(--ink); border-color: var(--line); background: var(--surface); }
.button-outline:hover { border-color: var(--teal); }
.button-light { background: var(--lime); color: #1b302c; }
.button-light:hover { background: #d8f492; }
.hero {
  background:
    radial-gradient(ellipse at 75% 50%, rgba(28, 138, 120, .22), transparent 37%),
    linear-gradient(115deg, var(--navy-deep), var(--navy));
  color: #f5faf7;
}
.landing-hero {
  min-height: 508px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, .85fr);
  align-items: center;
  padding: 56px clamp(24px, 10vw, 148px);
  overflow: hidden;
}
.hero-copy { max-width: 600px; position: relative; z-index: 1; }
.eyebrow { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; margin: 0 0 12px; }
.hero .eyebrow, .market-hero .eyebrow { color: var(--lime); }
.status-dot, .pulse { width: 7px; height: 7px; display: inline-block; background: var(--lime); border-radius: 100%; margin: 0 8px 1px 0; box-shadow: 0 0 0 4px rgba(200, 233, 113, .13); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.17; }
.hero h1, .market-hero h1 { font-size: clamp(38px, 5vw, 59px); letter-spacing: -.045em; margin: 0 0 18px; }
.hero h1 span, .market-hero h1 span { color: var(--lime); }
.hero-description { max-width: 480px; color: #c4d3d4; font-size: 16px; line-height: 1.75; margin-bottom: 26px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--teal-dark); font-size: 12px; font-weight: 750; }
.hero .text-link, .market-hero .text-link { color: var(--lime); }
.text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-footnote { color: #c4d3d4; font-size: 11px; margin-top: 30px; }
.hero-footnote span { color: var(--lime); margin-right: 6px; }
.hero-art { height: 360px; position: relative; display: grid; place-items: center; }
.art-glow { position: absolute; width: 250px; height: 210px; background: rgba(30, 159, 136, .28); filter: blur(65px); border-radius: 50%; }
.orbit { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(200, 233, 113, .12); border-radius: 50%; }
.orbit-two { width: 390px; height: 390px; border-color: rgba(255, 255, 255, .07); }
.server-stack { width: 208px; position: relative; z-index: 1; transform: perspective(650px) rotateY(-17deg) rotateX(3deg); filter: drop-shadow(18px 23px 12px rgba(0, 0, 0, .24)); }
.server-unit { height: 65px; margin-bottom: 7px; border: 1px solid #5a777e; border-radius: 8px; background: linear-gradient(130deg, #314f57, #192f37); position: relative; box-shadow: inset 0 1px rgba(255, 255, 255, .14); }
.server-unit::before { content: ""; position: absolute; inset: 8px auto 8px 11px; width: 4px; border-radius: 4px; background: var(--lime); }
.server-unit span { position: absolute; left: 26px; top: 16px; width: 46px; height: 31px; border: 1px solid rgba(218, 236, 222, .19); border-radius: 4px; }
.server-unit i { position: absolute; left: 89px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: #c1d0cc; box-shadow: 12px 0 #8fa7a5, 24px 0 #607a7d; }
.server-unit b { position: absolute; right: 16px; top: 17px; width: 21px; height: 21px; border: 1px solid #9fb3aa; border-radius: 50%; }
.server-base { display: flex; justify-content: space-around; padding: 6px 19px 0; }
.server-base span { width: 31px; height: 5px; border-radius: 0 0 5px 5px; background: #57727a; }
.art-label { position: absolute; z-index: 2; border: 1px solid rgba(255,255,255,.15); background: rgba(20, 47, 55, .78); border-radius: 8px; color: #dce8e5; font-size: 9px; font-weight: 750; letter-spacing: .1em; padding: 10px 13px; box-shadow: var(--shadow); }
.label-top { right: 4%; top: 22%; }
.label-bottom { bottom: 15%; left: 1%; text-transform: uppercase; }
.label-bottom span { color: var(--lime); font-size: 15px; margin-right: 6px; }
.trust-strip { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 17px 20px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 650; border-bottom: 1px solid var(--line); }
.trust-strip b { color: var(--teal); }
.section-wrap { max-width: 1180px; margin: 0 auto; padding: 76px 26px 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2, .process-intro h2, .bottom-cta h2, .quote-callout h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; margin: 0; }
.section-heading .eyebrow, .process-intro .eyebrow, .bottom-cta .eyebrow, .quote-callout .eyebrow { margin-bottom: 10px; }
.section-heading > .text-link { margin-bottom: 4px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.service-card { padding: 25px 24px 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-height: 246px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(20, 138, 120, .4); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 23px; margin-bottom: 18px; }
.icon-blue { color: #386d9c; background: #e8f1f8; }
.icon-orange { color: #b4633e; background: #fff0e7; }
.icon-green { color: #167261; background: #e5f5ed; }
[data-theme="dark"] .icon-blue { background: #263b4b; color: #9cc9ed; }
[data-theme="dark"] .icon-orange { background: #49342d; color: #f5b18d; }
[data-theme="dark"] .icon-green { background: #1d3c35; color: #8fd9c4; }
.card-kicker { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { font-size: 18px; letter-spacing: -.02em; margin: 7px 0 9px; }
.service-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 17px; }
.card-link { color: var(--teal-dark); font-size: 11px; font-weight: 750; }
.process-band { padding: 62px clamp(26px, 10vw, 145px); display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: center; background: var(--navy); color: #f5faf7; }
.process-intro h2 { max-width: 400px; margin-bottom: 14px; }
.process-intro > p:not(.eyebrow) { color: #c4d3d4; max-width: 420px; font-size: 13px; line-height: 1.8; margin-bottom: 23px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: flex-start; gap: 19px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.steps li:last-child { border-bottom: 0; }
.step-number { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding-top: 2px; }
.steps strong { font-size: 13px; }
.steps p { color: #b9cbcc; font-size: 11px; margin: 5px 0 0; }
.bottom-cta { max-width: 1180px; margin: 0 auto; padding: 56px 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bottom-cta h2 { font-size: 29px; }
.footer { min-height: 80px; padding: 18px clamp(20px, 6vw, 90px); border-top: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer > span { color: var(--muted); font-size: 10px; }
.footer > a:last-child { color: var(--teal-dark); font-size: 11px; font-weight: 750; white-space: nowrap; }
.footer-brand .brand-mark { width: 32px; height: 32px; font-size: 18px; }
.footer-brand strong { font-size: 10px; }
.footer-brand small { font-size: 8px; }

.market-main { min-height: 75vh; }
.market-hero { display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 48px; padding: 58px max(26px, calc((100% - 1120px) / 2)); background: linear-gradient(115deg, var(--navy-deep), var(--navy)); color: #f5faf7; }
.market-hero h1 { font-size: clamp(37px, 4.5vw, 53px); }
.market-hero .hero-description { font-size: 14px; max-width: 520px; margin-bottom: 22px; }
.market-summary { padding: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; }
.summary-icon { color: var(--lime); font-size: 26px; line-height: 1; }
.market-summary .eyebrow { margin-top: 14px; }
.market-summary strong { display: block; font-size: 17px; }
.market-summary > p:not(.eyebrow) { color: #c4d3d4; font-size: 11px; line-height: 1.7; margin: 8px 0 14px; }
.catalog-section { max-width: 1160px; margin: 0 auto; padding: 55px 26px 68px; }
.catalog-heading { align-items: center; margin-bottom: 19px; }
.catalog-heading h2 { font-size: 31px; }
.search-box { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); height: 43px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); }
.search-box > span:not(.visually-hidden) { font-size: 22px; line-height: 1; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input:focus-visible { outline: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 41px; }
.filter-button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 700; }
.filter-button:hover { border-color: var(--teal); color: var(--teal-dark); }
.filter-button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.catalog-status { color: var(--muted); font-size: 11px; }
.catalog-group { margin-top: 38px; }
.group-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 14px; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.group-heading .eyebrow { margin-bottom: 4px; font-size: 9px; }
.group-heading h3 { font-size: 21px; margin: 0; letter-spacing: -.025em; }
.group-heading > span { color: var(--muted); font-size: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { overflow: hidden; min-height: 283px; padding: 19px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.product-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-soft); color: var(--teal-dark); font-size: 19px; font-weight: 700; }
.product-type { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.product-card h4 { font-size: 16px; line-height: 1.3; margin: 0 0 8px; }
.product-card > p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0 0 14px; }
.product-stock { color: var(--muted); font-size: 9px; font-weight: 700; margin: 0 0 12px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 15px; }
.product-tag { padding: 4px 7px; border-radius: 4px; background: var(--surface-soft); color: var(--muted); font-size: 8px; font-weight: 700; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.product-footer > span { color: var(--teal-dark); font-size: 10px; font-weight: 750; }
.add-button { border: 0; background: transparent; color: var(--ink); padding: 5px 0 5px 8px; font-size: 10px; font-weight: 750; cursor: pointer; }
.add-button:hover { color: var(--teal-dark); }
.empty-results { padding: 25px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; }
.quote-callout { max-width: 1108px; margin: 0 auto 68px; padding: 30px 34px; border-radius: 13px; background: var(--navy); color: #f5faf7; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.quote-callout h2 { font-size: 25px; margin-bottom: 8px; }
.quote-callout > div > p:not(.eyebrow) { color: #c4d3d4; font-size: 11px; margin: 0; max-width: 590px; }
.cart-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; border-radius: 999px; background: var(--teal); color: white; font-size: 10px; }
.quote-panel { position: fixed; z-index: 22; top: 0; right: 0; bottom: 0; width: min(425px, 100%); padding: 26px; display: flex; flex-direction: column; background: var(--surface); box-shadow: -15px 0 50px rgba(0,0,0,.15); transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.quote-panel.is-open { transform: translateX(0); visibility: visible; }
.quote-panel-header { display: flex; justify-content: space-between; align-items: start; }
.quote-panel-header .eyebrow { margin-bottom: 4px; }
.quote-panel-header h2 { font-size: 26px; margin: 0; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.quote-note, .storage-note { color: var(--muted); font-size: 10px; line-height: 1.65; }
.quote-note { padding: 13px; margin: 19px 0; border-radius: 7px; background: var(--surface-soft); }
.quote-items { overflow: auto; flex: 1; }
.quote-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.quote-line strong { display: block; font-size: 11px; }
.quote-line small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.quantity-controls { display: flex; align-items: center; gap: 9px; }
.quantity-controls button, .remove-line { border: 0; background: transparent; color: var(--teal-dark); cursor: pointer; font-weight: 800; }
.quantity-controls button { width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 6px; }
.quantity-controls span { font-size: 10px; font-weight: 750; }
.remove-line { grid-column: 1 / -1; justify-self: start; padding: 0; font-size: 9px; }
.quote-empty { margin: auto 0; text-align: center; color: var(--muted); font-size: 12px; }
.quote-submit { width: 100%; }
.quote-submit:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.storage-note { margin: 10px 0 0; text-align: center; }
.panel-backdrop { position: fixed; z-index: 20; inset: 0; width: 100%; border: 0; background: rgba(8, 25, 31, .46); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; cursor: default; }
body.quote-open .panel-backdrop { opacity: 1; visibility: visible; }
body.quote-open { overflow: hidden; }
.request-dialog { width: min(480px, calc(100% - 30px)); max-height: min(90vh, 780px); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.request-dialog::backdrop { background: rgba(8, 25, 31, .62); }
.request-form { padding: 30px; display: flex; flex-direction: column; }
.draft-confirmation { padding: 30px; }
.draft-confirmation h2 { font-size: 25px; margin: 0 0 8px; }
.draft-confirmation label { display: block; font-size: 10px; font-weight: 750; margin: 0 0 5px; }
.draft-confirmation textarea { width: 100%; padding: 10px 11px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--page); color: var(--ink); font: 11px/1.6 Consolas, monospace; resize: vertical; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dialog-close { align-self: end; margin-bottom: 8px; }
.request-form h2 { font-size: 25px; margin: 0 0 8px; }
.dialog-intro { color: var(--muted); font-size: 11px; line-height: 1.65; margin: 0 0 19px; }
.request-form label { font-size: 10px; font-weight: 750; margin: 0 0 5px; }
.request-form label span { color: var(--muted); font-weight: 400; }
.request-form input, .request-form textarea { width: 100%; padding: 10px 11px; margin-bottom: 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--page); color: var(--ink); font-size: 12px; }
.request-form textarea { resize: vertical; }
.form-error { color: #b53737; font-size: 11px; }
.form-submit { margin-top: 3px; width: 100%; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translate(-50%, 12px); opacity: 0; visibility: hidden; padding: 11px 16px; border-radius: 8px; background: var(--navy-deep); color: #fff; font-size: 11px; box-shadow: var(--shadow); transition: all .2s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 820px) {
  .topbar { padding: 0 20px; }
  .top-nav { gap: 20px; }
  .landing-hero { grid-template-columns: 1fr .72fr; padding: 52px 7vw; }
  .hero-art { transform: scale(.86); }
  .process-band { gap: 38px; padding-left: 7vw; padding-right: 7vw; }
  .market-hero { grid-template-columns: 1fr 285px; gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-callout { margin-left: 26px; margin-right: 26px; }
}
@media (max-width: 620px) {
  .topbar { height: 66px; }
  .brand-mark { width: 34px; height: 34px; }
  .top-nav { gap: 14px; }
  .top-nav a { font-size: 11px; }
  .top-cta { display: none; }
  .cart-toggle { padding: 0 10px; min-height: 38px; gap: 6px; font-size: 10px; }
  .landing-hero { min-height: 0; display: block; padding: 50px 25px 25px; }
  .hero h1 { font-size: 40px; }
  .hero-description { font-size: 14px; }
  .hero-art { height: 275px; margin-top: 12px; transform: scale(.8); }
  .trust-strip { flex-wrap: wrap; gap: 7px 10px; font-size: 9px; }
  .trust-strip b { display: none; }
  .section-wrap { padding: 55px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-band { grid-template-columns: 1fr; gap: 28px; padding: 48px 24px; }
  .bottom-cta { padding: 42px 20px; align-items: flex-start; flex-direction: column; }
  .footer { align-items: flex-start; flex-direction: column; padding: 22px 20px; }
  .market-hero { grid-template-columns: 1fr; padding: 47px 23px; gap: 30px; }
  .market-hero h1 { font-size: 41px; }
  .market-summary { max-width: 420px; }
  .catalog-section { padding: 43px 18px 50px; }
  .catalog-heading { gap: 17px; }
  .catalog-heading h2 { font-size: 27px; }
  .search-box { width: 100%; }
  .filter-row { margin-bottom: 31px; }
  .filter-button { padding: 7px 10px; font-size: 9px; }
  .group-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .group-heading h3 { font-size: 19px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 250px; }
  .quote-callout { align-items: flex-start; flex-direction: column; padding: 25px; margin: 0 18px 50px; }
  .quote-callout h2 { font-size: 22px; }
  .request-form { padding: 23px; }
  .draft-confirmation { padding: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
