/* ============================================================
   STRAXIO — Design Tokens
   Color: navy-black base, gold accent (existing brand), cream
   for contrast sections, sage for data, green/red for score states
   Type: Fraunces (display, geological character) + Inter (body)
   + IBM Plex Mono (data / coordinates / scores)
   ============================================================ */

:root {
  --navy-deep: #0B1F33;
  --navy: #13344F;
  --navy-light: #1F4A6E;
  --gold: #C8A84B;
  --gold-bright: #DCC077;
  --cream: #F4F1EA;
  --cream-line: #E2DDD0;
  --sage: #8FA89C;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --good: #1A5C1A;
  --good-bg: #E8F3E4;
  --bad: #8A2030;
  --bad-bg: #F7E6E6;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

button, input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 31, 51, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.15);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  color: rgba(244, 241, 234, 0.85);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--gold-bright); }

.nav__cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
}

.nav__cta:hover { background: var(--gold-bright); }

@media (max-width: 760px) {
  .nav__links { gap: 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
  padding: 140px 32px 80px;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

.eyebrow--dark { color: var(--navy-light); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--paper);
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}

.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.78);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(244, 241, 234, 0.5);
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust .dot { color: var(--gold); }

.hero__scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: rgba(200, 168, 75, 0.3);
  z-index: 2;
}

.hero__scroll-cue span {
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { top: 0; opacity: 1; }
  90% { opacity: 1; }
  100% { top: 44px; opacity: 0; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 20px 60px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 241, 234, 0.35);
}
.btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--paper); }

.btn--full { width: 100%; }

/* ============ STRATA RAIL — persistent structural device ============ */
.strata-rail {
  display: none;
}

@media (min-width: 1400px) {
  .strata-rail {
    display: block;
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 1px;
    height: 240px;
  }
  .strata-rail__line {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
    opacity: 0.4;
  }
}

/* ============ SECTIONS — generic ============ */
.section { padding: 110px 32px; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy-deep); color: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section__inner--narrow { max-width: 700px; }

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split__text { min-width: 0; }
.split__visual { min-width: 0; }
.split__visual--quote { display: flex; align-items: center; height: 100%; }

@media (max-width: 860px) {
  .section { padding: 72px 20px; }
  .section__inner--split { grid-template-columns: 1fr; gap: 40px; }
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.3px;
  color: var(--navy-deep);
  max-width: 720px;
  margin-bottom: 28px;
}

.h2--light { color: var(--paper); }
.h2--center { text-align: center; margin: 0 auto 18px; }

.body-lg {
  font-size: 17px;
  line-height: 1.65;
  color: #444;
  max-width: 620px;
  margin-bottom: 16px;
}

.body-lg--light { color: rgba(244, 241, 234, 0.75); }
.body-lg--muted { color: #6b6b6b; font-size: 15.5px; }
.body-lg--center { text-align: center; margin: 0 auto 40px; }

/* ============ WHO THIS IS FOR ============ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream-line);
  border: 1px solid var(--cream-line);
  margin-top: 50px;
}

.who-card {
  background: var(--cream);
  padding: 36px 30px;
}

.who-card__mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sage);
  display: block;
  margin-bottom: 14px;
}

.who-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.who-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ============ HOW IT WORKS — layers ============ */
.layers {
  margin-top: 56px;
  border-top: 1px solid rgba(200, 168, 75, 0.2);
}

.layer {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
}

.layer__marker {
  display: flex;
  align-items: flex-start;
}

.layer__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold-bright);
  border: 1px solid rgba(200, 168, 75, 0.4);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer__content { min-width: 0; }

.layer__content h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--paper);
}

.layer__content p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244, 241, 234, 0.7);
  max-width: 600px;
}

@media (max-width: 600px) {
  .layer { grid-template-columns: 50px 1fr; gap: 16px; }
  .layer__num { width: 32px; height: 32px; font-size: 12px; }
}

