* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  color: #0f172a;
  background: #f8fafc;
}

a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Header / Hero ─────────────────────────────────────────── */
.hero {
  background: radial-gradient(circle at top left, #e0f2fe, #f8fafc 60%);
  border-bottom: 1px solid #e2e8f0;
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #111827;
}
.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.hero-nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
}
.hero-nav a {
  color: #0f172a;
  padding: 6px 8px;
  border-radius: 8px;
}
.hero-nav a:hover,
.hero-nav a:focus-visible {
  background: rgba(37, 99, 235, 0.06);
  outline: none;
}

/* ── Accessibility ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #111827;
  color: #fff;
  border-radius: 6px;
  z-index: 1000;
}

/* ── Layout ────────────────────────────────────────────────── */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 24px 56px;
}

/* ── Intro ─────────────────────────────────────────────────── */
.intro h1 {
  font-size: 36px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  max-width: 640px;
}

.intro-cta {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ── CTA Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  background: #1d4ed8;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover {
  background: #1e40af;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn-secondary:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  text-decoration: none;
}

/* ── Feature Grid ──────────────────────────────────────────── */
.grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid article {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.grid article:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.article-icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 2px;
}

.grid h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.grid p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
  flex: 1;
}
.article-link {
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  margin-top: 4px;
}
.article-link:hover {
  text-decoration: underline;
}

/* ── Feature Spotlight ─────────────────────────────────────── */
.feature-spotlight {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.feature-spotlight-flip {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 60%);
}
.feature-spotlight-flip .feature-spotlight-text {
  order: 2;
}
.feature-spotlight-flip .feature-spotlight-visual {
  order: 1;
}

.feature-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #dbeafe;
  color: #1d4ed8;
  margin-bottom: 10px;
}
.feature-tag-orange {
  background: #fef3c7;
  color: #b45309;
}

.feature-spotlight-text h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.feature-spotlight-text p {
  color: #334155;
  line-height: 1.7;
  font-size: 15px;
  margin: 0 0 16px;
}

