/* Grab website: the app's Pop palette, with Apple-scale type and space. */
:root {
  --yellow: #FFD84D;
  --soft: #FFF3C4;
  --ink: #141414;
  --bg: #FFFFFF;
  --card: #F5F5F7;
  --text: #141414;
  --muted: #6E6E73;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 28px;
  --wrap: 1120px;
  color-scheme: light;
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Type: Apple-sized, Pop-weighted. */
.display {
  font-size: clamp(52px, 10vw, 136px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}
.headline {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
.huge {
  font-size: clamp(96px, 22vw, 280px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0;
}
.lede {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--muted);
  max-width: 720px;
  margin: 28px auto 0;
}
.body { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 520px; }
.body b { color: var(--text); }
.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; }
.soft { color: inherit; opacity: 0.7; }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.pill:active { transform: scale(0.97); }
.pill.primary { background: var(--yellow); color: var(--ink); }
.pill.primary:hover { background: #FFE173; }
.pill.ghost { background: var(--card); color: var(--text); }
.pill.ghost:hover { background: var(--line); }
.pill.small { padding: 9px 18px; font-size: 15px; background: var(--yellow); color: var(--ink); }

/* Nav: a black notch hanging from the top edge. */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  width: min(760px, calc(100% - 32px));
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #000;
  color: #fff;
  border-radius: 0 0 26px 26px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; color: #fff; }
.brand img { border-radius: 8px; width: 28px; height: 28px; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.65); transition: color 0.15s; }
.nav nav a:hover { color: #fff; }
.nav nav a.pill { color: var(--ink); }

/* Hero */
.hero { text-align: center; padding: 120px 24px 40px; }
.hero .display { margin-top: 4px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-shot { max-width: 1100px; margin: 72px auto 0; }
.hero-shot img { border-radius: 36px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35); }

/* Section colours: white, yellow and ink take turns. */
.bg-yellow { background: var(--yellow); color: var(--ink); --muted: rgba(20, 20, 20, 0.68); --card: rgba(255, 255, 255, 0.55); --line: rgba(20, 20, 20, 0.12); }
.bg-soft { background: var(--soft); --card: #FFFFFF; }
.bg-ink { background: var(--ink); color: #F5F5F7; --text: #F5F5F7; --muted: #A1A1A6; --card: #232325; --line: rgba(255, 255, 255, 0.12); }
.bg-ink .eyebrow { color: var(--yellow); }
.bg-yellow .eyebrow { color: var(--ink); opacity: 0.6; }
.bg-ink .pill.ghost { background: #2C2C2E; color: #F5F5F7; }
.bg-ink .tile .ico { background: #3A3110; }
.bg-ink .shot img, .bg-yellow .shot img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }

/* Statements */
.statement { padding: 160px 0; }
.statement.yellow { background: var(--yellow); color: var(--ink); }
.statement.dark { background: var(--ink); color: #F5F5F7; }
.statement-text { font-size: clamp(28px, 3.6vw, 48px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; max-width: 900px; margin: 32px 0 0; }
.statement .soft { font-weight: 500; }

/* Feature rows */
.feature { padding: 160px 0; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
.split.reverse .copy { order: 2; }
.shot img { max-width: 420px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.18)); }

/* Grid */
.grid-section { padding: 160px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tile { background: var(--card); border-radius: var(--radius); padding: 36px 32px; }
.tile .ico { font-size: 36px; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--soft); }
.tile h3 { font-size: 24px; letter-spacing: -0.02em; margin: 20px 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 17px; }

/* Download */
.download { padding: 160px 0; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.platform { background: var(--card); border-radius: var(--radius); padding: 40px 32px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid transparent; transition: border-color 0.3s ease; }
.platform.mine { border-color: var(--yellow); }
.platform h3 { font-size: 40px; letter-spacing: -0.03em; margin: 18px 0 8px; }
.platform p { color: var(--muted); margin: 0 0 28px; flex: 1; }
.badge { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); }
.badge.soon { background: var(--line); color: var(--muted); }

/* FAQ */
.faq { padding: 120px 0 160px; }
details { border-bottom: 1px solid var(--line); padding: 26px 4px; }
summary { font-size: clamp(20px, 2vw, 26px); font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; font-size: 32px; line-height: 1; transition: transform 0.25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 14px 0 0; max-width: 640px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 15px; }
.footer a { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Small screens */
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .split.reverse .copy { order: 0; }
  .body { margin: 0 auto; }
  .grid, .platforms { grid-template-columns: 1fr; }
  .feature, .statement, .grid-section, .download { padding: 100px 0; }
  .hero { padding-top: 80px; }
  .nav nav a:not(.pill) { display: none; }
  .shot img { max-width: 320px; }
}

/* On yellow, the main button flips to ink so it still stands out. */
.bg-yellow .pill.primary { background: var(--ink); color: var(--yellow); }
.bg-yellow .pill.primary:hover { background: #2A2A2A; }
.bg-yellow .badge { background: var(--ink); color: var(--yellow); }
.bg-yellow .platform.mine { border-color: var(--ink); }
