/* ---- Grift (geometric typeface) — display + body, full weight range ---- */
@font-face { font-family: 'Grift'; src: url('../fonts/grift-regular.ttf') format('truetype');   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-medium.ttf') format('truetype');    font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-semibold.ttf') format('truetype');  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-bold.ttf') format('truetype');      font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-extrabold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-black.ttf') format('truetype');     font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Grift'; src: url('../fonts/grift-italic.ttf') format('truetype');    font-weight: 400; font-style: italic; font-display: swap; }

/* ============================================================================
   RIJA.IO - Brand 2026  ·  "Chronograph" direction
   Design tokens + component primitives. Dark-first, deep-green canvas, gold
   readout accents, pale-yellow micro-glints. Numerals = Martian Mono (LED),
   headings = Sora, body/UI = Inter.
   Everything is driven by the custom properties in :root - no scattered hex.
   ========================================================================== */

:root {
  /* ---- Brand palette (Porcelain Teal) ---- */
  --base:        #F1F4F3;   /* porcelain - cool white canvas */
  --base-2:      #E2E8E6;   /* deeper porcelain - wells, footer, insets */
  --surface:     #7fa39b;   /* muted teal-grey - cards, panels, borders */
  --gold:        #00272c;   /* primary accent (CTAs, links, readout) */
  --pale:        #99F6E4;   /* micro-accent - light teal glint */

  /* ---- Derived surface tints ---- */
  --surface-soft: rgba(127, 163, 155, 0.20);   /* panel fill */
  --surface-line: rgba(127, 163, 155, 0.55);   /* hairline borders/dividers */
  --grid-line:    rgba(127, 163, 155, 0.16);   /* background grid */

  /* ---- Shared card look (applied to every card across the site) ---- */
  --card-bg:   #dfede64d;      /* soft sage fill */
  --card-line: rgb(0 39 44);   /* dark defined border */
  --card-icon: #dfede6;        /* card icon-box fill */

  /* ---- Neutrals for text on light (contrast-safe) ---- */
  --ink:        #14201C;   /* near-black ink on light */
  --ink-soft:   rgba(20, 32, 28, 0.66);   /* muted copy */
  --ink-faint:  rgba(20, 32, 28, 0.40);   /* captions, eyebrows */

  /* ---- Accent tints / glows ---- */
  --gold-12:  rgba(0, 39, 44, 0.12);
  --gold-24:  rgba(0, 39, 44, 0.24);
  --gold-40:  rgba(0, 39, 44, 0.40);
  --glow-gold:  0 0 24px rgba(0, 39, 44, 0.35), 0 0 64px rgba(0, 39, 44, 0.18);
  --glow-soft:  0 0 40px rgba(153, 246, 228, 0.18);

  /* ---- Type ---- */
  --font-display: 'Grift', 'Sora', system-ui, sans-serif;
  --font-body:    'Grift', 'Inter', system-ui, sans-serif;
  --font-mono:    'Martian Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* fluid type scale (clamp: min, vw, max) */
  --fs-eyebrow: 0.75rem;
  --fs-body:    1rem;
  --fs-lead:    clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 1vw, 1.6rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  --fs-h1:      clamp(2.6rem, 1.7rem + 4vw, 4.4rem);
  --fs-readout: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem);

  /* ---- Spacing scale (8pt) ---- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* ---- Radii & layout ---- */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  --maxw: 1180px;
  --nav-h: 68px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.6s;
}

/* ============================================================================
   Base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;   /* clip (not hidden) so position:sticky still works */
}

/* Grid backdrop removed - plain white canvas */
body::before { content: none; }
/* faint vignette so the canvas reads as deep, not flat */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--base-2); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.page-content { position: relative; z-index: 1; padding-top: 92px; }

