/* Kitty client theme.
 *
 * Ported 1:1 from the RuneLite client's side panels. Source of truth:
 *   kittyAPI/kittyapi/src/main/java/net/runelite/client/plugins/kittyloader/ui/KittyTheme.java
 *   kittyAPI/kittyapi/src/main/java/net/runelite/client/plugins/kittyloader/ui/KittyPanel.java
 * Change a value there first, then mirror it here. The reasoning behind each colour — in
 * particular why the accent is not the brand purple — lives in KittyTheme's comments.
 */
@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/Barlow-Regular.ttf") format("truetype");
}
@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/Barlow-Medium.ttf") format("truetype");
}

:root {
  /* KittyTheme.Builder defaults, in declaration order. */
  --kitty-bg: #1c1c1e;
  --kitty-card-top: #303033;
  --kitty-card-bottom: #262629;
  --kitty-card-edge: rgba(255, 255, 255, .071);
  --kitty-text: #e4e4e4;
  --kitty-label: #c0c0c0;
  --kitty-muted: #7c7c7c;
  --kitty-divider: #343434;
  --kitty-track-top: #0f0f11;
  --kitty-track-bottom: #19191c;
  --kitty-track-rim: rgba(0, 0, 0, .353);
  --kitty-chip-well-top: #18181a;
  --kitty-chip-well-bottom: #202023;
  /* Text accent: 4.61:1 on a card. Deliberately NOT the #8c52c0 logo body, which measures 2.74:1. */
  --kitty-accent: #b677ee;
  /* The same purple at fill strength, for bars and filled runs rather than glyphs. */
  --kitty-accent-deep: #a25be1;
  --kitty-field: #1e1e20;
  --kitty-toggle-off-top: #18181a;
  --kitty-toggle-off-bottom: #1e1e21;
  --kitty-toggle-on-top: #8d3ed4;
  --kitty-toggle-on-bottom: #5e209c;
  --kitty-knob-top: #fcfcfc;
  --kitty-knob-bottom: #dedee2;
  --kitty-disabled: #2d2d2d;
  --kitty-track-inner: rgba(0, 0, 0, .235);
  --kitty-text-shadow: rgba(0, 0, 0, .588);
  /* Below the panel background, not above it: a recess the title sits in. */
  --kitty-section-header: #131315;
  --kitty-knob-shadow: rgba(0, 0, 0, .275);

  /* Logo palette, quoted in KittyTheme for provenance. */
  --kitty-logo-body: #8c52c0;
  --kitty-logo-shade: #5e308c;
  --kitty-logo-rim: #c49ce8;

  /* Geometry: KittyTheme arc/shadow, KittyPanel padding and row metrics. */
  --kitty-arc: 10px;
  --kitty-panel-pad: 8px;
  --kitty-card-pad: 10px;
  --kitty-row-height: 30px;
  --kitty-title-bar-height: 34px;

  /* paintCard's shadow loop: four hard 1px steps, fainter as they fall away. No blur — the
     original fills four offset round-rects at alpha 25, 20, 15 and 10. */
  --kitty-card-shadow:
    0 1px 0 rgba(0, 0, 0, .098),
    0 2px 0 rgba(0, 0, 0, .078),
    0 3px 0 rgba(0, 0, 0, .059),
    0 4px 0 rgba(0, 0, 0, .039);
  /* The top-edge highlight paintCard clips to the first `arc` rows, so it lights the top only. */
  --kitty-card-lip: inset 0 1px 0 var(--kitty-card-edge);
  --kitty-card-surface: linear-gradient(180deg, var(--kitty-card-top), var(--kitty-card-bottom));
  /* KittyPanel.paintHatch: 1px accent lines at alpha 26, stepping 15px horizontally — which is
     15 * sin(45deg) = 10.607px measured perpendicular, the axis a CSS gradient repeats along. */
  --kitty-hatch: repeating-linear-gradient(135deg,
    rgba(182, 119, 238, .102) 0 1px, transparent 1px 10.607px);

  --font: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* The page's existing semantic names, repointed at the client palette. */
:root {
  --ink: var(--kitty-bg);
  --ink-soft: var(--kitty-section-header);
  --panel: var(--kitty-card-bottom);
  --panel-lift: var(--kitty-card-top);
  --paper: var(--kitty-text);
  --paper-soft: var(--kitty-label);
  --muted: var(--kitty-muted);
  --orange: var(--kitty-accent);
  --orange-bright: var(--kitty-logo-rim);
  --raisin: var(--kitty-logo-body);
  --raisin-light: var(--kitty-logo-rim);
  --green: var(--kitty-accent);
  --edge: var(--kitty-card-edge);
  --shell: 1180px;
  --radius: var(--kitty-arc);
  --display: var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; color: var(--ink); background: var(--paper); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 4px; }

.page-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.page-glow--one { width: 720px; height: 720px; top: -360px; right: -140px; background: radial-gradient(circle, rgba(182,119,238,.14), transparent 68%); }
.page-glow--two { width: 480px; height: 480px; top: 440px; left: -300px; background: radial-gradient(circle, rgba(140,82,192,.16), transparent 68%); }

.site-header { position: relative; z-index: 30; padding: 20px 0; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, padding .25s; }
.site-header.is-stuck { position: sticky; top: 0; padding: 12px 0; background: rgba(28,28,30,.88); border-color: rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { position: relative; flex: 0 0 auto; }
.brand-mark img { filter: drop-shadow(0 8px 14px rgba(0,0,0,.24)); }
.raisin-dot { position: absolute; width: 11px; height: 11px; right: -2px; bottom: 1px; background: var(--raisin); border: 2px solid var(--ink); border-radius: 50%; box-shadow: -5px -3px 0 -1px var(--kitty-logo-shade); }
.brand-copy { display: flex; line-height: 1; letter-spacing: -.03em; font-size: 17px; }
.brand-copy strong { font-weight: 850; }
.brand-copy span { margin-left: 4px; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { color: var(--kitty-label); text-decoration: none; font-size: 13px; font-weight: 650; transition: color .2s; }
.primary-nav a:hover { color: #fff; }
.primary-nav .nav-status { display: flex; align-items: center; gap: 8px; padding: 8px 13px; color: var(--paper); border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: rgba(255,255,255,.04); }
.nav-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(182,119,238,.1); }
.nav-toggle { display: none; width: 43px; height: 43px; border: 1px solid var(--edge); border-radius: 50%; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; margin: 5px auto; background: #fff; transition: transform .2s; }

.hero { position: relative; min-height: 735px; display: grid; grid-template-columns: 1fr .93fr; gap: 66px; align-items: center; padding-top: 58px; padding-bottom: 90px; }
.eyebrow, .kicker { color: var(--orange-bright); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; border: 1px solid rgba(182,119,238,.18); border-radius: var(--kitty-arc); background: rgba(182,119,238,.06); }
.eyebrow-pip { width: 17px; height: 17px; border-radius: 50%; background: var(--orange); box-shadow: inset -4px -3px 0 rgba(94,32,156,.22); }
.hero h1 { margin: 27px 0 25px; font-family: var(--display); font-size: clamp(64px, 7.2vw, 106px); font-stretch: condensed; font-weight: 900; line-height: .86; letter-spacing: -.055em; text-transform: uppercase; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 590px; margin: 0; color: var(--kitty-label); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 31px 0 27px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--kitty-arc); text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--kitty-bg); background: var(--orange); box-shadow: 0 16px 38px rgba(182,119,238,.17); }
.button--primary:hover { background: var(--orange-bright); }
.button--quiet { color: var(--kitty-text); background: rgba(255,255,255,.035); border-color: var(--edge); }
.button--quiet:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--kitty-muted); font-size: 12px; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-check { width: 17px; height: 17px; display: inline-grid; place-items: center; border: 1px solid rgba(182,119,238,.3); border-radius: 50%; color: var(--green); font-style: normal; font-size: 10px; }

.hero-product { position: relative; min-width: 0; }
.loader-window { position: relative; z-index: 2; max-width: 500px; margin-left: auto; padding: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--kitty-arc); background: linear-gradient(145deg, rgba(48,48,51,.96), rgba(38,38,41,.98)); box-shadow: 0 42px 90px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.05); transform: rotate(1.1deg); }
.loader-window::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, rgba(255,255,255,.035), transparent 35%); }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 21px; }
.window-identity { display: flex; align-items: center; gap: 10px; }
.window-identity img { width: 38px; }
.window-identity span { display: flex; flex-direction: column; line-height: 1.1; }
.window-identity small, .plugin-head small { color: var(--orange); font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.window-identity strong { margin-top: 4px; font-size: 15px; }
.window-online { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.window-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(182,119,238,.08); }
.window-tabs { display: flex; gap: 19px; padding: 0 3px 12px; color: var(--kitty-muted); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 10px; }
.window-tabs span { position: relative; }
.window-tabs .active { color: #fff; }
.window-tabs .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: var(--orange); }
.plugin-card { margin-top: 13px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--kitty-arc); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022)); }
.plugin-card--dim { opacity: .72; }
.plugin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.plugin-head > span { display: flex; flex-direction: column; }
.plugin-head strong { margin-top: 3px; font-size: 13px; }
.pill { padding: 3px 7px; color: var(--orange-bright); border: 1px solid rgba(182,119,238,.26); border-radius: var(--kitty-arc); background: rgba(182,119,238,.07); font-size: 7px; font-style: normal; font-weight: 800; }
.plugin-card p { margin: 11px 0 13px; color: var(--kitty-muted); font-size: 10px; }
.plugin-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.065); color: var(--kitty-muted); font-size: 8px; }
.plugin-foot b { padding: 6px 11px; color: var(--kitty-bg); border-radius: 6px; background: var(--orange); font-size: 8px; }
.session-line { display: flex; align-items: center; gap: 9px; margin-top: 13px; padding: 11px 12px; border: 1px dashed rgba(182,119,238,.2); border-radius: var(--kitty-arc); background: rgba(182,119,238,.035); }
.session-icon { width: 25px; height: 25px; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(182,119,238,.2); border-radius: 7px; font-size: 9px; }
.session-line > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; line-height: 1.25; }
.session-line strong { font-size: 9px; }
.session-line small { margin-top: 2px; color: var(--kitty-muted); font-size: 8px; }
.session-line i { color: var(--green); font-size: 7px; font-style: normal; font-weight: 800; }
.raisin-cluster { position: absolute; z-index: 1; width: 126px; height: 126px; }
.raisin-cluster i { position: absolute; width: 45px; height: 50px; border: 1px solid rgba(255,255,255,.06); border-radius: 47% 53% 52% 48%; background: linear-gradient(145deg, var(--kitty-logo-body), var(--kitty-logo-shade)); box-shadow: inset 8px 7px 12px rgba(255,255,255,.05), 0 15px 30px rgba(0,0,0,.3); transform: rotate(var(--r, 0deg)); }
.raisin-cluster i:nth-child(1) { left: 34px; top: 0; --r: 11deg; }
.raisin-cluster i:nth-child(2) { left: 3px; top: 34px; --r: -17deg; }
.raisin-cluster i:nth-child(3) { left: 56px; top: 34px; --r: 18deg; }
.raisin-cluster i:nth-child(4) { left: 25px; top: 72px; --r: 9deg; }
.raisin-cluster i:nth-child(5) { left: 76px; top: 75px; --r: -8deg; }
.raisin-cluster--hero { right: -54px; bottom: -46px; transform: rotate(-13deg) scale(.78); }

