/* CrossDriver NAS Rescue — product site.
   Design tokens shared with files.crossdriver.com / www.crossdriver.com (primary #3567ff,
   slate greys, lavender hero, orange accent, black header, dark footer). */

:root {
  --blue: #3567ff;
  --blue-dark: #2450d8;
  --blue-soft: #e7eeff;
  --orange-1: #ff8a00;
  --orange-2: #ff5a3d;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --footer: #141518;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(15, 35, 95, 0.18), 0 6px 18px rgba(15, 35, 95, 0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
[id] { scroll-margin-top: 84px; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 10; background: #000; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .product { padding-left: 14px; border-left: 1px solid #ffffff33; font-size: 16px; letter-spacing: .2px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.site-nav a { color: #cbd5e1; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.lang-switch { position: relative; font-size: 13px; }
.lang-switch summary {
  list-style: none; cursor: pointer; color: #cbd5e1; border: 1px solid #ffffff33; border-radius: 999px;
  padding: 5px 12px; display: inline-flex; align-items: center; gap: 6px; line-height: 1.2;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: "▾"; font-size: 10px; }
.lang-switch[open] summary, .lang-switch summary:hover { background: #ffffff1a; color: #fff; }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; margin: 0; padding: 6px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, .18); min-width: 185px; max-height: 70vh; overflow: auto;
}
.lang-switch li a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--ink); white-space: nowrap; }
.lang-switch li a:hover { background: #eef2f7; text-decoration: none; }
.lang-switch li a[aria-current] { background: var(--blue); color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 12px;
  font-weight: 650; font-size: 17px; line-height: 1; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(53, 103, 255, .35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-small { padding: 9px 16px; font-size: 14px; border-radius: 9px; box-shadow: none; }
.btn svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; text-align: center; padding: 72px 0 0;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(53, 103, 255, .18), transparent 70%),
    radial-gradient(800px 420px at 0% 30%, rgba(255, 138, 0, .10), transparent 70%),
    linear-gradient(180deg, var(--blue-soft) 0%, #f5f8ff 62%, #fff 100%);
}
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 650; color: #fff;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%); box-shadow: 0 6px 16px rgba(255, 90, 61, .3);
}
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.08; letter-spacing: -1.5px; color: var(--ink); margin: 22px auto 18px; max-width: 980px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue) 0%, #7b5cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #475569; max-width: 760px; margin: 0 auto 32px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hero .fineprint span + span::before { content: "·"; margin: 0 10px; color: #94a3b8; }
.hero-shot { margin: 56px auto 0; max-width: 1180px; padding: 0 28px; }
.hero-shot img { border-radius: 16px; box-shadow: var(--shadow); }
/* The window's empty lower part fades into the page. */
.hero-shot { max-height: 700px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }

