/* Fredoka (SIL Open Font License 1.1), latin subset, self-hosted: it keeps Google off the
   LCP path and off the request list entirely, which is also the GDPR answer (§6). */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fredoka-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215;
}

/* Dark is the default presentation (the screenshots are dark; the page matches). The dark
   accents are NOT the light ones — BRAND.md §4; copying the light hexes onto black is the
   most common way to get this wrong. */
:root {
  --bg: #000;
  --surface: #0d0d0d;
  --surface-2: #161616;
  --text: #ececec;
  --muted: #9a9a9a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --a1: #a78bfa;
  --a2: #22d3ee;
  --a3: #fb923c;
  --on-grad: #10061f;
  --grad: linear-gradient(102deg, var(--a1) 2%, var(--a2) 52%, var(--a3) 102%);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #fdf4ff;
    --surface: #fff;
    --surface-2: #f7f3ff;
    --text: #1c1430;
    --muted: #6e6188;
    --border: #ece6f9;
    --border-strong: #ddd3f1;
    --a1: #7c3aed;
    --a2: #e0399a;
    --a3: #fb7a3c;
    --on-grad: #fff;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.brand,
.cta {
  font-family: "Fredoka", "Plus Jakarta Sans", ui-rounded, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
.wrap {
  width: min(100% - 2.5rem, 60rem);
  margin-inline: auto;
}
section {
  padding: 4.5rem 0;
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  text-align: center;
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}
/* The one ambient loop on the page — §7's motion budget, spent here (a marketing page is
   read, so this is the only thing allowed to move forever). */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto;
  height: 34rem;
  background: radial-gradient(
    ellipse at 50% 0%,
    color-mix(in srgb, var(--a1) 42%, transparent),
    color-mix(in srgb, var(--a2) 18%, transparent) 45%,
    transparent 72%
  );
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from {
    transform: translate3d(-3%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
}
/* Mark and name sit on one line, at one size. Stacked, the mark was 2rem over a 1.375rem
   wordmark — the icon 45% larger than the name. That was right for "trdev", a string that meant
   nothing until the picture told you it was travel; "Globejar" carries its own image, so the name
   leads and the mark accompanies it. Side by side it also reads as a logo rather than as an icon
   with a caption, and it gives the headline back a line of height. */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
}
.mark {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  color: var(--text);
}
/* Brand-placeholder rule (§6): the name lives in exactly one span, never inside a sentence,
   an image, or the OG description — so the rename stays a one-line change. */
.brand {
  font-size: 1.9rem;
  margin: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1 {
  font-size: clamp(2rem, 8.5vw, 3.25rem);
  margin: 0 0 1rem;
}
.sub {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.0625rem;
}
.cta {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-size: 1.0625rem;
  color: var(--on-grad);
  text-decoration: none;
  /* Solid first, gradient over it: wherever the gradient is dropped (an OG compositor, an
     email client, a forced-colors mode) the solid alone still carries a legible label. */
  background-color: var(--a1);
  background-image: var(--grad);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--a1) 35%, transparent);
}
/* Reserved height so the mode sub-line (L3) can swap in with zero layout shift — CLS is a
   quarter of the Lighthouse score this page is gated on. */
.mode {
  min-height: 1.5rem;
  margin: 1rem 0 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.invite {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
  color: var(--a1);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
}
.shot {
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: var(--surface);
}
.hero .shot {
  max-width: 21rem;
  margin: 0 auto;
  transform: rotate(-1.4deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* --- Cards ----------------------------------------------------------------- */
h2 {
  font-size: clamp(1.5rem, 5.5vw, 2.125rem);
  margin: 0 0 2.5rem;
  text-align: center;
}
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 46rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.card h3 {
  font-size: 1.125rem;
  margin: 0.6rem 0 0.5rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.card .ico {
  font-size: 1.5rem;
  line-height: 1;
}
.wound {
  display: block;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

/* --- Steps ----------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 3rem;
}
/* Four steps go 2×2 and stay there — never four abreast. Measured at 1280px: four columns leave
   each proof about 135px wide, at which point the UI inside it is unreadable and the screenshot
   stops being evidence and becomes decoration. Two columns give it ~300px, which is legible. */
@media (min-width: 46rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
  }
}
/* The proofs are genuinely different shapes (a decision card is wide, a day is tall). The caption
   leads so they read as one row whatever the image does underneath — cropping them to a shared
   window instead would cut the edge off the widest one, which is where its answer is. */
.step {
  text-align: center;
  align-content: start;
}
.step h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.4rem;
}
.step p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.step .shot {
  margin-inline: auto;
  max-width: 19rem;
}

/* --- The differentiator ----------------------------------------------------- */
.fuse {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}
.fuse-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 46rem) {
  .fuse-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.fuse h2 {
  text-align: left;
  margin-bottom: 1rem;
}
.fuse p {
  margin: 0;
  color: var(--muted);
}

/* --- The pledge -------------------------------------------------------------- */
.pledge {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 2rem;
  max-width: 44rem;
  margin-inline: auto;
}
.pledge ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pledge li {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.875rem;
}
/* Was `.never`, a one-line absolute set in bold. Now a short paragraph, and the weight is doing
   the arguing: the part we'll stand behind is emphasised, the honesty around it isn't shouted. */
.honest {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.honest strong {
  color: var(--text);
  font-weight: 700;
}

/* --- Footer ------------------------------------------------------------------ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 4rem;
  text-align: center;
}
footer nav {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
footer nav a {
  margin: 0 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* --- Legal pages (privacy, terms) — same shell, reading measure ------------------- */
.legal {
  max-width: 42rem;
  padding-block: 3rem 5rem;
}
.legal h1 {
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  margin: 0 0 1rem;
}
.legal h2 {
  font-size: 1.1875rem;
  text-align: left;
  margin: 2.5rem 0 0.5rem;
}
.legal .lede {
  color: var(--muted);
  font-size: 1.0625rem;
  margin: 0 0 1rem;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal strong {
  color: var(--text);
}
.legal ul {
  padding-left: 1.1rem;
}
.legal li {
  margin-bottom: 0.5rem;
}
.legal-nav {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}
.legal-nav a {
  margin: 0 0.6rem;
}