.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); background: var(--kitty-track-bottom); transform: rotate(-1.15deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 32px; padding: 14px 0; color: var(--kitty-muted); font-size: 10px; font-weight: 850; letter-spacing: .24em; }
.marquee-track i { color: var(--orange); font-style: normal; }

.section { padding-top: 125px; padding-bottom: 125px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .8fr; align-items: end; gap: 80px; margin-bottom: 46px; }
.section-heading h2, .security-copy h2, .access-intro h2, .privacy-inner h2 { margin: 11px 0 0; font-family: var(--display); font-size: clamp(46px, 5.6vw, 74px); font-weight: 900; line-height: .94; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p { max-width: 440px; margin: 0 0 7px; color: var(--muted); }
.library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.library-card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 28px; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--panel); }
.library-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(145deg, rgba(255,255,255,.055), transparent 36%); }
.library-card--bosser { background: radial-gradient(circle at 60% 35%, rgba(182,119,238,.18), transparent 34%), var(--panel); }
.library-card--mouse { background: radial-gradient(circle at 65% 35%, rgba(140,82,192,.36), transparent 38%), var(--panel); }
.library-card--next { min-height: 260px; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.7fr; align-items: end; background: var(--kitty-card-bottom); }
.card-number { position: absolute; top: 22px; right: 25px; color: rgba(255,255,255,.25); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.card-visual { position: absolute; width: 220px; height: 220px; top: 32px; left: 50%; transform: translateX(-50%); }
.orbit { position: absolute; inset: 15px; border: 1px solid rgba(182,119,238,.25); border-radius: 50%; }
.orbit--one { animation: slow-spin 22s linear infinite; }
.orbit--one::after, .orbit--two::after { content: ""; position: absolute; width: 9px; height: 9px; top: 14px; left: 28px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px rgba(182,119,238,.6); }
.orbit--two { inset: 47px; border-style: dashed; opacity: .55; animation: slow-spin 15s linear infinite reverse; }
.orbit--two::after { top: auto; left: auto; right: -5px; bottom: 32px; width: 6px; height: 6px; }
.boss-rune { position: absolute; inset: 68px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: var(--orange); background: var(--kitty-field); box-shadow: 0 0 45px rgba(182,119,238,.18); font-family: var(--font); font-size: 48px; font-weight: 700; }
.card-visual--mouse { width: 260px; }
.mouse-body { position: absolute; width: 112px; height: 145px; left: 84px; top: 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 56% 49% 55% 45%; background: linear-gradient(140deg, var(--kitty-logo-body), var(--kitty-logo-shade)); box-shadow: inset 15px 10px 20px rgba(255,255,255,.06), 0 30px 60px rgba(0,0,0,.3); transform: rotate(18deg); }
.mouse-ear { position: absolute; width: 48px; height: 48px; left: 78px; top: 24px; border: 9px solid var(--kitty-logo-shade); border-radius: 50%; background: var(--kitty-logo-rim); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.mouse-tail { position: absolute; width: 170px; height: 130px; left: -25px; top: 100px; border: 8px solid transparent; border-top-color: var(--raisin-light); border-radius: 50%; transform: rotate(-17deg); opacity: .7; }
.card-copy { position: relative; z-index: 2; }
.card-label { display: flex; align-items: center; gap: 11px; }
.card-label span { color: var(--orange-bright); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.card-label i { padding: 2px 7px; color: var(--kitty-logo-rim); border: 1px solid rgba(196,156,232,.22); border-radius: var(--kitty-arc); font-size: 8px; font-style: normal; }
.card-copy h3 { margin: 9px 0 8px; font-family: var(--display); font-size: 38px; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.card-copy p { max-width: 440px; margin: 0; color: var(--kitty-label); font-size: 14px; }
.next-mark { position: relative; z-index: 2; align-self: center; justify-self: center; display: grid; place-items: center; width: 96px; height: 96px; color: var(--kitty-muted); border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; font-size: 48px; font-weight: 200; }

.security-section { background: var(--paper); color: var(--ink); }
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 110px; }
.security-copy .kicker { color: var(--kitty-accent); }
.security-copy p { max-width: 510px; margin: 27px 0 0; color: var(--kitty-label); font-size: 17px; }
.security-copy .security-caveat { padding-left: 16px; border-left: 2px solid var(--kitty-divider); color: var(--kitty-muted); font-size: 13px; }
.security-flow { display: flex; flex-direction: column; }
.flow-card { display: grid; grid-template-columns: 28px 46px 1fr; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--kitty-card-edge); border-radius: var(--kitty-arc); background: rgba(255,255,255,.4); box-shadow: 0 12px 35px rgba(0,0,0,.045); }
.flow-step { color: var(--kitty-muted); font-size: 9px; font-weight: 850; }
.flow-icon { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; border-radius: var(--kitty-arc); background: var(--ink); font-family: var(--font); font-weight: 800; }
.flow-card > div:last-child { display: flex; flex-direction: column; }
.flow-card strong { font-size: 14px; }
.flow-card small { margin-top: 3px; color: var(--kitty-muted); font-size: 12px; }
.flow-link { height: 24px; padding-left: 70px; }
.flow-link i { display: block; width: 1px; height: 100%; background: var(--kitty-divider); }

.access-panel { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding: 55px; overflow: hidden; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: radial-gradient(circle at 5% 10%, rgba(182,119,238,.12), transparent 35%), var(--panel); }
.access-panel::after { content: ""; position: absolute; width: 220px; height: 220px; right: -110px; top: -110px; border: 1px dashed rgba(182,119,238,.2); border-radius: 50%; }
.access-intro p { max-width: 410px; margin-top: 24px; color: var(--muted); }
.access-steps { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.access-steps li { display: grid; grid-template-columns: 43px 1fr; align-items: center; gap: 15px; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--kitty-arc); background: rgba(255,255,255,.035); }
.access-steps li > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--orange); border: 1px solid rgba(182,119,238,.2); border-radius: var(--kitty-arc); background: rgba(182,119,238,.06); font-size: 12px; font-weight: 850; }
.access-steps div { display: flex; flex-direction: column; }
.access-steps strong { font-size: 13px; }
.access-steps small { color: var(--kitty-muted); font-size: 11px; }

