/* CCVR design system tokens — from Claude Design export (ccvr-design-system c00ddd46) */
/* ---- palette.css ---- */
/* ── Palette ──────────────────────────────────────────────────────────────
   Two hues, four values — straight off the CCVR logo. Nothing else.

     TURQUOISE  #008688 → #22BABA   structure, trust, availability
     ORANGE     #F17F3D → #FD5430   energy, CTA, live, critical

   These are the Arculati kézikönyv 2022 / VR-lockup values, unchanged. The
   loudness comes from glow and the plasma ground, not from extra hues.
   If a new colour feels necessary, the layout is wrong.
   ─────────────────────────────────────────────────────────────────────── */
:root{
  --teal:#008688;           /* Pantone 7716 C · sötét türkiz */
  --turq:#22BABA;           /* Pantone 319 C  · világos türkiz */
  --orange:#F17F3D;         /* VR lockup */
  --flame:#FD5430;          /* VR lockup */

  /* Ink ramp — deep teal-black, derived from --teal */
  --ink-0:#02100F;
  --ink-1:#041A19;
  --ink-2:#072422;
  --ink-3:#0B2F2C;

  --black:#000;
  --white:#fff;
}

/* ---- typography.css ---- */
/* ── Typography ───────────────────────────────────────────────────────────
   One display face, one body face, one mono. No alternates.
   ─────────────────────────────────────────────────────────────────────── */
:root,[data-surface="ink"]{
  --font-display:'Chakra Petch',system-ui,sans-serif;
  --font-body:'Nunito Sans',system-ui,-apple-system,sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,monospace;

  --fs-display:clamp(52px,8.4vw,116px); /* @kind font */
  --fs-h1:clamp(36px,5vw,64px); /* @kind font */
  --fs-h2:clamp(28px,3.4vw,44px); /* @kind font */
  --fs-h3:22px; /* @kind font */
  --fs-h4:17px; /* @kind font */
  --fs-lead:clamp(17px,1.5vw,21px); /* @kind font */
  --fs-body:16px; /* @kind font */
  --fs-small:14px; /* @kind font */
  --fs-micro:12.5px; /* @kind font */
  --fs-mono:12px; /* @kind font */
  --fs-label:10.5px; /* @kind font */

  --lh-display:.94; /* @kind font */
  --lh-tight:1.06; /* @kind font */
  --lh-snug:1.3; /* @kind font */
  --lh-body:1.65; /* @kind font */
  --lh-loose:1.7; /* @kind font */

  --ls-display:-.045em; /* @kind font */
  --ls-h1:-.032em; /* @kind font */
  --ls-h2:-.025em; /* @kind font */
  --ls-h3:-.005em; /* @kind font */
  --ls-mono:.06em; /* @kind font */
  --ls-label:.18em; /* @kind font */
  --ls-kicker:.26em; /* @kind font */
  --ls-logo:.06em; /* @kind font */

  --fw-regular:400; /* @kind font */
  --fw-medium:500; /* @kind font */
  --fw-semibold:600; /* @kind font */
  --fw-bold:700; /* @kind font */
}

/* ---- space.css ---- */
/* ── Spacing ──────────────────────────────────────────────────────────────
   Nine-step scale carried over verbatim from the CCVR landing concepts.
   4 · 8 · 12 · 16 · 24 · 32 · 48 · 72 · 112
   ─────────────────────────────────────────────────────────────────────── */
:root{
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:24px;
  --space-6:32px;
  --space-7:48px;
  --space-8:72px;
  --space-9:112px;

  --gutter:var(--space-5);
  --container-max:1180px;
  --container-wide:1220px;
  --measure:64ch; /* @kind other */
  --measure-tight:44ch; /* @kind other */

  --section-y:88px;
  --section-y-tight:var(--space-7);
}

/* ---- radius.css ---- */
/* ── Radius & chamfer ─────────────────────────────────────────────────────
   Corner language is the loudest theme signal:
     neon-noir    · small radii + an 18px chamfered corner
     soc-terminal · zero radius everywhere, no chamfer
     holo-plasma  · large soft radii, no chamfer
   ─────────────────────────────────────────────────────────────────────── */
:root,[data-surface="ink"]{
  --radius-xs:3px;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:16px;
  --radius-xl:24px;
  --radius-pill:999px;
  --chamfer:18px;
  --clip-chamfer:polygon(0 0,calc(100% - var(--chamfer)) 0,100% var(--chamfer),100% 100%,0 100%); /* @kind other */
  --clip-chamfer-2:polygon(var(--chamfer) 0,100% 0,100% calc(100% - var(--chamfer)),calc(100% - var(--chamfer)) 100%,0 100%,0 var(--chamfer)); /* @kind other */
  --hairline:1px;
}

