/* ============================================
   Trundo — design tokens
   ============================================ */
:root {
  --ink: #1A2332;
  --ink-soft: #212D40;
  --page: #F7F8F9;
  --card: #FFFFFF;
  --accent: #2E6E9E;
  --accent-bright: #4A8FC2;
  --text-on-dark: #F7F8F9;
  --text-on-dark-muted: #92A5B8;
  --text-ink: #1A2332;
  --text-muted: #5C6B7A;
  --border: #E4E8EC;
  --slate: #2C3E50;
  --teal: #1F3B3A;
  --stone: #3E3B36;
  --plum: #2E2438;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--page);
  color: var(--text-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ============================================
   Journey rail — the signature scroll device
   A vertical path (echoing the app icon's arc)
   runs down the page, with a dot that fills in
   as you scroll, and stop-markers at each
   section. Hidden below tablet width, since it
   has room to breathe only on larger screens.
   ============================================ */
.journey-rail {
  position: fixed;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 40;
  display: none;
}

@media (min-width: 1080px) {
  .journey-rail { display: block; }
}

.journey-rail__track {
  position: absolute;
  inset: 0;
  background: var(--border);
}

.journey-rail__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.1s linear;
}

.journey-rail__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.journey-rail__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-50%) scale(1.3);
}

/* ============================================
   Top nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 35, 50, 0.92);
  backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--text-on-dark);
}

.nav__brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.nav__links a:hover { color: var(--text-on-dark); }

@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--ink);
}

.hero__image {
  width: 100%;
  display: block;
}

/* ============================================
   Section shell
   ============================================ */
.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}

.section--tight { padding: 64px 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent-bright);
}

.section--light .eyebrow { color: var(--accent); }
.section--light .eyebrow::before { background: var(--accent); }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

.section--dark .section-sub { color: var(--text-on-dark-muted); }

/* ============================================
   Privacy thesis section
   ============================================ */
.privacy-thesis {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

@media (max-width: 860px) {
  .privacy-thesis { grid-template-columns: 1fr; gap: 40px; }
}

.privacy-thesis__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.privacy-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.privacy-point__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(247, 248, 249, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-point__mark span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.privacy-point h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.privacy-point p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.privacy-card {
  background: var(--ink-soft);
  border: 1px solid rgba(247, 248, 249, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.privacy-card__stat {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 10px;
}

.privacy-card__label {
  font-size: 15px;
  color: var(--text-on-dark-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(247, 248, 249, 0.08);
}

.privacy-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-card__list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
}

.privacy-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--accent-bright);
}

/* ============================================
   Showcase (screenshots)
   ============================================ */
.showcase-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 48px 4px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.showcase-scroller::-webkit-scrollbar { height: 8px; }
.showcase-scroller::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

.showcase-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(26, 35, 50, 0.25);
}

.showcase-item img { width: 100%; }

/* ============================================
   Feature grid (used sparingly — supplements hero, doesn't repeat it)
   ============================================ */
.stops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}

@media (max-width: 760px) {
  .stops-grid { grid-template-columns: 1fr; }
}

.stop-card {
  background: var(--card);
  padding: 32px 28px;
  position: relative;
}

.stop-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.stop-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.stop-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   CTA / download
   ============================================ */
.cta {
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  margin-bottom: 18px;
}

.cta p {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  margin-bottom: 40px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  color: var(--ink);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease;
}

.store-badge:hover { transform: translateY(-2px); }

.store-badge--soon {
  background: transparent;
  color: var(--text-on-dark-muted);
  border: 1px solid rgba(247, 248, 249, 0.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(247, 248, 249, 0.08);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--text-on-dark); }

/* ============================================
   Scroll reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Privacy policy page
   ============================================ */
.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

.policy__updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.policy h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  margin-bottom: 12px;
}

.policy h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 14px;
}

.policy p, .policy li {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy ul { padding-left: 20px; }

.policy .callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}

.policy .callout p:last-child { margin-bottom: 0; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 600;
}
