/* ==========================================================================
   DS4Windows — Design Seed S02 "Dashboard Canvas"
   Light theme · Poppins · Vanilla CSS
   ========================================================================== */

/* ---------- Poppins (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --primary: #7141c9;
  --primary-dark: #542ca0;
  --primary-soft: #f0eafa;
  --secondary: #087d9d;
  --secondary-soft: #e5f8fc;
  --accent: #ae24bd;
  --accent-soft: #f9eafa;
  --success: #138a5e;
  --success-soft: #e3f6ee;
  --danger: #c93d52;
  --danger-soft: #fdecef;
  --warning: #b86e00;
  --warning-soft: #fff4e0;

  --ink: #03152e;
  --text: #1d2838;
  --muted: #3f4a5d;
  --line: #e8e2ef;
  --line-strong: #d8cde6;
  --canvas: #f7f5fb;
  --panel: #ffffff;
  --panel-tint: #faf8fd;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 80, .06), 0 2px 8px rgba(16, 32, 80, .05);
  --shadow: 0 2px 6px rgba(16, 32, 80, .05), 0 12px 32px rgba(82, 42, 138, .08);
  --shadow-lg: 0 20px 60px rgba(82, 42, 138, .14);

  --header-h: 70px;
  --container: 1220px;
  --font: "Poppins", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button { font-family: var(--font); }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }
.section { padding: 88px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dots { background-color: var(--canvas); background-image: radial-gradient(#d6def0 1px, transparent 1px); background-size: 22px 22px; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  padding: 6px 12px 6px 10px; border-radius: 999px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(113, 65, 201, .18); }
.eyebrow.cyan { color: #0a7f9d; background: var(--secondary-soft); }
.eyebrow.violet { color: #5b3fd6; background: var(--accent-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  text-align: center; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(113, 65, 201, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(113, 65, 201, .32); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 1.06rem; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header (compact app bar) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 32, 80, .08); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { color: var(--primary); font-weight: 700; }
.nav-wrap { display: flex; align-items: center; gap: 14px; }
.main-nav ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; }
.main-nav a { display: block; padding: 8px 13px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--text); white-space: nowrap; transition: background-color .2s, color .2s; }
.main-nav a:hover { color: var(--primary); background: #fff; }
.main-nav a.is-active { color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Panels (dashboard building block) ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--panel-tint); border-radius: var(--radius) var(--radius) 0 0; }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0; }
.panel-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px var(--secondary-soft); }
.panel-dots { display: flex; gap: 6px; }
.panel-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.panel-body { padding: 24px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--success-soft); color: var(--success); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.blue { background: var(--primary-soft); color: var(--primary); }
.status.violet { background: var(--accent-soft); color: #5b3fd6; }
.status.cyan { background: var(--secondary-soft); color: #0a7f9d; }

.ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--primary-soft); color: var(--primary); transition: transform .25s ease; }
.ico svg { width: 22px; height: 22px; }
.ico.cyan { background: var(--secondary-soft); color: #0a7f9d; }
.ico.violet { background: var(--accent-soft); color: #5b3fd6; }
.ico.green { background: var(--success-soft); color: var(--success); }
.ico.red { background: var(--danger-soft); color: var(--danger); }
.ico.amber { background: var(--warning-soft); color: var(--warning); }
.ico-sm { width: 34px; height: 34px; border-radius: 10px; }
.ico-sm svg { width: 18px; height: 18px; }

/* ---------- HERO — centered heading, dashboard below ---------- */
.hero { padding: 44px 0 0; background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 60%, var(--canvas) 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#dbe3f4 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%); pointer-events: none; }
.hero-copy { position: relative; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-copy h1 { margin-bottom: 14px; }
.hero-copy h1 span { color: var(--primary); }
.hero-lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; margin: 0 auto 24px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-chips { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; }
.hero-chips svg { width: 18px; height: 18px; color: var(--primary); }
.hero-canvas { position: relative; max-width: 1080px; margin: 0 auto; }
.hero-frame { background: #fff; border: 1px solid var(--line); border-radius: 24px 24px 0 0; border-bottom: 0; padding: 12px 12px 0; box-shadow: var(--shadow-lg); }
.hero-frame img { border-radius: 14px 14px 0 0; width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; object-position: top; }
.widget { position: absolute; z-index: 2; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 12px; animation: floaty 6s ease-in-out infinite; }
.widget strong { display: block; color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.widget span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.3; }
.widget-1 { left: -54px; top: 18%; }
.widget-2 { right: -50px; top: 30%; animation-delay: -2s; }
.widget-3 { left: 8%; bottom: 10%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.figure-note { font-size: .75rem; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* ---------- ABOUT — 3 unequal dashboard panels ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 20px; }
.about-main { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; }
.about-main .panel-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.about-main img { border-radius: 14px; border: 1px solid var(--line); margin-top: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-facts { grid-column: span 5; }
.about-lineage { grid-column: span 5; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.kv strong { color: var(--ink); font-weight: 600; text-align: right; }
.lineage { list-style: none; margin: 0; padding: 0; position: relative; }
.lineage::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-strong), var(--primary)); }
.lineage li { position: relative; padding: 0 0 18px 30px; font-size: .92rem; }
.lineage li:last-child { padding-bottom: 0; }
.lineage li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line-strong); }
.lineage li.now::before { border-color: var(--primary); }
.lineage strong { display: block; color: var(--ink); font-weight: 600; }
.lineage span { color: var(--muted); }

/* ---------- FEATURES — asymmetric bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.bento-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.bento-card:hover .ico { transform: scale(1.08) rotate(-4deg); }
.bento-card h3 { margin: 16px 0 8px; }
.bento-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.bento-card .tag { position: absolute; top: 20px; right: 20px; font-size: .7rem; font-weight: 600; color: var(--muted); background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.b-xl { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #ffffff 0%, #f6effb 100%); display: flex; flex-direction: column; }
.b-xl h3 { font-size: 1.45rem; }
.b-xl p { font-size: 1rem; }
.b-wide { grid-column: span 2; }
.signal { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.signal-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.signal-row span:last-child { text-align: right; }
.signal-row svg { width: 22px; height: 22px; color: var(--primary); }
.mini-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-list li { font-size: .8rem; font-weight: 500; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--text); }

/* ---------- HOW IT WORKS — vertical workflow in a panel ---------- */
.flow-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.flow-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.flow-aside .panel { margin-top: 24px; }
.flow { list-style: none; margin: 0; padding: 8px 0; }
.flow-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 24px; position: relative; }
.flow-step + .flow-step { border-top: 1px solid var(--line); }
.flow-step .ico { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 14px; }
.flow-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.flow-num { font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.flow-step h3 { margin: 0 0 4px; }
.flow-step p { margin: 0; font-size: .94rem; color: var(--muted); }
.flow-step .progress { height: 6px; border-radius: 6px; background: var(--canvas); margin-top: 12px; overflow: hidden; }
.flow-step .progress i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--secondary), var(--primary)); }

