/* tititam — palette and type follow the app's design system:
   one color pair per surface, lowercase heavy headlines, pill buttons,
   no shadows or gradients on UI chrome. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #000000;
  --paper: #f5f5f5;
  --orange: #ff9f1c;
  --purple: #5b3fd6;
  --lime: #d6ff3f;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* land anchor targets below the sticky nav */
section[id] { scroll-margin-top: 72px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, summary, button { -webkit-tap-highlight-color: transparent; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* color pairs */
.pair-orange { background: var(--orange); color: var(--purple); }
.pair-purple { background: var(--purple); color: var(--orange); }
.pair-paper  { background: var(--paper);  color: var(--ink); }
.pair-ink    { background: var(--ink);    color: var(--paper); }
.pair-lime   { background: var(--lime);   color: var(--ink); }
.pair-ink-orange { background: var(--ink); color: var(--orange); }

/* type */
.display, .title, .h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: lowercase;
}
.display { font-size: clamp(64px, 11.5vw, 172px); }
.display .line {
  display: block;
  white-space: nowrap;
  /* mask the bottom edge only, so lines rise from below without clipping ascenders */
  clip-path: inset(-50% -10% -0.12em -10%);
}
.display .line > span {
  display: block;
  animation: line-rise 650ms var(--ease) both;
}
.display .line + .line > span { animation-delay: 90ms; }
@keyframes line-rise { from { transform: translateY(105%); } }
.title   { font-size: clamp(50px, 7.6vw, 112px); }
.title-sm { font-size: clamp(44px, 6.2vw, 92px); }
.h3      { font-size: clamp(30px, 3.4vw, 44px); line-height: 0.95; letter-spacing: -0.045em; }

.lede {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.35;
  max-width: 34ch;
  margin: 0;
}

.paren {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 100%;
}
.paren > span { max-width: 22ch; text-wrap: balance; }
.paren::before, .paren::after {
  font-weight: 300;
  font-size: 2.6em;
  line-height: 0.8;
  transform: translateY(-0.04em);
}
.paren::before { content: "("; }
.paren::after  { content: ")"; }
/* brackets open to make room for the line when it scrolls in */
html.js :is(.reveal .paren, .paren.reveal)::before,
html.js :is(.reveal .paren, .paren.reveal)::after,
html.js :is(.reveal .paren, .paren.reveal) > span {
  transition: transform 500ms var(--ease) 150ms, opacity 500ms var(--ease) 150ms;
}
html.js :is(.reveal:not(.is-in) .paren, .paren.reveal:not(.is-in))::before { transform: translate(0.4em, -0.04em); }
html.js :is(.reveal:not(.is-in) .paren, .paren.reveal:not(.is-in))::after  { transform: translate(-0.4em, -0.04em); }
html.js :is(.reveal:not(.is-in) .paren, .paren.reveal:not(.is-in)) > span { opacity: 0.8; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0;
  padding: 6px 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

/* pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  text-transform: lowercase;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.pill:active { transform: scale(0.97); }
.pill svg { width: 20px; height: 20px; flex: none; }
.pill-ink    { background: var(--ink);    color: var(--paper); }
.pill-paper  { background: var(--paper);  color: var(--ink); }
.pill-orange { background: var(--orange); color: var(--ink); }
.pill-line   { border: 2px solid currentColor; color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { transform: translateY(-2px); }
  .pill:active { transform: scale(0.97); }
}

.store-pill .store-label { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.store-pill small { font-size: 11px; font-weight: 700; opacity: 0.75; margin-bottom: 3px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.pair-lime :focus-visible, .pair-paper :focus-visible { outline-color: var(--purple); }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background-color 200ms ease, color 200ms ease;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.05em;
}
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.pill) {
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .nav-links a:not(.pill):hover { background: rgba(0, 0, 0, 0.08); } }
.nav .pill { min-height: 44px; padding: 0 20px; font-size: 15px; transition-duration: 160ms, 200ms, 200ms; }
.nav.is-stuck { background: var(--ink); color: var(--paper); }
.nav.is-stuck .nav-links a:not(.pill):hover { background: rgba(255, 255, 255, 0.1); }
.nav.is-stuck .pill-ink { background: var(--orange); color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.pill) { display: none; } }

/* hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; overflow: hidden; margin-top: -72px; padding-top: calc(72px + clamp(32px, 6vw, 72px)); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.hero-copy { padding-bottom: clamp(48px, 8vw, 120px); }
.hero-copy .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-phone { align-self: end; justify-self: center; }

/* Store screenshots, cropped to the device. Each container sets --phone: the
   phone's width in the 1290px source. Width is derived from it so every phone
   renders at the same on-screen size (--phone-size), whatever the screenshot. */
.hero-phone, .feature-media {
  --phone-size: min(340px, 62vw);
  width: calc(var(--phone-size) * 1290 / var(--phone, 889));
  max-width: 100%;
}
.shot picture { display: block; }
.shot img {
  width: 100%;
  height: auto;
  /* soften the screenshot's own drop shadow where it meets the section */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
}

/* marquee */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.marquee .chip {
  flex: none;
  /* margin, not gap: both halves of the track must be exactly equal for a seamless loop */
  margin-right: 14px;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
  padding: 8px 26px 10px;
  border: 3px solid currentColor;
  border-radius: 999px;
}
.marquee .chip.is-filled { background: var(--ink); color: var(--lime); border-color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* feature rows */
.feature { padding: clamp(72px, 10vw, 140px) 0 0; overflow: hidden; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.feature-copy { padding-bottom: clamp(64px, 10vw, 140px); }
.feature-copy .eyebrow { margin-bottom: 24px; }
.feature-copy .paren, .feature-copy .lede { margin-top: 28px; }
.feature-copy ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
  max-width: 36ch;
}
.feature-copy li { display: flex; gap: 12px; align-items: baseline; font-size: 18px; }
.feature-copy li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-1px);
}
.feature-media { justify-self: center; }
.feature.flip .feature-media { order: -1; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .feature-copy { padding-bottom: 0; }
}

/* steps */
.steps { padding: clamp(80px, 11vw, 150px) 0; }
.steps-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.step-num { font-size: 88px; font-weight: 900; letter-spacing: -0.06em; line-height: 0.8; }
.step p { margin: 12px 0 0; font-size: 17px; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
}

/* safety */
.safety { padding: clamp(80px, 11vw, 150px) 0; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.safety-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.safety-list li {
  border: 2px solid currentColor;
  border-radius: 22px;
  padding: 20px 22px;
}
.safety-list strong { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 4px; }
.safety-list span { opacity: 0.85; font-size: 17px; }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr; } }

