/* Nexus Pivot — single landing page.
 * Design tokens, type scale and pill/card idiom mirror thenexuspivot.com
 * (assets/editions-20260805.css) so both domains read as one studio.
 * Light + dark, no external requests. */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-2: #f6f6f8;
  --elev: #ffffff;
  --ink: #0b0b0f;
  --muted: #55555f;
  --line: rgba(0, 0, 0, 0.10);
  --line-2: rgba(0, 0, 0, 0.16);
  --accent: #c2560f;          /* warm brand orange, darkened for AA on white */
  --accent-ink: #1a0a00;
  --accent-soft: rgba(255, 138, 61, 0.14);
  --pill-grad: linear-gradient(180deg, #ffb07a, #ff8a3d);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
  --max: 1120px;
  --r: 18px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050507;
    --bg-2: #0b0b0f;
    --elev: #121218;
    --ink: #f7f7f8;
    --muted: #a8a8b3;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --accent: #ffb37a;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 650; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100%, var(--max)); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* ── header ─────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding: 0 18px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.top-link { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.top-link:hover { color: var(--ink); background: var(--bg-2); }

/* ── pills ──────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; padding: 11px 18px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill.primary { background: var(--pill-grad); color: var(--accent-ink); box-shadow: 0 10px 28px rgba(255, 138, 61, 0.32); }
.pill.primary:hover { box-shadow: 0 14px 36px rgba(255, 138, 61, 0.42); }
.pill.ghost { background: var(--bg-2); color: var(--ink); border-color: var(--line-2); }

/* ── hero ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px); }
.veil {
  position: absolute; inset: -40% 0 auto 0; height: 130%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 78% 30%, rgba(255, 138, 61, 0.20), transparent 60%),
    radial-gradient(ellipse 45% 40% at 10% 15%, rgba(106, 168, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 35% at 45% 0%, rgba(180, 140, 255, 0.12), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff8a3d; box-shadow: 0 0 0 5px rgba(255, 138, 61, 0.18); }

.hero h1 { margin: 0 0 20px; font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 16ch; }
.grad {
  background: linear-gradient(100deg, #e0761f 0%, #ff8a3d 55%, #b84d14 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-color-scheme: dark) {
  .grad { background: linear-gradient(100deg, #f0c9a8 0%, #ff8a3d 55%, #ff8ec8 100%); -webkit-background-clip: text; background-clip: text; }
}
.lead { margin: 0 0 28px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 48px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line);
}
.stats > div { margin: 0; }
.stats dt { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 650; letter-spacing: -0.04em; }
.stats dd { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; max-width: 26ch; }

/* ── bands ──────────────────────────────────────────── */
.band { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--bg-2); }
.band h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; max-width: 20ch; }
.band p { margin: 0 0 16px; color: var(--muted); max-width: 68ch; }
.band p strong { color: var(--ink); font-weight: 600; }
.band .sub { margin-bottom: 34px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.94em; color: var(--ink); }

/* ── service cards ──────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: var(--elev); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.card p { margin: 0 0 12px; font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.card .price { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.01em; }
.card.feature { border-color: rgba(255, 138, 61, 0.45); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--elev); }
.link { color: var(--accent); font-weight: 600; font-size: 14.5px; border-bottom: 1px solid currentColor; }

/* ── cta + footer ───────────────────────────────────── */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 22ch; }
.cta .actions { justify-content: center; margin-top: 10px; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; background: var(--bg-2); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.foot strong { display: block; margin-bottom: 6px; }
.foot .muted { color: var(--muted); font-size: 14px; max-width: 46ch; margin: 0; }
.foot .muted a { border-bottom: 1px solid var(--line-2); }
.foot-links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { margin-top: 28px; padding: 0 22px; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-link { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