/* ---------- COMPATIBILITY ---------- */
.compat-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.compat-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compat-table th, .compat-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compat-table th { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--panel-tint); }
.compat-table tr:last-child td { border-bottom: 0; }
.compat-table tbody tr { transition: background-color .2s; }
.compat-table tbody tr:hover { background: var(--panel-tint); }
.compat-table td:first-child { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.req-list { list-style: none; margin: 0; padding: 0; }
.req-list li { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.req-list li:hover { background: var(--panel-tint); }
.req-list li:last-child { border-bottom: 0; }
.req-list strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.req-list span { display: block; font-size: .88rem; color: var(--muted); }
.compat-note { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); background: #fff; border: 1px dashed var(--line-strong); border-radius: 14px; padding: 14px 18px; }
.compat-note svg { width: 20px; height: 20px; color: var(--secondary); flex: 0 0 auto; margin-top: 3px; }

/* ---------- USE CASES — dashboard tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.tile:hover .ico { transform: scale(1.08); }
.tile h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.tile p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- BENEFITS — metric strip ---------- */
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.benefit { padding: 28px 24px; border-right: 1px solid var(--line); transition: background-color .25s ease; }
.benefit:last-child { border-right: 0; }
.benefit:hover { background: var(--panel-tint); }
.benefit:hover .ico { transform: translateY(-3px); }
.benefit h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.benefit p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- DOWNLOAD ---------- */
.download-panel { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: linear-gradient(135deg, #ffffff 0%, #f3ebfb 100%); box-shadow: var(--shadow-lg); }
.download-copy { padding: 44px; }
.download-copy h2 { margin-bottom: 10px; }
.download-copy > p { color: var(--muted); }
.dl-meta { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-meta li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, transform .2s; }
.dl-meta li:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.dl-meta small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; line-height: 1.3; }
.dl-meta strong { display: block; font-size: .9rem; color: var(--ink); font-weight: 600; line-height: 1.35; }
.dl-note { display: flex; gap: 10px; margin: 18px 0 0; font-size: .86rem; color: var(--muted); }
.dl-note svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--warning); margin-top: 3px; }
.download-visual { background: radial-gradient(circle at 60% 40%, #eaddf7 0%, #f8f3fb 60%); display: flex; align-items: center; justify-content: center; padding: 28px; border-left: 1px solid var(--line); }
.download-visual img { width: 100%; max-width: 460px; border-radius: 18px; }
.dl-source { font-size: .8rem; color: var(--muted); margin-top: 12px; word-break: break-word; }

/* ---------- INSTALLATION — numbered cards ---------- */
.install-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: inst; }
.install-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.install-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.install-card .num { position: absolute; top: 18px; right: 18px; font-size: 1.6rem; font-weight: 800; color: var(--line-strong); line-height: 1; }
.install-card h3 { margin: 16px 0 6px; font-size: 1rem; }
.install-card p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- SAFETY ---------- */
.safety-layout { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: start; }
.safety-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.safety-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: border-color .2s, box-shadow .2s; }
.safety-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.safety-item h3 { font-size: .98rem; margin: 0 0 4px; }
.safety-item p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- PROS / CONS ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-panel { transition: transform .25s ease, box-shadow .25s ease; }
.pc-panel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-panel.pros { border-top: 4px solid var(--success); }
.pc-panel.cons { border-top: 4px solid var(--danger); }
.pc-panel h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; }
.pc-list { list-style: none; margin: 0; padding: 8px 24px 20px; }
.pc-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.pc-list li:last-child { border-bottom: 0; }
.pc-list svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; }
.pros .pc-list svg { color: var(--success); }
.cons .pc-list svg { color: var(--danger); }