/* ============================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p  { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
}

.lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 52ch; }

/* digital readout numerals */
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.readout {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* gold text used sparingly for emphasis in large type only */
.hl { color: var(--gold); }

/* ============================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  font-size: 0.95rem; font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.28s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg, .btn i { width: 17px; height: 17px; }

/* primary CTA - solid dark button with a 2px bottom edge for depth */
.btn-gold {
  background: #00272c;
  color: #F1F4F3;
  border-bottom: 2px solid #001518;
}
/* professional hover: widen a touch left+right (horizontal scale only), smooth */
.btn-gold:hover { transform: scaleX(1.05); }
@media (prefers-reduced-motion: reduce) { .btn-gold:hover { transform: none; } }

.btn-ghost {
  background: var(--surface-soft);
  color: var(--ink);
  border-color: var(--surface-line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold-40); color: var(--ink); background: var(--surface-line); }

.btn-link { color: rgb(0 39 44); padding: 10px 6px; }
.btn-link:hover { color: var(--gold); }

/* ============================================================================
   Glass panels / instrument bezel
   ========================================================================== */
.panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--card-line);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* instrument bezel - thin gold-glow edge + corner brackets */
.bezel {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  border: 1px solid var(--gold-24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), var(--glow-soft);
}
.bezel::before, .bezel::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
  border: 2px solid var(--gold); opacity: 0.85;
}
.bezel::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.bezel::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }

/* ============================================================================
   Section scaffolding
   ========================================================================== */
.section { position: relative; padding: var(--sp-10) 0; }
.section--tight { padding: var(--sp-9) 0; }
.section-head { max-width: 640px; margin-bottom: var(--sp-8); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 14px; }

/* hairline divider with a centered gold tick */
.rule { height: 1px; background: var(--surface-line); position: relative; }
.rule::after { content: ""; position: absolute; left: 50%; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow-gold); transform: translateX(-50%); }

/* ============================================================================
   Chronograph - the signature element (SVG ring + readout)
   ========================================================================== */
.chrono { position: relative; width: min(420px, 86vw); aspect-ratio: 1; display: grid; place-items: center; }
.chrono__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.chrono__track { fill: none; stroke: var(--surface-line); stroke-width: 2.5; }
.chrono__prog  { fill: none; stroke: url(#chronoGold); stroke-width: 4; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 235, 59,0.55)); transition: stroke-dashoffset 1s linear; }
.chrono__ticks { fill: none; stroke: var(--surface-line); stroke-width: 1.5; }
/* faint ambient bloom behind the dial */
.chrono::before {
  content: ""; position: absolute; inset: 8%;
  background: none;
}
.chrono__face {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
}
.chrono__time { display: flex; align-items: flex-start; gap: 5px; }
.chrono__time .unit { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.chrono__time .num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.3rem, 0.9rem + 1.8vw, 2rem);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
  color: var(--gold); line-height: 1;
}
.chrono__time .lab { font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.18em; color: var(--ink-faint); text-transform: uppercase; }
.chrono__time .sep { font-family: var(--font-mono); font-size: 1.2rem; color: var(--ink-faint); line-height: 1; margin-top: 2px; }
.chrono__status { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }
.chrono__status .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow-gold); margin-right: 7px; animation: pulse-dot 2s infinite var(--ease); }

@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* mini arc used in cards/stats */
.arc { --p: 0; position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--surface-line) 0);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
          mask: radial-gradient(circle, transparent 56%, #000 57%);
}

/* ============================================================================
   Showcase - framed product screenshot (instrument bezel + glow + reveal)
   ========================================================================== */
.showcase { position: relative; margin: 0; }
.showcase__bezel { padding: 12px; overflow: hidden; }
.showcase__bar { display: flex; align-items: center; gap: 12px; padding: 6px 10px 12px; }
.showcase__leds { display: inline-flex; gap: 6px; }
.showcase__leds i { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-line); }
.showcase__leds i:first-child { background: var(--gold); box-shadow: 0 0 8px var(--gold-40); }
.showcase__tag { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); }
.showcase__live { margin-left: auto; font-size: 0.6rem; letter-spacing: 0.22em; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 7px; }
.showcase__live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow-gold); animation: pulse-dot 2s infinite var(--ease); }
.showcase__media { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--surface-line); background: var(--base-2);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* clip child on Safari */ }
.showcase__media img { width: 100%; display: block; }
/* scroll-reveal mask wipe on the image */
.showcase .showcase__media img { clip-path: none; }
.showcase__glow { display: none; }
.showcase__cap { display: flex; flex-direction: column; gap: 3px; padding: 16px 6px 0; }
.showcase__cap strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.showcase__cap span { font-size: 0.86rem; color: var(--ink-soft); }
/* tilt parallax wrapper (JS sets --rx/--ry) */
.showcase--tilt .showcase__bezel { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s var(--ease); transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
  .showcase:not(.in-view) .showcase__media img,
  .showcase.in-view .showcase__media img { clip-path: none; transition: none; }
  .showcase--tilt .showcase__bezel { transform: none !important; }
}

