/* Triponboard landing — the product's brand: navy #171f46 + sky #799ee1, Baloo 2 for
   headings, action blue #1877F2 (#145DBF where text sits on it, for AA contrast). */
:root {
  --navy: #171f46;
  --navy-soft: #2a3463;
  --sky: #799ee1;
  --sky-light: #E8EFFB;
  --blue: #1877F2;
  --blue-strong: #145DBF;
  --ink: #171f46;
  --text: #1E2433;
  --text-2: #4B5563;
  --muted: #6B7280;
  --line: #E3E7EF;
  --paper: #FFFFFF;
  --tint: #F4F7FC;
  --green: #047857;
  --red: #B91C1C;
  --font-brand: 'Baloo 2', ui-rounded, system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-sans); color: var(--text); background: var(--paper); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
ol, ul { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 0.82rem; }

/* Wordmark */
.brand-name { font-family: var(--font-brand); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand-trip { color: var(--navy); }
.brand-onboard { color: var(--sky); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.5rem; }
.brand-logo { height: 34px; width: auto; }
.header-nav { display: none; gap: 28px; font-size: 0.95rem; font-weight: 600; color: var(--text-2); }
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: var(--blue-strong); }
@media (min-width: 880px) { .header-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-btn { border: 0; background: var(--paper); padding: 6px 10px; font-size: 0.78rem; font-weight: 700; color: var(--text-2); cursor: pointer; min-height: 32px; }
.lang-btn[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 0.95rem; border-radius: 10px; padding: 12px 20px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; min-height: 44px; }
.btn-primary { background: var(--blue-strong); color: #fff; }
.btn-primary:hover { background: #0F4C9E; }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; min-height: 38px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
@media (max-width: 420px) { .header-actions .btn-sm { display: none; } }

/* Hero */
.hero { padding: 56px 0 72px; background: var(--tint); border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 720px; }
.kicker { font-size: 0.85rem; font-weight: 700; color: var(--blue-strong); margin-bottom: 14px; letter-spacing: 0.01em; }
.hero-title { font-family: var(--font-brand); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.hero-subtitle { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 600px; margin-bottom: 28px; }

/* Launch line */
.hero-launch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.hero-more { color: var(--blue-strong); font-weight: 700; text-underline-offset: 3px; }

/* Product preview: real screenshots */
.stage { margin-top: 48px; }
.stage-tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 12px; }
.stage-tab { border: 0; background: transparent; padding: 8px 14px; font-size: 0.92rem; font-weight: 600; color: var(--text-2); cursor: pointer; border-radius: 8px; min-height: 40px; white-space: nowrap; }
.stage-tab:hover { color: var(--navy); }
.stage-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.stage-frame { background: var(--paper); border: 1px solid #D5DBE7; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(23, 31, 70, 0.04), 0 18px 40px -24px rgba(23, 31, 70, 0.25); }
.stage-panel { display: none; }
.stage-panel.active { display: block; }
.stage-panel img { width: 100%; height: auto; }
@media (max-width: 640px) { .stage-frame { max-width: 360px; margin: 0 auto; } }
.stage-caption { margin-top: 10px; font-size: 0.82rem; color: var(--muted); text-align: center; }

.pin { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.74rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pin-2 { background: var(--navy); }
.pin-3 { background: var(--blue-strong); }

/* Sections */
.section { padding: 80px 0; }
.section-tinted { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 14px; }
.section-title.center { text-align: center; margin-bottom: 36px; }
.section-desc { font-size: 1.06rem; color: var(--text-2); margin-bottom: 22px; max-width: 560px; }
.center .section-desc { margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.reverse .split-copy { order: 2; }
}
.plain-list { display: flex; flex-direction: column; gap: 12px; }
.plain-list li { position: relative; padding-left: 22px; color: var(--text); }
.plain-list li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--sky); }

.split-visual { background: var(--paper); border: 1px solid #D5DBE7; border-radius: 16px; padding: 22px; }
.demo-label { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.raw-text { font-size: 0.95rem; color: var(--text-2); background: var(--tint); border-left: 3px solid var(--sky); border-radius: 0 10px 10px 0; padding: 12px 14px; margin-bottom: 18px; font-style: italic; }
.import-result { display: flex; flex-direction: column; gap: 8px; }
.import-result li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.92rem; }

.shot-figure { padding: 0; overflow: hidden; }
.shot-figure img { width: 100%; height: auto; }

/* Tobi */
.tobi { background: var(--navy); color: #fff; border-radius: 22px; padding: 32px 24px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 980px) { .tobi { grid-template-columns: 220px 1fr 1fr; padding: 44px 48px; gap: 40px; } }
.tobi-mascot { width: 160px; height: auto; margin: 0 auto; }
@media (min-width: 980px) { .tobi-mascot { width: 220px; } }
.on-dark { color: #fff; }
.section-desc.on-dark { color: #D7DEEE; }
.tobi-fineprint { font-size: 0.9rem; color: #AFC0E6; }
.tobi-shot, .phone-shot { max-width: 300px; margin: 0 auto; border-radius: 22px; overflow: hidden; border: 6px solid #2a3463; background: #fff; }
.phone-shot { border-color: var(--navy); box-shadow: 0 18px 40px -24px rgba(23, 31, 70, 0.4); }
.tobi-shot img, .phone-shot img { width: 100%; height: auto; }

/* Also in Triponboard */
.more-list { display: grid; grid-template-columns: 1fr; gap: 28px 48px; max-width: 920px; margin: 0 auto; }
@media (min-width: 720px) { .more-list { grid-template-columns: 1fr 1fr; } }
.more-list div { border-top: 2px solid var(--navy); padding-top: 14px; }
.more-list dt { font-family: var(--font-brand); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 4px; }
.more-list dd { color: var(--text-2); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-more { margin-top: 20px; text-align: center; color: var(--text-2); }
.faq-more a { color: var(--blue-strong); font-weight: 700; text-underline-offset: 2px; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; font-weight: 500; color: var(--blue-strong); line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 2px 18px; color: var(--text-2); max-width: 680px; }

/* Final CTA */
.final-cta { background: var(--tint); border-top: 1px solid var(--line); }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 0.88rem; color: var(--muted); }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-inner .brand-name { font-size: 1.3rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-2); text-underline-offset: 2px; }

/* Pre-launch badge in the hero */
.kicker.prelaunch { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.kicker.prelaunch::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px rgba(121, 158, 225, 0.35); }

/* Legal pages (terms, privacy) */
.legal-back { font-size: 0.92rem; font-weight: 600; color: var(--blue-strong); text-decoration: none; }
.legal-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-doc { color: var(--text); }
.legal-doc h1 { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; color: var(--ink); margin-bottom: 12px; text-wrap: balance; }
.legal-doc h2 { font-family: var(--font-brand); font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: var(--ink); margin: 36px 0 10px; text-wrap: balance; }
.legal-doc h3 { font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: 24px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--text); }
.legal-doc p { margin-bottom: 14px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc a { color: var(--blue-strong); text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal-doc strong { color: var(--ink); }
.legal-doc blockquote { border-left: 3px solid var(--sky); background: var(--tint); padding: 12px 16px; border-radius: 0 10px 10px 0; margin-bottom: 16px; }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-doc th { background: var(--tint); color: var(--ink); }
.legal-doc .table-scroll { overflow-x: auto; margin-bottom: 16px; }
.legal-doc h2[id], .legal-doc h3[id] { scroll-margin-top: 80px; }

/* Waitlist form (final CTA) */
.waitlist-card { margin: 32px auto 0; max-width: 520px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 1px 2px rgba(23, 31, 70, 0.04), 0 18px 40px -24px rgba(23, 31, 70, 0.16); }
.waitlist-card[hidden] { display: none; }
.waitlist-card:focus { outline: none; }
.waitlist-title { font-family: var(--font-brand); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
.waitlist-desc { color: var(--text); font-size: 0.98rem; margin-bottom: 20px; }
.waitlist-field { margin-bottom: 16px; }
.waitlist-field input[type="email"] { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.waitlist-field input[type="email"]:focus { outline: 2px solid var(--blue-strong); outline-offset: 1px; border-color: var(--blue-strong); }
.waitlist-hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.waitlist-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--text); margin-bottom: 10px; cursor: pointer; }
.waitlist-consent input { margin-top: 3px; flex-shrink: 0; }
.waitlist-turnstile { margin-top: 12px; }
.waitlist-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }
.waitlist-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.waitlist-status:empty { display: none; }
.waitlist-status[data-state="error"] { color: var(--red); background: #FEF2F2; border: 1px solid #FECACA; }
.waitlist-submit { width: 100%; margin-top: 18px; }
.waitlist-success { text-align: center; }
.waitlist-success .confirm-badge { margin-bottom: 14px; }
.waitlist-success .waitlist-title { font-size: 1.5rem; }
.waitlist-success-sent { color: var(--text); font-size: 1rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.waitlist-success-sent strong { color: var(--ink); }
.waitlist-success-next { color: var(--text-2); font-size: 0.92rem; margin-bottom: 20px; }
.waitlist-again { background: none; border: 0; color: var(--blue-strong); font-weight: 600; font-size: 0.92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .waitlist-card { padding: 24px 20px; } }

/* Waitlist confirmation page (/confirmado) */
.confirm-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--tint); }
.confirm-page { flex: 1; display: flex; align-items: center; padding: 56px 0; }
.confirm-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 44px 32px; max-width: 540px; margin: 0 auto; box-shadow: 0 1px 2px rgba(23, 31, 70, 0.04), 0 18px 40px -24px rgba(23, 31, 70, 0.16); }
.confirm-badge { width: 52px; height: 52px; border-radius: 50%; background: #ECFDF5; color: var(--green); border: 1px solid #A7F3D0; font-size: 1.5rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
@media (max-width: 520px) { .confirm-card { padding: 32px 22px; } }
