/* ============================================================
   CENARIS — Marketing Site
   Shared styles. Built on top of the Cenaris design system.
   ============================================================ */

/* Fonts */
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sauce One'; src: url('../../fonts/OpenSauceOne-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* Brand blue — from logo mark */
  --blue-50:  #EBF4FB;
  --blue-100: #CDE4F5;
  --blue-200: #9FCDE9;
  --blue-300: #6FB5DD;
  --blue-400: #4A9FCC;
  --blue-500: #3389B5;
  --blue-600: #2B7FAE;
  --blue-700: #1E5F85;
  --blue-800: #154060;
  --blue-900: #0D2540;

  /* Cool neutral alt — repointed from former "sand" warm tones to stay on-brand */
  --sand-50:  #ECEEF2;
  --sand-100: #DDE0E7;

  /* Cool neutral */
  --gray-0:   #FFFFFF;
  --gray-50:  #F6F7F9;
  --gray-100: #ECEEF2;
  --gray-200: #DDE0E7;
  --gray-300: #C4C9D4;
  --gray-400: #9DA5B4;
  --gray-500: #6E7787;
  --gray-600: #4E5766;
  --gray-700: #323B4A;
  --gray-800: #1F2733;
  --gray-900: #0E1A2B; /* deep navy override */

  --charcoal: #231F20;

  /* Status */
  --green-50:  #EDFAF3;
  --green-500: #16A34A;
  --green-600: #15803D;
  --amber-50:  #FFFBEB;
  --amber-500: #D97706;
  --amber-600: #B45309;
  --red-50:    #FEF2F2;
  --red-500:   #DC2626;
  --red-600:   #B91C1C;

  --font-sans: 'Open Sauce One', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(14,26,43,0.05);
  --shadow-sm: 0 1px 3px rgba(14,26,43,0.06), 0 1px 2px rgba(14,26,43,0.04);
  --shadow-md: 0 6px 18px rgba(14,26,43,0.08), 0 2px 4px rgba(14,26,43,0.04);
  --shadow-lg: 0 18px 40px rgba(14,26,43,0.10), 0 4px 12px rgba(14,26,43,0.05);
  --shadow-card: 0 1px 0 rgba(14,26,43,0.04), 0 8px 24px -12px rgba(14,26,43,0.10);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --max-w: 1200px;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-800);
  background: var(--gray-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: var(--gray-900); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 200;
}
.skip-link:focus { left: 12px; color: #fff; }

/* ── Layout helpers ─────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg-sand { background: var(--sand-50); }
.section-bg-sky { background: linear-gradient(180deg, var(--gray-0) 0%, #F1F6FC 100%); }
.section-bg-navy { background: var(--gray-900); color: #E5EBF3; }
.section-bg-gray { background: var(--gray-50); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow.on-dark { color: #9FCDE9; }

h1, h2, h3, h4, h5 { font-family: var(--font-sans); color: var(--gray-900); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.h1, h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }
.h2, h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.h3, h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.18; }
.h4, h4 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--gray-600); max-width: 60ch; text-wrap: pretty; }
.section-bg-navy h1, .section-bg-navy h2, .section-bg-navy h3, .section-bg-navy h4 { color: #fff; }
.section-bg-navy .lede { color: #B7C2D2; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 20px;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease), box-shadow 160ms var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--gray-900); color: #fff; }
.btn-primary:hover { background: var(--blue-900); color: #fff; }
.btn-accent { background: var(--blue-400); color: #fff; }
.btn-accent:hover { background: var(--blue-600); color: #fff; }
.btn-secondary { background: var(--gray-0); color: var(--gray-900); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--gray-900); color: var(--gray-900); }
.btn-ghost { background: transparent; color: var(--gray-900); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-on-dark { background: #fff; color: var(--gray-900); }
.btn-on-dark:hover { background: var(--blue-50); }
.btn-on-dark-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-on-dark-secondary:hover { border-color: rgba(255,255,255,0.6); }
.btn .arrow { transition: transform 160ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Pre-launch top bar ─────────────────────── */
.prelaunch {
  background: var(--gray-900); color: #E5EBF3;
  font-size: 13px; line-height: 1.4;
  padding: 8px 0;
  position: relative;
}
.prelaunch .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.prelaunch a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.prelaunch .countdown-mini { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.prelaunch .dismiss { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: rgba(255,255,255,0.6); cursor: pointer; padding: 4px 8px; }
.prelaunch .dismiss:hover { color: #fff; }

/* ── Top nav ────────────────────────────────── */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease), background 200ms var(--ease); }
.nav-wrap.scrolled { border-bottom-color: var(--gray-200); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--gray-900); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--gray-700); font-weight: 500; font-size: 14px; padding: 8px 14px; border-radius: 8px; }
.nav-links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-links a.active { color: var(--gray-900); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; background: transparent; border: 0; padding: 8px; }
.mobile-drawer { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-cta-secondary { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-drawer { position: fixed; inset: 72px 0 0 0; background: #fff; padding: 24px; z-index: 49; transform: translateX(100%); transition: transform 220ms var(--ease); border-top: 1px solid var(--gray-200); }
  .mobile-drawer.open { display: block; transform: translateX(0); }
  .mobile-drawer a { display: block; padding: 14px 4px; font-size: 18px; color: var(--gray-900); border-bottom: 1px solid var(--gray-100); }
  .mobile-drawer .btn { margin-top: 24px; width: 100%; justify-content: center; }
}

/* ── Footer ─────────────────────────────────── */
.footer { background: var(--gray-900); color: #B7C2D2; padding: 80px 0 40px; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: #fff; font-weight: 700; font-size: 20px; }
.footer-brand .footer-logo img { height: 32px; width: auto; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: #94A3B8; max-width: 36ch; }
.footer-brand .au { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #B7C2D2; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #B7C2D2; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: #6B7E96; flex-wrap: wrap; gap: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); color: #B7C2D2; }
.footer-social a:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .au { white-space: normal !important; }
}

/* ── Cards ──────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card-flat { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-600);
  margin-bottom: 18px;
}
.icon-tile.warm { background: var(--sand-100); color: var(--charcoal); }
.icon-tile.gray { background: var(--gray-100); color: var(--gray-700); }

/* ── Trust strip ────────────────────────────── */
.trust {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-size: 13px; color: var(--gray-500);
  align-items: center; justify-content: center;
  padding: 24px 0; border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust .item { display: inline-flex; align-items: center; gap: 8px; }
.trust .item svg { color: var(--blue-500); }

/* ── Countdown ──────────────────────────────── */
.countdown { display: inline-flex; gap: 12px; }
.countdown .seg {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 10px;
  min-width: 78px; padding: 12px 8px; text-align: center;
}
.countdown .seg .v { font-size: 32px; font-weight: 700; line-height: 1; color: var(--gray-900); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.countdown .seg .l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-top: 6px; }
.countdown.on-dark .seg { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.countdown.on-dark .seg .v { color: #fff; }
.countdown.on-dark .seg .l { color: rgba(255,255,255,0.55); }
.countdown.compact .seg { min-width: 64px; padding: 10px 6px; }
.countdown.compact .seg .v { font-size: 22px; }

/* ── FAQ accordion ──────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-top: 1px solid var(--gray-200);
  padding: 22px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--gray-200); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; color: var(--gray-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
  color: var(--gray-700);
}
.faq details[open] summary .ico { transform: rotate(45deg); background: var(--gray-900); color: #fff; border-color: var(--gray-900); }
.faq .answer { padding-top: 14px; color: var(--gray-600); font-size: 16px; line-height: 1.65; max-width: 70ch; }

/* ── Comparison table ───────────────────────── */
.compare {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden;
}
.compare th, .compare td {
  text-align: left; padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
}
.compare thead th { background: var(--gray-50); font-weight: 600; color: var(--gray-900); font-size: 14px; }
.compare thead th.col-cenaris { background: var(--blue-900); color: #fff; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .check { color: var(--green-500); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.compare .cross { color: var(--gray-400); }
.compare .partial { color: var(--amber-500); font-weight: 500; }
.compare td.col-cenaris { background: rgba(74,159,204,0.04); }
@media (max-width: 720px) {
  .compare th, .compare td { padding: 14px 12px; font-size: 13px; }
  .compare td:first-child, .compare th:first-child { min-width: 160px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { min-width: 90px; text-align: center; }
  .compare thead th { white-space: nowrap; }
}

/* ── Forms ──────────────────────────────────── */
.field { display: block; margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--gray-500); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--gray-900);
  background: #fff; border: 1px solid var(--gray-300); border-radius: 10px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(74,159,204,0.15);
}
.textarea { resize: vertical; min-height: 110px; }
.checkbox { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-700); cursor: pointer; }
.checkbox input { margin-top: 3px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ── Status pills ───────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
  background: var(--gray-100); color: var(--gray-700);
}
.pill .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.met { background: var(--green-50); color: var(--green-600); }
.pill.gap { background: var(--red-50); color: var(--red-600); }
.pill.action { background: var(--amber-50); color: var(--amber-600); }
.pill.review { background: var(--blue-50); color: var(--blue-600); }

/* ── Cookie banner ──────────────────────────── */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 540px; margin-left: auto;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow-lg); z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.cookie p { font-size: 13px; color: var(--gray-700); margin: 0; }
.cookie .row { display: flex; gap: 8px; justify-content: flex-end; }
.cookie.hidden { display: none; }

/* ── Misc ───────────────────────────────────── */
.text-muted { color: var(--gray-500); }
.text-success { color: var(--green-600); }
.text-danger { color: var(--red-600); }
.text-amber { color: var(--amber-600); }
.hr { height: 1px; background: var(--gray-200); border: 0; margin: 0; }
.kbd-link { color: var(--gray-900); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--blue-300); }
.kbd-link:hover { text-decoration-color: var(--blue-500); }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gray-100); color: var(--gray-700);
}
.tag.blue { background: var(--blue-50); color: var(--blue-700); }
.tag.sand { background: var(--sand-100); color: var(--charcoal); }
.tag.green { background: var(--green-50); color: var(--green-600); }

/* ── Article body ───────────────────────────── */
.prose { font-size: 17px; line-height: 1.75; color: var(--gray-700); max-width: 68ch; }
.prose h2 { font-size: 28px; margin: 48px 0 16px; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 3px solid var(--blue-400); padding: 4px 0 4px 20px; color: var(--gray-700); font-style: italic; margin: 24px 0; }

/* ── Quiz / Calculator ─────────────────────── */
.quiz-progress { height: 6px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.quiz-progress > span { display: block; height: 100%; background: var(--blue-400); transition: width 300ms cubic-bezier(0,0,0.2,1); }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 18px 22px; background: #fff; border: 1.5px solid var(--gray-200); border-radius: 12px;
  font-family: inherit; font-size: 16px; color: var(--gray-800); cursor: pointer;
  transition: all 150ms ease;
}
.quiz-opt:hover { border-color: var(--blue-400); background: var(--blue-50); transform: translateX(2px); }
.quiz-opt.selected { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.quiz-opt::before { content:''; flex-shrink:0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gray-300); }
.quiz-opt.selected::before { border-color: var(--blue-500); background: var(--blue-500); box-shadow: inset 0 0 0 3px #fff; }

.mock-bar { height: 10px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.mock-bar > span { display:block; height: 100%; border-radius: 999px; transition: width 800ms cubic-bezier(0,0,0.2,1); }

.calc-row { display:grid; grid-template-columns: 1fr 200px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.calc-row:last-child { border-bottom: 0; }
.calc-row label { font-weight: 500; color: var(--gray-800); }
.calc-row .hint { font-size: 13px; color: var(--gray-500); font-weight: 400; margin-top: 2px; }
.calc-row .value-wrap { display:flex; align-items:center; gap: 8px; }
.calc-row input[type="number"] { width: 100%; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: 8px; font: inherit; text-align: right; font-variant-numeric: tabular-nums; }
.calc-row input[type="range"] { width: 100%; accent-color: var(--blue-400); }

.kpi-tile { padding: 22px; border-radius: 14px; }
.kpi-tile .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; opacity: 0.7; }
.kpi-tile .value { font-size: 38px; font-weight: 800; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi-tile .sub { font-size: 13px; margin-top: 4px; opacity: 0.75; }

/* ── Responsive grid helpers ─────────────────── */
/* Classes added alongside inline grid styles — media queries use !important
   to override the inline style's grid-template-columns at mobile widths.   */
.rg-2    { display: grid; }
.rg-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rg-3lg  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rg-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.rg-4-seg { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.rg-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.rg-article { display: grid; grid-template-columns: 1fr 220px; gap: 48px; }
.rg-author  { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }

@media (max-width: 900px) {
  .rg-2 { grid-template-columns: 1fr !important; gap: 32px !important; }
  .rg-3, .rg-3lg { grid-template-columns: 1fr 1fr !important; }
  .rg-4 { grid-template-columns: 1fr 1fr !important; }
  .rg-author { grid-template-columns: auto 1fr !important; }
  .rg-author > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .rg-sidebar, .rg-article { grid-template-columns: 1fr !important; gap: 32px !important; }
  .rg-sidebar > aside, .rg-article > aside { position: static !important; top: auto !important; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .rg-3, .rg-3lg { grid-template-columns: 1fr !important; }
  .rg-4 { grid-template-columns: 1fr 1fr !important; }
  .rg-4-seg { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .countdown { gap: 6px; }
  .countdown .seg { min-width: 60px; padding: 10px 4px; }
  .countdown .seg .v { font-size: 24px; }
}
