/* QuickApply Pro brand tokens and shared pieces.
   Layout idea: black stage, light comes from below like a monitor glow; everything sits on a 8px grid. */
:root {
    color-scheme: dark;
    /* Core blue (Apply Blue) */
    --blue-950: #020a1f;
    --blue-900: #041640;
    --blue-800: #08286f;
    --blue-700: #0c3fae;
    --blue-600: #1257e6;
    --blue-500: #2e7cff;   /* Apply Blue: the brand colour */
    --blue-400: #5a9bff;
    --blue-300: #8bbaff;
    --blue-200: #b9d4ff;
    --blue-100: #e2edff;
    /* Greyscale, biased toward the blue */
    --ink: #03050b;        /* stage black */
    --night: #070b16;      /* raised black */
    --grey-900: #0e1422;
    --grey-800: #171e2f;
    --grey-700: #262f44;
    --grey-600: #3c465e;
    --grey-500: #5b6680;
    --grey-400: #838da5;
    --grey-300: #aab2c6;
    --grey-200: #ced4e2;
    --grey-100: #e9edf5;
    --paper: #f5f7fc;      /* light panels */
    --white: #ffffff;
    /* Signals */
    --rec: #ff4d5e;        /* record dot only */
    --ok: #4fd18b;
    --amber: #ffc56b;

    --fg: var(--grey-100);
    --muted: var(--grey-400);
    --line: rgba(170, 190, 230, .12);
    --line-strong: rgba(170, 190, 230, .22);

    --display: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
    --body: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* type scale (1.25) */
    --t-xs: .75rem; --t-sm: .875rem; --t-md: 1rem; --t-lg: 1.25rem; --t-xl: 1.563rem; --t-2xl: 1.953rem; --t-3xl: 2.441rem; --t-4xl: 3.052rem; --t-5xl: 3.815rem;
    --r: 14px; --r-sm: 8px; --pill: 999px;
    --ease: cubic-bezier(.2, .7, .1, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);

    --horizon: radial-gradient(120% 70% at 50% 118%, #e2edff 0%, #8bbaff 12%, #2e7cff 28%, #0c3fae 44%, rgba(4, 22, 64, .6) 60%, transparent 76%);
    --bars: linear-gradient(90deg, #020a1f, #1257e6 18%, #020a1f 24%, #8bbaff 31%, #2e7cff 36%, #020a1f 44%, #5a9bff 52%, #08286f 60%, #e2edff 66%, #2e7cff 70%, #020a1f 80%, #1257e6 90%, #020a1f);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; }
body { background: var(--ink); color: var(--fg); font-family: var(--body); font-size: var(--t-md); line-height: 1.5; -webkit-font-smoothing: antialiased; }
::selection { background: var(--blue-500); color: var(--white); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.label { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Logo */
.mark { display: inline-block; width: 1em; height: 1em; color: var(--blue-500); }
.mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wordmark { display: inline-flex; align-items: center; gap: .45em; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; color: var(--white); text-decoration: none; white-space: nowrap; }
.wordmark .pro { font-family: var(--mono); font-weight: 500; font-size: .55em; letter-spacing: .04em; color: var(--blue-400); border: 1px solid currentColor; border-radius: 4px; padding: .1em .35em; transform: translateY(-.1em); }

/* Site header */
.site-head { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.site-head .wordmark { font-size: 1.15rem; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-size: var(--t-sm); text-decoration: none; color: var(--grey-300); padding: 7px 12px; border-radius: var(--pill); transition: color .2s, background .2s; }
.site-nav a:hover { color: var(--white); background: rgba(46, 124, 255, .12); }
.site-nav a[aria-current="page"] { color: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-sm)/1 var(--body); color: var(--white); background: var(--blue-500); border: 0; border-radius: var(--pill); padding: 11px 18px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--blue-400); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { background: rgba(46, 124, 255, .12); }
.site-nav .btn { margin-left: 8px; }
.btn.soon { cursor: default; color: var(--blue-200); background: rgba(46, 124, 255, .12); box-shadow: inset 0 0 0 1px rgba(90, 155, 255, .35); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.btn.soon:hover { background: rgba(46, 124, 255, .12); }
.btn.soon:active { transform: none; }
footer.site-foot .foot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
footer.site-foot .foot-nav a { text-decoration: none; color: var(--grey-300); }
footer.site-foot .foot-nav a:hover { color: var(--white); }
footer.site-foot .soon-note { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--blue-300); }
footer.site-foot .fine { flex-basis: 100%; font-size: .78rem; color: var(--grey-500); }

@media (max-width: 560px) {
    .site-head { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
    .site-nav a:not(.btn) { padding: 7px 8px; }
    .site-nav a[href="index.html"] { display: none; }
    .site-head .wordmark { font-size: 1.02rem; }
    .site-nav .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