/* ---- effects.css ---- */
/* ── Effects ──────────────────────────────────────────────────────────────
   Depth on dark ground comes from two stacked systems:
     1. a black drop shadow that seats the element
     2. a coloured glow that makes the accent read as emitted light
   ─────────────────────────────────────────────────────────────────────── */
:root,[data-surface="ink"]{
  --shadow-1:0 8px 24px -12px rgba(0,0,0,.85);
  --shadow-2:0 24px 60px -24px rgba(0,0,0,.95);
  --shadow-3:0 40px 90px -30px #000;
  --shadow-inset:inset 0 1px 0 rgba(34,186,186,.09);

  --blur-glass:20px; /* @kind other */
  --blur-hud:10px; /* @kind other */
  --blur-mesh:90px; /* @kind other */

  --grid-cell:64px;
  --grid-cell-tight:40px;
  --grid-alpha:.07; /* @kind other */
  --scanline-step:3px; /* @kind other */
  --scanline-alpha:.045; /* @kind other */
  --scanline-opacity:.45; /* @kind other */
  --glitch-shift:4px;
}

/* ---- motion.css ---- */
/* ── Motion ───────────────────────────────────────────────────────────────
   Motion is a first-class part of this system, not decoration. Three tiers:

     REACTIVE  .16–.28s  hover, focus, press
     ENTRANCE  .7s       scroll-reveal, staggered
     AMBIENT   6–34s     aurora drift, ticker, sweep, scanbar, ring orbit
     GLITCH    .35–6s    RGB split, flicker, slice — the signature tier
   ─────────────────────────────────────────────────────────────────────── */
:root{
  --ease-out:cubic-bezier(.2,.8,.2,1); /* @kind other */
  --ease-in-out:cubic-bezier(.65,0,.35,1); /* @kind other */
  --ease-snap:cubic-bezier(.16,1,.3,1); /* @kind other */

  --dur-1:.16s; /* @kind other */
  --dur-2:.22s; /* @kind other */
  --dur-3:.28s; /* @kind other */
  --dur-reveal:.7s; /* @kind other */
  --dur-glitch:3.2s; /* @kind other */
  --dur-flicker:5s; /* @kind other */
  --dur-sweep:6.5s; /* @kind other */
  --dur-scanbar:7s; /* @kind other */
  --dur-ticker:34s; /* @kind other */
  --dur-orbit:26s; /* @kind other */
  --dur-ambient:22s; /* @kind other */

  --lift:-2px; /* @kind other */
  --lift-card:-5px; /* @kind other */
  --press-scale:.985; /* @kind other */
  --reveal-offset:26px; /* @kind other */
  --stagger:90ms; /* @kind other */
}

/* ---- semantic.css ---- */
/* ── Semantic aliases ─────────────────────────────────────────────────────
   One line, no themes. Components read these names only — never a raw hue.
   ─────────────────────────────────────────────────────────────────────── */
