/* RobotaxiOfficial.com — design preview. Local assets only. */

:root {
  --navy: #091322;
  --navy-2: #102033;
  --navy-3: #173049;
  --ivory: #f4f2ed;
  --paper: #fffcf8;
  --cyan: #59d6ea;
  --cyan-deep: #085868;
  --silver: #c5cdd6;
  --silver-dim: #9aa8b8;
  --ink: #091322;
  --ink-soft: #243140;
  --line: rgba(9, 19, 34, 0.14);
  --line-light: rgba(197, 205, 214, 0.32);
  --sans: Inter, "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --header: 4.25rem;
  --measure: 40rem;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  hyphens: manual;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
.hero-wordmark,
.domain-wordmark,
.statement {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero-wordmark,
.domain-wordmark {
  white-space: nowrap;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.45rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--cyan);
}

::selection {
  background: var(--cyan);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  transform: translateY(-160%);
  background: var(--cyan);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  z-index: 40;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.band-navy {
  background: var(--navy);
  color: var(--ivory);
}

.band-ivory {
  background: var(--ivory);
  color: var(--ink);
}

section {
  padding: 4.25rem 0;
  scroll-margin-top: 5.25rem;
}

.eyebrow,
.kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.band-navy .eyebrow,
.band-navy .kicker {
  color: var(--cyan);
}

.lede {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.measure {
  max-width: var(--measure);
}

.domain-name {
  font-weight: 600;
  white-space: nowrap;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--header);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  color: var(--ivory);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-name {
  font-size: 0.98rem;
  white-space: nowrap;
}

.brand-mark {
  flex: 0 0 auto;
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  background: var(--cyan);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ivory);
  font-size: 0.95rem;
}

.nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav-cta {
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
}

.nav-list a.nav-cta:hover {
  background: var(--cyan);
  color: var(--navy);
  text-decoration: none;
}

/* Hero */

.hero {
  padding-top: 2.4rem;
  padding-bottom: 0;
}

.hero-copy > * + * {
  margin-top: 1rem;
}

.hero-wordmark {
  font-size: min(3.25rem, calc((100vw - 2.75rem) / 9.6));
  line-height: 1.02;
  max-width: 100%;
  color: var(--ivory);
  padding-bottom: 0.12em;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-size: 4.5rem 3px;
  background-position: left bottom;
}

.hero .lede {
  color: var(--silver);
  max-width: 38rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
}

.btn-primary:hover {
  background: #8ae7f4;
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(197, 205, 214, 0.55);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: rgba(9, 19, 34, 0.35);
}

.btn-line:hover {
  border-color: var(--navy);
}

.clarity {
  max-width: 38rem;
  padding-top: 0.35rem;
  color: var(--silver);
  font-size: 0.98rem;
}

.hero-figure {
  margin-top: 2rem;
  background: var(--navy);
}

.hero-figure img {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.hero-figure figcaption {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0 1.4rem;
  color: var(--ivory);
  font-size: 1rem;
}

.hero-figure .kicker {
  margin-bottom: 0.25rem;
}

/* Concept */

.prose > * + * {
  margin-top: 0.9rem;
}

.notes {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.note {
  background: var(--paper);
  border-top: 3px solid var(--cyan);
  padding: 1.1rem 1.15rem 1.2rem;
}

.note h3 {
  margin-bottom: 0.4rem;
}

.note p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Photography */

.places {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
}

.place-card {
  min-width: 0;
}

.place-card img {
  width: 100%;
  background: var(--navy-3);
}

.place-card h3 {
  margin: 0.2rem 0 0.35rem;
  color: var(--ink);
}

.place-card figcaption,
.journey-photos figcaption,
.map-still figcaption {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Map */

#routes .lede,
#routes .panel-copy {
  color: var(--silver);
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.tab {
  min-height: 48px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-weight: 600;
  color: var(--ivory);
  background: transparent;
  border: 1px solid rgba(197, 205, 214, 0.45);
  border-radius: 2px;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--silver);
  font-size: 0.9rem;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.swatch {
  width: 1.15rem;
  height: 0.75rem;
  flex: 0 0 auto;
}

.swatch-route {
  background: linear-gradient(var(--cyan), var(--cyan)) center / 100% 3px no-repeat;
}

.swatch-start {
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--ivory);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--navy), inset 0 0 0 6px var(--cyan);
}

.swatch-end {
  width: 0.8rem;
  height: 0.8rem;
  background: var(--cyan);
  border-radius: 50%;
}

.swatch-vehicle {
  background: #e7e4dc;
  border: 2px solid var(--cyan);
  border-radius: 4px;
}

.swatch-area {
  border: 2px dashed var(--cyan);
  background: rgba(89, 214, 234, 0.12);
}

.map-aside {
  margin-top: 0.85rem;
  color: var(--silver-dim);
  font-size: 0.92rem;
  max-width: 44rem;
}

.tab-panel {
  margin-top: 1.35rem;
}

.js .tab-panel {
  display: none;
}

.js .tab-panel.is-active {
  display: block;
}

.panel-title {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.panel-copy {
  max-width: 44rem;
  margin-bottom: 1rem;
}

.map-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.map-plate {
  background: var(--navy-2);
  border: 1px solid var(--line-light);
  min-width: 0;
}

.map-canvas {
  position: relative;
}

.map-canvas svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-float {
  position: absolute;
  max-width: 46%;
  color: var(--ivory);
  background: rgba(9, 19, 34, 0.78);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  padding: 0.15rem 0.4rem;
  pointer-events: none;
}

.plate-note {
  margin: 0;
  padding: 0.55rem 0.75rem 0.65rem;
  border-top: 1px solid var(--line-light);
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-still {
  min-width: 0;
  background: var(--navy-2);
  border: 1px solid var(--line-light);
}

.map-still img {
  width: 100%;
}

.map-still figcaption {
  padding: 0.8rem 0.85rem 0.95rem;
  color: var(--ivory);
}

/* Journey */

.journey-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}

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

.steps li {
  position: relative;
  padding: 0 0 1.6rem 2.5rem;
  border-left: 2px solid var(--cyan);
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step-num {
  position: absolute;
  left: -0.72rem;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.steps p {
  color: var(--ink-soft);
}

.journey-photos {
  display: grid;
  gap: 1.15rem;
}

.journey-photos img {
  width: 100%;
  background: var(--navy-3);
}

/* Domain */

.domain-wordmark {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.5rem;
  font-size: min(2.7rem, calc((100vw - 2.75rem) / 9.6));
  line-height: 1.05;
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-size: 4.5rem 3px;
  background-position: left bottom;
  padding-bottom: 0.14em;
}

.official-note,
.terms {
  max-width: 42rem;
  color: var(--ink-soft);
}

.official-note {
  margin-top: 0.85rem;
}

.statement {
  margin-top: 1.6rem;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  max-width: 16ch;
}

.statement-sub {
  margin-top: 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cyan-deep);
}

.benefits {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.benefit {
  background: var(--paper);
  padding: 1.1rem 1.15rem 1.2rem;
  border-top: 3px solid var(--navy);
}

.benefit .num {
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit h3 {
  margin: 0.35rem 0 0.4rem;
}

.benefit p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.scope {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.scope article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.25rem;
}

.scope h3 {
  margin-bottom: 0.55rem;
}

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

.scope-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0.4rem 0;
  color: var(--ink-soft);
}

.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 2px;
  background: var(--cyan-deep);
}

.terms {
  margin-top: 1.15rem;
}

.domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* Inquiry */

.preview-banner {
  max-width: 44rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan-deep);
}

.preview-form {
  max-width: 44rem;
  margin-top: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.field {
  margin: 0 0 0.85rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid #4d6072;
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
  min-height: 48px;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

::placeholder {
  color: #3e5163;
  opacity: 1;
}

.form-help {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.preview-status:not(:empty) {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--navy);
  color: var(--ivory);
  max-width: 44rem;
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--navy);
  color: var(--ivory);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.footer-nav a {
  color: var(--ivory);
  text-underline-offset: 0.18em;
}

.disclosure {
  max-width: 52rem;
  color: var(--silver);
  font-size: 0.95rem;
}

.footer-meta {
  margin-top: 1rem;
  color: var(--silver);
  font-size: 0.95rem;
}

/* Breakpoints */

@media (max-width: 999px) {
  .nav-toggle {
    display: none;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav-panel {
    display: none;
    width: 100%;
  }

  .js .nav-panel.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-bottom: 0.85rem;
  }

  .nav-list a {
    width: 100%;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.25rem;
  }
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .places {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 800px) {
  .notes,
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scope {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

@media (min-width: 900px) {
  section {
    padding: 5.75rem 0;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .journey-grid,
  .map-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
  }

  .map-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  }
}

@media (max-width: 559px) {
  .actions .btn,
  .domain-actions .btn {
    width: 100%;
  }
}

@media (max-width: 399px) {
  .wrap,
  .hero-figure figcaption {
    width: min(var(--wrap), calc(100% - 1.25rem));
  }

  .brand-mark {
    display: none;
  }

  .brand-name {
    font-size: 0.84rem;
  }

  .hero-wordmark,
  .domain-wordmark {
    background-size: 2.4rem 3px;
  }

  h1 {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .route {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .route {
    animation: draw 1.5s ease forwards;
  }
}

.route {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
