/* ============================================================
   DEPOT — marketing site  (LIGHT THEME)
   Industrial / blueprint / field-first equipment platform
   ============================================================ */

/* ---- Tokens -------------------------------------------------- */
:root {
  /* ink + steel (navy brand) */
  --ink:        #0B1D33;
  --ink-deep:   #081320;
  --steel:      #14365C;
  --steel-soft: #1B3F69;

  /* electric blue brand */
  --blue:       #1E74E6;
  --blue-bright:#3D9BFF;
  --blue-ink:   #155CBE;   /* darker blue for text/links on white */
  --blue-glow:  #4DA3FF;

  /* light surfaces */
  --bg:         #FFFFFF;
  --bg-2:       #F4F7FB;   /* alt section tint */
  --bg-3:       #EAF0F8;
  --card:       #FFFFFF;
  --card-2:     #F8FAFD;

  /* text on light */
  --text-hi:    #0B1D33;   /* headings / strong */
  --text-body:  #41566F;   /* body copy */
  --text-muted: #647C99;   /* secondary */
  --text-low:   #8294AC;   /* labels / captions */

  /* text on dark (CTA / footer / dark cards) */
  --on-hi:      #EAF1FB;
  --on-mid:     #A9BDD6;
  --on-low:     #6E86A4;

  /* semantic (restraint: fail only) */
  --fail:       #E08A12;
  --fail-soft:  #FBEFD9;

  /* lines */
  --line:       rgba(11, 29, 51, 0.10);
  --line-2:     rgba(11, 29, 51, 0.16);
  --line-dark:  rgba(157, 178, 204, 0.16);
  --grid:       rgba(30, 116, 230, 0.055);

  /* type */
  --display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* scale */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 5px;
  --radius-lg: 10px;

  --shadow:   0 1px 2px rgba(11,29,51,0.04), 0 8px 24px -12px rgba(11,29,51,0.12);
  --shadow-lg:0 24px 48px -24px rgba(11,29,51,0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

/* ---- Layout helpers ----------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(72px, 11vw, 132px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; color: var(--text-hi); }
.h1 { font-size: clamp(40px, 7vw, 80px); }
.h2 { font-size: clamp(30px, 4.6vw, 52px); }
.h3 { font-size: clamp(20px, 2.4vw, 27px); }
.lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--text-muted); max-width: 56ch; line-height: 1.55; }

.section-head { max-width: 720px; }
.section-head .h2 { margin-top: 18px; }
.section-head p { margin-top: 20px; }

/* ---- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(30, 116, 230, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(30, 116, 230, 0.7); }

.btn--ghost {
  background: var(--bg);
  color: var(--text-hi);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-2px); }

/* ghost on dark backgrounds */
.on-dark .btn--ghost, .cta__box .btn--ghost, .footer .btn--ghost {
  background: transparent; color: var(--on-hi); border-color: rgba(157,178,204,0.28);
}
.on-dark .btn--ghost:hover, .cta__box .btn--ghost:hover { border-color: var(--blue-bright); color: #fff; }

.btn--lg { padding: 17px 28px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---- Blueprint backdrop (faint blue grid on white) ---------- */
.blueprint {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Brand ---------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 38px; height: auto; }
.brand .wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.footer .brand .wordmark { color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11,29,51,0.02);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 150px; padding-bottom: 84px; overflow: hidden; }
.hero__glow {
  position: absolute;
  width: 720px; height: 720px;
  right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(30,116,230,0.12) 0%, rgba(30,116,230,0.05) 40%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 { margin-top: 26px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--blue) 10%, var(--blue-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { margin-top: 26px; }
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 44px;
  display: flex; gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__meta div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta b { font-family: var(--display); font-weight: 700; font-size: 25px; color: var(--ink); }
.hero__meta span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-low); }

/* hero visual — the logo mark in a blueprint frame */
.hero__visual { position: relative; z-index: 0; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero__mark {
  position: relative; z-index: 1;
  width: min(420px, 80%);
  filter: drop-shadow(0 26px 50px rgba(11,29,51,0.18));
}
.hero__frame {
  position: absolute; z-index: 0; inset: 6% 2%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 60% 40%, rgba(30,116,230,0.06), transparent 70%);
}
.hero__frame::before, .hero__frame::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--blue);
}
.hero__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__frame::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.hero__tag {
  position: absolute; bottom: 2%; left: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-low); text-transform: uppercase;
}

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 260px; }
  .hero__mark { width: min(260px, 60%); }
  .hero__frame { inset: 0 18%; }
}