/* ============================================================================
   Reveal-on-scroll (JS adds .in-view). Reduced-motion = no transform.
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chrono__prog { transition: none !important; }
}

/* ============================================================================
   Inner marketing pages - blog, alternatives, features, about, legal.
   Centralized here so individual pages drop their white-theme inline styles
   and inherit the dark "chronograph" system.
   ========================================================================== */

/* --- Inner-page header band --- */
.page-hero, .blog-hero, .about-hero {
  position: relative; text-align: center;
  padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 36px);
}
.page-hero h1, .blog-hero h1, .about-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); margin-bottom: 14px; }
.page-hero p, .blog-hero p, .about-hero p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; font-size: var(--fs-lead); }
.page-hero .eyebrow, .blog-hero .eyebrow, .about-hero .eyebrow { justify-content: center; margin-bottom: 16px; }

/* --- Article / prose (blog posts, comparisons, legal, about copy) --- */
/* Article column aligns to the same left/right edges as the site header
   (header capsule = 1120px max with 20px inset). */
.article-wrap { max-width: 1120px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) 20px var(--sp-9); position: relative; }
.article-wrap > header { margin-bottom: 8px; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.article-wrap .lead { max-width: none; }
.article-category { color: var(--gold); border: 1px solid var(--gold-24); padding: 4px 10px; border-radius: var(--r-pill); }
.article-wrap h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); font-weight: 700; margin-bottom: 18px; line-height: 1.12; letter-spacing: -0.02em; }
.article-wrap .lead { font-size: var(--fs-lead); color: var(--ink-soft); line-height: 1.7; }
.article-cover { margin: 26px 0 4px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--surface-line); aspect-ratio: 21 / 9; background: var(--base-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .article-cover { aspect-ratio: 16 / 9; } }
.article-content { color: #E91E63; font-size: 1.05rem; line-height: 1.8; margin-top: 36px; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { font-family: var(--font-display); color: var(--ink); font-size: var(--fs-h3); margin: 40px 0 14px; }
.article-content h3 { font-family: var(--font-display); color: var(--ink); font-size: 1.18rem; margin: 28px 0 10px; }
.article-content p { margin-bottom: 18px; }
.article-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { margin: 0 0 18px 22px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--ink); }
.article-content code { font-family: var(--font-mono); font-size: 0.84em; background: var(--base-2); border: 1px solid var(--surface-line); padding: 2px 6px; border-radius: 6px; color: var(--pale); }
.article-content pre { background: var(--base-2); border: 1px solid var(--surface-line); border-radius: var(--r-md); padding: 18px; overflow: auto; margin-bottom: 18px; }
.article-content pre code { background: none; border: 0; padding: 0; color: var(--ink); }
.article-content blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 18px; margin: 0 0 18px; color: var(--ink); }
.article-content img { border-radius: var(--r-md); border: 1px solid var(--surface-line); margin: 18px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.92rem; }
.article-content th, .article-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--surface-line); }
.article-content th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.article-cta { margin-top: 36px; padding: 28px; text-align: center; }
.article-cta .btn { margin-top: 8px; }

/* --- Blog listing --- */
.blog-section { padding: var(--sp-6) 0 var(--sp-10); }
.blog-section-title { font-size: var(--fs-h3); margin-bottom: 28px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 10px; overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.blog-card:hover { border-color: var(--card-line); transform: translateY(-3px); }
.blog-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--surface-line); background: var(--base-2); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-content { padding: 24px; }
.blog-card-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.blog-card-category { color: var(--gold); }
.blog-card h2 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 10px; }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card p { font-size: 0.9rem; margin-bottom: 16px; }
.blog-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 0.85rem; font-weight: 600; }
.blog-card-link i { width: 15px; height: 15px; transition: transform .2s; }
.blog-card-link:hover i { transform: translateX(3px); }
.featured-article { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.featured-article .blog-card-image { aspect-ratio: auto; height: 100%; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--surface-line); }
.featured-article .blog-card-content { padding: 36px; align-self: center; }
@media (max-width: 720px) { .featured-article .blog-card-image { border-right: 0; border-bottom: 1px solid var(--surface-line); min-height: 0; aspect-ratio: 16 / 9; } }

