/* ============================================================
   TellTours - Base / Reset / Typography
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  position: relative;
  z-index: 1;
}

/* ── Section shell ── */
.bleed {
  padding-block: clamp(88px, 10vw, 128px);
  position: relative;
  border-top: 1px solid var(--divider);
}

/* ── Micro-label utility ──
   Structural field-guide micro labels: kickers, indices, column heads,
   pill-replacements. */
.micro {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}

/* ── Section header ──
   Left-aligned editorial pattern: row 1 = micro index/name + hairline,
   row 2 = serif h2, row 3 = body copy capped at 58ch (not centered).
   #download is the sanctioned exception (stays centered). */
.section-head {
  text-align: left;
  max-width: none;
  margin-inline: 0;
  margin-bottom: 56px;
}
.section-head .section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head .section-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--divider);
}
.section-kicker {
  color: var(--ink-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
/* Centered exception: Download / Get started section keeps the old
   centered treatment. Its kicker gets the micro type treatment only -
   no hairline row, since the section itself stays centered. */
.cta-inner.section-head,
.cta-inner {
  text-align: center;
}
.cta-inner .section-kicker {
  display: inline-block;
  margin-bottom: 16px;
}
.cta-inner .section-kicker::after { content: none; }
.cta-inner p { text-align: center; margin-inline: auto; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #fff;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
h2 em, h1 em { font-style: italic; color: var(--green-light); }
h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.15;
}
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.01em; color: #fff; }

.section-head > p {
  text-align: left;
  font-size: 18px;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 58ch;
  margin-inline: 0;
}

/* ── Topo background ── */
.topo-bg {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cg fill='none' stroke='%2334A160' stroke-width='0.8'%3E%3Cpath d='M-50 400Q100 350 250 380T550 360T850 400'/%3E%3Cpath d='M-50 440Q100 390 250 420T550 400T850 440'/%3E%3Cpath d='M-50 480Q100 430 250 460T550 440T850 480'/%3E%3Cpath d='M-50 360Q100 310 250 340T550 320T850 360'/%3E%3Cpath d='M-50 320Q100 270 250 300T550 280T850 320'/%3E%3Cpath d='M-50 280Q100 230 250 260T550 240T850 280'/%3E%3Cpath d='M-50 240Q100 190 250 220T550 200T850 240'/%3E%3Cpath d='M-50 200Q100 150 250 180T550 160T850 200'/%3E%3Cpath d='M-50 520Q100 470 250 500T550 480T850 520'/%3E%3Cpath d='M-50 560Q100 510 250 540T550 520T850 560'/%3E%3Cpath d='M-50 600Q100 550 250 580T550 560T850 600'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 800px 800px;
}

/* ── Pill chip ── */
.pill {
  font-size: 12px; font-weight: 600;
  color: var(--ink-mid);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 14px -8px rgba(0,0,0,0.5);
}
.btn-primary {
  background: var(--green-deep); /* 5.3:1 with white; --green fails AA at 3.3:1 */
  color: #fff;
  border: 1px solid transparent;
}
.btn-primary:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}
.btn-dark { background: #07100B; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-dark:hover { transform: translateY(-1px) scale(1.04); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.btn-white { background: #fff; color: #07100B; }
.btn-white:hover { transform: translateY(-1px) scale(1.04); }

/* Deliberately non-interactive "coming soon" button state */
.btn-disabled,
.btn-disabled:hover,
.btn-disabled:active {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-sub { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-sub small { font-size: 10.5px; opacity: 0.7; font-weight: 400; letter-spacing: 0.05em; }
.btn-sub strong { font-size: 16px; font-weight: 700; }

/* ── Reveal animation ──
   Gated on html.js (added by an inline head script) so that with JS
   disabled/blocked, .reveal elements stay at their natural, fully
   visible state instead of being hidden forever. */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* Skip link (visible only when focused) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--green-deep);
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 0 0 var(--r-lg) 0;
}
.skip-link:focus {
  left: 0;
}