.status-section { padding-top: 0; }
.status-card { overflow: hidden; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: var(--kitty-card-bottom); }
.status-copy { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 29px 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.status-title { display: flex; align-items: center; gap: 15px; }
.status-title > i { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(182,119,238,.09), 0 0 24px rgba(182,119,238,.35); }
.status-title span { display: flex; flex-direction: column; }
.status-title small { color: var(--orange); font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.status-title strong { margin-top: 3px; font-size: 16px; }
.status-copy p { max-width: 460px; margin: 0; color: var(--kitty-muted); font-size: 12px; }
.status-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 25px 32px; }
.status-facts div { display: flex; flex-direction: column; gap: 3px; padding: 0 24px; border-right: 1px solid rgba(255,255,255,.07); }
.status-facts div:first-child { padding-left: 0; }
.status-facts div:last-child { border: 0; }
.status-facts dt { color: var(--kitty-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.status-facts dd { margin: 0; color: var(--kitty-label); font-size: 12px; }
.download-card { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; margin: 0 18px 18px; padding: 14px; border-radius: var(--kitty-arc); background: rgba(255,255,255,.04); }
.download-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange); border: 1px solid rgba(182,119,238,.18); border-radius: var(--kitty-arc); background: rgba(182,119,238,.06); font-size: 20px; }
.download-card > div { display: flex; flex-direction: column; }
.download-card strong { font-size: 13px; }
.download-card small { color: var(--kitty-muted); font-size: 10px; }
.button--download { min-height: 38px; padding: 0 15px; color: var(--ink); background: var(--orange); font-size: 10px; }
.button--download.is-disabled { color: var(--kitty-muted); border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.04); pointer-events: none; }

.faq-section { padding-top: 30px; }
.section-heading--faq { grid-template-columns: 1fr; margin-bottom: 30px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faq-grid details { align-self: start; padding: 0 20px; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: var(--kitty-card-bottom); }
.faq-grid summary { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 15px; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary span { color: var(--orange); font-size: 20px; font-weight: 300; transition: transform .2s; }
.faq-grid details[open] summary span { transform: rotate(45deg); }
.faq-grid p { margin: -2px 0 18px; padding-right: 25px; color: var(--kitty-label); font-size: 12px; }

.privacy-strip { padding: 70px 0; color: var(--ink); background: var(--kitty-section-header); }
.privacy-inner { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 30px; }
.privacy-cat { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.1); border-radius: var(--kitty-arc); background: rgba(255,255,255,.25); transform: rotate(-4deg); }
.privacy-inner .kicker { color: var(--kitty-accent); }
.privacy-inner h2 { font-size: clamp(36px, 4vw, 56px); }
.privacy-inner p { max-width: 720px; margin: 14px 0 0; color: var(--kitty-muted); font-size: 13px; }
.text-link { white-space: nowrap; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--kitty-divider); font-size: 12px; font-weight: 800; }