/* ============ STRAXIO SCORE CARD ============ */
.score-card {
  background: var(--navy-deep);
  border-radius: 8px;
  padding: 32px 30px;
  color: var(--paper);
  box-shadow: 0 20px 50px rgba(11, 31, 51, 0.25);
}

.score-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.score-card__value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.score-card__value small {
  font-size: 20px;
  color: rgba(244, 241, 234, 0.4);
  font-family: var(--font-body);
}

.score-card__verdict {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.score-card__verdict--good { color: #8FD18A; }

.score-card__bars { display: flex; flex-direction: column; gap: 10px; }

.bar {
  display: grid;
  grid-template-columns: 130px 1fr 28px;
  align-items: center;
  gap: 10px;
}

.bar span {
  font-size: 12px;
  color: rgba(244, 241, 234, 0.6);
}

.bar__track {
  height: 5px;
  background: rgba(244, 241, 234, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
}

.bar__fill--mid { background: #C49A3F; }

.bar b {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  color: rgba(244, 241, 234, 0.8);
}

/* ============ SAMPLE CARDS ============ */
.samples-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sample-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 32px;
  border-top: 3px solid;
}

.sample-card--green { border-color: #4A9E4A; }
.sample-card--red { border-color: var(--bad); }

.sample-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.sample-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}

.sample-card__score {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--paper);
}

.sample-card__score small {
  font-size: 14px;
  color: rgba(244, 241, 234, 0.4);
}

.sample-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 6px;
}

.sample-card__meta {
  font-size: 13px;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.sample-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.7);
  margin-bottom: 22px;
}

.sample-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-bright);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.sample-card__link:hover { border-color: var(--gold-bright); }

@media (max-width: 760px) {
  .samples-grid { grid-template-columns: 1fr; }
}

/* ============ PRICING ============ */
.pricing-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--cream-line);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
}

.price-card--featured {
  border: 2px solid var(--gold);
  box-shadow: 0 16px 40px rgba(200, 168, 75, 0.18);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 14px;
}

.price-card__price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.price-card__turnaround {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--sage);
  margin-bottom: 24px;
}

.price-card__list {
  margin-bottom: 28px;
}

.price-card__list li {
  font-size: 14px;
  color: #444;
  padding: 9px 0;
  border-top: 1px solid var(--cream-line);
}
.price-card__list li:first-child { border-top: none; }

.price-card__note {
  color: var(--sage) !important;
  font-style: italic;
  font-size: 13px !important;
}

.pricing-footnote {
  margin-top: 40px;
  font-size: 14.5px;
  color: #666;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============ ABOUT / QUOTE ============ */
.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.5;
  color: var(--gold-bright);
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
  margin-top: 34px;
}

.about-stats div { display: flex; flex-direction: column; max-width: 200px; }

.about-stats b {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-bright);
}

.about-stats span {
  font-size: 12.5px;
  color: rgba(244, 241, 234, 0.6);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .about-stats { flex-wrap: wrap; gap: 24px; }
}

/* ============ ORDER FORM ============ */
.order-form {
  margin-top: 40px;
  background: var(--paper);
  border: 1px solid var(--cream-line);
  border-radius: 8px;
  padding: 36px;
}

.order-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.field textarea { resize: vertical; }

.order-form__note {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .order-form { padding: 24px; }
  .order-form__row { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: rgba(244, 241, 234, 0.6);
  padding: 56px 32px 32px;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.footer__brand { max-width: 280px; }

.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  display: block;
  margin-bottom: 8px;
}

.footer__brand p { font-size: 13px; line-height: 1.6; }

.footer__links {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer__links a { font-size: 13.5px; }
.footer__links a:hover { color: var(--gold-bright); }

.footer__legal {
  max-width: var(--container);
  margin: 0 auto;
  font-size: 12px;
  color: rgba(244, 241, 234, 0.35);
}
