/* Pocket Pace website, in the app's Quiet Mode look (Shared/Theme.swift). */
:root {
  --night: #0a0a0a; --chalk: #f2f2ef; --signal: #ff4d00; --fog: #a3a3a0;
  --line: #2a2a2a; --outline: #3a3a3a; --speech: #d6d6d2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--chalk);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Top bar: mark and name, App Store pill on the right */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--chalk); text-decoration: none; font-weight: 600; }
.brand svg { width: 36px; height: 36px; }

/* Orange label above a headline */
.eyebrow { margin: 0 0 12px; color: var(--signal); font-weight: 600; font-size: 20px; }

/* Heavy, tightly tracked headlines, like the App Store art */
.display {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  font-weight: 900; letter-spacing: -0.045em; line-height: 0.98;
}
h1.display { font-size: clamp(48px, 7.4vw, 88px); }
h2.display { font-size: clamp(40px, 5.6vw, 68px); }
.lede { margin: 24px 0 0; max-width: 520px; font-size: 21px; color: var(--fog); }

/* Buttons: white pill for the one main action, outline pill otherwise */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--chalk); color: var(--night); font-weight: 900; font-size: 18px; text-decoration: none;
}
.button:hover { background: #fff; }
.button.small { min-height: 40px; padding: 0 18px; font-size: 15px; font-weight: 600;
  background: none; color: var(--chalk); box-shadow: inset 0 0 0 1px var(--outline); }
.button.small:hover { box-shadow: inset 0 0 0 1px var(--fog); }
.button svg { width: 20px; height: 20px; flex: none; }
.note { margin: 14px 0 0; color: var(--fog); font-size: 15px; }

/* Hero: words left, phone right */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; padding: 56px 0 0; }
.hero .cta { margin-top: 36px; }
.phone { margin: 0; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.phone img { width: 100%; max-width: 440px; margin-left: auto; }

/* Uppercase grey label above a group of rows */
.label { margin: 0 0 10px; color: var(--fog); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* Hairline rows */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top-color: var(--signal); }
.rows strong { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.rows span { color: var(--fog); }

section { padding: 112px 0 0; }

/* A screen beside its explanation */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.watch { margin: 0; justify-self: center; padding: 18px; border-radius: 64px; background: #000;
  box-shadow: inset 0 0 0 10px #1c1c1c, inset 0 0 0 12px var(--outline); }
.watch img { width: 300px; border-radius: 40px; }

/* Closing call to action */
.closing { padding: 128px 0 0; text-align: center; }
.closing .display { margin: 0 auto; max-width: 820px; }
.closing .cta { margin-top: 40px; }

/* Text pages: privacy, support */
.page { max-width: 720px; padding-top: 40px; padding-bottom: 32px; }
.page h1.display { font-size: clamp(48px, 9vw, 80px); }
.page h2 { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.page p { color: var(--speech); }
.page .updated { color: var(--fog); font-size: 15px; }
.page .contact { font-size: 21px; color: var(--chalk); }

footer { margin-top: 128px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; padding-bottom: 48px; color: var(--fog); font-size: 15px; }
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--chalk); }
footer .copy { margin-right: auto; }

@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-top: 24px; }
  .feature.flip > :first-child { order: 0; }
  .phone img { margin: 0 auto; max-width: 360px; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .top .button.small { display: none; }
  section, .closing { padding-top: 88px; }
  .watch img { width: 240px; }
}