.site-footer { padding: 46px 0 32px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }
.brand--footer { font-size: 14px; }
.footer-inner > p { margin: 0; color: var(--kitty-muted); font-size: 11px; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { color: var(--kitty-label); text-decoration: none; font-size: 11px; }
.footer-inner > small { grid-column: 1 / -1; padding-top: 24px; color: var(--kitty-muted); border-top: 1px solid rgba(255,255,255,.065); font-size: 9px; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* Privacy and utility pages */
.utility-page { min-height: 100vh; display: flex; flex-direction: column; }
.utility-page main { flex: 1; }
.utility-hero { padding: 100px 0 60px; }
.utility-hero h1 { max-width: 780px; margin: 14px 0 20px; font-family: var(--display); font-size: clamp(58px, 8vw, 100px); line-height: .87; letter-spacing: -.05em; text-transform: uppercase; }
.utility-hero > p { max-width: 650px; color: var(--muted); font-size: 17px; }
.privacy-content { display: grid; grid-template-columns: 220px 1fr; gap: 80px; padding-bottom: 120px; }
.privacy-aside { position: sticky; top: 100px; align-self: start; padding: 18px; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: var(--ink-soft); }
.privacy-aside strong { color: var(--orange); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.privacy-aside p { margin: 8px 0 0; color: var(--kitty-muted); font-size: 11px; }
.prose { max-width: 780px; }
.prose section { padding: 31px 0; border-top: 1px solid rgba(255,255,255,.08); }
.prose h2 { margin: 0 0 12px; font-family: var(--display); font-size: 28px; letter-spacing: -.02em; text-transform: uppercase; }
.prose p, .prose li { color: var(--kitty-label); font-size: 14px; }
.prose ul { padding-left: 19px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); text-decoration: none; font-size: 12px; font-weight: 750; }
.not-found { min-height: 72vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.not-found-code { position: relative; display: grid; place-items: center; }
.not-found-code strong { color: var(--kitty-disabled); font-family: var(--display); font-size: clamp(180px, 27vw, 360px); line-height: .7; }
.not-found-code img { position: absolute; width: min(190px, 35vw); filter: drop-shadow(0 25px 30px rgba(0,0,0,.28)); }
.not-found h1 { margin: 13px 0; font-family: var(--display); font-size: clamp(54px, 7vw, 88px); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; }
.not-found p { max-width: 480px; color: var(--muted); }

/* Public product and merchant disclosure */
.product-nav { display: flex; align-items: center; gap: 24px; }
.product-nav a { color: var(--kitty-label); text-decoration: none; font-size: 12px; font-weight: 700; }
.product-nav a:hover { color: var(--paper); }
.products-hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; padding-top: 92px; padding-bottom: 88px; }
.products-hero h1 { margin: 16px 0 25px; font-family: var(--display); font-size: clamp(58px, 7vw, 92px); font-weight: 900; line-height: .88; letter-spacing: -.05em; text-transform: uppercase; }
.products-hero h1 em { color: var(--orange); font-style: normal; }
.products-hero > div > p { max-width: 720px; margin: 0; color: var(--kitty-label); font-size: 17px; }
.business-card { padding: 26px; border: 1px solid rgba(182,119,238,.22); border-radius: var(--kitty-arc); background: linear-gradient(150deg, rgba(182,119,238,.09), rgba(255,255,255,.025)); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.business-card > span, .product-disclosure-grid article > span { color: var(--orange); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.business-card > strong { display: block; margin: 7px 0 19px; font-family: var(--display); font-size: 30px; text-transform: uppercase; }
.business-card dl { margin: 0; }
.business-card dl div { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.business-card dt { color: var(--kitty-muted); font-size: 11px; }
.business-card dd { margin: 0; color: var(--kitty-label); font-size: 11px; font-weight: 700; }
.products-section { padding-top: 85px; padding-bottom: 100px; }
.products-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; margin-bottom: 34px; }
.products-heading h2 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(44px, 5vw, 68px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; }
.products-heading > p { margin: 0; color: var(--muted); font-size: 14px; }
.catalogue-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 22px; padding: 14px 16px; border: 1px solid rgba(182,119,238,.2); border-radius: var(--kitty-arc); background: rgba(182,119,238,.055); }
.catalogue-status span { display: flex; align-items: center; gap: 10px; color: var(--kitty-label); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.catalogue-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(182,119,238,.09); }
.catalogue-status strong { color: var(--orange-bright); font-size: 11px; font-weight: 750; }
.public-catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.public-product { min-height: 330px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: radial-gradient(circle at 100% 0, rgba(182,119,238,.075), transparent 32%), var(--kitty-card-surface); box-shadow: var(--kitty-card-lip), var(--kitty-card-shadow); }
.public-product--featured { border-color: rgba(182,119,238,.25); }
.public-product header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.public-product header small { color: var(--kitty-muted); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.product-monogram { width: 38px; height: 38px; display: grid; place-items: center; color: var(--orange-bright); border: 1px solid rgba(182,119,238,.22); border-radius: 9px; background: linear-gradient(145deg, rgba(182,119,238,.14), rgba(94,48,140,.07)); font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.public-product h3 { margin: 23px 0 8px; font-family: var(--display); font-size: 27px; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.public-product > p { margin: 0 0 24px; color: var(--kitty-label); font-size: 12px; line-height: 1.5; }
.public-plans { display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.075); }
.public-plans > div { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.055); border-radius: 8px; background: var(--kitty-field); }
.public-plans span { display: grid; gap: 2px; }
.public-plans strong { color: var(--kitty-text); font-size: 11px; font-weight: 750; }
.public-plans small { color: var(--kitty-muted); font-size: 9px; }
.public-plans b { white-space: nowrap; color: var(--orange-bright); font-size: 15px; font-weight: 800; }
.catalogue-note { margin: 17px 0 0; color: var(--kitty-muted); font-size: 10px; text-align: right; }
.product-disclosure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-disclosure-grid article { min-height: 205px; padding: 23px; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); }
.product-disclosure-grid h3 { margin: 22px 0 9px; font-family: var(--display); font-size: 25px; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.product-disclosure-grid p { margin: 0; color: var(--kitty-label); font-size: 12px; }
.plain-disclosure { display: grid; grid-template-columns: 190px 1fr; gap: 28px; margin-top: 14px; padding: 23px; border-left: 3px solid var(--orange); background: var(--kitty-card-bottom); }
.plain-disclosure strong { color: var(--paper); font-size: 13px; }
.plain-disclosure p { margin: 0; color: var(--kitty-label); font-size: 12px; }
.commerce-band { color: var(--ink); background: var(--paper-soft); }
.commerce-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.commerce-grid article { min-height: 270px; padding: 48px 36px; border-right: 1px solid var(--kitty-card-edge); }
.commerce-grid article:first-child { border-left: 1px solid var(--kitty-card-edge); }
.commerce-grid span { color: var(--kitty-accent); font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.commerce-grid h2 { margin: 27px 0 14px; font-family: var(--display); font-size: 31px; text-transform: uppercase; }
.commerce-grid p { margin: 0; color: var(--kitty-muted); font-size: 13px; }
.policy-section { display: grid; grid-template-columns: 260px 1fr; gap: 85px; padding-top: 100px; padding-bottom: 120px; }
.policy-index { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: var(--ink-soft); }
.policy-index .kicker { margin-bottom: 12px; }
.policy-index a { padding: 8px 0; color: var(--kitty-label); border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; font-size: 11px; }
.policy-index a:hover { color: var(--paper); }
.policy-copy { max-width: 780px; }
.policy-copy article { scroll-margin-top: 90px; padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.09); }
.policy-copy h2 { margin: 0 0 17px; font-family: var(--display); font-size: 34px; letter-spacing: -.02em; text-transform: uppercase; }
.policy-copy p { color: var(--kitty-muted); font-size: 14px; }
.policy-copy code { padding: 2px 5px; border-radius: 5px; color: var(--orange-bright); background: rgba(182,119,238,.08); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 60px; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .loader-window { margin-inline: auto; transform: none; }
  .section-heading, .security-grid, .access-panel { grid-template-columns: 1fr; gap: 45px; }
  .section-heading { align-items: start; }
  .security-grid { gap: 60px; }
  .access-panel { padding: 40px; }
  .privacy-inner { grid-template-columns: 75px 1fr; }
  .privacy-inner .text-link { grid-column: 2; justify-self: start; }
  .privacy-content { grid-template-columns: 1fr; gap: 25px; }
  .privacy-aside { position: static; }
  .products-hero, .products-heading, .policy-section { grid-template-columns: 1fr; gap: 38px; }
  .public-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-disclosure-grid { grid-template-columns: 1fr 1fr; }
  .policy-index { position: static; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 4px); display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 10px; border: 1px solid var(--edge); border-radius: var(--kitty-arc); background: rgba(38,38,41,.98); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 12px; }
  .primary-nav .nav-status { justify-content: center; margin-top: 3px; }
  .hero { padding-top: 60px; padding-bottom: 75px; }
  .hero h1 { font-size: clamp(56px, 18vw, 76px); }
  .hero-lede { font-size: 16px; }
  .hero-product { margin-inline: -2px; }
  .loader-window { padding: 15px; border-radius: var(--kitty-arc); }
  .plugin-card--dim { display: none; }
  .raisin-cluster--hero { right: -25px; bottom: -72px; transform: scale(.55); }
  .section { padding-top: 85px; padding-bottom: 85px; }
  .section-heading { gap: 22px; }
  .library-grid, .faq-grid { grid-template-columns: 1fr; }
  .library-card { min-height: 390px; padding: 23px; }
  .library-card--next { min-height: 330px; grid-column: auto; grid-template-columns: 1fr; gap: 30px; }
  .next-mark { justify-self: start; }
  .security-copy p { font-size: 15px; }
  .flow-card { grid-template-columns: 24px 40px 1fr; padding: 14px 12px; gap: 10px; }
  .flow-icon { width: 40px; height: 40px; }
  .flow-link { padding-left: 57px; }
  .access-panel { gap: 30px; padding: 27px 20px; border-radius: var(--kitty-arc); }
  .access-steps li { grid-template-columns: 38px 1fr; padding: 13px 11px; }
  .status-copy { align-items: flex-start; flex-direction: column; padding: 23px; }
  .status-facts { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .status-facts div { padding: 0 0 13px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .status-facts div:last-child { padding-bottom: 0; }
  .download-card { grid-template-columns: 38px 1fr; }
  .download-card .button { grid-column: 1 / -1; }
  .privacy-inner { grid-template-columns: 1fr; }
  .privacy-inner .text-link { grid-column: auto; }
  .privacy-cat { width: 70px; height: 70px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner > small { grid-column: auto; }
  .footer-inner nav { flex-wrap: wrap; }
  .not-found { grid-template-columns: 1fr; gap: 60px; padding: 80px 0; text-align: center; }
  .not-found p { margin-inline: auto; }
  .product-nav { display: none; }
  .products-hero { padding-top: 62px; padding-bottom: 60px; }
  .products-hero h1 { font-size: clamp(54px, 17vw, 76px); }
  .product-disclosure-grid, .commerce-grid { grid-template-columns: 1fr; }
  .products-heading { gap: 20px; }
  .catalogue-status { align-items: flex-start; flex-direction: column; }
  .public-catalogue { grid-template-columns: 1fr; }
  .public-product { min-height: auto; }
  .catalogue-note { text-align: left; }
  .plain-disclosure { grid-template-columns: 1fr; }
  .commerce-grid article, .commerce-grid article:first-child { min-height: auto; padding: 34px 22px; border-left: 0; border-right: 0; border-bottom: 1px solid var(--kitty-card-edge); }
  .policy-section { padding-top: 70px; padding-bottom: 80px; }
}

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

/* ---------------------------------------------------------------------------
 * Client panel language.
 *
 * KittyTheme.paintCard builds every surface the same way: a top-lit vertical
 * gradient, a 1px highlight clipped to the top arc only (ringing the whole
 * shape would read as a raised button), and four hard 1px shadow steps. Wells
 * go the other way — darker than the surface they sit in, so an input reads as
 * cut into the card rather than laid on top of it.
 * ------------------------------------------------------------------------- */
.loader-window,
.library-card,
.plugin-card,
.access-panel,
.status-card,
.business-card,
.flow-card,
.privacy-aside,
.policy-index,
.product-disclosure-grid article {
  background: var(--kitty-card-surface);
  border: 1px solid transparent;
  box-shadow: var(--kitty-card-lip), var(--kitty-card-shadow);
}

/* Wells: the recessed register, below whatever they land on. */
.access-steps li,
.session-line,
.privacy-cat {
  background: linear-gradient(180deg, var(--kitty-chip-well-top), var(--kitty-chip-well-bottom));
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 var(--kitty-track-inner);
}

/* The header carries the accent hatch, as KittyPanel's Backdrop does behind
 * the title bar and tab strip. */
.site-header {
  background-image: var(--kitty-hatch);
}
.site-header.is-stuck {
  background-image: var(--kitty-hatch);
  background-color: rgba(28, 28, 30, .88);
}

/* Former light bands. KittyTheme has no light surface, so these become the
 * sectionHeader recess — the register the client puts a title band in. */
.security-section,
.privacy-strip,
.commerce-band {
  color: var(--kitty-text);
  background: var(--kitty-section-header);
  box-shadow: inset 0 1px 0 var(--kitty-track-inner);
}
.security-copy p,
.privacy-inner p,
.commerce-grid p {
  color: var(--kitty-label);
}
.text-link {
  color: var(--kitty-text);
  border-bottom-color: var(--kitty-accent);
}
.flow-icon {
  color: var(--kitty-text);
  background: linear-gradient(180deg, var(--kitty-toggle-on-top), var(--kitty-toggle-on-bottom));
}

/* Filled controls share one depth: accentDeep, never the text accent. */
.button--primary {
  color: var(--kitty-bg);
  background: var(--kitty-accent-deep);
  box-shadow: var(--kitty-card-shadow);
}
.button--primary:hover {
  background: var(--kitty-accent);
}
.plugin-foot b,
.window-tabs .active::after {
  background: var(--kitty-accent-deep);
}

/* The mark is 657x920; the header sets width/height attributes to match. The dot beside
   it was a raisin accent next to the old cat mark — redundant now the mark is the raisin. */
.raisin-dot { display: none; }

/* The toggle is a real button; give it the pointer every other control has. */
.nav-toggle { cursor: pointer; }

/* ---------------------------------------------------------------------------
 * Raisin Launcher mock (hero).
 *
 * Traced from the running window (raisinlauncher, 860x620), not guessed: the
 * purple wordmark over a versions line with Settings opposite; the segmented
 * five-tab strip whose selected tab is a raised pill; the Install / Plugin /
 * Version / Status table; and a footer of heap, proxy and three buttons.
 * Status colours are Theme.GOOD (#6FAF4B), Theme.BRAND and Theme.TEXT_DIM.
 * ------------------------------------------------------------------------- */
.loader-window {
  padding: 16px;
  background: var(--kitty-bg);
}
.launcher-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.launcher-title {
  display: block;
  color: var(--kitty-accent);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.launcher-versions { display: block; margin-top: 3px; color: var(--kitty-muted); font-size: 11px; }

/* KittyTabs: a segmented strip whose selected pill is a raised card. */
.launcher-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin: 14px 0 12px;
  padding: 3px;
  border-radius: var(--kitty-arc);
  background: linear-gradient(180deg, var(--kitty-track-top), var(--kitty-track-bottom));
  box-shadow: inset 0 1px 0 var(--kitty-track-inner);
}
.launcher-tabs span {
  padding: 7px 0;
  border-radius: 8px;
  color: var(--kitty-muted);
  font-size: 10px;
  font-weight: 650;
  text-align: center;
}
.launcher-tabs .is-active {
  color: var(--kitty-text);
  background: var(--kitty-card-surface);
  box-shadow: var(--kitty-card-lip), 0 1px 0 rgba(0,0,0,.25);
}

.launcher-table {
  overflow: hidden;
  border: 1px solid var(--kitty-divider);
  border-radius: var(--kitty-arc);
  background: var(--kitty-field);
}
.launcher-row {
  display: grid;
  grid-template-columns: 34px 1fr 44px 66px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 10px;
}
.launcher-row--head {
  padding-top: 8px;
  padding-bottom: 8px;
  color: var(--kitty-muted);
  border-bottom: 1px solid var(--kitty-divider);
  background: var(--kitty-chip-well-top);
}
.launcher-name { color: var(--kitty-label); }
.launcher-version { color: var(--kitty-label); font-variant-numeric: tabular-nums; }
.launcher-state { font-style: normal; }
.launcher-state--good { color: #6faf4b; }
.launcher-state--brand { color: var(--kitty-accent); }
.launcher-tick {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  color: transparent;
  border: 1px solid var(--kitty-divider);
  background: var(--kitty-track-bottom);
  font-size: 9px;
  font-style: normal;
}
.launcher-tick--on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--kitty-toggle-on-top), var(--kitty-toggle-on-bottom));
}

.launcher-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.launcher-status { margin-right: auto; color: var(--kitty-muted); font-size: 10px; }
.launcher-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  color: var(--kitty-label);
  border: 1px solid var(--kitty-divider);
  border-radius: 8px;
  background: var(--kitty-field);
  font-size: 10px;
}
.launcher-field b { color: var(--kitty-text); font-weight: 650; }
.launcher-field i { font-style: normal; color: var(--kitty-muted); }
.launcher-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 8px; }
.launcher-btn {
  padding: 7px 12px;
  color: var(--kitty-text);
  border-radius: 8px;
  background: var(--kitty-card-surface);
  box-shadow: var(--kitty-card-lip), 0 1px 0 rgba(0,0,0,.3);
  font-size: 10px;
  font-weight: 650;
}
.launcher-btn--go {
  color: #fff;
  background: linear-gradient(180deg, var(--kitty-toggle-on-top), var(--kitty-toggle-on-bottom));
}

/* The mock reads as a screenshot of the real window, so it should not be tilted,
   and the decorative raisin cluster was colliding with it. */
.loader-window { transform: none; }
.raisin-cluster--hero { display: none; }

/* ---------------------------------------------------------------------------
 * Top bar: thinner, and closed with the client's own rule.
 *
 * KittyPanel.TitleBar paints the band as a cardTop -> cardBottom gradient —
 * deliberately brighter than the panel, so the controls on it have something
 * to stand against — then closes it with a 1px accent line at alpha 120 and a
 * three-row falloff above it (alpha 26, 17, 9 going up). That falloff is what
 * makes the rule read as a lit edge rather than a border.
 * ------------------------------------------------------------------------- */
.site-header {
  padding: 10px 0;
  background-color: transparent;
  background-image: var(--kitty-hatch), var(--kitty-card-surface);
  border-bottom: 1px solid rgba(182, 119, 238, .47);
  box-shadow:
    inset 0 -1px 0 rgba(182, 119, 238, .102),
    inset 0 -2px 0 rgba(182, 119, 238, .067),
    inset 0 -3px 0 rgba(182, 119, 238, .035);
}
.site-header.is-stuck {
  padding: 8px 0;
  background-color: transparent;
  background-image: var(--kitty-hatch), var(--kitty-card-surface);
  border-bottom-color: rgba(182, 119, 238, .47);
}

/* The mark is what was setting the bar's height. */
.site-header .brand-mark img { width: auto; height: 30px; }
.site-header .brand-copy { font-size: 15px; }
.site-header .nav-status { padding: 5px 11px; font-size: 12px; }
.site-header .nav-status span { width: 6px; height: 6px; box-shadow: 0 0 0 4px rgba(182,119,238,.1); }

/* ---------------------------------------------------------------------------
 * Depth.
 *
 * The page reads flat because nothing lights it: one dark grey, edge to edge.
 * These are washes and a watermark, not texture — the grain is gone for good.
 * Nothing here adds a word to the page.
 * ------------------------------------------------------------------------- */
body {
  background:
    radial-gradient(75% 55% at 50% -8%, rgba(182, 119, 238, .13), transparent 62%),
    radial-gradient(55% 45% at 3% 62%, rgba(140, 82, 192, .12), transparent 62%),
    radial-gradient(60% 45% at 100% 88%, rgba(94, 32, 156, .13), transparent 62%),
    var(--kitty-bg);
  background-attachment: fixed;
}
.page-glow--one {
  width: 880px; height: 880px; top: -430px; right: -210px;
  background: radial-gradient(circle, rgba(182, 119, 238, .17), transparent 66%);
}
.page-glow--two {
  width: 640px; height: 640px; top: 300px; left: -320px;
  background: radial-gradient(circle, rgba(140, 82, 192, .18), transparent 66%);
}

/* The mark, oversized and nearly invisible, sitting behind the headline. */
.hero-mark {
  position: absolute;
  left: -300px;
  top: 50%;
  width: 820px;
  height: 820px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .045;
  /* Blurred and bled off the edge so it reads as an ambient form rather than a
     logo parked behind the headline. */
  filter: blur(3px);
  background: url("/assets/raisin-mark.png") no-repeat center / contain;
}

/* The hero was reserving 735px and filling about 500, which left a band of dead
   air above the footer. Let it own the first screen instead. */
.hero {
  position: relative;
  min-height: calc(100vh - 51px);
  padding-top: 0;
  padding-bottom: 48px;
}
.hero-copy { position: relative; z-index: 2; }

/* ---------------------------------------------------------------------------
 * Vertical fit.
 *
 * The hero was reserving a whole viewport and centring ~415px of content in it,
 * which put ~225px of void above and below. Let the page own the viewport
 * instead: footer pinned to the bottom, hero sized to its content, and whatever
 * slack is left shared around it rather than banked in one place.
 * ------------------------------------------------------------------------- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-footer { flex: 0 0 auto; padding: 34px 0 26px; }
.footer-inner { gap: 28px; }
.footer-inner > small { padding-top: 18px; }

.hero {
  min-height: 0;
  padding-top: 40px;
  padding-bottom: 48px;
}

/* The mock is the page's anchor and it was undersized — the real window is
   860px wide. Giving it more room fills the composition instead of shrinking
   the container around it. */
.hero { grid-template-columns: 1fr 1.06fr; gap: 54px; }
.loader-window { max-width: 580px; padding: 18px; }
.launcher-row { padding: 8px 12px; font-size: 11px; }
.launcher-row--head { font-size: 9px; }
.launcher-title { font-size: 21px; }
.launcher-versions { font-size: 12px; }
.launcher-tabs span { padding: 8px 0; font-size: 11px; }
.launcher-btn, .launcher-field, .launcher-status { font-size: 11px; }
.hero-lede { font-size: 19px; }

/* Keep the final desktop hero overrides from defeating the mobile layout. */
html { overflow-x: clip; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 540px) {
  .hero { gap: 28px; padding-top: 34px; }
  .loader-window { padding: 12px; }
  .launcher-row { grid-template-columns: 30px minmax(0, 1fr) 38px 64px; gap: 5px; padding: 8px; font-size: 10px; }
  .launcher-title { font-size: 18px; }
  .launcher-versions, .launcher-btn, .launcher-field, .launcher-status { font-size: 10px; }
  .launcher-foot, .launcher-actions { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------------
 * 2026-09 refresh, matching /store and the developer portal: a slim, always
 * sticky header with an accent under-glow, the same soft background wash, and
 * lighter, glassier cards.
 * ------------------------------------------------------------------------- */
:root {
  --header-h: 56px;
  --card-edge: rgba(255, 255, 255, .055);
  --card-edge-hover: rgba(182, 119, 238, .38);
  --card-surface: linear-gradient(165deg, rgba(48, 48, 51, .92), rgba(36, 36, 39, .96));
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 12px 32px -18px rgba(0, 0, 0, .9);
  --card-shadow-hover: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 18px 40px -16px rgba(0, 0, 0, .9), 0 0 0 1px rgba(182, 119, 238, .08), 0 0 36px -14px rgba(162, 91, 225, .55);
}
html { scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  background:
    radial-gradient(1100px 520px at 50% -160px, rgba(140, 82, 192, .28), transparent 68%),
    radial-gradient(760px 480px at 100% 36%, rgba(94, 48, 140, .15), transparent 70%),
    radial-gradient(640px 420px at 0% 90%, rgba(162, 91, 225, .10), transparent 70%),
    linear-gradient(180deg, #1a1a1d 0%, #19191c 45%, #161618 100%);
  background-attachment: fixed;
}
.page-glow--one { opacity: .6; }
.page-glow--two { opacity: .6; }

.site-header,
.site-header.is-stuck {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  padding: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(182, 119, 238, .16);
  background-color: rgba(24, 24, 27, .78);
  background-image: none;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .035) inset,
    0 10px 30px -18px rgba(162, 91, 225, .55),
    0 1px 18px -6px rgba(182, 119, 238, .28);
}
.site-header .header-inner { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(182, 119, 238, .75) 20%, rgba(196, 156, 232, .95) 50%, rgba(182, 119, 238, .75) 80%, transparent 100%);
  pointer-events: none;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -14px;
  height: 14px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(182, 119, 238, .28), transparent 100%);
  filter: blur(6px);
  pointer-events: none;
}
.site-header .brand { gap: 9px; }
.site-header .brand-mark img { height: 26px; filter: drop-shadow(0 0 12px rgba(182, 119, 238, .35)); }
.site-header .brand-copy { font-size: 14px; }
.site-header .raisin-dot { width: 9px; height: 9px; right: -2px; bottom: 0; }
.site-header .primary-nav { gap: 22px; }
.site-header .primary-nav a { font-size: 12px; }
.site-header .nav-status { padding: 4px 10px; font-size: 11px; border-color: rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .035); }
.site-header .nav-toggle { width: 36px; height: 36px; }
.privacy-aside, .policy-index { top: calc(var(--header-h) + 20px); }
.hero { min-height: calc(100vh - var(--header-h)); }

.loader-window,
.library-card,
.plugin-card,
.access-panel,
.status-card,
.business-card,
.flow-card,
.privacy-aside,
.policy-index,
.product-disclosure-grid article,
.public-product {
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.public-product--featured { border-color: rgba(182, 119, 238, .28); }
.plugin-card:hover,
.status-card:hover,
.business-card:hover,
.flow-card:hover,
.public-product:hover {
  border-color: var(--card-edge-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
 * Landing hero, spotlight edition: a dark stage, one beam of light, and the
 * raisin mark standing in it. The copy sits to the left; the mark is the show.
 * ------------------------------------------------------------------------- */
.hero--stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 72% 48%, rgba(94, 48, 140, .22), transparent 68%),
    radial-gradient(1200px 700px at 50% 120%, rgba(20, 20, 23, .9), transparent 60%);
}
.hero-copy--stage {
  position: relative;
  z-index: 2;
  padding: 72px 0 96px max(20px, calc((100vw - var(--shell)) / 2));
  max-width: none;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--kitty-accent);
  font: 500 10px/1 var(--font);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kitty-accent);
  box-shadow: 0 0 0 4px rgba(182, 119, 238, .14), 0 0 14px rgba(182, 119, 238, .8);
  animation: kicker-pulse 2.2s ease-in-out infinite;
}
@keyframes kicker-pulse { 50% { opacity: .35; } }
.hero--stage h1 {
  margin: 0 0 24px;
  max-width: 14ch;
  font: 400 clamp(54px, 6.4vw, 96px)/.94 var(--font);
  white-space: nowrap;
  letter-spacing: -.05em;
  text-transform: none;
  font-stretch: normal;
}
.hero--stage h1 em { color: var(--kitty-accent); font-style: normal; }
.hero--stage h1 strong { font-weight: 700; }
.hero--stage .hero-lede { max-width: 470px; color: var(--kitty-label); font-size: 16px; line-height: 1.7; }
.hero--stage .hero-actions { margin: 32px 0 20px; }
.hero--stage .button--primary {
  min-height: 46px;
  padding: 0 24px 0 26px;
  gap: 16px;
  font-size: 13px;
  letter-spacing: .02em;
  box-shadow: 0 0 0 1px rgba(182, 119, 238, .35), 0 14px 40px -12px rgba(162, 91, 225, .9);
}
.hero--stage .button--primary span { transition: transform .2s ease; }
.hero--stage .button--primary:hover span { transform: translateX(4px); }
.hero-fine {
  margin: 0;
  color: var(--kitty-muted);
  font-size: 11px;
  letter-spacing: .08em;
}

