/* fetchapp.co. Fetch's own tokens (docs/design-system/tokens, app/src/design/tokens.ts). */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:wght@500;600;700;800&display=swap');

:root {
  --cream: #FFFBF2;
  --card: #FFFFFF;
  --hairline: #F0E9DA;
  --ink: #2B2416;
  --ink-2: #5C5340;
  --muted: #8A8272;
  --yellow: #FFD400;
  --yellow-pressed: #F2C900;
  --yellow-tint: #FFF6C7;
  --blue: #D9E8FF; --blue-ink: #22406E;
  --green: #CDEFD8; --green-ink: #1E4D2E;
  --peach: #FFD9C2; --peach-ink: #7A3E1D;
  --purple: #E4D9FF; --purple-ink: #3A2B66;
  --radius: 24px;
  --gutter: 24px;
  --max: 1080px;
  --display: 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.5px; text-decoration: none; line-height: 1; }
.pill {
  display: inline-block; background: var(--yellow); color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
}
.pill:hover { background: var(--yellow-pressed); }

/* Hero */
.hero { padding: 32px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 60px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -1px; }
.hero p.lead { font-size: 20px; color: var(--ink-2); margin: 0 0 28px; max-width: 30ch; }
.badge img { height: 54px; width: auto; }
.hero-art { position: relative; justify-self: center; }
.hero-art .corgi { position: absolute; width: 150px; left: -150px; bottom: -36px; }

/* An iPhone around a real screen: titanium edge, black bezel, Dynamic Island, status bar,
   side buttons. The screen image is the 3x board render, so it stays sharp on retina. */
.phone {
  position: relative; width: 300px; aspect-ratio: 390 / 844; box-sizing: content-box;
  padding: 11px; border-radius: 56px;
  background: #0d0d0f;
  box-shadow:
    0 0 0 2px #6b6558, 0 0 0 4px #2a2723,
    0 30px 60px -12px rgba(43, 36, 22, .35), 0 12px 24px -8px rgba(43, 36, 22, .2);
}
.phone::before, .phone::after {
  content: ''; position: absolute; width: 4px; border-radius: 2px; background: #3a3630;
}
.phone::before { left: -6px; top: 22%; height: 9%; box-shadow: 0 64px 0 #3a3630; }
.phone::after { right: -6px; top: 30%; height: 14%; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: var(--cream); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 28px; border-radius: 20px; background: #000; z-index: 2;
}
.phone .status {
  position: absolute; top: 0; left: 0; right: 0; height: 50px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 34px;
  font: 700 15px/1 -apple-system, 'SF Pro Text', system-ui, sans-serif; color: var(--ink);
}
.phone .status svg { height: 12px; width: auto; margin-left: 5px; }

/* Sections */
section h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 40px); line-height: 1.12; margin: 0 0 12px; letter-spacing: -.5px; }
.section-lead { color: var(--ink-2); margin: 0 0 32px; font-size: 19px; }
.how { padding: 32px 0 72px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border-radius: var(--radius); padding: 24px; }
.card img { width: 132px; margin: 0 auto 12px; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 0 0 6px; line-height: 1.15; }
.card p { margin: 0; }
.card.blue { background: var(--blue); color: var(--blue-ink); }
.card.green { background: var(--green); color: var(--green-ink); }
.card.peach { background: var(--peach); color: var(--peach-ink); }

.band { background: var(--yellow-tint); padding: 72px 0; }
.band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.band .art { position: relative; justify-self: center; }
.band .art .corgi { position: absolute; width: 140px; right: -100px; bottom: 0; }
.band ul { margin: 0; padding: 0; list-style: none; }
.band li { font-weight: 700; margin: 10px 0; padding-left: 30px; position: relative; }
.band li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }

.cta { padding: 80px 0; text-align: center; background: var(--yellow-tint); }
.cta img.mark { width: 110px; margin: 0 auto 8px; }
.cta .badge { display: inline-block; margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Legal and support pages */
.doc { padding: 16px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; margin: 8px 0 4px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 36px 0 8px; line-height: 1.2; }
.doc h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul, .doc ol { padding-left: 22px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--hairline); padding: 10px 8px; vertical-align: top; }
.doc th { color: var(--ink); }
.doc .card-note { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }

/* Facts row: true numbers only, in place of ratings we do not have yet */
.facts { padding: 8px 0 56px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; text-align: center; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.fact span { color: var(--ink-2); font-weight: 700; font-size: 15px; }

/* Feature rows: a real screen beside plain words, alternating sides */
.feature { padding: 64px 0; }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature .art { justify-self: center; position: relative; }
.feature.flip .art { order: 2; }
.feature .eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.feature p.body { color: var(--ink-2); font-size: 18px; margin: 0 0 20px; max-width: 34ch; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { font-weight: 700; margin: 10px 0; padding-left: 30px; position: relative; }
.feature li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.tint-cream { background: var(--cream); }
.eyebrow-green .eyebrow { color: var(--green-ink); }
.tint-purple { background: var(--purple); } .tint-purple .eyebrow { color: var(--purple-ink); }
.tint-green { background: var(--green); } .tint-green .eyebrow { color: var(--green-ink); }
.tint-blue { background: var(--blue); } .tint-blue .eyebrow { color: var(--blue-ink); }
.tint-peach { background: var(--peach); } .tint-peach .eyebrow { color: var(--peach-ink); }

/* Everything in one app */
.grid-section { padding: 72px 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.tile h3 { font-family: var(--display); font-weight: 800; font-size: 21px; margin: 0 0 4px; line-height: 1.2; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; }
.tile .dot { width: 36px; height: 36px; border-radius: 12px; margin-bottom: 12px; }

/* How we work: a peach band, like every other tinted surface. The app has no dark surfaces, so
   the page has none either. */
.values { background: var(--peach); padding: 72px 0; }
.values .grid { gap: 20px; }
.values .grid > div { background: rgba(255, 255, 255, .55); border-radius: var(--radius); padding: 22px; }
.values h3 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 6px; color: var(--peach-ink); }
.values p { margin: 0; color: var(--ink-2); }

/* FAQ */
.faq { padding: 72px 0 24px; }
.faq .wrap { max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--hairline); border-radius: 20px; padding: 18px 22px; margin: 10px 0; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); margin: 10px 0 0; }

@media (max-width: 820px) {
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .feature .wrap { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .art { order: 0; }
  .grid { grid-template-columns: 1fr; }
  .hero .wrap, .band .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { text-align: left; }
  .hero-art .corgi { width: 110px; left: -24px; bottom: -64px; }
  .band .art { order: 2; }
  .band .art .corgi { width: 110px; right: -40px; }
  .cards { grid-template-columns: 1fr; }
  .phone { width: 260px; border-radius: 50px; }
  .phone .screen { border-radius: 40px; }
  .phone .status { font-size: 13px; padding: 2px 24px 0 28px; height: 44px; }
  .phone .island { height: 24px; top: 10px; }
}
