/* Shared styles for secondary pages (/products, 404).
   Tokens, nav, buttons and footer mirror the inline styles in /index.html. */
:root {
  --orange: #FF6B00;
  --orange-2: #FF8A2B;
  --orange-soft: #FFE9D6;
  --orange-tint: #FFF5EC;
  --ink: #0B0F1A;
  --ink-2: #161B2B;
  --ink-3: #232A40;
  --steel: #4A5468;
  --mute: #8A93A6;
  --line: #E6E8EE;
  --paper: #FAFAF7;
  --paper-2: #F4F2EC;
  --white: #FFFFFF;
  --ok: #1F9D6B;
  --shadow: 0 1px 0 rgba(11,15,26,.04), 0 20px 40px -20px rgba(11,15,26,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
}
.skip-link {
  position: absolute; top: -60px; left: 12px;
  background: var(--orange); color: #fff;
  padding: 10px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: -.01em; }
.serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,247,.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(11,15,26,.07);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--orange); display: grid; place-items: center; box-shadow: 0 2px 0 rgba(0,0,0,.06), inset 0 -2px 0 rgba(0,0,0,.18); }
.logo-mark svg { width: 16px; height: 16px; color: #fff; }
.nav-links { display: flex; gap: 28px; margin-left: 18px; font-size: 14px; color: var(--steel); }
.nav-links a { text-decoration: none; transition: color .15s; padding: 4px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  text-decoration: none; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap; box-shadow: 0 4px 12px -4px rgba(11,15,26,.3);
}
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(255,107,0,.45); }
.nav-cta svg { width: 14px; height: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; color: var(--ink); border-radius: 8px; }
.nav-toggle:hover { background: rgba(11,15,26,.06); }
.nav-toggle svg { display: block; width: 22px; height: 22px; }
.nav-drawer {
  display: none; position: fixed; inset: 68px 0 0 0;
  background: rgba(250,250,247,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  z-index: 49; flex-direction: column; padding: 24px 24px 40px; gap: 8px;
  border-top: 1px solid var(--line); overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { text-decoration: none; font-size: 20px; font-weight: 500; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--orange); }
.nav-drawer .drawer-cta { margin-top: 16px; background: var(--orange); color: #fff; padding: 16px 22px; border-radius: 14px; font-size: 17px; justify-content: center; gap: 10px; box-shadow: 0 12px 28px -10px rgba(255,107,0,.5); }
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s, border-color .15s;
  cursor: pointer; font-family: inherit; border: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 12px 28px -10px rgba(255,107,0,.55), inset 0 -2px 0 rgba(0,0,0,.14); }
.btn-primary:hover { background: #ff5500; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid rgba(11,15,26,.18); }
.btn-secondary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- PAGE HEAD ---------- */
.page-head { position: relative; padding: 64px 0 40px; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at 85% -20%, rgba(255,107,0,.10), transparent 60%);
}
.page-head > .wrap { position: relative; }
.section-meta {
  display: flex; align-items: center; gap: 14px;
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 20px;
}
.section-meta .num { color: var(--orange); }
.section-meta .rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(11,15,26,.15), transparent); max-width: 200px; }
.page-title { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; margin: 0 0 18px; text-wrap: balance; }
.page-title .accent, .section-title .accent { font-family: "Instrument Serif", serif; font-style: italic; color: var(--orange); font-weight: 400; }
.lead { font-size: 18px; line-height: 1.55; color: var(--steel); max-width: 640px; margin: 0; text-wrap: pretty; }
.section-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.025em; font-weight: 500; margin: 0 0 24px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--mute); margin-bottom: 24px; }
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: var(--orange); }

