/* International Precision — darkfleet.io public landing (no Tailwind CDN) */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --surface: #1a1a1a;
  --text: #ededed;
  --text-muted: #a3a3a3;
  --outline: #262626;
  --outline-strong: #404040;
  --accent: #1870f5;
  --error: #ba1a1a;
  --ok: #3ecf8e;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1200px;
  --gutter: 24px;
  --margin-md: 32px;
  --margin-lg: 64px;
  --header-h: 64px;
  --radius: 0;
  --transition: 150ms ease-out;
  color-scheme: dark;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition),
    background var(--transition), border-color var(--transition);
}

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

.material-symbols-outlined,
.material-icons {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 22px;
  line-height: 1;
  user-select: none;
  vertical-align: middle;
}

/* Utilities used by main.js */
.hidden {
  display: none !important;
}
.flex {
  display: flex !important;
}
.text-green-500 {
  color: var(--ok) !important;
}
.text-red-500 {
  color: var(--error) !important;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--outline);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 768px) {
  .site-nav {
    padding: 0 var(--margin-lg);
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  text-transform: none;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  font-weight: 600;
  border-bottom-color: var(--text);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.icon-btn:hover {
  opacity: 0.7;
}

.mobile-menu-btn {
  display: inline-flex;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--outline);
}

.mobile-drawer a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 0.5rem 0;
}

.mobile-drawer a:hover {
  color: var(--text);
}

/* —— Layout —— */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--margin-lg);
  }
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--outline);
}

.section-tight {
  padding: 4rem 0;
}

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

/* —— Hero —— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + 3rem) var(--gutter) 4rem;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48rem;
}

.hero h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  animation: fade-up 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero .supporting {
  margin: 0 0 1.5rem;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.7;
  max-width: 36rem;
  line-height: 1.7;
}

.hero .lead {
  margin: 0 0 3rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.7;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn:hover {
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

.btn-fill {
  background: var(--text);
  color: var(--bg);
}

.btn-fill:hover {
  background: transparent;
  color: var(--text);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

/* —— Roadmap —— */
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-kicker {
  text-align: center;
  margin-bottom: 0.75rem;
}

.roadmap-list {
  max-width: 40rem;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.roadmap-item {
  position: relative;
  padding-left: 1.75rem;
  border-left: 1px solid var(--outline);
}

.roadmap-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.roadmap-item.is-upcoming {
  opacity: 0.65;
}

.roadmap-item.is-upcoming::before {
  background: var(--outline-strong);
}

.roadmap-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.5rem;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--outline);
  color: var(--text-muted);
}

.roadmap-badge.current {
  border-color: var(--accent);
  color: var(--accent);
}

.roadmap-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.roadmap-item p {
  margin: 0;
  color: var(--text-muted);
}

/* —— Request / form —— */
.request-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .request-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.request-copy h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.request-copy p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-list li::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.form-panel {
  position: relative;
  border: 1px solid var(--outline);
  background: var(--bg-elevated);
  padding: 2rem 1.5rem 1.75rem;
}

@media (min-width: 768px) {
  .form-panel {
    padding: 2.5rem;
  }
}

.form-badge {
  position: absolute;
  top: -0.65rem;
  left: 1rem;
  padding: 0.2rem 0.65rem;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--text);
  color: var(--bg);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: transparent;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition);
}

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

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-field select option {
  background: var(--bg);
  color: var(--text);
}

.turnstile-wrap {
  margin: 1.25rem 0;
}

#form-message {
  margin: 0.75rem 0 0;
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#form-message.hidden {
  display: none !important;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--outline);
  padding: 3rem 0 2rem;
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-blurb {
  margin: 0;
  max-width: 28rem;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--outline);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