/* The stage. A black room. One lamp overhead, a hazy cone, and a bright oval of
   light on the floor with the mark standing in it. Purple orbs drift at the corners. */
.hero--stage {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  background:
    radial-gradient(1400px 900px at 50% 45%, transparent 25%, #000 100%),
    #030304;
}
/* Dither. Large soft gradients on near-black band in 8-bit; a fine noise tile at low
   opacity breaks the steps up without reading as texture. */
.hero--stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .075;
  mix-blend-mode: normal;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-copy--stage { z-index: 6; }
/* Faint glyph rain in the black, under everything else. Masked so it thins out
   around the copy and never competes with the light on the stage. */
.hero-matrix {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .3;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(64% 76% at 28% 45%, rgba(0, 0, 0, .25) 18%, #000 72%), linear-gradient(180deg, transparent 0%, #000 12%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(64% 76% at 28% 45%, rgba(0, 0, 0, .25) 18%, #000 72%), linear-gradient(180deg, transparent 0%, #000 12%, #000 85%, transparent 100%);
  mask-composite: intersect;
}
.spot-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
}
.spot-orb--tl { width: 760px; height: 760px; left: -300px; top: -320px; background: radial-gradient(circle, rgba(140, 82, 192, .46), rgba(94, 48, 140, .12) 50%, transparent 72%); animation: orb-tl 34s ease-in-out infinite; }
.spot-orb--br { width: 880px; height: 880px; left: calc(44% - 440px); bottom: -250px; background: radial-gradient(circle, rgba(162, 91, 225, .42), rgba(94, 48, 140, .10) 50%, transparent 72%); animation: orb-br 42s ease-in-out infinite; }
@keyframes orb-tl {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(160px, 40px) scale(1.08); }
  50% { transform: translate(220px, 200px) scale(.96); }
  75% { transform: translate(40px, 240px) scale(1.12); }
}
@keyframes orb-br {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(120px, -40px) scale(1.08); }
  50% { transform: translate(60px, -140px) scale(.94); }
  75% { transform: translate(-100px, -90px) scale(1.12); }
}

