:root {
  --blue: #0055ff;
  --blue-soft: #e8f0ff;
  --ink: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --ok: #0f766e;
  --wait: #b45309;
  --shop: #b91c1c;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(720px, calc(100% - 40px));
}

.center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.mark {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

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

.button-small {
  padding: 6px 14px;
  border-width: 1px;
}

.button-large {
  padding: 14px 26px;
}

.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 46% 42% at 82% 18%, rgba(0, 85, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 36% 30% at 8% 90%, rgba(0, 85, 255, 0.05), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

h1,
h2,
h3 {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(40px, 5vw, 56px);
  max-width: 12ch;
}

h2 {
  font-size: clamp(32px, 4vw, 40px);
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.lede,
.sub {
  color: var(--muted);
  font-size: 18px;
}

.lede {
  max-width: 38ch;
  margin: 18px 0 28px;
}

.sub {
  margin: 12px auto 0;
}

.sub.left {
  margin-left: 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

.truck {
  width: 100%;
  height: auto;
}

.board {
  width: min(420px, 100%);
  margin-top: -28px;
  margin-left: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px 8px;
}

.board-head {
  display: flex;
  justify-content: space-between;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.board-count {
  color: var(--muted);
  font-weight: 500;
}

.board ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.board li {
  display: grid;
  grid-template-columns: 10px 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.unit {
  font-weight: 600;
}

.where,
.state {
  color: var(--muted);
}

.state {
  text-align: right;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-ok { background: var(--ok); }
.dot-wait { background: var(--wait); }
.dot-shop { background: var(--shop); }

.section {
  padding: 88px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 24px;
}

.card p,
.ticks,
.compare li,
.record-meta {
  color: var(--muted);
}

.card p {
  margin: 8px 0 0;
  font-size: 16px;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.compare > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 12px;
}

.compare > .compare-ours {
  background: var(--blue-soft);
  border-color: transparent;
}

.compare ul,
.ticks {
  margin: 18px 0 12px;
  padding: 0;
  list-style: none;
}

.compare li,
.ticks li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  position: relative;
}

.compare-ours li {
  border-top-color: rgba(0, 85, 255, 0.12);
}

.compare li::before,
.ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 17px;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.record {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.record-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.record h3 {
  font-size: 32px;
}

.record-meta {
  margin: 6px 0 8px;
}

.record dl {
  margin: 8px 0 0;
}

.record dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.record dt {
  color: var(--muted);
}

.record dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.fleet-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.fleet-row span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--blue);
  font-weight: 600;
}

.pilot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  width: min(720px, calc(100% - 40px));
}

.pilot label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.pilot input,
.pilot select,
.pilot textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  padding: 12px 12px;
}

.full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .compare,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .nav {
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .cards,
  .pilot {
    grid-template-columns: 1fr;
  }

  .board li {
    grid-template-columns: 10px 36px 1fr;
  }

  .state {
    grid-column: 2 / -1;
    text-align: left;
  }

  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 64px 0;
  }
}
