/* =============================================================
   TRACKORIGIN — Base styles: variables, reset, typography
   ============================================================= */

:root {
  /* Brand. Surfaces lifted off the near-black canvas for legibility: cards
     (--ink-soft) and borders (--ink-line) now clearly separate from --ink, and
     the accent blue is brighter/more vivid so interactive elements pop. */
  --ink: #0A1428;            /* canvas (kept deep) */
  --ink-soft: #182942;       /* cards / panels — clearer lift off the canvas */
  --ink-line: #2E4068;       /* borders — visible, not hairline */
  --ink-lighter: #3F557C;    /* hover / raised surfaces */
  --blue: #2A4FAF;           /* base brand blue (brighter) */
  --blue-bright: #4A78FF;    /* vivid accent — buttons, links, active states */
  --blue-soft: rgba(74, 120, 255, 0.16);
  --cream: #F5F1E8;
  --cream-muted: #D3CEC1;    /* secondary text — more readable */
  --cream-dim: #9E9A8A;      /* tertiary text — lifted off the background */

  /* Status */
  --green: #2D8859;
  --green-soft: rgba(45, 136, 89, 0.15);
  --amber: #C9881E;
  --amber-soft: rgba(201, 136, 30, 0.15);
  --red: #B33B3B;
  --red-soft: rgba(179, 59, 59, 0.15);

  /* Effects */
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --radius: 6px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--ink);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: "Impact", "Arial Black", -apple-system-condensed, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 36px; line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--blue-bright); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.container--narrow { max-width: 540px; }
.container--medium { max-width: 880px; }
.container--wide { max-width: 1400px; }

.main {
  min-height: calc(100vh - 70px);
}

/* Grids */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .container { padding: 16px; }
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--ink-line);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero__copy h1 { margin-bottom: 16px; }
.hero__sub {
  font-size: 19px;
  color: var(--cream-muted);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { display: flex; justify-content: center; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
}

/* Origin seal visual */
.origin-seal {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, var(--blue-bright) 0%, var(--blue) 60%, #0F2566 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow), inset 0 0 0 4px rgba(255, 255, 255, 0.08);
  position: relative;
}
.origin-seal--large {
  width: 360px;
  height: 360px;
}
.origin-seal--small {
  width: 80px;
  height: 80px;
}
.origin-seal__inner {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  border: 2px solid rgba(245, 241, 232, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--cream);
}
.origin-seal__mono {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.origin-seal--large .origin-seal__mono { font-size: 96px; }
.origin-seal--small .origin-seal__mono { font-size: 26px; }
.origin-seal__label {
  font-size: 11px;
  letter-spacing: 0.25em;
  margin-top: 8px;
  opacity: 0.75;
}
.origin-seal--large .origin-seal__label { font-size: 14px; }
.origin-seal--small .origin-seal__label { font-size: 8px; margin-top: 2px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__copy h1 {
  margin-bottom: 16px;
}

.hero__sub {
  font-size: 19px;
  color: var(--cream-muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__seal-image {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__seal-image {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .hero__seal-image {
    max-width: 280px;
  }
}


.hero__seal-image {
  display: block;
  width: 100%;
  max-width: 410px;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}