/* cta */
.cta { padding: clamp(96px, 13vw, 180px) 0; text-align: center; position: relative; overflow: hidden; }
.cta .title { max-width: 11ch; margin: 0 auto; }
.cta .paren { margin-top: 28px; justify-content: center; }
.cta .hero-actions { justify-content: center; }
.laurel { width: clamp(48px, 7vw, 96px); height: auto; color: var(--purple); }
.cta-laurels { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 3vw, 40px); margin-bottom: 28px; }
.cta-laurels .laurel { transform-origin: 50% 100%; transition: transform 600ms var(--ease) 100ms, opacity 600ms var(--ease) 100ms; }
.cta-laurels .laurel:last-child { transform: scaleX(-1); transition-delay: 160ms; }
html.js .cta-laurels:not(.is-in) .laurel { opacity: 0; transform: rotate(-10deg); }
html.js .cta-laurels:not(.is-in) .laurel:last-child { transform: scaleX(-1) rotate(-10deg); }
.cta-laurels span { font-size: clamp(20px, 2.4vw, 32px); font-weight: 900; letter-spacing: -0.04em; color: var(--purple); line-height: 1; max-width: 12ch; }

/* footer */
.footer { padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px clamp(32px, 6vw, 96px);
  align-items: start;
}
.footer-brand p { margin: 14px 0 24px; max-width: 30ch; font-size: 17px; opacity: 0.7; }
.footer-brand .pill { min-height: 52px; margin: 0 8px 8px 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(32px, 5vw, 72px); }
.footer h4 { margin: 0 0 14px; font-size: 13px; font-weight: 800; text-transform: lowercase; color: var(--orange); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-cols a {
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
  font-weight: 700;
  transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: var(--lime); } }