/* ---------- RELEASE INFO ---------- */
.release-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.release-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .25s, box-shadow .25s; }
.release-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.release-card .status { margin-bottom: 12px; }
.release-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.release-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- TROUBLESHOOTING ---------- */
.trouble-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trouble { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.trouble:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trouble-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--panel-tint); }
.trouble-head h3 { margin: 0; font-size: 1rem; }
.trouble-body { padding: 16px 20px 20px; font-size: .9rem; color: var(--muted); }
.trouble-body p { margin: 0 0 8px; }
.trouble-body p:last-child { margin: 0; }
.trouble-body strong { color: var(--ink); font-weight: 600; }

/* ---------- BLOG PREVIEW — dashboard list + card ---------- */
.blog-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.feature-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.feature-post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.feature-post .fp-body { padding: 22px 24px 26px; }
.feature-post h3 { font-size: 1.25rem; margin: 10px 0 8px; }
.feature-post h3 a { color: var(--ink); }
.feature-post h3 a:hover { color: var(--primary); }
.feature-post p { margin: 0; color: var(--muted); font-size: .94rem; }
.post-list { list-style: none; margin: 0; padding: 6px 0; }
.post-row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.post-row:last-child { border-bottom: 0; }
.post-row:hover { background: var(--panel-tint); }
.post-row img { width: 112px; height: 63px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.post-row h3 { font-size: .98rem; margin: 4px 0 0; line-height: 1.35; }
.post-row h3 a { color: var(--ink); }
.post-row h3 a:hover { color: var(--primary); }
.cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; margin-top: 14px; }
.read-more svg { width: 18px; height: 18px; transition: transform .2s; }
.read-more:hover svg { transform: translateX(4px); }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }

