/* ── TAXIO POC · shared brand stylesheet ── */

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

:root {
  --primary: #0F766E;
  --primary-dark: #115E59;
  --primary-soft: #CCFBF1;
  --accent: #FACC15;
  --accent-dark: #CA8A04;
  --ink: #0F172A;
  --ink-soft: #475569;
  --line: #E2E8F0;
  --line-soft: #F1F5F9;
  --paper: #F8FAFC;
  --white: #ffffff;
  --success: #16A34A;
  --success-soft: #DCFCE7;
  --warn: #EA580C;
  --warn-soft: #FFEDD5;
  --red: #DC2626;
  --red-soft: #FEE2E2;
  --focus: #2563EB;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 14px 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  font-size: 22px; font-weight: 900; letter-spacing: -0.025em;
  color: var(--ink); text-decoration: none;
}
.nav-logo .io { color: var(--primary); position: relative; }
.nav-logo .io::after {
  content: ''; position: absolute; bottom: 3px; right: -7px;
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; min-height: 36px;
  display: inline-flex; align-items: center;
}
.nav-links a:hover { color: var(--ink); background: var(--paper); text-decoration: none; }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-cta {
  background: var(--ink); color: var(--white); padding: 8px 16px;
  border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none;
  min-height: 36px; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--primary); text-decoration: none; }
.nav-burger { display: none; background: transparent; border: 0; padding: 8px; font-size: 22px; color: var(--ink); }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { padding: 6px 12px; font-size: 13px; }
}

/* ── LAYOUT ── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section.tight { padding: 32px 0; }
.section.bg-paper { background: var(--paper); }
.section.bg-ink { background: var(--ink); color: var(--white); }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
.section.bg-ink .section-label { color: rgba(255,255,255,0.7); }
h1, h2, h3, h4 { letter-spacing: -0.02em; }
.h-display { font-size: 56px; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.h-1 { font-size: 36px; font-weight: 800; line-height: 1.15; }
.h-2 { font-size: 26px; font-weight: 700; line-height: 1.25; }
.h-3 { font-size: 18px; font-weight: 600; }
.lead { font-size: 17px; color: var(--ink-soft); line-height: 1.65; max-width: 680px; }
.section.bg-ink .lead { color: rgba(255,255,255,0.85); }
@media (max-width: 720px) {
  .h-display { font-size: 36px; }
  .h-1 { font-size: 28px; }
  .h-2 { font-size: 22px; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 0; cursor: pointer; transition: transform .1s ease, background .15s ease;
  min-height: 48px; min-width: 44px;
}
.btn.primary { background: var(--ink); color: var(--white); }
.btn.primary:hover { background: var(--primary); transform: translateY(-1px); text-decoration: none; }
.btn.accent { background: var(--accent); color: var(--ink); }
.btn.accent:hover { background: var(--accent-dark); color: var(--ink); transform: translateY(-1px); text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { background: var(--paper); text-decoration: none; }
.btn.full { width: 100%; }
.btn-arrow::after { content: '→'; font-weight: 400; }

/* ── CHIPS / BADGES ── */
.chip {
  display: inline-flex; align-items: center; padding: 5px 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; font-size: 12px; color: var(--ink); font-weight: 500;
}
.chip.primary { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.chip.accent { background: rgba(250,204,21,0.18); color: var(--accent-dark); border-color: rgba(250,204,21,0.3); }
.chip.success { background: var(--success-soft); color: var(--success); border-color: var(--success-soft); }
.chip.warn { background: var(--warn-soft); color: var(--warn); border-color: var(--warn-soft); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px;
}
.card-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; transition: border-color .15s ease, transform .1s ease;
}
.card-tile:hover { border-color: var(--primary); transform: translateY(-2px); }

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 8px;
}
.form-help { font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; }
.form-input, .form-select {
  width: 100%; padding: 12px 14px; min-height: 48px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s ease;
}
.form-input:focus, .form-select:focus { border-color: var(--primary); outline: 2px solid var(--primary-soft); outline-offset: 0; }
.form-radio-group { display: grid; gap: 8px; }
.form-radio-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; min-height: 48px;
  transition: border-color .15s ease, background .15s ease;
}
.form-radio-tile:hover { border-color: var(--ink-soft); background: var(--line-soft); }
.form-radio-tile.selected { border-color: var(--primary); background: var(--primary-soft); }
.form-radio-tile input { accent-color: var(--primary); width: 18px; height: 18px; }
.form-radio-tile .label-text { flex: 1; font-size: 14px; }
.form-radio-tile .label-meta { font-size: 12px; color: var(--ink-soft); }

/* ── FOOTER ── */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px 24px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand { font-size: 24px; font-weight: 900; color: var(--white); letter-spacing: -0.025em; margin-bottom: 12px; }
.footer-brand .io { color: var(--primary); }
.footer-brand .io::after { content: '•'; color: var(--accent); margin-left: 2px; }
.footer p { font-size: 14px; line-height: 1.65; }
.footer h4 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; }
.footer li { padding: 4px 0; font-size: 14px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal {
  max-width: 1100px; margin: 32px auto 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ── UTILITIES ── */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.text-center { text-align: center; }
.text-soft { color: var(--ink-soft); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-dark); }
.text-success { color: var(--success); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.full-w { width: 100%; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