.spot-stage {
  position: relative;
  align-self: stretch;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* The lamp: a small hot spot at the top with a bloom around it. */
.spot-lamp {
  position: absolute;
  left: 50%;
  top: 2.5%;
  width: 34px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f4eefc;
  box-shadow: 0 0 10px 4px rgba(244, 238, 252, .8), 0 0 40px 14px rgba(214, 190, 246, .35), 0 0 90px 30px rgba(182, 119, 238, .18);
  z-index: 3;
}
/* The cone. The wrapper blurs an already clipped child, so the edges go soft
   instead of the blur being cut off by the clip. */
.spot-beam {
  position: absolute;
  inset: 0;
  filter: blur(9px);
  animation: beam-breathe 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.spot-beam::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(47.5% 3%, 52.5% 3%, 86% 84%, 14% 84%);
  background: linear-gradient(180deg, rgba(232, 222, 250, .30) 0%, rgba(200, 170, 240, .17) 30%, rgba(182, 140, 236, .10) 60%, rgba(182, 140, 236, .06) 84%);
}
/* Haze inside the cone: a second, narrower, brighter core. */
.spot-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(48.8% 3%, 51.2% 3%, 72% 84%, 28% 84%);
  background: linear-gradient(180deg, rgba(240, 232, 252, .22) 0%, rgba(214, 190, 246, .08) 55%, rgba(214, 190, 246, .04) 84%);
}
@keyframes beam-breathe { 50% { opacity: .78; } }
/* Shafts in the haze: thin fans of light from the lamp, clipped to the cone. Two layers
   sway in opposite phase and flicker on their own clocks, so the beam never sits still. */