/* ---------- FAQ — two-column dashboard accordion ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.faq-cat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--panel-tint); border-radius: var(--radius) var(--radius) 0 0; }
.faq-cat-head h3 { margin: 0; font-size: 1.02rem; }
.faq-cat-head .count { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { margin: 0; font-size: 1rem; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; background: none; border: 0; cursor: pointer; padding: 16px 20px; font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.45; transition: background-color .2s, color .2s; }
.faq-btn:hover { background: var(--panel-tint); color: var(--primary); }
.faq-btn .pm { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.faq-btn .pm svg { width: 16px; height: 16px; }
.faq-btn .pm .v { transition: opacity .2s, transform .2s; transform-origin: center; }
.faq-btn[aria-expanded="true"] { color: var(--primary); }
.faq-btn[aria-expanded="true"] .pm { background: var(--primary); border-color: var(--primary); color: #fff; }
.faq-btn[aria-expanded="true"] .pm .v { opacity: 0; transform: rotate(90deg); }
.faq-a { padding: 0 20px 18px; font-size: .92rem; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a[hidden] { display: none; }

/* ---------- Footer (compact utility) ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 44px 0 32px; }
.footer-brand p { margin: 14px 0 0; font-size: .9rem; color: var(--muted); max-width: 420px; }
.footer-col h2 { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-bottom a { color: var(--text); font-size: .92rem; text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--primary); text-decoration: none; }
.footer-legal { border-top: 1px solid var(--line); padding: 16px 0; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { color: var(--text); font-size: .88rem; font-weight: 500; text-decoration: none; }
.footer-legal a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); background: var(--panel-tint); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--muted); }
.footer-bottom .disclaimer-line { text-align: right; }
.site-footer a { text-decoration: none; }

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; color: var(--primary); box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s, color .2s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary); color: #fff; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 48px 0 40px; background: linear-gradient(180deg, #ffffff, var(--canvas)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 760px; margin: 0; font-size: 1.04rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .callout { display: flex; gap: 14px; background: var(--primary-soft); border: 1px solid #d3defb; border-radius: 14px; padding: 16px 18px; margin: 1.5em 0; font-size: .96rem; }
.prose .callout svg { width: 22px; height: 22px; color: var(--primary); flex: 0 0 auto; margin-top: 3px; }
.prose .callout p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--panel-tint); color: var(--ink); font-weight: 600; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.legal-card .prose > h2:first-child { margin-top: 0; }
.updated { font-size: .88rem; color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.article-body { padding: 36px 40px 40px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.side-cta { background: linear-gradient(150deg, #ffffff, #eaf0ff); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; }
.side-cta h2 { font-size: 1.15rem; margin-bottom: 6px; }
.side-cta p { font-size: .9rem; color: var(--muted); }
.side-links { list-style: none; margin: 0; padding: 8px 0; }
.side-links li a { display: flex; gap: 10px; align-items: flex-start; padding: 10px 20px; font-size: .9rem; color: var(--text); line-height: 1.45; transition: background-color .2s, color .2s; }
.side-links li a:hover { background: var(--panel-tint); color: var(--primary); }
.side-links svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; color: var(--primary); }
.related { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.blog-card .bc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h2, .blog-card h3 { font-size: 1.08rem; margin: 8px 0 8px; line-height: 1.4; }
.blog-card h2 a, .blog-card h3 a { color: var(--ink); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.blog-card .read-more { margin-top: auto; padding-top: 14px; }
.blog-index-list { margin-bottom: 28px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-email { font-size: 1.2rem; font-weight: 600; color: var(--ink); word-break: break-all; user-select: all; }
.notfound { text-align: center; padding: 100px 0; }

/* ---------- Reveal animation (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .main-nav a { padding: 8px 10px; font-size: .86rem; }
  .widget-1 { left: -16px; }
  .widget-2 { right: -16px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(16, 32, 80, .12); padding: 14px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; background: none; border: 0; padding: 0; gap: 4px; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
  .main-nav a:hover, .main-nav a.is-active { background: var(--canvas); box-shadow: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-xl { grid-row: span 1; }
  .install-grid { grid-template-columns: repeat(3, 1fr); }
  .tiles, .trouble-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-strip { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .widget-1, .widget-2 { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-main, .about-facts, .about-lineage { grid-column: auto; grid-row: auto; }
  .flow-layout, .compat-grid, .safety-layout, .download-panel, .blog-preview, .faq-grid, .pc-grid { grid-template-columns: 1fr; }
  .flow-aside { position: static; }
  .download-visual { border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .download-visual img { max-width: 360px; }
  .release-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .widget-3 { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { padding-top: 28px; }
  .hero-lead { font-size: 1rem; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 380px; margin-left: auto; margin-right: auto; }
  .hero-chips { margin-bottom: 26px; gap: 8px; }
  .hero-chips li { font-size: .8rem; }
  .hero-frame { padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
  .hero-frame img { aspect-ratio: 16 / 10; }
  .header-cta { display: none; }
  .bento, .tiles, .trouble-grid, .install-grid, .safety-list, .blog-grid, .related-grid, .contact-grid { grid-template-columns: 1fr; }
  .b-xl, .b-wide { grid-column: auto; }
  .benefit-strip { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
  .dl-meta { grid-template-columns: 1fr; }
  .download-copy { padding: 28px 22px; }
  .compat-table th, .compat-table td { padding: 12px 14px; }
  .post-row { grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 16px; }
  .post-row img { width: 88px; height: 50px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .footer-bottom .disclaimer-line { text-align: left; }
  .article-body { padding: 24px 20px 28px; }
  .legal-card { padding: 24px 20px; }
  .sidebar { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 44px 1fr; padding: 16px 18px; gap: 14px; }
  .flow-step .ico { width: 44px; height: 44px; }
  .panel-body { padding: 20px; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.05rem; }
  .brand img { width: 34px; height: 34px; }
  .btn-lg { padding: 15px 20px; font-size: 1rem; }
  .kv li { flex-direction: column; gap: 2px; }
  .kv strong { text-align: left; }
}

/* Mobile menu download button (header CTA is hidden on small screens) */
.main-nav .nav-dl { display: none; }
@media (max-width: 680px) {
  .main-nav .nav-dl { display: block; margin-top: 8px; }
  .main-nav .nav-dl a.btn, .main-nav .nav-dl a.btn:hover { display: flex; justify-content: center; color: #fff; background: var(--primary); padding: 14px 20px; }
}

/* Small-screen refinements */
.download-panel > *, .compat-grid > *, .flow-layout > *, .faq-grid > *, .blog-preview > *, .article-layout > * { min-width: 0; }
@media (max-width: 480px) {
  .download-copy .btn-lg { width: 100%; white-space: normal; padding: 16px 18px; }
}
@media (max-width: 380px) {
  .hero { padding-top: 20px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: .7rem; }
  .hero-copy h1 { font-size: 1.72rem; margin-bottom: 10px; }
  .hero-lead { font-size: .94rem; line-height: 1.6; margin-bottom: 16px; }
}

/* Panel header icon + refined hero widget placement */
.panel-head > svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.widget-1 { left: -58px; top: auto; bottom: 14%; }
.widget-2 { right: -50px; top: 26%; }
.widget-3 { left: auto; right: 9%; top: -26px; bottom: auto; }
@media (max-width: 1240px) { .widget-1 { left: -14px; } .widget-2 { right: -14px; } }

/* Keep boxes for main groups; smaller content stays open. */
:is(.tile, .install-card, .safety-item, .compat-note, .signal-row, .dl-meta li) {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
:is(.tile, .install-card, .safety-item, .dl-meta li):hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}
.signal-row, .dl-meta li { padding-left: 0; padding-right: 0; }
.mini-list li, .bento-card .tag {
  background: transparent;
  border: 0;
  border-radius: 0;
}
/* Logo palette: navy foundations with cyan, purple and pink accents. */
:root {
  --brand-cyan: #39c6e7;
  --brand-pink: #ed227c;
  --brand-gradient: linear-gradient(115deg, #087d9d 0%, #7141c9 52%, #be1867 100%);
}
.brand img { width: 48px; height: 48px; border-radius: 0; object-fit: contain; }
.brand b { color: var(--primary); }
.btn-primary { background: var(--brand-gradient); }
.btn-primary:hover { background: linear-gradient(115deg, #06647e, #542ca0 52%, #9e1456); }
.hero-copy h1 span, .hero-copy h1 em {
  color: var(--primary);
}
.download-panel { background: linear-gradient(135deg, #fff 10%, #f4edfb 65%, #fdeef5); }
.download-visual { background: radial-gradient(circle at 60% 40%, #eee1fa, #eaf9fc 75%); }
.flow-step .progress i { background: linear-gradient(90deg, var(--brand-cyan), var(--primary), var(--brand-pink)); }
.to-top { background: var(--primary); }
@media (max-width: 480px) {
  .brand img { width: 42px; height: 42px; }
}

/* ===============================================================
   Editorial refresh — new hero, rich section cards, cleaner guides
   =============================================================== */
.hero.hero-split {
  position:relative;
  isolation:isolate;
  padding: 92px 0 98px;
  background: #0b1636;
  color:#ffffff;
  overflow: hidden;
}
.hero.hero-split::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background-image: linear-gradient(90deg,rgba(6,15,39,.98) 0%,rgba(8,18,46,.94) 38%,rgba(9,18,42,.73) 66%,rgba(8,12,33,.56) 100%),url('../images/generated/hero-dashboard.jpg');
  background-position:center, right center;
  background-size:cover,cover;
  background-repeat:no-repeat;
  mask-image:none; -webkit-mask-image:none;
  opacity:1;
}
.hero.hero-split::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse at 86% 32%,rgba(135,77,232,.28),transparent 48%),linear-gradient(0deg,rgba(6,16,43,.2),transparent 35%); }
.hero.hero-split > .container { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(310px,.8fr); align-items:center; gap:clamp(35px,5vw,96px); }
.hero.hero-split .hero-copy { max-width:760px; margin:0; text-align:left; }
.hero.hero-split .eyebrow { color:#9eeaff; background:rgba(13,152,204,.18); border:1px solid rgba(151,225,255,.24); }
.hero.hero-split .eyebrow::before { box-shadow:0 0 0 3px rgba(76,199,247,.15); }
.hero.hero-split h1 { color:#fff; font-size:clamp(2.2rem,4.4vw,4.15rem); line-height:1.14; letter-spacing:-.035em; margin:0 0 22px; }
.hero.hero-split h1 span { color:#8feaff; }
.hero.hero-split .hero-lead { color:#d5dff3; margin:0 0 30px; max-width:610px; font-size:1.07rem; line-height:1.78; }
.hero.hero-split .hero-actions { justify-content:flex-start; margin:0 0 32px; gap:12px; }
.hero.hero-split .btn-primary { box-shadow:0 16px 40px rgba(86,46,191,.26); }
.hero.hero-split .btn-ghost { background:rgba(255,255,255,.09); color:#f4f7ff; border-color:rgba(226,240,255,.33); backdrop-filter:blur(8px); }
.hero.hero-split .btn-ghost:hover { color:#fff; background:rgba(255,255,255,.16); }
.hero.hero-split .hero-chips { justify-content:flex-start; gap:9px; margin:0; }
.hero.hero-split .hero-chips li { background:rgba(231,241,255,.09); color:#e4e9f8; border-color:rgba(221,238,255,.17); padding:7px 12px; font-size:.75rem; backdrop-filter:blur(8px); }
.hero.hero-split .hero-chips svg { color:#90e8fe; width:16px; height:16px; }
.hero-overview { color:#f6f9ff; border:1px solid rgba(202,226,255,.25); background:linear-gradient(145deg,rgba(14,26,64,.83),rgba(32,21,69,.76)); box-shadow:0 30px 90px rgba(1,4,20,.44); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); border-radius:27px; padding:30px; position:relative; overflow:hidden; }
.hero-overview::after { content:""; position:absolute; top:-85px; right:-90px; width:260px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(154,103,244,.22),transparent 65%); pointer-events:none; }
.hero-overview-top { display:flex; gap:9px; align-items:center; color:#a9eaff; font-size:.71rem; font-weight:700; letter-spacing:.13em; }
.overview-beacon,.overview-dot { width:8px;height:8px;border-radius:50%;background:#5be1ce;box-shadow:0 0 0 4px rgba(91,225,206,.13);display:inline-block; flex:0 0 auto; }
.overview-ready { margin-left:auto; letter-spacing:0; font-size:.72rem; font-weight:600; color:#d3e2ff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.11); border-radius:20px; padding:5px 9px; }
.hero-overview h2 { color:#fff; font-size:1.62rem; margin:27px 0 6px; }
.hero-overview-intro { color:#b7c9e4; font-size:.89rem; margin:0 0 24px; }
.hero-overview-steps { display:grid; gap:12px; }
.hero-overview-steps > div { display:flex; gap:14px; align-items:flex-start; background:rgba(237,245,255,.07); border:1px solid rgba(218,237,255,.1); border-radius:16px; padding:17px 16px; }
.step-marker { flex:0 0 auto; width:35px;height:35px; display:grid;place-items:center;border-radius:11px; background:rgba(130,106,240,.24);border:1px solid rgba(174,151,255,.31);color:#b1c7ff;font-size:.77rem;font-weight:700; }
.hero-overview-steps strong { display:block; color:#fff; font-weight:600; font-size:.95rem; margin:1px 0 3px; }
.hero-overview-steps small { display:block; color:#aebfdd; font-size:.79rem; line-height:1.5; }
.hero-overview-bottom { border-top:1px solid rgba(235,246,255,.14);margin-top:22px;padding-top:18px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#d3e1f4;font-size:.76rem; }
.overview-pill { margin-left:auto; border-radius:20px;padding:5px 10px;color:#bcf0fe;border:1px solid rgba(109,213,251,.3);background:rgba(70,196,241,.08); }
/* Guide article presentation and exactly two related articles */
.article-layout { grid-template-columns:minmax(0,1fr) 290px; gap:30px; }
.article-body.prose { font-size:.975rem; line-height:1.85; }
.article-body.prose h2 { scroll-margin-top:90px; margin-top:2.25em; padding-top:4px; }
.article-body.prose h2#conclusion { padding:24px 27px 0; margin:36px 0 0; background:#eff5ff; border:1px solid #d6e5ff; border-bottom:0; border-radius:18px 18px 0 0; }
.article-body.prose h2#conclusion + p { border:1px solid #d6e5ff; border-top:0; background:#eff5ff; border-radius:0 0 18px 18px; padding:9px 27px 26px; margin:0; color:#1b2b40; }
.side-cta { background:linear-gradient(155deg,#ffffff,#f0ebff); }
.side-checks { list-style:none;padding:0;margin:16px 0 0;display:grid;gap:11px; }
.side-checks li { padding-left:23px;position:relative;color:#28384a;font-size:.86rem;line-height:1.45; }
.side-checks li::before { content:'✓';color:#207d97;position:absolute;left:0;font-weight:800; }
.related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:950px; }
.related-grid .blog-card img { aspect-ratio:16/9; }
.page-hero { background:linear-gradient(115deg,#f1f7ff 0%,#f9f6ff 52%,#fff 100%); }
.page-hero h1 { max-width:950px; }
/* Editorial about section: image and facts on balanced panels */
.section-about-redesign .about-main { overflow:hidden; }
.section-about-redesign .about-main .panel-body > img { display:block; width:100%; border-radius:16px; box-shadow:0 14px 32px rgba(20,32,70,.12); margin-top:25px; }
.section-about-redesign .section-head { max-width:810px; }
/* Feature cards: distinctive tiered bento instead of flat outlined blocks */
.section-features-redesign { background:linear-gradient(180deg,#f9fbff,#f0f5ff); }
.section-features-redesign .bento { gap:20px; }
.section-features-redesign .bento-card { box-shadow:0 12px 36px rgba(26,43,90,.055); border:1px solid #dfe8fa; background:#fff; border-radius:20px; }
.section-features-redesign .bento-card:first-child { background:linear-gradient(145deg,#eaf9ff,#f5f1ff); border-color:#c9dff7; }
.section-features-redesign .bento-card:nth-child(3n) { background:linear-gradient(150deg,#fff,#f8f5ff); }
.section-features-redesign .bento-card:hover { box-shadow:0 20px 40px rgba(26,43,90,.1); }
/* Use cases: horizontal editorials with spaced icon boxes */
.section-usecases-redesign .tiles { grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.section-usecases-redesign .tile { padding:29px; border:1px solid #e1e8f5; border-radius:20px; background:linear-gradient(135deg,#fff,#f6f9ff); box-shadow:0 8px 22px rgba(23,49,89,.035); }
.section-usecases-redesign .tile:nth-child(4n+2) { background:linear-gradient(125deg,#fff,#f8f4ff); }
.section-usecases-redesign .tile .ico { width:55px;height:55px;border-radius:16px; }
.section-usecases-redesign .tile h3 { font-size:1.13rem; }
/* Installation: alternating timeline-style cards at desktop widths */
.section-install-redesign .install-grid { grid-template-columns:repeat(5,minmax(0,1fr));gap:0; border:1px solid #dce7f5; border-radius:22px; overflow:hidden; background:#fff; }
.section-install-redesign .install-card { border:0; border-radius:0; padding:30px 22px; box-shadow:none; }
.section-install-redesign .install-card + .install-card { border-left:1px solid #e2eafa; }
.section-install-redesign .install-card:nth-child(even) { background:#f5f8ff; }
.section-install-redesign .install-card:hover { transform:none; background:#f0f4ff; }
@media(max-width:1100px) {
 .hero.hero-split { padding:72px 0 74px; }
 .hero.hero-split > .container { grid-template-columns:1fr 1fr;gap:25px; }
 .hero.hero-split h1 { font-size:clamp(2rem,4vw,3.3rem); }
 .hero-overview { padding:24px; }
 .section-install-redesign .install-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .section-install-redesign .install-card { border-bottom:1px solid #e2eafa; }
 .section-install-redesign .install-card:nth-child(4) { border-left:0; }
}
@media(max-width:900px) {
 .hero.hero-split > .container { grid-template-columns:1fr;gap:34px; }
 .hero.hero-split h1 { max-width:750px; }
 .hero.hero-split .hero-copy { max-width:760px; }
 .hero-overview { max-width:640px; }
 .section-usecases-redesign .tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .article-layout { grid-template-columns:1fr; }
 .related-grid { max-width:none; }
}
@media(max-width:680px) {
 .hero.hero-split { padding:52px 0 62px; }
 .hero.hero-split::before { background-position:center,right center; background-image:linear-gradient(90deg,rgba(6,15,39,.96),rgba(7,16,42,.85)),url('../images/generated/hero-dashboard.jpg'); }
 .hero.hero-split h1 { font-size:clamp(2rem,8vw,2.8rem); }
 .hero.hero-split .hero-lead { font-size:1rem;line-height:1.7; }
 .hero.hero-split .hero-actions { flex-direction:column;align-items:stretch;max-width:none; }
 .hero.hero-split .hero-actions .btn { width:100%; }
 .hero.hero-split .hero-chips li { font-size:.73rem; }
 .hero-overview { border-radius:21px;padding:22px 18px; }
 .hero-overview h2 { font-size:1.42rem; }
 .overview-ready { display:none; }
 .section-usecases-redesign .tiles { grid-template-columns:1fr; }
 .section-usecases-redesign .tile { padding:22px; }
 .section-install-redesign .install-grid { grid-template-columns:1fr; }
 .section-install-redesign .install-card + .install-card { border-left:0; }
 .section-install-redesign .install-card { border-bottom:1px solid #e2eafa; }
 .section-install-redesign .install-card:last-child { border-bottom:0; }
 .related-grid { grid-template-columns:1fr; }
 .article-body.prose h2#conclusion { padding:20px 20px 0; }
 .article-body.prose h2#conclusion + p { padding:8px 20px 22px; }
}

/* Legibility refresh: dark body text; protected reversed text on dark hero remains light. */
.article-body.prose, .prose, .article-meta, .blog-card p, .side-links a { color:var(--text); }
.section-head p, .page-hero p, .footer-brand p, .footer-bottom p, .blog-card .bc-body > p, .article-body.prose p { color:var(--text); }
.hero.hero-split .hero-lead, .hero.hero-split .hero-chips li { color:#eef5ff; }
.hero.hero-split .hero-overview-intro, .hero.hero-split .hero-overview-steps small { color:#dce7ff; }