:root,[data-surface="ink"]{
  /* Surfaces */
  --surface-page:var(--ink-0);
  --surface-raised:var(--ink-1);
  --surface-card:var(--ink-2);
  --surface-card-2:var(--ink-3);
  --surface-sunken:rgba(0,0,0,.42);
  --surface-glass:rgba(140,240,235,.05);

  /* Hairlines */
  --line:rgba(140,240,235,.15);
  --line-strong:rgba(140,240,235,.32);
  --line-accent:rgba(34,186,186,.55);
  --line-hot:rgba(253,84,48,.45);

  /* Accents */
  --accent:var(--turq);
  --accent-hot:var(--flame);
  --accent-alt:var(--orange);
  --accent-ink:#021413;

  /* Ink */
  --text-strong:#EDF9F8;
  --text-body:#A2C4C2;
  --text-muted:#7CA19F;
  --text-on-accent:#021413;
  --text-link:var(--turq);
  --text-link-hover:var(--flame);

  /* Status — two hues, four values, no overlap */
  --status-ok:var(--turq);
  --status-warn:var(--orange);
  --status-dev:var(--orange);
  --status-critical:var(--flame);

  /* Gradients — two tight sweeps, one per hue. Never a cool→hot blend: the
     140° hue travel between turquoise and orange runs through green, which is
     exactly the rainbow this palette exists to avoid. The two hues meet by
     ADJACENCY (as in the logo), never by interpolation. */
  --grad-cool:linear-gradient(in oklab 112deg,#008688 0%,#22BABA 100%); /* @kind color */
  --grad-hot:linear-gradient(in oklab 112deg,#F17F3D 0%,#FD5430 100%); /* @kind color */
  --grad-surface:linear-gradient(160deg,rgba(34,186,186,.08),rgba(34,186,186,0)); /* @kind color */
  --grad-ring:conic-gradient(from 210deg,#008688,#22BABA,#F17F3D,#FD5430,#008688); /* @kind color */
  --grad-rule:linear-gradient(90deg,transparent,var(--line-strong) 12%,var(--line-strong) 88%,transparent); /* @kind color */

  /* Glow — an accent must read as emitted light, never as fill */
  --glow-accent:0 0 0 1px rgba(34,186,186,.5),0 0 28px -6px rgba(34,186,186,.75); /* @kind color */
  --glow-hot:0 0 0 1px rgba(253,84,48,.5),0 0 30px -6px rgba(253,84,48,.8); /* @kind color */
  --glow-cta:0 0 36px -10px rgba(253,84,48,.9); /* @kind color */
  --glow-cta-hover:0 0 54px -8px rgba(253,84,48,1); /* @kind color */
  --glow-text:0 0 10px rgba(34,186,186,.6),0 0 38px rgba(34,186,186,.32); /* @kind color */
  --glow-text-hot:0 0 10px rgba(253,84,48,.65),0 0 40px rgba(253,84,48,.34); /* @kind color */

  /* Component radii */
  --radius-control:var(--radius-sm);
  --radius-card:var(--radius-md);
  --radius-media:var(--radius-sm);

  /* Page atmosphere — the plasma ground: turquoise and orange dissolving
     into each other across the viewport */
  --atmos:radial-gradient(720px 480px at 10% -6%,rgba(34,186,186,.30),transparent 66%),
          radial-gradient(780px 520px at 94% 2%,rgba(241,127,61,.24),transparent 66%),
          radial-gradient(860px 600px at 56% 52%,rgba(0,134,136,.16),transparent 70%),
          radial-gradient(700px 500px at 44% 110%,rgba(253,84,48,.20),transparent 68%); /* @kind other */
  --atmos-grid:linear-gradient(rgba(34,186,186,var(--grid-alpha)) 1px,transparent 1px) 0 0/var(--grid-cell) var(--grid-cell),
               linear-gradient(90deg,rgba(34,186,186,var(--grid-alpha)) 1px,transparent 1px) 0 0/var(--grid-cell) var(--grid-cell); /* @kind other */
}

/* ---- base.css ---- */
/* ── Base layer ───────────────────────────────────────────────────────────
   Element defaults, the page atmosphere, the type utilities, and the motion
   vocabulary. Everything here reads semantic tokens only.
   ─────────────────────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--surface-page);color:var(--text-strong);font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased;text-wrap:pretty}
h1,h2,h3,h4,h5{font-family:var(--font-display);font-weight:var(--fw-bold);line-height:var(--lh-tight);letter-spacing:-.01em;margin:0}
p{margin:0}
a{color:var(--text-link);text-decoration:none;transition:color var(--dur-2) var(--ease-out),text-shadow var(--dur-2) var(--ease-out)}
a:hover{color:var(--text-link-hover);text-shadow:var(--glow-text-hot)}
img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
::selection{background:var(--accent-hot);color:var(--text-on-accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ── Page atmosphere ─────────────────────────────────────────────────────
   .cc-atmos paints the accent wash, the survey grid, the scanline veil and
   one slow bright scanbar. Four layers, zero markup. */
.cc-atmos{position:relative;isolation:isolate}
.cc-atmos::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:var(--atmos),var(--atmos-grid);animation:cc-drift var(--dur-ambient) var(--ease-in-out) infinite alternate}
.cc-atmos::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:var(--scanline-opacity);mix-blend-mode:overlay;background:repeating-linear-gradient(180deg,rgba(255,255,255,var(--scanline-alpha)) 0 1px,transparent 1px var(--scanline-step))}
.cc-atmos>*{position:relative;z-index:2}
@keyframes cc-drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-1.5%,1%,0) scale(1.06)}}