/* ---------- CATALOGUE ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.filter {
  font: inherit; font-size: 14px; cursor: pointer;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(11,15,26,.14); background: var(--white); color: var(--steel);
  transition: background .15s, color .15s, border-color .15s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter .count { font-family: "JetBrains Mono", monospace; font-size: 11px; opacity: .6; margin-left: 6px; }

.catalog { padding: 16px 0 112px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(11,15,26,.12); }
.card[hidden] { display: none; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.card-media img.fit-cover { object-fit: cover; padding: 0; }
.card-series {
  position: absolute; top: 14px; left: 14px;
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 6px;
}
.card-series.is-acrel { background: var(--steel); }
.card-series.is-splinergy { background: var(--orange); }
.card-body { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 24px; flex: 1; }
.card-model { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--mute); }
.card-title { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; font-weight: 600; margin: 4px 0 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--orange); }
.card-tagline { margin: 0; color: var(--steel); font-size: 15px; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  padding: 4px 9px; border-radius: 6px;
  background: var(--paper-2); color: var(--ink-3);
}
.chips li:first-child { background: var(--orange-tint); color: #B44A00; }

.block-label {
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin: 0 0 8px;
}
.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; line-height: 1.4; }
.caps li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.caps li::before {
  content: ""; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%;
  background: var(--orange-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.mini-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mini-specs div { background: var(--white); padding: 9px 12px; min-width: 0; }
.mini-specs dt { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 3px; }
.mini-specs dd { margin: 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.uses { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--steel); }
.uses li::before { content: "→ "; color: var(--orange); }

.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .cur { font-size: 13px; font-weight: 600; color: var(--orange); }
.price .amt { font-size: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.price .per { font-size: 13px; color: var(--mute); }
.price .quote { font-size: 18px; font-weight: 600; }
.card-actions { display: flex; gap: 8px; }

.note-bar {
  margin-top: 40px; padding: 18px 22px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--steel);
}

/* ---------- PRODUCT DETAIL ---------- */
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-bottom: 24px; }
@media (max-width: 900px) { .pd-hero { grid-template-columns: 1fr; gap: 32px; } }
.pd-media { background: #fff; border: 1px solid var(--line); border-radius: 24px; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; }
.pd-media img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.pd-media img.fit-cover { object-fit: cover; padding: 0; }
.pd-media.is-wide { aspect-ratio: 16 / 9; }
.pd-info .chips { margin: 20px 0 28px; }
.pd-price { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.pd-price .amt { font-size: 40px; }
.pd-price .sku { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--mute); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-section { padding: 72px 0 0; }
.pd-section:last-of-type { padding-bottom: 112px; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cap {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.cap .n { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--orange); }
.cap h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 10px 0 8px; }
.cap p { margin: 0; color: var(--steel); font-size: 15px; line-height: 1.5; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 34%; font-weight: 500; color: var(--steel); background: var(--paper); font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 560px) { .spec-table th, .spec-table td { padding: 12px 14px; } .spec-table th { width: 42%; } }
.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.use { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-weight: 500; }
.use::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,0,.15); flex-shrink: 0; }
.platform-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .platform-band { grid-template-columns: 1fr; padding: 28px; } }
.platform-band h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.platform-band p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.55; }
.platform-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.3); }
.platform-band .btn-secondary:hover { background: #fff; color: var(--ink); }
.platform-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 800px) { .platform-band .actions { justify-content: flex-start; } }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.related .card-body { gap: 10px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.nf .code { font-family: "JetBrains Mono", monospace; color: var(--orange); font-size: 14px; letter-spacing: .14em; }
.nf .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 60px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h4 { color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-family: "JetBrains Mono", monospace; font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; transition: color .15s; }
.footer ul a:hover { color: var(--orange); }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.55); line-height: 1.6; margin: 0 0 20px; max-width: 320px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.4); }
.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- DATA PLANS ---------- */
.plan-group { margin-bottom: 36px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.plan-head h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.plan-head p { margin: 0; color: var(--steel); font-size: 15px; }
.plan-tag { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 4px 8px; border-radius: 6px; background: var(--orange-tint); color: #B44A00; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.plan:hover { border-color: var(--orange); box-shadow: 0 10px 24px -16px rgba(255,107,0,.5); }
.plan-data { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.plan-data span { font-size: 13px; font-weight: 400; color: var(--mute); margin-left: 4px; letter-spacing: 0; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price .cur { font-size: 12px; font-weight: 600; color: var(--orange); }
.plan-price .amt { font-size: 20px; font-weight: 600; }
.plan-price .per { font-size: 12px; color: var(--mute); }
.plan .btn { margin-top: auto; }
.plan-notes { margin: 4px 0 0; font-size: 14px; color: var(--steel); }

/* ---------- LEGAL ---------- */
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--steel); font-size: 16px; line-height: 1.65; }
.legal a { color: var(--orange); }
.legal { padding-bottom: 112px; }

/* footer company address */
.footer-addr { font-style: normal; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.45); max-width: 320px; }
.footer-addr span { color: rgba(255,255,255,.35); }

/* ---------- SOLUTION PAGES ---------- */
.sol-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .sol-hero { grid-template-columns: 1fr; gap: 40px; } }
.room-card {
  position: relative; background: var(--ink); color: #fff; border-radius: 24px; padding: 28px;
  box-shadow: 0 40px 80px -40px rgba(11,15,26,.6); max-width: 420px; justify-self: center; width: 100%;
}
.rc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.rc-room { font-weight: 600; font-size: 18px; }
.rc-live { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6EE7B7; display: inline-flex; align-items: center; gap: 6px; }
.rc-live i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.rc-label { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.rc-bal { font-size: 56px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 4px 0 14px; }
.rc-bal span { font-size: 18px; color: var(--orange-2); margin-right: 6px; vertical-align: 24px; }
.rc-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.rc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: inherit; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.rc-grid div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px; }
.rc-grid span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.rc-grid b { font-size: 20px; font-weight: 600; }
.rc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rc-pill { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; }
.rc-pill.ok { background: rgba(52,211,153,.15); color: #6EE7B7; }
.rc-note { font-family: "JetBrains Mono", monospace; font-size: 11px; color: rgba(255,255,255,.5); }
.rc-toast {
  position: absolute; left: -28px; bottom: -26px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: grid; gap: 2px; font-size: 13px; border-left: 4px solid var(--ok);
}
.rc-toast span { color: var(--steel); font-size: 12px; }
@media (max-width: 560px) { .rc-toast { left: 12px; } }

.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pain { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 14px; padding: 22px; }
.pain h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.pain p { margin: 0; color: var(--steel); line-height: 1.5; font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px 24px 0 0; }
.step::before { content: ""; position: absolute; top: 40px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 12px); opacity: .5; }
.step:last-child::before { display: none; }
@media (max-width: 900px) { .step::before { display: none; } .step { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; } }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); color: #fff; font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 600; position: relative; }
.step h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--steel); line-height: 1.5; font-size: 15px; }

