/* Tripar landing — pure CSS, no external dependencies.
   Tokens mirror legal/ui-inspiration.png (the app's own marketing mockup). */

:root {
  --blue: #2f6bff;
  --blue-deep: #1f55e0;
  --blue-tint: #edf3fe;
  --ink: #0e1b2c;
  --muted: #5a6b7e;
  --hint: #8a97a6;
  --line: #e7ecf2;
  --card: #ffffff;
  --wash: #f5f7fa;
  --gold: #f5a623;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, .store-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Announcement bar */
.announce { background: var(--blue); color: #fff; font-size: 13.5px; }
.announce a { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; text-align: center; gap: 6px 10px; padding: 9px 16px; }
.announce a:hover { background: var(--blue-deep); }
.announce-pill {
  background: #fff; color: var(--blue); font-size: 11px; font-weight: 800;
  padding: 2px 8px; border-radius: 999px; letter-spacing: 0.4px;
}

/* Nav */
.nav-wrap { border-bottom: 1px solid var(--line); background: #fff; }
.nav { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-stores { display: flex; gap: 8px; }
.nav-stores .store-btn { padding: 6px 12px; }
.nav-stores .store-btn svg { width: 16px; height: 16px; }
.nav-stores .store-btn small { display: none; }

/* Store buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: #0b0f16; color: #fff; border-radius: 12px; padding: 9px 16px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.store-btn:hover { background: #1b2330; transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; fill: #fff; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 14.5px; }
.store-btn small { font-weight: 500; font-size: 9.5px; letter-spacing: 0.3px; opacity: 0.85; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blue-tint) 0%, rgba(237, 243, 254, 0) 78%); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px;
  padding-top: 48px; padding-bottom: 26px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 5px 12px; margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue); }
.hero-copy h1 { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -0.5px; font-weight: 800; }
.hero-copy h1 em { font-style: normal; color: var(--blue); }
.hero-copy p { margin: 18px 0 26px; color: var(--muted); font-size: 16.5px; max-width: 44ch; }
.hero-art img { width: min(112%, 560px); margin-left: auto; }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--wash); }
.section-title { text-align: center; font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.4px; }
.section-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 12px auto 40px; }

/* Feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14, 27, 44, 0.07); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint);
  display: grid; place-items: center; font-size: 19px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; }

/* Stats band */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: var(--wash); border-radius: var(--radius); padding: 30px 18px; margin-top: 44px;
}
.stat { text-align: center; }
.stat strong { display: block; color: var(--blue); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.4px; }
.stat span { color: var(--muted); font-size: 13px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split-reverse { grid-template-columns: 1.1fr 1fr; }
.split-art img { width: min(100%, 380px); margin: 0 auto; }
.split-art.tilt img { transform: rotate(3deg); }
.split-copy h2 { font-size: clamp(26px, 3.2vw, 33px); font-weight: 800; letter-spacing: -0.4px; line-height: 1.18; }
.split-copy > p { color: var(--muted); margin: 14px 0 28px; max-width: 48ch; }

.steps { list-style: none; display: grid; gap: 22px; }
.steps li, .checks li { display: flex; gap: 15px; align-items: flex-start; }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: 999px; margin-top: 2px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
.steps h3, .checks h3 { font-size: 15.5px; margin-bottom: 4px; }
.steps p, .checks p { color: var(--muted); font-size: 14px; }

.checks { list-style: none; display: grid; gap: 22px; }
.check {
  flex: none; width: 30px; height: 30px; border-radius: 999px; margin-top: 2px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}

/* Testimonials */
.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.quote-card blockquote { color: var(--ink); font-size: 14.5px; line-height: 1.6; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 11px; }
.quote-card figcaption div { display: flex; flex-direction: column; }
.quote-card figcaption strong { font-size: 14px; }
.quote-card figcaption span:last-child { color: var(--hint); font-size: 12.5px; }
.avatar {
  width: 36px; height: 36px; border-radius: 999px; background: var(--blue-tint);
  color: var(--blue); font-weight: 800; font-size: 12.5px;
  display: grid; place-items: center;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  border-radius: 24px; text-align: center; color: #fff; padding: 56px 28px;
}
.cta h2 { font-size: clamp(25px, 3vw, 32px); font-weight: 800; letter-spacing: -0.4px; }
.cta p { margin: 12px 0 28px; opacity: 0.92; }
.cta .store-row { justify-content: center; }
.cta .store-btn { background: #0b0f16; }
.cta .store-btn:hover { background: #000; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--wash); }
.footer-row {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-top: 26px; padding-bottom: 26px;
}
.footer .brand { font-size: 15px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin: 0 auto; }
.footer-links a:hover { color: var(--ink); }
.footer-note { color: var(--hint); font-size: 12.5px; }

/* Legal document pages (terms.html, privacy.html) */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(30px, 4vw, 38px); font-weight: 800; letter-spacing: -0.5px; }
.doc-updated { color: var(--hint); font-size: 13.5px; margin: 8px 0 36px; }
.doc h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.2px; margin: 34px 0 10px; }
.doc p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.doc p strong, .doc li strong { color: var(--ink); }
.doc ul { margin: 0 0 12px 22px; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.doc a { color: var(--blue); }
.doc a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 36px; }
  .eyebrow { margin-inline: auto; }
  .hero-copy p { margin-inline: auto; }
  .store-row { justify-content: center; }
  .hero-art img { width: min(100%, 480px); margin: 8px auto 0; }
  .split, .split-reverse { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-art { order: 2; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .nav-stores .store-btn span { display: none; }
  .nav-stores .store-btn { padding: 8px 10px; }
  .announce a { font-size: 12px; }
}

/* iOS has no build yet. The button stays visible for layout balance and to signal the platform
   is planned, but must not look clickable — a dead link reads as a broken site. */
.store-btn--soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
.store-btn--soon:hover { background: #111827; transform: none; }

/* Closed-test notice under the store buttons. */
.test-note {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0.75;
}
.test-note a { color: inherit; text-decoration: underline; }