/* A single bright line sweeping the full page height. Once per page. */
.cc-scanbar{position:fixed;inset-inline:0;top:0;height:2px;z-index:3;pointer-events:none;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.5;filter:blur(1px);animation:cc-scanbar var(--dur-scanbar) var(--ease-in-out) infinite}
@keyframes cc-scanbar{0%{transform:translateY(-10vh);opacity:0}8%{opacity:.5}92%{opacity:.5}100%{transform:translateY(110vh);opacity:0}}

.cc-container{max-width:var(--container-max);margin:0 auto;padding-inline:var(--gutter)}
.cc-section{padding-block:var(--section-y)}
/* Two adjacent sections would otherwise stack 176px of dead air. One band. */
.cc-section + .cc-section{padding-block-start:0}

/* ── Type utilities ──────────────────────────────────────────────────── */
.t-display{font-family:var(--font-display);font-weight:var(--fw-bold);font-size:var(--fs-display);line-height:var(--lh-display);letter-spacing:var(--ls-display);text-transform:uppercase}
.t-h1{font-family:var(--font-display);font-weight:var(--fw-bold);font-size:var(--fs-h1);line-height:var(--lh-tight);letter-spacing:var(--ls-h1)}
.t-h2{font-family:var(--font-display);font-weight:var(--fw-bold);font-size:var(--fs-h2);line-height:var(--lh-tight);letter-spacing:var(--ls-h2)}
.t-h3{font-family:var(--font-display);font-weight:var(--fw-bold);font-size:var(--fs-h3);line-height:var(--lh-snug);letter-spacing:var(--ls-h3)}
.t-lead{font-size:var(--fs-lead);line-height:var(--lh-loose);color:var(--text-body);font-weight:var(--fw-regular)}
.t-body{font-size:var(--fs-body);color:var(--text-body)}
.t-small{font-size:var(--fs-small);color:var(--text-muted)}
.t-mono{font-family:var(--font-mono);font-size:var(--fs-mono);letter-spacing:var(--ls-mono)}
.t-label{font-family:var(--font-mono);font-size:var(--fs-label);letter-spacing:var(--ls-label);text-transform:uppercase;color:var(--text-muted)}
.t-gradient{background:var(--grad-hot,var(--accent-hot));-webkit-background-clip:text;background-clip:text;color:transparent}
.t-neon{color:var(--accent);text-shadow:var(--glow-text)}
.t-neon-hot{color:var(--accent-hot);text-shadow:var(--glow-text-hot)}

/* ── GLITCH ──────────────────────────────────────────────────────────────
   The signature motion of this system. Three intensities, all built from
   two offset colour clones of the same text sitting in screen blend mode.

   Markup (or use the GlitchText component):
     <span class="cc-glitch"><span class="cc-glitch__a">TEXT</span>
       <span class="cc-glitch__b">TEXT</span>TEXT</span>                   */
.cc-glitch{position:relative;display:inline-block;isolation:isolate}
.cc-glitch__a,.cc-glitch__b{position:absolute;left:0;top:0;width:100%;pointer-events:none;mix-blend-mode:screen;will-change:clip-path,transform}
.cc-glitch__a{color:var(--accent)}
.cc-glitch__b{color:var(--accent-hot)}
.cc-glitch__a{animation:cc-glitch-a var(--dur-glitch) steps(1) infinite}
.cc-glitch__b{animation:cc-glitch-b var(--dur-glitch) steps(1) infinite}
@keyframes cc-glitch-a{
  0%,62%,100%{clip-path:inset(0 0 100% 0);transform:none}
  64%{clip-path:inset(2% 0 74% 0);transform:translate(calc(var(--glitch-shift) * -1),1px)}
  67%{clip-path:inset(38% 0 42% 0);transform:translate(var(--glitch-shift),-1px)}
  70%{clip-path:inset(66% 0 8% 0);transform:translate(calc(var(--glitch-shift) * -.6),0)}
  73%{clip-path:inset(0 0 100% 0)}
  88%{clip-path:inset(18% 0 58% 0);transform:translate(calc(var(--glitch-shift) * .8),1px)}
  91%{clip-path:inset(0 0 100% 0)}
}
@keyframes cc-glitch-b{
  0%,62%,100%{clip-path:inset(0 0 100% 0);transform:none}
  65%{clip-path:inset(12% 0 60% 0);transform:translate(var(--glitch-shift),-1px)}
  68%{clip-path:inset(54% 0 26% 0);transform:translate(calc(var(--glitch-shift) * -1),1px)}
  71%{clip-path:inset(80% 0 2% 0);transform:translate(calc(var(--glitch-shift) * .5),0)}
  74%{clip-path:inset(0 0 100% 0)}
  89%{clip-path:inset(44% 0 34% 0);transform:translate(calc(var(--glitch-shift) * -.8),-1px)}
  92%{clip-path:inset(0 0 100% 0)}
}
/* Loud variant — wider offset, tears more often. Hero word only.
   The offset itself comes in as an inline --glitch-shift from GlitchText, so
   the token stays declared once, in :root. */