/* ---------------------------------------------------------------- the ten highlights at a glance */
.toc { border-bottom: 1px solid var(--line); background: #fff; }
.toc ol { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.toc a {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border-radius: 12px;
  font-size: 14.5px; line-height: 1.35; font-weight: 600; color: #334155; transition: background .15s, color .15s;
}
.toc a:hover { background: #eef2ff; color: var(--blue); text-decoration: none; }
.toc b {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 14px;
  color: #fff; background: linear-gradient(135deg, var(--blue) 0%, #7b5cff 100%);
}

/* ---------------------------------------------------------------- sections */
section.block { padding: 104px 0; }
section.tint { background: var(--panel); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.eyebrow { display: block; color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.8px; color: var(--ink); margin: 0 0 16px; }
.section-head p { color: #475569; font-size: 19px; margin: 0; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .text { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; letter-spacing: -.5px; color: var(--ink); margin: 0 0 16px; }
.feature p { color: #475569; margin: 0 0 18px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 30px; margin: 10px 0; color: #334155; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.shot { position: relative; }
.shot img { border-radius: 14px; box-shadow: var(--shadow); }
.shot::before {
  content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 28px; z-index: -1;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}
.feature.flip .shot::before { inset: 8% 8% -6% -6%; }
.num {
  display: inline-block; margin-right: 12px; font-size: 15px; font-weight: 800; letter-spacing: .5px; vertical-align: 2px;
  background: linear-gradient(90deg, var(--orange-1) 0%, var(--orange-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head .num { display: block; margin: 0 0 6px; font-size: 18px; }
.feature .aside { font-size: 15px; color: var(--muted); margin: 18px 0 0; }

/* Text panels standing in for a screenshot (03 formats, 09 drives). */
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 30px; box-shadow: 0 12px 40px rgba(15, 35, 95, .07); }
.panel-title { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.fgroup + .fgroup { margin-top: 18px; }
.flabel { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; color: #334155; }
.formats-panel .formats { justify-content: flex-start; gap: 8px; max-width: none; }
.formats-panel .formats span { padding: 8px 14px; font-size: 15px; }
.drives-panel dl { margin: 0; }
.drives-panel dl div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.drives-panel dl div:first-child { border-top: 0; padding-top: 0; }
.drives-panel dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.drives-panel dd { margin: 0; color: #475569; font-size: 15px; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #eef2ff; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

/* ---------------------------------------------------------------- keyboard */
.keys { background: radial-gradient(1000px 500px at 80% 0%, #1e3a8a 0%, transparent 60%), #0b1022; color: #e2e8f0; }
.keys h2, .keys .section-head p { color: #fff; }
.keys .section-head p { color: #cbd5e1; }
.keygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.key { background: #111a35; border: 1px solid #ffffff14; border-radius: 16px; padding: 22px 22px 20px; }
.key kbd {
  display: inline-block; min-width: 46px; padding: 9px 12px; margin: 0 6px 6px 0; text-align: center;
  font: 650 17px/1 system-ui, -apple-system, sans-serif; color: #0f172a; background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
  border-radius: 9px; box-shadow: 0 3px 0 #94a3b8, 0 6px 14px rgba(0, 0, 0, .35);
}
.key span { display: block; margin-top: 12px; color: #cbd5e1; font-size: 15px; }
.keys .note { text-align: center; margin-top: 40px; color: #94a3b8; font-size: 15px; }

/* ---------------------------------------------------------------- format chips */
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.formats span {
  padding: 12px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink);
  box-shadow: 0 4px 10px rgba(15, 35, 95, .05);
}
.formats span.hot { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--blue) 0%, #7b5cff 100%); }

/* ---------------------------------------------------------------- trust cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.card b { display: block; font-size: 30px; color: var(--blue); margin-bottom: 8px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- dark showcase */
.dark-show { background: linear-gradient(180deg, #0b1022 0%, #1b1f4a 100%); color: #fff; text-align: center; padding: 104px 0 0; overflow: hidden; }
.dark-show h2 { color: #fff; }
.dark-show p { color: #cbd5e1; font-size: 19px; margin: 0 0 48px; }
.dark-show img { max-width: 1100px; margin: 0 auto -6px; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 80px rgba(123, 92, 255, .35); }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #475569; margin: 12px 0 0; }

/* ---------------------------------------------------------------- final call to action */
.cta { text-align: center; padding: 96px 0; background: linear-gradient(135deg, #2450d8 0%, #3567ff 45%, #7b5cff 100%); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #e0e7ff; font-size: 19px; margin: 0 0 32px; }
.cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cta .meta { margin-top: 18px; font-size: 14px; color: #c7d2fe; }
.cta .meta a { color: #fff; }

/* ---------------------------------------------------------------- footer (as www.crossdriver.com) */
.site-footer { background: var(--footer); color: #cbd5e1; padding: 64px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 10px 0; }
.site-footer a { color: #cbd5e1; }
.site-footer .legal { border-top: 1px solid #ffffff1f; margin-top: 44px; padding-top: 22px; text-align: center; color: #94a3b8; font-size: 13.5px; }
.site-footer .legal p { margin: 6px 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .toc ol { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .text { order: 0; }
  .keygrid, .cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand .product { display: none; }
  .header-download { display: none; }
  section.block { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }
  .keygrid { gap: 10px; }
  .key { padding: 16px 14px 14px; }
  .key kbd { min-width: 32px; padding: 7px 8px; margin: 0 4px 4px 0; font-size: 14px; }
  .toc ol { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .toc a { padding: 8px 10px; }
  .panel { padding: 22px; }
  .drives-panel dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* ================================================================ NAS Rescue additions */
code { font: 600 .88em ui-monospace, SFMono-Regular, Menlo, monospace; background: #eef2f7; color: var(--ink); padding: 1px 6px; border-radius: 6px; }
.keys code { background: #ffffff1a; color: #fff; }

/* ---------------------------------------------------------------- mockup-only control bar */
.mock-bar {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between;
  padding: 8px 20px; background: #fff7e6; border-bottom: 1px solid #ffd591; color: #874d00; font-size: 13.5px;
}
.mock-bar + .site-header { top: 41px; }
.mock-lang { display: inline-flex; gap: 6px; align-items: center; }
.mock-lang button { font: inherit; padding: 3px 10px; border-radius: 999px; border: 1px solid #ffd591; background: #fff; color: #874d00; cursor: pointer; }
.mock-lang button[aria-pressed="true"] { background: #fa8c16; border-color: #fa8c16; color: #fff; }

/* ---------------------------------------------------------------- annotated screenshots */
/* A screenshot (production: <img>; mockup: a scaled stand-in) with numbered callouts placed
   in percent of the image, so each language page keeps its own coordinates. */
.annotated { position: relative; margin: 0; }
.hero-annotated { width: min(1124px, calc(100% - 56px)); margin: 56px auto 0; }
.shot-frame {
  position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: var(--w) / var(--h);
  box-shadow: var(--shadow); background: #ececec; outline: 1px solid rgba(15, 23, 42, .12);
}
.shot-frame > img { width: 100%; height: 100%; }
.feature .annotated::before {
  content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 28px; z-index: -1;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}
.feature.flip .annotated::before { inset: 8% 8% -6% -6%; }
.callout { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; transform: translate(-50%, -50%); pointer-events: none; }
.callout b {
  flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: 13.5px; font-weight: 800; color: #fff; border: 2px solid #fff;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%);
  box-shadow: 0 0 0 5px rgba(255, 106, 40, .25), 0 4px 10px rgba(0, 0, 0, .25);
}
.callout span {
  white-space: nowrap; padding: 6px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 650; line-height: 1.3;
  color: #fff; background: rgba(15, 23, 42, .92); box-shadow: 0 8px 20px rgba(15, 23, 42, .3);
}
/* The marker sits on the point; the label goes to one side. */
.callout.c-right { transform: translate(-13px, -50%); }
.callout.c-left { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -50%); }
.callout.c-bottom { flex-direction: column; transform: translate(-50%, -13px); }
.callout.c-top { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 13px)); }
.nlist li { padding-left: 34px; }
.nlist li::before { display: none; }
.nlist li b {
  position: absolute; left: 0; top: 3px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 12.5px; color: #fff; background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%);
}
.feature { grid-template-columns: 4fr 8fr; }
.feature.flip { grid-template-columns: 8fr 4fr; }

/* ---------------------------------------------------------------- supported NAS strip */
.nas-strip { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.strip-title { text-align: center; margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.vendors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 28px; }
.vendors span {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 10px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; font-size: 13px; color: var(--muted); text-align: center;
}
.vendors b { font-size: 20px; color: var(--ink); letter-spacing: -.3px; }

/* ---------------------------------------------------------------- scenarios & steps */
.scen .card i { display: block; font-style: normal; font-size: 30px; margin-bottom: 10px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps li + li::before {
  content: "→"; position: absolute; left: -17px; top: 34px; width: 14px; text-align: center; color: #94a3b8; font-weight: 700;
}
.steps b {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; color: #fff; font-size: 17px;
  background: linear-gradient(135deg, var(--blue) 0%, #7b5cff 100%);
}
.steps h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- read-only locks */
.locks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lock { background: #111a35; border: 1px solid #ffffff14; border-radius: 18px; padding: 28px; }
.lock .lk { display: inline-block; font-size: 13px; font-weight: 700; color: #4ade80; background: #4ade801a; border-radius: 999px; padding: 4px 12px; }
.lock h3 { color: #fff; font-size: 22px; margin: 14px 0 8px; }
.lock p { margin: 0; color: #cbd5e1; font-size: 15.5px; }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 30px; }
.plan.pro { border: 2px solid var(--blue); box-shadow: 0 24px 60px rgba(53, 103, 255, .18); }
.plan .tag {
  position: absolute; top: -13px; left: 30px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 100%);
}
.plan h3 { margin: 0; font-size: 20px; color: var(--ink); }
.plan .price { margin: 8px 0 18px; font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -1px; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan li { position: relative; padding-left: 26px; margin: 9px 0; color: #334155; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan .btn { justify-content: center; }
.plans-note { text-align: center; color: var(--muted); font-size: 14.5px; margin: 28px 0 0; }

@media (max-width: 980px) {
  .vendors { grid-template-columns: repeat(3, 1fr); }
  .steps, .plans { grid-template-columns: 1fr 1fr; }
  .steps li + li::before { display: none; }
  .locks { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  /* Labels would cover too much of a narrow screenshot; keep only the numbered markers. */
  .callout span { display: none; }
}
@media (max-width: 560px) {
  .steps, .plans { grid-template-columns: 1fr; }
  .vendors { grid-template-columns: 1fr 1fr; }
  .callout b { width: 22px; height: 22px; font-size: 12px; }
  .mock-bar { position: static; }
  .mock-bar + .site-header { top: 0; }
}

/* ================================================================ mac.crossdriver.com product line */
:root { --ntfs: #3567ff; --ext4: #f08c00; --xfs: #12a37a; --omni: #7b5cff; --rescue: #e8453c; }
.site-nav a[aria-current="page"] { color: #fff; font-weight: 650; box-shadow: inset 0 -2px 0 var(--orange-1); padding-bottom: 4px; }
.ptile {
  flex: none; display: inline-grid; place-items: center; width: var(--ps, 44px); height: var(--ps, 44px); border-radius: 26%;
  color: #fff; font: 800 calc(var(--ps, 44px) * .36)/1 system-ui, -apple-system, sans-serif; letter-spacing: -.5px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 75%, #fff) 0%, var(--pc) 100%);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--pc) 35%, transparent);
}
.ptile.omni { background: linear-gradient(135deg, var(--ntfs), var(--omni) 50%, var(--xfs)); }
.hero .ptile { --ps: 64px; margin-bottom: 18px; }
.hero .ptitle { display: block; font-size: 15px; font-weight: 700; color: #475569; letter-spacing: .3px; margin-bottom: 14px; }

.products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pcard {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
  color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.pcard:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--pc) 45%, #fff); box-shadow: 0 18px 40px rgba(15, 35, 95, .12); }
.pcard h3 { margin: 6px 0 0; font-size: 19px; color: var(--ink); }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.pcard .fs { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .fs span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--pc) 12%, #fff); color: color-mix(in srgb, var(--pc) 80%, #000); }
.pcard .more { font-weight: 650; color: var(--pc); font-size: 15px; }
.pcard.featured { border: 2px solid var(--omni); box-shadow: 0 20px 50px rgba(123, 92, 255, .16); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 860px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 14px; color: var(--ink); background: var(--panel); vertical-align: bottom; }
.compare th .ptile { --ps: 34px; display: grid; margin: 0 auto 8px; }
.compare td:first-child, .compare th:first-child { text-align: left; color: #334155; font-weight: 600; }
.compare td { color: #475569; }
.compare .y { color: var(--blue); font-weight: 800; font-size: 18px; }
.compare .n { color: #cbd5e1; }
.compare .hl { background: #f5f3ff; }

.classic { display: flex; gap: 18px; align-items: flex-start; max-width: 900px; margin: 0 auto; padding: 24px 28px; border-radius: 16px; background: #fff; border: 1px dashed #cbd5e1; }
.classic b { font-size: 26px; line-height: 1; }
.classic h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.classic p { margin: 0; color: #475569; font-size: 15.5px; }

.cross { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cross a { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: inherit; }
.cross a:hover { text-decoration: none; border-color: color-mix(in srgb, var(--pc) 45%, #fff); }
.cross h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.cross p { margin: 0; color: var(--muted); font-size: 14.5px; }

@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .site-nav { display: none; } .cross { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } .classic { flex-direction: column; } }

/* ================================================================ performance charts */
/* Emphasis form: competitors in de-emphasis gray, our two modes in validated hues
   (gray / #3567ff / #eb6834 pass CVD and normal-vision separation; gray needs the
   relief rule, so every bar is value-labeled and each board has a data table). */
:root { --s-app: #a3acb9; --s-vm: #3567ff; --s-kext: #eb6834; }
.s-app { --sc: var(--s-app); }
.s-vm { --sc: var(--s-vm); }
.s-kext { --sc: var(--s-kext); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 0 0 28px; }
.kpi { padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.kpi b { display: block; font-size: 44px; line-height: 1.05; font-weight: 750; color: var(--ink); letter-spacing: -1px; }
.kpi span { display: block; margin-top: 6px; color: #475569; font-size: 15px; }
.perf-board { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.perf-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.perf-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.perf-legend .lg { display: flex; align-items: baseline; gap: 8px; font-size: 14.5px; color: var(--text); }
.perf-legend .lg i { width: 14px; height: 10px; border-radius: 3px; background: var(--sc); align-self: center; }
.perf-legend .lg small { color: var(--muted); font-size: 13px; }
.perf-badge { font-size: 13px; font-weight: 700; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; padding: 4px 12px; border-radius: 999px; }
.perf-group + .perf-group { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.perf-fs { margin: 0 0 14px; font-size: 18px; color: var(--ink); }
.perf-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.perf-chart { margin: 0; }
.perf-chart figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.perf-chart figcaption b { font-size: 15.5px; color: var(--ink); }
.perf-chart figcaption span { font-size: 12.5px; color: var(--muted); }
.perf-row { display: grid; grid-template-columns: 7.5em 1fr; align-items: center; gap: 10px; margin: 9px 0; }
.perf-label { font-size: 13px; color: #475569; line-height: 1.25; }
.perf-track { display: flex; align-items: center; gap: 8px; min-width: 0; border-left: 1px solid #e2e8f0; height: 22px; }
.perf-bar { display: block; height: 18px; max-height: 24px; border-radius: 0 4px 4px 0; background: var(--sc); outline-offset: 2px; transition: filter .12s; }
.perf-bar:hover, .perf-bar:focus-visible { filter: brightness(1.12); }
.perf-val { font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.perf-row.s-vm .perf-val { font-size: 15px; }
.perf-na { font-size: 12.5px; color: var(--muted); padding-left: 8px; }
.perf-setup { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.perf-table { margin-top: 14px; }
.perf-table summary { cursor: pointer; font-size: 14px; font-weight: 650; color: var(--blue); }
.perf-table .compare { min-width: 640px; margin-top: 12px; font-size: 14px; }
.perf-more { text-align: center; margin: 24px 0 0; font-weight: 650; }
.viz-tip {
  position: absolute; z-index: 50; transform: translateY(-50%); pointer-events: none; padding: 6px 10px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 20px rgba(15, 23, 42, .25);
}

/* ---------------------------------------------------------------- data path (architecture) */
.arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.arch-col { padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.arch-col.hl { border: 2px solid var(--s-vm); box-shadow: 0 20px 50px rgba(53, 103, 255, .14); }
.arch-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #475569; }
.arch-tag i { width: 14px; height: 10px; border-radius: 3px; background: var(--sc); }
.arch-col h3 { margin: 8px 0 16px; font-size: 20px; color: var(--ink); }
.arch-stack { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.arch-stack li { position: relative; padding: 9px 12px; border-radius: 10px; font-size: 14px; text-align: center; border: 1px solid transparent; }
.arch-stack li + li { margin-top: 22px; }
.arch-stack li + li::before { content: "↓"; position: absolute; top: -21px; left: 50%; transform: translateX(-50%); color: #94a3b8; font-size: 14px; }
.arch-stack .app { background: #f1f5f9; color: #334155; }
.arch-stack .user { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.arch-stack .kernel { background: #eef2ff; border-color: #c7d2fe; color: #3730a3; }
.arch-stack .vm { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.arch-stack .disk { background: #0f172a; color: #e2e8f0; }
.arch-notes { list-style: none; margin: 0; padding: 0; }
.arch-notes li { position: relative; padding-left: 24px; margin: 8px 0; font-size: 14.5px; color: #334155; }
.arch-notes li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.arch-notes li.good::before { content: "✓"; color: #16a34a; }
.arch-notes li.bad::before { content: "!"; color: #dc2626; left: 4px; }
.arch-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.arch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.arch-legend i { width: 14px; height: 10px; border-radius: 3px; border: 1px solid; }
.arch-legend .user i { background: #fff7ed; border-color: #fed7aa; }
.arch-legend .kernel i { background: #eef2ff; border-color: #c7d2fe; }
.arch-legend .vm i { background: #ecfdf5; border-color: #a7f3d0; }

/* ---------------------------------------------------------------- text comparison table & specs */
.compare.text td { font-size: 14.5px; }
.compare.text td:not(:first-child) { color: #334155; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.spec-card { padding: 24px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.spec-card h3 { margin: 0 0 12px; font-size: 17px; color: var(--ink); }
.spec-card dl { margin: 0; }
.spec-card dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec-card dl div:first-child { border-top: 0; }
.spec-card dt { color: var(--muted); }
.spec-card dd { margin: 0; color: var(--ink); }

@media (max-width: 980px) {
  .perf-charts, .arch { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .perf-board { padding: 18px; }
  .spec-card dl div { grid-template-columns: 1fr; gap: 2px; }
}

.cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards.cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards.cards-3 { grid-template-columns: 1fr; } }

/* Download button state set by site.js */
.download-version { font-weight: 400; opacity: .85; }
.btn.btn-disabled { opacity: .55; pointer-events: none; }
