/*
  GET UP & GROW — shared design tokens
  One system, five compositions. Every site below imports this file first.
  Palette is locked to Phase Two: near-colorless neutral base, deep navy /
  steel-blue as the only accent territory. No green. No bright startup blue.
  No gradients-as-decoration.
*/

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype-variations"),
       url("../assets/fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype-variations"),
       url("../assets/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* ---- Neutral foundation ---- */
  --ink:        #0B0D12;   /* near-black, primary text on light */
  --charcoal:   #171A21;   /* dark surface */
  --charcoal-2: #1F232C;   /* dark surface, raised */
  --slate-700:  #454C5A;
  --slate-500:  #6B7280;
  --slate-300:  #A6ACB8;
  --slate-200:  #D7DAE1;
  --slate-100:  #EAECF0;
  --mist:       #F6F5F2;   /* warm off-white background */
  --white:      #FFFFFF;

  /* ---- Accent territory: deep navy / steel blue only ---- */
  --navy-900:   #0B142B;
  --navy-800:   #101B38;
  --navy-700:   #16274C;
  --navy-600:   #1D3461;
  --steel-500:  #3E6094;
  --steel-400:  #5C7FAE;
  --steel-300:  #8AA6C9;
  --steel-200:  #C3D2E5;

  /* functional-only, never decorative */
  --star-amber: #B8912B;

  /* ---- Typography ---- */
  --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 2px rgba(11,13,18,0.06), 0 1px 1px rgba(11,13,18,0.04);
  --shadow-md: 0 8px 24px rgba(11,13,18,0.08), 0 2px 6px rgba(11,13,18,0.04);
  --shadow-lg: 0 24px 64px rgba(11,13,18,0.14), 0 8px 20px rgba(11,13,18,0.06);
  --shadow-navy-glow: 0 20px 60px rgba(16,27,56,0.35);

  /* ---- Radius ---- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* ---- Motion ---- */
  --ease-out: power2.out;
  --ease-inout: power2.inOut;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .container { padding: 0 48px; }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--slate-200);
}

.btn-ghost:hover { border-color: var(--slate-500); }

.btn-on-dark {
  background: var(--white);
  color: var(--navy-900);
}

.btn-on-dark:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 900px) { .site-nav { padding: 20px 48px; } }

.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.nav-brand img { width: 28px; height: 28px; }

.nav-links { display: none; gap: 32px; font-size: 0.9375rem; font-weight: 500; }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---- Utility ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

.phone-frame {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 12px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
}

.notif-card {
  position: absolute;
  left: 10px; right: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  font-family: var(--font-body);
}

.notif-card .notif-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  color: var(--white);
}

.notif-card .notif-title { font-weight: 700; font-size: 0.8125rem; color: var(--ink); }
.notif-card .notif-body { font-size: 0.75rem; color: var(--slate-500); margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