.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rec { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.rec:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rec-fit { align-self: flex-start; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--orange-tint); color: #B44A00; padding: 5px 9px; border-radius: 6px; }
.rec img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 8px 20px; }
.rec-model { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--mute); }
.rec-title { font-weight: 600; font-size: 17px; line-height: 1.25; margin: 4px 0 14px; }
.rec-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.rec-foot .amt { font-size: 22px; }
.rec-note { margin: 18px 0 0; color: var(--steel); font-size: 15px; }
.rec-note a { color: var(--orange); }
.lu-go { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lu-go svg { width: 14px; height: 14px; }

.estimator { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } }
.est-form { padding: 36px; }
.est-label { display: block; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; padding: 0; }
.est-count-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.est-count-row input[type=range] { flex: 1; accent-color: var(--orange); }
.est-count-row input[type=number] { width: 96px; font: inherit; font-size: 20px; font-weight: 600; padding: 8px 12px; border: 1px solid rgba(11,15,26,.18); border-radius: 12px; text-align: center; }
.est-meters { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.est-opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; transition: border-color .15s, background .15s; }
.est-opt:has(input:checked) { border-color: var(--orange); background: var(--orange-tint); }
.est-opt input { accent-color: var(--orange); }
.est-opt em { font-style: normal; font-weight: 600; }
.est-result { background: var(--ink); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.est-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; color: rgba(255,255,255,.75); }
.est-line small { display: block; color: rgba(255,255,255,.45); font-size: 12px; margin-top: 2px; }
.est-line b { color: #fff; font-weight: 600; text-align: right; }
.est-total { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.est-total span { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-2); }
.est-total b { font-size: 44px; font-weight: 600; letter-spacing: -.03em; }
.est-fine { margin: 0; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.est-result .btn { align-self: flex-start; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.faq-jump a { font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(11,15,26,.14); background: var(--white); color: var(--steel); }
.faq-jump a:hover { border-color: var(--ink); color: var(--ink); }
.faq-wrap { padding: 24px 0 112px; }
.faq-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-group { margin-bottom: 40px; scroll-margin-top: 90px; }
.faq-group h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .15s; }
.faq-item[open] { border-color: rgba(255,107,0,.5); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; font-size: 16.5px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--orange); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--steel); line-height: 1.65; font-size: 15.5px; }
.faq-side { position: sticky; top: 92px; }
.faq-ask { background: var(--ink); color: #fff; border-radius: 20px; padding: 28px; }
.faq-ask h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.faq-ask p { margin: 0 0 20px; color: rgba(255,255,255,.65); line-height: 1.5; font-size: 15px; }
.faq-narrow { max-width: 860px; }
.rec-note svg, .faq-ask svg { width: 14px; height: 14px; vertical-align: -2px; }
.room-card { margin-bottom: 24px; }
.rc-toast { bottom: -44px; }

/* ---------- PLATFORM FEE LINE ---------- */
.plat { font-size: 12px; color: var(--mute); margin-top: 2px; }
.plat a { color: var(--orange); }
.pd-price .plat { font-size: 13.5px; margin-top: 6px; }
.rc-bal .sfx { font-size: 18px; color: rgba(255,255,255,.55); margin-left: 8px; vertical-align: baseline; }
.est-next { border-bottom: 0; padding-bottom: 0; }

/* ---------- PRICING ---------- */
.pricing { padding: 8px 0 24px; }
.price-cols { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 1000px) { .price-cols { grid-template-columns: 1fr; } }
.pcol { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.pcol h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.pcol p { margin: 0; color: var(--steel); font-size: 15px; line-height: 1.5; }
.pcol .btn { margin-top: auto; align-self: flex-start; }
.pcol-k { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.pcol-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pcol-price .from, .pcol-price .per { font-size: 14px; color: var(--mute); }
.pcol-price .cur { font-size: 16px; font-weight: 600; color: var(--orange); }
.pcol-price .amt { font-size: 52px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.pcol-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pcol-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pcol-list a { text-decoration: none; font-family: "JetBrains Mono", monospace; font-size: 13px; }
.pcol-list a:hover { color: var(--orange); }
.pcol-list li span:last-child { font-weight: 600; }
.pcol-main { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -30px rgba(11,15,26,.55); }
.pcol-main p { color: rgba(255,255,255,.65); }
.pcol-main .pcol-k { color: var(--orange-2); }
.pcol-main .pcol-price .per { color: rgba(255,255,255,.55); }
.pcol-main .pcol-price .cur { color: var(--orange-2); }
.pcol-sub { color: #fff !important; font-weight: 500; }
.pcol-checks { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.pcol-checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.pcol-checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,138,43,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A2B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pcol-fine { font-size: 13px !important; color: rgba(255,255,255,.5) !important; }
.price-extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 900px) { .price-extras { grid-template-columns: 1fr; } }
.pex { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.pex h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pex p { margin: 0; color: var(--steel); font-size: 14.5px; line-height: 1.55; }
.pex a { color: var(--orange); }
.opt { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; background: var(--paper-2); color: var(--steel); padding: 3px 7px; border-radius: 5px; }
.price-example { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; background: var(--orange-tint); border: 1px solid var(--orange-soft); border-radius: 22px; padding: 28px; }
@media (max-width: 800px) { .price-example { grid-template-columns: 1fr; } }
.price-example h3 { margin: 8px 0 6px; font-size: 22px; font-weight: 600; }
.price-example p { margin: 0; color: var(--steel); }
.price-example dl { margin: 0; display: grid; gap: 0; background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid var(--orange-soft); }
.price-example dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-example dl div:last-child { border-bottom: 0; }
.price-example dt { color: var(--steel); }
.price-example dd { margin: 0; font-weight: 600; }
.price-example .tot { background: var(--ink); color: #fff; }
.price-example .tot dt { color: rgba(255,255,255,.7); }
.price-example .tot dd { font-size: 20px; }

/* ---------- SOLUTIONS INDEX ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.sol-card { display: flex; flex-direction: column; gap: 10px; min-height: 240px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(255,107,0,.4); }
.sol-n { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--orange); }
.sol-eyebrow { font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sol-card h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.sol-card p { margin: 0; color: var(--steel); line-height: 1.5; }
.sol-card .lu-go { margin-top: auto; }
.sol-card:hover .lu-go { color: var(--orange); }

/* ---------- FIELD PHOTOS ---------- */
.field-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 720px) { .field-grid { grid-template-columns: 1fr; } }
.field { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.field img { width: 100%; height: auto; }
.field figcaption { padding: 14px 18px; font-size: 14px; color: var(--steel); line-height: 1.5; }

/* ---------- CARD ALIGNMENT ----------
   Media boxes keep a fixed 4:3 frame regardless of the image's own proportions,
   and catalogue cards share row tracks (subgrid) so every section lines up across a row. */
.card-media, .lu-media { position: relative; overflow: hidden; }
.card-media img, .lu-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.rec img { aspect-ratio: 4 / 3; height: auto; }
.pd-media { position: relative; }
.pd-media img { position: absolute; inset: 0; }

@supports (grid-template-rows: subgrid) {
  .catalog .grid { row-gap: 24px; }
  .catalog .card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
  .catalog .card-body { display: contents; }
  .catalog .card-body > * { padding: 0 22px; margin-top: 16px; }
  .catalog .card-body > :first-child { margin-top: 20px; }
  .catalog .card-body > .card-foot { margin: 16px 22px 24px; padding: 18px 0 0; align-self: start; }
  .catalog .card-tagline { align-self: start; }
}
.rec img.fit-cover { object-fit: cover; padding: 0; border-radius: 10px; margin: 8px 0; }
@supports (grid-template-rows: subgrid) {
  .rec-grid { row-gap: 16px; }
  .rec { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .rec-foot { align-self: start; margin-top: 0; }
}