/* --- Comparison tables (alternatives) --- */
.comparison-section { padding: var(--sp-6) 0 var(--sp-10); }
.comparison-table { width: 100%; border: 1px solid var(--surface-line); border-radius: var(--r-lg); overflow: hidden; margin: 20px 0; }
.comparison-table table { width: 100%; border-collapse: collapse; margin: 0; }
.comparison-table th, .comparison-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--surface-line); font-size: 0.92rem; }
.comparison-table th { background: var(--base-2); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table td:first-child { color: var(--ink); font-weight: 500; }

/* --- Feature sections (features.php) --- */
.feature-section { padding: var(--sp-7) 0; border-bottom: 1px solid var(--surface-line); }
.feature-section:last-child { border-bottom: 0; }
.feature-section h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { padding: 24px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-line); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); scroll-margin-top: 90px; }
.feature-item:hover { border-color: var(--card-line); transform: translateY(-3px); }
/* Ring the card that was jumped to from the mega menu */
.feature-item:target { border-color: var(--gold); box-shadow: var(--pale) 5px 5px, rgb(0 39 44 / 57%) 10px 10px, rgb(223 237 230 / 71%) 15px 15px; }
.feature-item-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--card-icon); border: 1px solid var(--gold-24); margin-bottom: 14px; }
.feature-item-icon i, .feature-item-icon svg { width: 21px; height: 21px; color: var(--gold); }
.feature-item h3 { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); margin-bottom: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.feature-item p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.feature-section h2 i, .feature-section h2 svg { color: var(--gold); }
.cta-banner { text-align: center; padding: 48px 28px; margin: var(--sp-8) 0 var(--sp-9); border-radius: var(--r-lg); background: var(--gold-12); border: 1px solid var(--gold-24); }
.cta-banner h2 { font-size: var(--fs-h2); margin-bottom: 10px; }
.cta-banner p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 22px; }
.cta-banner .btn { background: #00272c; color: #F1F4F3; border-bottom: 2px solid #001518; }
.cta-banner .btn:hover { transform: scaleX(1.05); }

/* --- Contact / about --- */
.contact-section { padding: var(--sp-8) 0; }
.about-content { max-width: 760px; margin: 0 auto; }

/* --- Blog post supporting bits --- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-soft); } .breadcrumb a:hover { color: var(--gold); }
.article-content .callout, .article-content .tip-box { background: var(--gold-12); border: 1px solid var(--gold-24); border-radius: var(--r-md); padding: 16px 18px; margin: 22px 0; font-size: 0.95rem; color: var(--ink); }
.article-content .callout strong, .article-content .tip-box strong { color: var(--gold); }
.article-content .step-box { background: var(--surface-soft); border: 1px solid var(--surface-line); border-left: 3px solid var(--gold); border-radius: var(--r-sm); padding: 16px 18px; margin: 16px 0; }
.article-content .step-box h4 { font-family: var(--font-display); color: var(--ink); margin-bottom: 6px; }
.cta-box, .article-cta { background: var(--gold-12); border: 1px solid var(--gold-24); border-radius: var(--r-lg); padding: 28px; text-align: center; margin: 36px 0; }
.cta-box h3 { margin-bottom: 6px; } .cta-box p { margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.related-card { padding: 16px; border: 1px solid var(--card-line); border-radius: 10px; background: var(--card-bg); transition: border-color .2s, transform .2s; }
.related-card:hover { border-color: var(--card-line); transform: translateY(-2px); }
.related-card h4 { font-family: var(--font-display); font-size: 0.92rem; color: var(--ink); margin-bottom: 2px; }
.related-card p { font-size: 0.78rem; color: var(--ink-faint); }
.faq-block { margin: 28px 0; }
.faq-block details { border-bottom: 1px solid var(--surface-line); padding: 16px 0; }
.faq-block summary { font-family: var(--font-display); font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-block summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; }
.faq-block details[open] summary::after { content: "−"; }
.faq-block details p { margin-top: 10px; }
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr 1fr; } .featured-article, .blog-grid, .feature-grid, .shots-grid, .feat-grid, .price-grid { grid-template-columns: 1fr !important; } }

/* Pro badge (features list) */
.pro-badge { font-size: 0.56rem; letter-spacing: 0.12em; text-transform: uppercase; color: #00272c; background: #ffeb3bba; padding: 2px 7px; border-radius: 10px; margin-left: 6px; font-weight: 600; vertical-align: middle; border: 1px solid #00272c; border-bottom: 2px solid #00272c; }
/* Mega menu: never overflow the viewport */
.mega { max-width: calc(100vw - 32px); }
@media (max-width: 1000px) and (min-width: 901px) { .mega { grid-template-columns: 1fr 1fr; width: 460px; } .mega__feature { display: none; } }

/* Hero demo video sits in the same instrument bezel as screenshots */
.showcase__media video { width: 100%; display: block; }
.showcase__live .dot { background: #ff5a5a; box-shadow: 0 0 10px rgba(255,90,90,0.7); }
@media (prefers-reduced-motion: reduce) { .hero-video { /* JS pauses; poster remains */ } }

/* Buttons inside article prose must keep their own colors (not the gold link color) */
.article-content a.btn { text-decoration: none; }
.article-content a.btn-gold { color: var(--base-2); }
.article-content a.btn-ghost { color: var(--ink); }
.article-content a.btn:hover { text-decoration: none; }

/* ============================================================================
   Alternatives - index cards, overview table, comparison-page blocks
   ========================================================================== */
/* Index: comparison cards */
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.comparison-card { padding: 28px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-line); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.comparison-card:hover { border-color: var(--card-line); transform: translateY(-3px); }
.comparison-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.comparison-card .subtitle { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 14px; }
.comparison-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 14px; }
.comparison-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.comparison-meta .highlight { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); background: var(--gold-12); border: 1px solid var(--gold-24); padding: 4px 10px; border-radius: var(--r-pill); }
.comparison-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 0.9rem; font-weight: 600; }
.comparison-link i { width: 15px; height: 15px; transition: transform .2s; }
.comparison-link:hover i { transform: translateX(3px); }