.cc-glitch--loud .cc-glitch__a,.cc-glitch--loud .cc-glitch__b{animation-duration:2.1s}
/* Quiet variant — a barely-there chromatic edge, safe on mono labels. */
.cc-glitch--quiet .cc-glitch__a,.cc-glitch--quiet .cc-glitch__b{animation-duration:7s}
/* Hover-only: the whole tear fires on pointer-enter instead of on a loop. */
.cc-glitch--hover .cc-glitch__a,.cc-glitch--hover .cc-glitch__b{animation-play-state:paused;clip-path:inset(0 0 100% 0)}
.cc-glitch--hover:hover .cc-glitch__a,.cc-glitch--hover:hover .cc-glitch__b{animation-play-state:running;animation-duration:.5s}

/* A hard horizontal slice displacement, for panels and images. */
.cc-slice{animation:cc-slice 8s steps(1) infinite}
@keyframes cc-slice{0%,93%,100%{clip-path:none;transform:none}94%{clip-path:inset(22% 0 62% 0);transform:translateX(-6px)}95%{clip-path:inset(58% 0 26% 0);transform:translateX(5px)}96%{clip-path:none;transform:none}}

/* Neon tube flicker. Use on ONE element per view. */
.cc-flicker{animation:cc-flicker var(--dur-flicker) steps(1) infinite}
@keyframes cc-flicker{0%,88%,100%{opacity:1}89%{opacity:.35}90%{opacity:1}93%{opacity:.5}94%{opacity:1}}

/* ── Ambient motion ─────────────────────────────────────────────────── */
.cc-caret{display:inline-block;width:8px;height:1em;margin-left:4px;vertical-align:-.15em;animation:cc-blink 1.05s steps(1) infinite}
@keyframes cc-blink{0%,50%{opacity:1}51%,100%{opacity:0}}

.cc-ticker-track{display:inline-flex;align-items:center;gap:var(--space-5);white-space:nowrap;animation:cc-ticker var(--cc-ticker-dur,var(--dur-ticker)) linear infinite}
@keyframes cc-ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.cc-sweep{position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 35%,rgba(34,186,186,.12) 50%,transparent 65%);background-size:220% 100%;animation:cc-sweep var(--dur-sweep) var(--ease-in-out) infinite}
@keyframes cc-sweep{from{background-position:200% 0}to{background-position:-60% 0}}

.cc-orbit{animation:cc-orbit var(--dur-orbit) linear infinite}
@keyframes cc-orbit{from{transform:rotate(0)}to{transform:rotate(360deg)}}

.cc-pulse{animation:cc-pulse 2.6s var(--ease-in-out) infinite}
@keyframes cc-pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ── Scroll reveal ──────────────────────────────────────────────────────
   Fails OPEN. Content is visible with no JS at all; the reveal only arms
   once a script adds .js-reveal to an ancestor, in the same tick that it
   starts observing. A dead or mistimed observer can therefore never leave
   the page blank. Set style="--i:0|1|2…" on siblings to stagger them. */
.js-reveal .cc-reveal{opacity:0;transform:translateY(var(--reveal-offset));transition:opacity var(--dur-reveal) var(--ease-snap),transform var(--dur-reveal) var(--ease-snap);transition-delay:calc(var(--i,0) * var(--stagger))}
.js-reveal .cc-reveal.is-in{opacity:1;transform:none}

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

/* ---- print.css ---- */
/* ── Paper scope ──────────────────────────────────────────────────────────
   CCVR is a dark system, but a document has to survive a laser printer and
   a procurement PDF. So documents are built in two surfaces:

     [data-surface="ink"]    the dark system, unchanged — cover pages,
                             full-bleed section breaks, back pages
     [data-surface="paper"]  white stock, dark teal ink, turquoise rules

   Both are the SAME component layer. A Card, Badge, BarChart or DataTable
   reads its semantic tokens and simply inverts inside a paper scope, so the
   system has no screen/paper twins to keep in sync.

   Accent values step one stop DARKER on paper: #22BABA on white measures
   2.4:1 and #FD5430 measures 3.2:1, neither of which clears 4.5:1 for 14px
   text. The brand hexes stay in --grad-cool / --grad-hot for fills, rules and
   cover art, where contrast is not a text requirement.
   ─────────────────────────────────────────────────────────────────────── */