/* logo ribbon */
.ribbon { border-block: 1px solid var(--line); background: var(--bg-2); }
.ribbon__inner { display: flex; align-items: center; gap: 18px; padding-block: 22px; flex-wrap: wrap; }
.ribbon__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-low); }
.ribbon__tags { display: flex; gap: 12px; flex-wrap: wrap; }
.ribbon__tags span {
  font-family: var(--mono); font-size: 12px; color: var(--steel);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 14px; background: var(--bg);
}

/* ============================================================
   HOW IT WORKS  (signature loop)
   ============================================================ */
.how { background: var(--bg-2); }
.how__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 84px); align-items: center; margin-top: 60px; }

.steps { display: flex; flex-direction: column; gap: 6px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 22px 20px; border: 1px solid transparent; border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step.is-active { border-color: var(--line); background: var(--bg); box-shadow: var(--shadow); }
.step__idx {
  font-family: var(--mono); font-size: 13px; color: var(--blue-ink);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.step.is-active .step__idx { background: var(--blue); border-color: var(--blue); color: #fff; }
.step h3 { font-size: 20px; }
.step p { margin-top: 7px; color: var(--text-muted); font-size: 15px; }

/* the animated lifecycle diagram */
.loop {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(30,116,230,0.05), transparent 60%),
    var(--card);
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 22px;
  overflow: hidden;
}
.loop__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.loop__head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-low); }
.loop__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue-glow); animation: livepulse 2s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.loop__triggers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.loop__lane-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-low); margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.loop__lane-label .d { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.loop__card {
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg);
  padding: 13px 15px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0.42; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.loop__card.on { opacity: 1; transform: translateY(0); }
.loop__card.flash { box-shadow: 0 0 0 1px var(--blue), 0 8px 24px -6px rgba(30,116,230,0.4); }
.loop__card .ic {
  width: 34px; height: 34px; border-radius: var(--radius); display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-2); background: var(--bg-2);
}
.loop__card .ic svg { width: 17px; height: 17px; }
.loop__card .body { flex: 1; min-width: 0; }
.loop__card .body b { font-size: 13.5px; display: block; line-height: 1.25; color: var(--text-hi); }
.loop__card .body small { font-family: var(--mono); font-size: 10.5px; color: var(--text-low); }
.loop__card .pill {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 100px; white-space: nowrap;
}

.loop__card--insp .ic { color: var(--blue-ink); }
.loop__card--fail.on { border-color: rgba(224,138,18,0.5); }
.loop__card--fail .ic { border-color: rgba(224,138,18,0.4); background: var(--fail-soft); color: var(--fail); }
.loop__card--fail .pill { background: var(--fail-soft); color: var(--fail); }