/* wordmark sized to span the content width; the wrapper is observed, the span is clipped */
.footer-word {
  margin: clamp(56px, 8vw, 96px) 0 0;
  font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 2.95);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.74;
  color: var(--orange);
  user-select: none;
  text-align: center;
}
.footer-word span {
  display: block;
  padding-bottom: 0.06em;
  clip-path: inset(-20% -5% 0 -5%);
  transition: clip-path 900ms var(--ease), transform 900ms var(--ease);
}
html.js .footer-word:not(.is-in) span { clip-path: inset(100% -5% 0 -5%); transform: translateY(12%); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 245, 245, 0.15);
  font-size: 14px;
  color: rgba(245, 245, 245, 0.55);
}

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, auto); justify-content: start; }
}

/* legal + support pages */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); margin-top: -72px; padding-top: calc(72px + clamp(56px, 9vw, 120px)); }
.page-head .lede { margin-top: 24px; }
.prose { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.prose .wrap { max-width: 820px; }
.prose h2 {
  margin: 56px 0 14px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: lowercase;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.prose p, .prose li { font-weight: 500; font-size: 18px; line-height: 1.6; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose a { color: var(--purple); font-weight: 700; text-underline-offset: 3px; }
.prose .meta { font-size: 15px; opacity: 0.6; font-weight: 600; }

.faq { display: grid; gap: 12px; margin-top: 8px; interpolate-size: allow-keywords; }
.faq details {
  border-radius: 22px;
  background: #fff;
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: opacity 120ms ease; }
.faq summary:active { opacity: 0.6; }
/* browsers without ::details-content just open instantly */
.faq details::details-content {
  block-size: 0;
  opacity: 0;
  overflow: clip;
  transition: block-size 220ms var(--ease), opacity 220ms ease, content-visibility 220ms allow-discrete;
}
.faq details[open]::details-content { block-size: auto; opacity: 1; }
.faq summary::after { content: "+"; font-weight: 900; font-size: 26px; line-height: 0.9; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; }
.faq details p { margin: 0 0 10px; }

.contact-card {
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.contact-card .h3 { max-width: 16ch; }

/* reveal on scroll — hidden only once site.js is known to run (html.js) */
.reveal { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }

/* phones rise out of the section floor, a beat after their copy.
   The clip sits on .shot so the observed container itself stays visible. */
html.js .feature-media.reveal:not(.is-in) { opacity: 1; transform: none; }
.feature-media .shot { transition: transform 700ms var(--ease) 120ms, clip-path 700ms var(--ease) 120ms; }
html.js .feature-media.reveal:not(.is-in) .shot { clip-path: inset(100% 0 0 0); transform: translateY(40px); }

/* stagger siblings that arrive together */
.steps-grid .reveal:nth-child(2) { transition-delay: 60ms; }
.steps-grid .reveal:nth-child(3) { transition-delay: 120ms; }
.safety-list li { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
html.js .safety-list:not(.is-in) li { opacity: 0; transform: translateY(12px); }
.safety-list li:nth-child(2) { transition-delay: 60ms; }
.safety-list li:nth-child(3) { transition-delay: 120ms; }
.safety-list li:nth-child(4) { transition-delay: 180ms; }

/* reduced motion: keep a short fade, drop all movement and wipes */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .pill { transition: none; }
  .display .line > span { animation: line-fade 200ms ease both; }
  .reveal, .feature-media .shot, .safety-list li, .cta-laurels .laurel, .footer-word span,
  :is(.reveal .paren, .paren.reveal)::before, :is(.reveal .paren, .paren.reveal)::after {
    transition: opacity 200ms ease !important;
    transition-delay: 0ms !important;
  }
  html.js .reveal:not(.is-in), html.js .safety-list:not(.is-in) li { transform: none; }
  html.js .feature-media.reveal:not(.is-in) .shot { opacity: 0; clip-path: none; transform: none; }
  html.js .cta-laurels:not(.is-in) .laurel { transform: none; }
  html.js .cta-laurels:not(.is-in) .laurel:last-child { transform: scaleX(-1); }
  html.js .footer-word:not(.is-in) span { clip-path: none; transform: none; opacity: 0; }
  html.js :is(.reveal:not(.is-in) .paren, .paren.reveal:not(.is-in))::before,
  html.js :is(.reveal:not(.is-in) .paren, .paren.reveal:not(.is-in))::after { transform: translateY(-0.04em); }
  .faq details::details-content { transition: none; }
}
@keyframes line-fade { from { opacity: 0; } }

/* contact email is filled from site.js; hide the button while it is blank */
.pill[data-email]:empty { display: none; }