.spot-rays {
  position: absolute;
  inset: 0;
  filter: blur(2.5px);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}
.spot-rays::before,
.spot-rays::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(47.5% 3%, 52.5% 3%, 86% 84%, 14% 84%);
  transform-origin: 50% 3%;
  -webkit-mask-image: linear-gradient(180deg, transparent 2%, #000 22%, #000 70%, transparent 86%);
  mask-image: linear-gradient(180deg, transparent 2%, #000 22%, #000 70%, transparent 86%);
}
.spot-rays::before {
  background: repeating-conic-gradient(from 170.5deg at 50% 3%, rgba(240, 232, 252, 0) 0deg, rgba(240, 232, 252, .13) 1.3deg, rgba(240, 232, 252, 0) 2.6deg, rgba(240, 232, 252, 0) 5.2deg);
  animation: rays-sway-a 13s ease-in-out infinite, rays-flicker-a 4.2s ease-in-out infinite;
}
.spot-rays::after {
  background: repeating-conic-gradient(from 168deg at 50% 3%, rgba(214, 190, 246, 0) 0deg, rgba(214, 190, 246, .09) 2deg, rgba(214, 190, 246, 0) 4deg, rgba(214, 190, 246, 0) 7.3deg);
  animation: rays-sway-b 17s ease-in-out infinite, rays-flicker-b 6.1s ease-in-out infinite;
}
@keyframes rays-sway-a { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes rays-sway-b { 0%, 100% { transform: rotate(1.1deg); } 50% { transform: rotate(-1.1deg); } }
@keyframes rays-flicker-a { 0%, 100% { opacity: .55; } 35% { opacity: 1; } 60% { opacity: .7; } 80% { opacity: .95; } }
@keyframes rays-flicker-b { 0%, 100% { opacity: .9; } 30% { opacity: .5; } 55% { opacity: .85; } 75% { opacity: .45; } }
/* The pool on the floor: a bright oval with a soft but definite edge. */
.spot-floor {
  position: absolute;
  left: 50%;
  top: 84%;
  width: 76%;
  height: 15%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(244, 238, 252, .55) 0%, rgba(222, 204, 248, .40) 35%, rgba(196, 160, 236, .22) 62%, rgba(182, 140, 236, .06) 82%, transparent 100%);
  filter: blur(3px);
  z-index: 1;
}
.spot-floor::after {
  content: "";
  position: absolute;
  inset: -40% -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(182, 140, 236, .16), transparent 70%);
  filter: blur(14px);
}
/* The mark, standing in the light. */
.spot-figure {
  position: relative;
  z-index: 2;
  width: clamp(190px, 22vw, 300px);
  height: clamp(266px, 30.8vw, 420px);
  margin-top: 9%;
  /* A hair of blur on the whole figure (mark, rim and shade together) so the PNG edge
     stops reading as a cut-out against the light. */
  filter: blur(.6px);
  animation: mark-bounce 3.6s ease-in-out infinite;
}
.spot-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Lit from above: full at the top, a touch darker toward the base. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, .7) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0, 0, 0, .7) 100%);
  filter: saturate(.95) brightness(1.06);
}
/* Rim light. The overlay is masked to the mark's silhouette with a second copy of the
   silhouette shifted down and subtracted, so only the upward-facing edges keep any fill.
   Lit in the lamp's colour, brighter near the top, it reads as the beam catching the
   top of every ridge. A second, softer layer with a larger shift gives a wider bloom. */