.loop__card--pm .ic { color: var(--blue-ink); }
.loop__card--due.on { border-color: rgba(30,116,230,0.45); }
.loop__card--due .ic { border-color: rgba(30,116,230,0.35); background: #EAF2FD; color: var(--blue-ink); }
.loop__card--due .pill { background: #EAF2FD; color: var(--blue-ink); }

.loop__merge { position: relative; height: 34px; margin: 4px 0; }
.loop__merge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop__merge .flow { stroke: var(--line-2); stroke-width: 1.5; fill: none; transition: stroke 0.4s var(--ease); }
.loop__merge .flow.lit { stroke: var(--blue); filter: drop-shadow(0 0 4px rgba(30,116,230,0.5)); }

.loop__card--queue { padding: 15px 16px; }
.loop__card--queue.on { border-color: rgba(30,116,230,0.5); }
.loop__card--queue .ic { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; border: 0; }
.loop__card--queue .pill { background: #EAF2FD; color: var(--blue-ink); }

.loop__chain { margin-top: 4px; display: flex; flex-direction: column; gap: 4px; }
.loop__connector { height: 14px; margin-left: 32px; border-left: 1px dashed var(--line-2); transition: border-color 0.4s var(--ease); }
.loop__connector.lit { border-left-color: var(--blue); }

.loop__card--maintain .ic { color: var(--blue-ink); }
.loop__card--health.on { border-color: rgba(30,116,230,0.45); }
.loop__card--health .ic { border-color: rgba(30,116,230,0.35); background: #EAF2FD; color: var(--blue-ink); }
.loop__card--health .pill { background: #EAF2FD; color: var(--blue-ink); }

.loop__return {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-low);
}
.loop__return svg { width: 18px; height: 18px; color: var(--blue); }
.loop__return b { color: var(--text-muted); font-weight: 500; }
.loop__return .spin { animation: cyc 6s linear infinite; transform-origin: center; }
@keyframes cyc { to { transform: rotate(360deg); } }

@media (max-width: 920px) { .how__layout { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .loop__triggers { grid-template-columns: 1fr; } }

/* ============================================================
   MODULES
   ============================================================ */
.modules { background: var(--bg); }
.mod-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.mod::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.mod:hover::after { transform: scaleX(1); }
.mod__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); }
.mod__ic { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 20px; background: #EAF1FC; color: var(--blue); }
.mod__ic svg { width: 23px; height: 23px; }
.mod h3 { margin-top: 14px; font-size: 21px; }
.mod p { margin-top: 10px; color: var(--text-muted); font-size: 14.5px; }

.roadmap { margin-top: 22px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--bg-2); }
.roadmap b { font-family: var(--display); color: var(--ink); font-size: 15px; }
.roadmap__items { display: flex; gap: 10px; flex-wrap: wrap; }
.roadmap__items span { font-family: var(--mono); font-size: 12px; color: var(--text-muted); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 12px; background: var(--bg); }
.roadmap__items span::before { content: "○ "; color: var(--blue); }
@media (max-width: 900px) { .mod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mod-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHY / DIFFERENTIATORS
   ============================================================ */
.why { background: var(--bg-2); }
.why-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feat {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  background: var(--card); box-shadow: var(--shadow);
  position: relative; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat__ic { width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); background: #EAF1FC; display: grid; place-items: center; color: var(--blue); margin-bottom: 18px; }
.feat__ic svg { width: 21px; height: 21px; }
.feat h3 { font-size: 19px; }
.feat p { margin-top: 9px; color: var(--text-muted); font-size: 14.5px; }
.feat--wide { grid-column: span 6; }
.feat--third { grid-column: span 4; }
.feat--half { grid-column: span 6; }
@media (max-width: 900px) { .feat--wide, .feat--third, .feat--half { grid-column: span 12; } }

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.who { background: var(--bg); }
.who-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.persona {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; position: relative;
  background: var(--card); box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.persona:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.persona__role { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-ink); }
.persona h3 { margin-top: 14px; font-size: 22px; }
.persona p { margin-top: 12px; color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECURITY  (reuses .trust + .why-grid/.feat)
   ============================================================ */
.trust { background: var(--bg-2); }
.trust .section-head { max-width: 640px; }

/* ============================================================
   CTA  (dark navy band on white)
   ============================================================ */
.cta { position: relative; overflow: hidden; background: var(--bg); }
.cta__box {
  position: relative; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px); text-align: center;
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(30,116,230,0.28), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--ink-deep));
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11,29,51,0.5);
  color: var(--on-hi);
}
.cta__box .blueprint { --grid: rgba(120,160,210,0.08); mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent 75%); }
.cta__box .eyebrow { color: var(--blue-bright); }
.cta__inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(32px, 5vw, 58px); color: #fff; }
.cta p { margin: 20px auto 0; max-width: 48ch; color: var(--on-mid); }
.cta__actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--on-low); }

/* ============================================================
   FOOTER  (dark navy)
   ============================================================ */
.footer { background: var(--ink-deep); color: var(--on-mid); border-top: 1px solid var(--line); padding-block: 60px 36px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin-top: 18px; color: var(--on-mid); font-size: 14px; max-width: 36ch; }
.footer__col h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-low); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: var(--on-mid); font-size: 14px; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { font-family: var(--mono); font-size: 12px; color: var(--on-low); }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   REQUEST ACCESS PAGE
   ============================================================ */
.access { padding-top: 132px; min-height: 100vh; background: var(--bg); }
.access__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.access__copy h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 56px); }
.access__copy h1 .accent { background: linear-gradient(120deg, var(--blue), var(--blue-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.access__copy .lede { margin-top: 22px; }
.access__points { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.access__points li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 14px; color: var(--text-muted); font-size: 15px; }
.access__points .k { color: var(--blue); }
.access__points .k svg { width: 20px; height: 20px; }
.access__points b { color: var(--text-hi); font-weight: 600; }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-low); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--bg);
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text-hi);
  font-family: var(--sans); font-size: 15px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-low); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,116,230,0.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23647C99' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-foot { margin-top: 8px; }
.form-note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--text-low); text-align: center; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .ic { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); display: grid; place-items: center; }
.form-success .ic svg { width: 28px; height: 28px; color: #fff; }
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 10px; color: var(--text-muted); }

@media (max-width: 880px) { .form-row { grid-template-columns: 1fr; } .access__grid { grid-template-columns: 1fr; } }

/* ---- reveal animation (degrades to visible without JS) ------ */
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js.is-ready .reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }
