/* S4NDO — s4ndo.net
   Palette: indigo #4F46E5 primary, amber #F59E0B reserved for "happening now".
   Type: Plus Jakarta Sans (display) / Inter (body). */

:root {
  --ink: #0B1020;
  --ink-soft: #3A4160;
  --body: #5A6178;
  --indigo: #4F46E5;
  --indigo-deep: #3730A3;
  --indigo-wash: #EEF0FE;
  --amber: #F59E0B;
  --amber-wash: #FEF5E6;
  --line: #E5E8F2;
  --line-soft: #F0F2F8;
  --wash: #F8F9FD;
  --white: #FFFFFF;

  --shell: 1160px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .05);
  --shadow-md: 0 10px 30px -12px rgba(11, 16, 32, .16), 0 1px 2px rgba(11, 16, 32, .04);
  --shadow-lg: 0 30px 70px -30px rgba(24, 22, 84, .30), 0 2px 6px rgba(11, 16, 32, .05);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .wordmark, .btn, .stat-num {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  color: var(--ink);
}

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.028em; line-height: 1.08; }

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-deep); }

p { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 99;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- eyebrow / labels ---------- */

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 18px;
}

.eyebrow-muted { color: var(--ink-soft); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.wordmark {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--ink);
}
.wordmark span { color: var(--indigo); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* :not(.btn) keeps this from outranking .btn-primary on the nav CTA */
.nav-links a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:not(.btn):hover { color: var(--ink); }

.nav-hide-sm { display: inline; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(79, 70, 229, .85);
}
.btn-primary:hover {
  background: var(--indigo-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(79, 70, 229, .9);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #C9CEE4; color: var(--ink); transform: translateY(-1px); }

.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 9px; }

.btn-full { width: 100%; }

.btn svg { flex: none; }

/* ---------- sections ---------- */

/* clears the 68px sticky nav on anchor jumps */
[id] { scroll-margin-top: 88px; }

.section { padding: 104px 0; }
.section-wash { background: var(--wash); border-block: 1px solid var(--line-soft); }
.section-tight { padding: 76px 0; }

.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { margin-top: 18px; font-size: 18px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 74px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px 0 auto 0;
  height: 620px;
  background:
    radial-gradient(660px 340px at 18% 42%, rgba(79, 70, 229, .10), transparent 68%),
    radial-gradient(520px 300px at 88% 12%, rgba(245, 158, 11, .09), transparent 66%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.hero-sub {
  margin-top: 24px;
  font-size: 18.5px;
  line-height: 1.62;
  max-width: 33em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-note svg { color: var(--indigo); }

/* ---------- signature: dispatch board ---------- */

.board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #FCFCFF, #fff);
}

.board-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.board-date {
  font-size: 12px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}

.board-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-wash);
  border-radius: 999px;
  padding: 5px 11px;
}

.board-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.78); }
}

.board-scroll {
  overflow-x: auto;
  padding: 6px 0 4px;
  scrollbar-width: thin;
}

.board-grid {
  position: relative;
  display: grid;
  grid-template-columns: 92px repeat(20, minmax(22px, 1fr));
  grid-auto-rows: 46px;
  align-items: center;
  min-width: 540px;
  padding: 6px 14px 12px 0;
}

.tick {
  grid-row: 1;
  font-size: 11px;
  font-weight: 500;
  color: #949BB4;
  font-variant-numeric: tabular-nums;
  padding-left: 7px;
  align-self: center;
}

.rule {
  grid-row: 2 / -1;
  border-left: 1px solid var(--line-soft);
  height: 100%;
  z-index: 0;
}

.crew {
  grid-column: 1;
  padding-left: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  z-index: 2;
}
.crew small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #949BB4;
  letter-spacing: .02em;
}

.job {
  position: relative;
  z-index: 2;
  height: 34px;
  margin-right: 3px;
  border-radius: var(--radius-sm);
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--indigo-wash);
  border: 1px solid #DDE0FB;
  animation: rise .5s cubic-bezier(.2, .8, .3, 1) backwards;
}