.spot-shine,
.spot-shine::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png");
  -webkit-mask-size: contain, contain, contain;
  -webkit-mask-repeat: no-repeat, no-repeat, no-repeat;
  -webkit-mask-composite: source-in, xor, source-over;
  mask-image: url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png");
  mask-size: contain, contain, contain;
  mask-repeat: no-repeat, no-repeat, no-repeat;
  mask-composite: intersect, exclude, add;
}
.spot-shine {
  -webkit-mask-position: center top, center 2px, center top;
  mask-position: center top, center 2px, center top;
  /* Two fills: a steady lilac edge, and a bright glint band that travels along it. */
  background-image:
    linear-gradient(105deg, transparent 38%, rgba(255, 252, 255, .95) 50%, transparent 62%),
    linear-gradient(180deg, rgba(240, 232, 252, .8) 0%, rgba(214, 190, 246, .5) 35%, rgba(196, 160, 236, .3) 70%, rgba(182, 140, 236, .18) 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 140% 0, 0 0;
  background-repeat: no-repeat, no-repeat;
  mix-blend-mode: screen;
  filter: blur(.4px);
  animation: rim-glint 5.6s cubic-bezier(.4, 0, .3, 1) infinite, rim-breathe 4.2s ease-in-out infinite;
}
.spot-shine::before {
  content: "";
  -webkit-mask-position: center top, center 6px, center top;
  mask-position: center top, center 6px, center top;
  background: linear-gradient(180deg, rgba(232, 220, 252, .30) 0%, rgba(214, 190, 246, .16) 40%, rgba(196, 160, 236, .06) 100%);
  filter: blur(3px);
  opacity: .6;
}
/* Shade. A darkening that climbs from the base, masked to the silhouette, and a dark rim on
   the downward-facing edges (the silhouette minus a copy shifted up), so every ridge has a
   lit top and a shadowed underside. */
.spot-shade,
.spot-shade::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.spot-shade {
  -webkit-mask: url("/assets/raisin-mark.png") center top / contain no-repeat;
  mask: url("/assets/raisin-mark.png") center top / contain no-repeat;
  background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(12, 6, 20, .26) 56%, rgba(10, 4, 18, .5) 82%, rgba(8, 3, 14, .62) 100%);
  mix-blend-mode: multiply;
}
.spot-shade::before {
  content: "";
  -webkit-mask-image: url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png");
  -webkit-mask-size: contain, contain, contain;
  -webkit-mask-repeat: no-repeat, no-repeat, no-repeat;
  -webkit-mask-position: center top, center -6px, center top;
  -webkit-mask-composite: source-in, xor, source-over;
  mask-image: url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png"), url("/assets/raisin-mark.png");
  mask-size: contain, contain, contain;
  mask-repeat: no-repeat, no-repeat, no-repeat;
  mask-position: center top, center -6px, center top;
  mask-composite: intersect, exclude, add;
  background: linear-gradient(180deg, rgba(10, 4, 18, .35) 0%, rgba(10, 4, 18, .75) 100%);
  filter: blur(1.2px);
}
@keyframes rim-glint {
  0%, 18% { background-position: 140% 0, 0 0; }
  70%, 100% { background-position: -140% 0, 0 0; }
}
@keyframes rim-breathe { 0%, 100% { opacity: .78; } 35% { opacity: 1; } 60% { opacity: .85; } 80% { opacity: .95; } }
@keyframes mark-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-34px); }
}
@keyframes shadow-bounce {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(.72); opacity: .55; }
}
/* The mark's own shadow on the floor, and darkness closing in at the stage edges. */
.spot-shadow {
  position: absolute;
  left: 50%;
  top: 84%;
  width: 44%;
  height: 11%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(8, 4, 14, .9) 0%, rgba(12, 6, 20, .6) 40%, transparent 72%);
  filter: blur(8px);
  z-index: 2;
  animation: shadow-bounce 3.6s ease-in-out infinite;
}
.spot-rim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 3, 4, .45) 0%, transparent 28%, transparent 72%, rgba(3, 3, 4, .45) 100%),
    linear-gradient(180deg, transparent 0%, transparent 82%, rgba(3, 3, 4, .85) 100%);
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 900px) {
  .hero--stage { grid-template-columns: 1fr; gap: 0; }
  .hero-copy--stage { order: 2; padding: 0 20px 72px; text-align: center; }
  .hero--stage h1 { max-width: none; margin-inline: auto; font-size: clamp(40px, 11.5vw, 72px); }
  .hero--stage .hero-lede { margin-inline: auto; }
  .hero--stage .hero-actions { justify-content: center; }
  .spot-stage { order: 1; min-height: 480px; margin-top: 0; }
  .spot-figure { width: clamp(150px, 40vw, 220px); height: clamp(210px, 56vw, 308px); margin-top: -4%; }
  .spot-floor { width: 92%; }
  .spot-orb--tl { width: 460px; height: 460px; left: -200px; top: -200px; }
  .spot-orb--br { width: 540px; height: 540px; left: auto; right: -240px; bottom: -260px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-kicker-dot, .spot-figure, .spot-shadow, .spot-beam, .spot-shine, .spot-orb, .spot-rays::before, .spot-rays::after { animation: none; }
}