/* The dark scope. tokens/semantic.css, typography.css, radius.css and
   effects.css all declare their values for ':root,[data-surface="ink"]', so a
   dark island nested inside a paper document gets the full screen system back
   — surfaces, type scale, radii, shadows and glows — without any duplication
   here. This rule only adds the two properties :root sets on <body>. */
[data-surface="ink"]{
  color-scheme:dark;
  background:var(--surface-page);
  color:var(--text-strong);
}

[data-surface="paper"]{
  color-scheme:light;

  --surface-page:#FFFFFF;
  --surface-raised:#F3F8F8;
  --surface-card:#F3F8F8;
  --surface-card-2:#E7F1F0;
  --surface-sunken:#EDF4F3;
  --surface-glass:#F3F8F8;

  --line:rgba(0,134,136,.26);
  --line-strong:rgba(0,134,136,.5);
  --line-accent:rgba(0,134,136,.6);
  --line-hot:rgba(196,69,29,.5);

  --accent:#00696B;
  --accent-hot:#C4451D;
  --accent-alt:#8A4A12;
  --accent-ink:#FFFFFF;

  --text-strong:#04211F;
  --text-body:#24403E;
  --text-muted:#566F6D;
  --text-on-accent:#FFFFFF;
  --text-link:#00696B;
  --text-link-hover:#C4451D;

  --status-ok:#00696B;
  --status-warn:#8A4A12;
  --status-dev:#8A4A12;
  --status-critical:#C4451D;

  --grad-surface:linear-gradient(160deg,rgba(0,134,136,.05),rgba(0,134,136,0)); /* @kind color */
  --grad-rule:linear-gradient(90deg,var(--line-strong),var(--line-strong)); /* @kind color */

  /* Light stock takes no glow — a printed glow is a grey smudge. */
  --glow-accent:none; /* @kind color */
  --glow-hot:none; /* @kind color */
  --glow-cta:none; /* @kind color */
  --glow-cta-hover:none; /* @kind color */
  --glow-text:none; /* @kind color */
  --glow-text-hot:none; /* @kind color */

  --shadow-1:none; /* @kind other */
  --shadow-2:none; /* @kind other */
  --shadow-3:none; /* @kind other */
  --shadow-inset:none; /* @kind other */

  /* Paper keeps the chamfer but drops the soft radii — a document reads as
     a datasheet, not as an app card. */
  --radius-control:2px;
  --radius-card:2px;
  --radius-media:2px;

  background:var(--surface-page);
  color:var(--text-strong);
}

/* Document type scale — smaller and tighter than the screen scale, because a
   document is read at 100% on an A4 sheet rather than across a 1440px hero. */
[data-surface="paper"]{
  --fs-display:34pt; /* @kind font */
  --fs-h1:21pt; /* @kind font */
  --fs-h2:14pt; /* @kind font */
  --fs-h3:11.5pt; /* @kind font */
  --fs-h4:10pt; /* @kind font */
  --fs-lead:11.5pt; /* @kind font */
  --fs-body:10.5pt; /* @kind font */
  --fs-small:9.5pt; /* @kind font */
  --fs-micro:8.5pt; /* @kind font */
  --fs-mono:9pt; /* @kind font */
  --fs-label:7.5pt; /* @kind font */
  --lh-body:1.6; /* @kind font */
}

/* Atmosphere never prints. .cc-atmos inside a paper scope is inert. */
[data-surface="paper"] .cc-atmos::before,
[data-surface="paper"] .cc-atmos::after,
[data-surface="paper"] .cc-scanbar{display:none}

/* ── Print behaviour ─────────────────────────────────────────────────────
   Owned here so every CCVR document behaves the same in a print dialog.
   Page geometry itself belongs to <doc-page>; these are ink rules only. */
@media print{
  [data-surface="ink"]{
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }
  [data-surface="paper"] a{color:var(--text-strong);text-decoration:none}
  .cc-atmos::before,.cc-atmos::after,.cc-scanbar{display:none!important}
  .cc-glitch__a,.cc-glitch__b{display:none!important}
  .cc-ticker-track{animation:none!important;transform:none!important}
}