.job-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--indigo-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.job-meta {
  font-size: 10.5px;
  color: #7E85A6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}

/* amber == on site right now */
.job-live {
  background: var(--amber-wash);
  border-color: #F5DCAE;
  padding-right: 19px;
}
.job-live .job-name { color: #8A5A00; }
.job-live .job-meta { color: #A98040; }

/* status light, corner-pinned so it never fights the ellipsis */
.job-live::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2.4s ease-in-out infinite;
}

.job-open {
  background: repeating-linear-gradient(-45deg, #FAFBFF, #FAFBFF 5px, #F1F3FB 5px, #F1F3FB 10px);
  border: 1px dashed #D5DAEC;
}
.job-open .job-name { color: #99A0BC; font-weight: 500; }

@keyframes rise {
  from { opacity: 0; transform: translateY(7px) scaleX(.97); }
  to { opacity: 1; transform: none; }
}

.now-line {
  grid-row: 2 / -1;
  position: relative;
  border-left: 2px solid var(--amber);
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* the now-marker replaces the 10:00 hour label rather than sitting beside it */
.now-line::after {
  content: "10:00";
  position: absolute;
  top: -25px;
  left: -2px;
  background: var(--amber);
  color: #3D2600;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  padding: 2px 8px;
  border-radius: 999px;
}

.board-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
  background: #FCFCFF;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--body);
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.swatch-scheduled { background: var(--indigo-wash); border: 1px solid #DDE0FB; }
.swatch-now { background: var(--amber-wash); border: 1px solid #F5DCAE; }
.swatch-open { background: #F1F3FB; border: 1px dashed #D5DAEC; }

/* ---------- features ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--white);
  padding: 34px 30px 36px;
  transition: background-color .2s ease;
}
.feature:hover { background: #FCFCFF; }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--indigo-wash);
  color: var(--indigo);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature h3 { font-size: 17.5px; letter-spacing: -.02em; margin-bottom: 9px; }
.feature p { font-size: 15px; line-height: 1.6; }

/* ---------- who it's for: scale rail ---------- */

.rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  padding-top: 34px;
}

.rail::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-wash), var(--indigo) 55%, var(--indigo-deep));
  border-radius: 2px;
}

.stop { position: relative; }

/* -34px lifts the dot out of the grid row onto the rail (rail padding-top 34px) */
.stop::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--indigo);
}

.stop-size {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--indigo);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.stop h3 { font-size: 21px; margin: 10px 0 10px; }
.stop p { font-size: 15.5px; }

/* ---------- proof ---------- */

.proof {
  padding: 74px 0;
  border-block: 1px solid var(--line);
  text-align: center;
}

.proof p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -.028em;
  color: var(--ink);
  max-width: 23ch;
  margin-inline: auto;
  line-height: 1.25;
}

.proof span { color: var(--indigo); }

/* ---------- contact ---------- */

.contact-in {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-aside h2 { font-size: clamp(29px, 3.6vw, 38px); }
.contact-aside p { margin-top: 18px; font-size: 17px; }

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--indigo);
}
.contact-mail:hover { color: var(--indigo-deep); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: -.005em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input::placeholder,
.field textarea::placeholder { color: #A6ACC4; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .14);
}

.field textarea { resize: vertical; min-height: 104px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #7E85A6;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo-deep);
  background: var(--indigo-wash);
  border-radius: 10px;
  padding: 11px 14px;
  display: none;
}
.form-status.is-shown { display: block; }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #9AA2BE;
  padding: 54px 0 40px;
}

.footer-in {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer .wordmark { color: #fff; }
.footer .wordmark span { color: #A5A0FF; }

.footer-blurb {
  font-size: 14px;
  margin-top: 12px;
  max-width: 34ch;
  color: #7C8399;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 14.5px;
}
.footer-links a { color: #C6CBDD; }
.footer-links a:hover { color: #fff; }

.footer-base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 13px;
  color: #6E7590;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ---------- legal pages ---------- */

.legal { padding: 68px 0 96px; }

.legal-head {
  max-width: 760px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.legal-head h1 { font-size: clamp(32px, 4.4vw, 46px); }
.legal-head .updated {
  margin-top: 16px;
  font-size: 13.5px;
  color: #868DA6;
  font-variant-numeric: tabular-nums;
}

.prose { max-width: 760px; }
.prose h2 {
  font-size: 21px;
  margin: 42px 0 14px;
  letter-spacing: -.02em;
}
.prose h3 {
  font-size: 16.5px;
  margin: 26px 0 10px;
  letter-spacing: -.015em;
}
.prose p { margin-bottom: 15px; font-size: 16px; }
.prose ul { margin: 0 0 15px; padding-left: 22px; font-size: 16px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--indigo-wash);
  border-left: 3px solid var(--indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 22px;
  margin: 26px 0;
}
.callout p { margin-bottom: 10px; font-size: 15.5px; }
.callout p:last-child { margin-bottom: 0; }

.kv {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 26px 0;
}
.kv-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  padding: 14px 20px;
  font-size: 15.5px;
  border-bottom: 1px solid var(--line-soft);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row dt {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -.01em;
}
.kv-row dd { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 46px; }
  .hero { padding-top: 56px; }
  .contact-in { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .section { padding: 76px 0; }
  .section-tight { padding: 60px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; gap: 34px; padding-top: 0; }
  .rail::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--indigo-wash), var(--indigo) 55%, var(--indigo-deep));
  }
  .stop { padding-left: 32px; }
  .stop::before { top: 4px; left: 0; }
  .nav-hide-sm { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .kv-row { grid-template-columns: 1fr; gap: 4px; }
  .board-scroll { padding-right: 0; }
}

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