/* Index: overview / quick-comparison table */
.overview-section { padding-top: var(--sp-8); }
.overview-section h2 { font-size: var(--fs-h2); margin-bottom: 8px; }
.section-desc { color: var(--ink-soft); margin-bottom: 28px; }
.overview-table { width: 100%; border: 1px solid var(--surface-line); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; }
.overview-table table { width: 100%; border-collapse: collapse; }
.overview-table th, .overview-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--surface-line); font-size: 0.92rem; }
.overview-table th { background: var(--base-2); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.overview-table th.rija-col, .overview-table td.rija-col { background: var(--gold-12); color: var(--ink); }
.overview-table th.rija-col { color: var(--gold); }
.overview-table tr:last-child td { border-bottom: 0; }
.overview-table .check { color: var(--gold); font-weight: 600; }

/* Comparison page: verdict + pros/cons + winner cells */
.verdict { background: var(--gold-12); border: 1px solid var(--gold-24); border-radius: 10px; padding: 22px 24px; margin: 0 0 28px; }
.verdict h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--gold); }
.verdict p { margin: 0; color: var(--ink); }
.comparison-table td.winner { color: var(--ink); font-weight: 600; position: relative; }
.comparison-table td.winner::before { content: "✓ "; color: var(--gold); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 8px; }
.pros-cons .pros, .pros-cons .cons { background: var(--surface-soft); border: 1px solid var(--surface-line); border-radius: var(--r-md); padding: 18px 20px; }
.pros-cons .pros { border-left: 3px solid var(--gold); }
.pros-cons h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); margin: 0 0 10px; }
.pros-cons ul { margin: 0 0 0 18px; }
.pros-cons li { font-size: 0.92rem; margin-bottom: 7px; }

/* Article h4 consistency */
.article-content h4 { font-family: var(--font-display); color: var(--ink); font-size: 1rem; margin: 0 0 8px; }

/* Comparison-page related cards: no underline, no subheading */
.related-section { margin-top: 44px; }
.related-section h3 { font-size: 1.1rem; margin-bottom: 14px; }
.article-content a.related-card { text-decoration: none; }
.related-card h4 { text-decoration: none; }
.related-card p { display: none; }

@media (max-width: 720px) { .comparison-grid, .pros-cons { grid-template-columns: 1fr; } }

/* Wide tables scroll horizontally on small screens instead of overflowing */
@media (max-width: 720px) {
    .comparison-table, .article-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .comparison-table table { min-width: 460px; }
}

