/* ========================================================================
   Desklight comparison-page stylesheet
   Shared by /compare/index.html and /compare/desklight-vs-*.html
   Editorial layout, citation-friendly, schema-aligned.
   ======================================================================== */

:root {
  --amber: #FFBA49;
  --amber-deep: #E8A030;
  --bg: #03080A;
  --bg-1: #060B0E;
  --bg-2: #0A1014;
  --bg-3: #11181C;
  --line: rgba(255, 255, 255, 0.06);
  --line-warm: rgba(255, 186, 73, 0.18);
  --ink: #F5F1EA;
  --ink-2: rgba(245, 241, 234, 0.62);
  --ink-3: rgba(245, 241, 234, 0.36);
  --ink-4: rgba(245, 241, 234, 0.16);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --syne: 'Syne', var(--sans);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--amber); color: var(--bg); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--amber); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--amber-deep); }

/* === NAV ============================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  backdrop-filter: blur(18px) saturate(160%);
  background: rgba(3, 8, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 30px; height: 30px; }
.logo svg .tri-fill { fill: var(--amber); clip-path: inset(100% 0 0 0); transition: clip-path 0.55s var(--ease); }
.logo:hover svg .tri-fill { clip-path: inset(0 0 0 0); }
.logo-wm {
  font-family: var(--syne);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-tm { font-size: 0.18em; opacity: 0.35; margin-left: 1px; position: relative; top: -0.6em; vertical-align: super; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-cta {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  background: var(--amber);
  color: var(--bg);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: #FFC257; color: var(--bg); transform: translateY(-1px); }

/* === BREADCRUMB ====================================================== */
.crumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 28px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--ink-2); }
.crumb .sep { margin: 0 8px; color: var(--ink-4); }
.crumb .here { color: var(--amber); }

/* === HERO ============================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 28px 80px;
  border-bottom: 1px solid var(--line);
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.024em;
  margin-bottom: 28px;
  max-width: 22ch;
}
.hero h1 em { font-style: italic; color: var(--amber); }
.capsule {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: 14px;
}
.capsule strong { font-weight: 500; color: var(--ink); }
.byline {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 28px;
}
.byline time { color: var(--ink-2); }

/* === SECTIONS ======================================================== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 28px;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 24ch;
}
.section h2 em { font-style: italic; color: var(--amber); }
.section h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
  color: var(--ink);
}
.section p {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink-2);
  max-width: 72ch;
  margin-bottom: 14px;
}
.section p strong { color: var(--ink); font-weight: 500; }
.section ul { padding-left: 0; max-width: 72ch; margin-bottom: 14px; }
.section ul li {
  list-style: none;
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--amber);
}
.section ul li strong { color: var(--ink); font-weight: 500; }

/* === COMPARISON TABLE ================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-family: var(--sans);
  font-size: 15px;
}
.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 18px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.comparison-table thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-1);
  border-bottom: 1px solid var(--line-warm);
  padding: 14px 16px;
}
.comparison-table thead th.col-dl { color: var(--amber); }
.comparison-table tbody tr:hover { background: var(--bg-1); }
.comparison-table .row-label {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--sans);
  width: 28%;
}
.comparison-table .yes { color: var(--amber); font-weight: 500; }
.comparison-table .no { color: var(--ink-3); }
.comparison-table .partial { color: var(--ink-2); }
@media (max-width: 720px) {
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 12px 8px; }
}

/* === SIDE-BY-SIDE CHOOSE BLOCKS ====================================== */
.choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 36px 0;
}
.choose-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-1);
}
.choose-card.dl { border-color: var(--line-warm); }
.choose-card .choose-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.choose-card.dl .choose-eyebrow { color: var(--amber); }
.choose-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--ink);
}
.choose-card ul li { color: var(--ink-2); margin-bottom: 8px; }
@media (max-width: 720px) { .choose-grid { grid-template-columns: 1fr; } }

/* === FAQ ============================================================= */
.faq-block { margin-top: 24px; }
.faq-q {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-q:last-child { border-bottom: 0; }
.faq-q h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.faq-q p {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-2);
  max-width: 72ch;
  margin-bottom: 0;
}
.faq-q p strong { color: var(--ink); font-weight: 500; }

/* === CTA ============================================================ */
.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-primary { background: var(--amber); color: var(--bg); }
.btn-primary:hover { background: #FFC257; color: var(--bg); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--amber); border-color: var(--line-warm); }
.btn-arrow { font-family: var(--sans); font-weight: 400; transition: transform 0.25s var(--ease); }
.btn-arrow-right { transform: rotate(-90deg); }
.btn:hover .btn-arrow-right { transform: rotate(-90deg) translateY(-2px); }

/* === HUB GRID ======================================================== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.hub-card {
  display: block;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-1);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.hub-card:hover { border-color: var(--line-warm); background: var(--bg-2); transform: translateY(-2px); color: var(--ink); }
.hub-card .hc-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.hub-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hub-card p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
@media (max-width: 720px) { .hub-grid { grid-template-columns: 1fr; } }

/* === FOOTER ========================================================== */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-meta a { color: var(--ink-3); }
.footer-meta a:hover { color: var(--ink); }
