/* Sunshift Brand Book v1.0 layer for OpenSource Talent (a Sunshift company). Loaded last; restyles only.
   Void base, Nebula surfaces, Electric Violet pill buttons, the shift gradient (sky, lavender, orchid),
   Instrument Sans with Courier Prime labels, a bottom glow and the facet grid in the hero. */

:root {
  --void: #040014; --nebula: #140A33; --violet: #5000FD; --lavender: #835DFF;
  --sky: #00B2FF; --orchid: #CB3EF7; --slate: #8C95AC;
  --shift: linear-gradient(90deg, var(--sky) 0%, var(--lavender) 50%, var(--orchid) 100%);

  --p-bg: #040014; --p-surface: #140A33; --p-ink: #ffffff; --p-muted: #8C95AC;
  --p-accent: #835DFF; --p-accent-ink: #ffffff; --p-action: #5000FD; --p-action-ink: #ffffff;
  --p-inv-bg: #ffffff; --p-inv-surface: #f6f5fb; --p-inv-ink: #040014; --p-inv-muted: #4f5568;
  --p-inv-accent: #5000FD; --p-inv-accent-ink: #ffffff; --p-inv-action: #5000FD; --p-inv-action-ink: #ffffff;

  --font-display: "Instrument Sans", "Inter", system-ui, sans-serif;
  --font-text: "Instrument Sans", "Inter", system-ui, sans-serif;
  --font-mono: "Courier Prime", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display-weight: 600;
  --display-tracking: -0.02em;
  --display-tracking-xl: -0.035em;

  --lilac: #835DFF; --mint: #00B2FF;
  --r-btn: 999px;
}
html, body { background: var(--void); }
body { font-family: var(--font-text); }

/* type: Instrument Sans 700 for the hero, 600 for sections */
.hero h1 { font-weight: 700; letter-spacing: -0.035em; }
main h2, .closing h2 { font-weight: 600; letter-spacing: -0.02em; }
main h3 { font-weight: 600; letter-spacing: -0.01em; }

/* one gradient phrase per headline, at the end; the quote's highlight too */
.h-lilac, .proof-quote blockquote strong {
  background: var(--shift); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* labels: Courier Prime, uppercase, written like a terminal */
.t-label, .ic-cell__meta, .ui-win__age { font-family: var(--font-mono) !important; letter-spacing: .14em; }
.t-label { text-transform: uppercase; color: var(--lavender); }
.t-label::before { content: "// "; color: var(--sky); }
.ground-inverse .t-label, .ground-inverse .t-label::before { color: var(--violet); }
.ic-cell__meta { text-transform: uppercase; font-size: 11px; color: var(--slate); }

/* the hero pill: a violet-lined tag */
.hero .pill { border: 1px solid rgb(131 93 255 / .55) !important; background: rgb(80 0 253 / .12) !important; border-radius: 999px; }
.pill .dot { background: var(--sky) !important; box-shadow: 0 0 0 4px rgb(0 178 255 / .16) !important; }

/* buttons: pills. Primary Electric Violet, lavender on hover; secondary a 30% white outline */
.btn { border-radius: 999px !important; }
.btn--primary { background: var(--violet) !important; color: #fff !important; border-color: var(--violet) !important; transition: background-color .25s ease-out, transform .2s ease-out; }
.btn--primary:hover { background: var(--lavender) !important; border-color: var(--lavender) !important; }
.btn--secondary { background: transparent !important; color: #fff !important; border: 1px solid rgb(255 255 255 / .3) !important; box-shadow: none !important; }
.btn--secondary:hover { border-color: var(--lavender) !important; }
.ground-inverse .btn--secondary { color: var(--void) !important; border-color: rgb(4 0 20 / .3) !important; }

/* surfaces: Nebula at 85% over Void, 1px white border at 10%, 16px radius */
.ic-tile { background: rgb(20 10 51 / .85) !important; border: 1px solid rgb(255 255 255 / .10) !important; border-radius: 12px !important; }
.ic-ink { filter: brightness(0) invert(1); }
.rows li { border-color: rgb(255 255 255 / .10) !important; }
#results.ground-surface { background: var(--nebula); }

/* stats: one big number, white, with the gradient as a thin rule above */
.stats .stat { position: relative; padding-top: 18px; }
.stats .stat::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 48px; height: 2px; background: var(--shift); }
.stats .t-stat { color: #fff; font-weight: 700; }

/* forms: 10px inputs on Nebula, sky focus */
.form input, .form textarea, .form select {
  background: rgb(20 10 51 / .85) !important; border: 1px solid rgb(255 255 255 / .12) !important; border-radius: 10px !important; color: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--sky) !important; outline: 2px solid rgb(0 178 255 / .35); outline-offset: 1px; }

/* the hero: clean Void for the headline, a glow rising from the bottom, the facet grid at 5% white */
section.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--void); }
section.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='138.56' viewBox='0 0 120 138.56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 0V138.56M0 0L120 69.28M0 138.56L120 69.28M0 69.28L120 0M0 69.28L120 138.56'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / .9), rgb(0 0 0 / .4)); mask-image: linear-gradient(180deg, rgb(0 0 0 / .9), rgb(0 0 0 / .4));
}
section.hero::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -18%; height: 55%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 70% at 22% 100%, rgb(0 178 255 / .55), transparent 70%),
    radial-gradient(40% 70% at 78% 100%, rgb(203 62 247 / .5), transparent 70%),
    radial-gradient(75% 80% at 50% 100%, rgb(80 0 253 / .75), transparent 72%);
  filter: blur(clamp(60px, 8vw, 120px));
}

/* product shots: the kit's lit panels become dark glass with a violet glow from below */
.panel:not([data-fx], .panel--device) {
  --ground-bg: #0c0628;
  background:
    radial-gradient(70% 60% at 50% 115%, rgb(80 0 253 / .55), transparent 70%),
    radial-gradient(40% 50% at 15% 110%, rgb(0 178 255 / .3), transparent 70%),
    radial-gradient(40% 50% at 85% 110%, rgb(203 62 247 / .28), transparent 70%),
    #0c0628 !important;
  border: 1px solid rgb(255 255 255 / .08);
}

/* the close: Void with its own glow from the bottom */
footer.closing { position: relative; isolation: isolate; overflow: hidden; background: var(--void) !important; }
footer.closing::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30%; height: 60%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(35% 70% at 25% 100%, rgb(0 178 255 / .3), transparent 70%),
    radial-gradient(35% 70% at 75% 100%, rgb(203 62 247 / .28), transparent 70%),
    radial-gradient(70% 80% at 50% 100%, rgb(80 0 253 / .5), transparent 72%);
  filter: blur(clamp(60px, 8vw, 120px));
}

/* nav: Void glass */
header.nav { background: rgb(4 0 20 / .82) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgb(255 255 255 / .06); }

/* motion: 200 to 300 ms ease-out */
.btn, .ic-tile, .rows li { transition-duration: .25s; transition-timing-function: ease-out; }