.feature-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #475569;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.feature-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Share-Map Mock UI ─────────────────────────────────────── */
.feature-spotlight-visual {
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

.mock-topbar {
  background: #1e293b;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b5563;
}
.mock-dot:nth-child(1) {
  background: #ef4444;
}
.mock-dot:nth-child(2) {
  background: #f59e0b;
}
.mock-dot:nth-child(3) {
  background: #10b981;
}
.mock-title {
  margin-left: 10px;
  font-size: 12px;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
}

.mock-map-area {
  height: 180px;
  background: linear-gradient(160deg, #bfdbfe 0%, #ddd6fe 40%, #bbf7d0 100%);
  position: relative;
  overflow: hidden;
}

.mock-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mock-marker-pin {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.mock-marker-label {
  font-size: 10px;
  font-weight: 700;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mock-route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mock-url-bar {
  background: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  font-family: ui-monospace, monospace;
}
.mock-copy-btn {
  padding: 3px 10px;
  border-radius: 5px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  cursor: default;
}

/* ── Delivery Mock UI ──────────────────────────────────────── */
.delivery-visual {
  padding: 16px;
  background: #1a1a2e;
  border-color: #333;
  position: relative;
}

.delivery-stops {
  display: flex;
  flex-direction: column;
}

.delivery-stop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: #16213e;
  border-radius: 8px;
  border: 1px solid #0f3460;
}
.delivery-stop-depot {
  border-color: #e94560;
  background: #1f1535;
}
.delivery-stop-more {
  opacity: 0.6;
}

.delivery-stop-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0f3460;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.delivery-stop-depot .delivery-stop-num {
  background: #e94560;
}

.delivery-stop-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.delivery-stop-name {
  font-size: 12px;
  color: #eee;
  font-weight: 500;
}
.delivery-stop-sub {
  font-size: 11px;
  color: #aaa;
}

.delivery-connector {
  width: 1px;
  height: 8px;
  background: #0f3460;
  margin: 2px 0 2px 23px;
}

.delivery-badge {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 20px;
  color: #2ecc71;
  font-size: 12px;
  font-weight: 600;
}
.delivery-badge-icon {
  font-size: 14px;
}

/* ── All-in-one section ────────────────────────────────────── */
.all-in-one {
  margin-top: 56px;
}

.allinone-header {
  text-align: center;
  margin-bottom: 28px;
}
.allinone-header h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}
.allinone-header p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.allinone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.allinone-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.allinone-card:hover {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.allinone-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.allinone-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.allinone-card-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.allinone-card-text span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* ── ANNA Feature Spotlight ─────────────────────────────────── */
.feature-tag-ai {
  background: linear-gradient(90deg, #ede9fe, #dbeafe);
  color: #5b21b6;
}

.anna-beta-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #faf5ff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  font-size: 13px;
  color: #4c1d95;
  margin-top: 4px;
  flex-wrap: wrap;
}
.anna-beta-notice a {
  color: #6d28d9;
  font-weight: 600;
}
.anna-beta-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ── ANNA Chat Mock UI ──────────────────────────────────────── */
.anna-visual {
  background: #0f0f1a;
  border-color: #2a1f4a;
  display: flex;
  flex-direction: column;
}

.anna-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #1e1535;
  background: #13102a;
}
.anna-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 6px #7c3aed;
  flex-shrink: 0;
}
.anna-chat-title {
  font-size: 12px;
  color: #a78bfa;
  font-weight: 600;
  flex: 1;
}
.anna-badge-pill {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.25);
  color: #c4b5fd;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anna-chat-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.anna-msg {
  max-width: 88%;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.55;
}
.anna-msg-user {
  align-self: flex-end;
  background: #7c3aed;
  color: #f3f0ff;
}
.anna-msg-ai {
  align-self: flex-start;
  background: #1e1535;
  color: #d4d4e8;
  border: 1px solid #2d1f50;
}
.anna-thinking {
  display: block;
  font-size: 10px;
  color: #7c3aed;
  margin-bottom: 4px;
  font-style: italic;
}

/* typing animation */
.anna-msg-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}
.anna-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c3aed;
  animation: annaBounce 1s ease-in-out infinite;
}
.anna-typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.anna-typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes annaBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.anna-chat-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid #1e1535;
  background: #13102a;
}
.anna-input-mock {
  flex: 1;
  font-size: 12px;
  color: #4a3f6b;
  font-style: italic;
}
.anna-send-mock {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #7c3aed;
  color: #fff;
  font-size: 14px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Details section ───────────────────────────────────────── */
.details {
  margin-top: 48px;
}
.details h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
}
.details h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1e293b;
}
.details ul {
  padding-left: 18px;
  color: #475569;
  margin: 0 0 8px;
}
.details li {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.5;
}
.details p {
  color: #475569;
  line-height: 1.6;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.contact-address {
  font-style: normal;
  color: #334155;
  line-height: 1.8;
  font-size: 14px;
}
.contact-address a {
  color: #2563eb;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer nav a {
  color: #64748b;
  padding: 4px 6px;
}
.footer nav a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.15);
  border-radius: 6px;
}

.footer {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid #e2e8f0;
  padding: 18px 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
  background: #f8fafc;
}
.footer a {
  color: #64748b;
  text-decoration: none;
}
.footer a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.footer strong {
  color: #334155;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .feature-spotlight,
  .feature-spotlight-flip {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .feature-spotlight-flip .feature-spotlight-text {
    order: 1;
  }
  .feature-spotlight-flip .feature-spotlight-visual {
    order: 2;
  }
}

@media (max-width: 600px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .intro h1 {
    font-size: 28px;
  }
  .wrap {
    padding: 24px 16px 40px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-spotlight {
    padding: 20px 16px;
  }
  .feature-spotlight-text h2 {
    font-size: 20px;
  }
  .allinone-grid {
    grid-template-columns: 1fr;
  }
  .allinone-header h2 {
    font-size: 21px;
  }
}