/* Overview table: muted cross + footnote */
.overview-table .cross { color: var(--ink-faint); }
.table-note { font-size: 0.78rem; color: var(--ink-faint); margin-top: 14px; }

/* ============================================================================
   About page + legal pages
   ========================================================================== */
.about-content { max-width: 900px; margin: 0 auto; padding: clamp(24px, 3vw, 40px) 20px var(--sp-8); }
.about-section { margin-bottom: var(--sp-7); }
.about-section h2 { font-size: var(--fs-h3); margin-bottom: 12px; }
.about-section p { font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.value-card { padding: 22px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-line); }
.value-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; margin: 0; }
.company-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; padding: 24px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-line); margin-top: 18px; }
.company-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.company-info { text-align: right; }
.company-name { font-family: var(--font-mono); color: var(--gold); font-size: 0.9rem; letter-spacing: 0.04em; }
.company-address { font-size: 0.86rem; color: var(--ink-soft); margin-top: 6px; }
.contact-section { padding: var(--sp-8) 0; text-align: center; }
.contact-section h2 { font-size: var(--fs-h2); margin-bottom: 10px; }
.contact-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.contact-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-pill); border: 1px solid var(--surface-line); background: var(--surface-soft); color: var(--ink); font-weight: 500; transition: border-color .2s, color .2s; }
.contact-link:hover { border-color: var(--gold-40); color: var(--gold); }
.contact-link i { width: 17px; height: 17px; }

/* Legal / policy pages - readable prose column */
.legal-page, .legal-content, .policy-content { max-width: 1120px; margin: 0 auto; padding: clamp(24px,3vw,40px) 20px var(--sp-9); }
.legal-page h1, .legal-content h1, .policy-content h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin-bottom: 8px; line-height: 1.12; }
.legal-page h2, .legal-content h2, .policy-content h2 { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--ink); margin: 34px 0 12px; }
.legal-page h3, .legal-content h3, .policy-content h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin: 22px 0 8px; }
.legal-page p, .legal-content p, .policy-content p, .legal-page li, .legal-content li, .policy-content li { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.legal-page p, .legal-content p, .policy-content p { margin-bottom: 16px; }
.legal-page ul, .legal-content ul, .policy-content ul { margin: 0 0 16px 22px; }
.legal-page li, .legal-content li, .policy-content li { margin-bottom: 8px; }
.legal-page a, .legal-content a, .policy-content a { color: var(--gold); }
.legal-updated, .last-updated { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 28px; }
@media (max-width: 720px) { .values-grid { grid-template-columns: 1fr; } .company-card { grid-template-columns: 1fr; } .company-info { text-align: left; } }
.legal-page .legal-box { background: var(--surface-soft); border: 1px solid var(--surface-line); border-radius: var(--r-md); padding: 16px 18px; margin: 16px 0; }
.legal-page .legal-box p { margin: 0; } .legal-page .legal-box p + p { margin-top: 4px; }
.legal-page .legal-box strong, .legal-page .legal-box .lbl { color: var(--ink); font-weight: 600; }

/* Alternatives index: "Why choose" + closing CTA */
.why-section { padding: var(--sp-8) 0; }
.why-section h2 { font-size: var(--fs-h2); margin-bottom: 8px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.why-card { padding: 26px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-line); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.why-card:hover { border-color: var(--card-line); transform: translateY(-3px); }
.why-card-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--card-icon); border: 1px solid var(--gold-24); margin-bottom: 16px; }
.why-card-icon i, .why-card-icon svg { width: 22px; height: 22px; color: var(--gold); }
.why-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.cta-section { padding: var(--sp-8) 0 var(--sp-9); text-align: center; }
.cta-section h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
.cta-section > .container > p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 24px; }
.cta-section .btn { background: #00272c; color: #F1F4F3; border-bottom: 2px solid #001518; }
.cta-section .btn:hover { transform: scaleX(1.05); }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   Pointer UX - cursor-tracking spotlight on cards (set by brand-2026.js).
   The ::after glow follows --mx/--my and fades in on hover; content sits above
   it via z-index. Pure paint on the compositor, no layout cost.
   ========================================================================== */
.card-spot { position: relative; isolation: isolate; }
.card-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: none;
  opacity: 0; transition: opacity .4s var(--ease); z-index: 0;
}
.card-spot:hover::after { opacity: 1; }
.card-spot > * { position: relative; z-index: 1; }
