/* Homepage only. The app and legal pages keep using style.css. */
:root {
  --bg: #fbf2e8;
  --surface: #ffffff;
  --raise: #f5e4d3;
  --fg: #2a1109;
  --muted: #6d4838;
  --accent: #c4501b;
  --line: rgba(110, 50, 25, 0.16);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c0b07;
    --surface: #2a130c;
    --raise: #3a1b11;
    --fg: #fbeee4;
    --muted: #d2b3a1;
    --accent: #ff8a3d;
    --line: rgba(255, 196, 150, 0.16);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

/* About */
.about { padding-block: 24px 40px; display: grid; gap: 24px; }
.banner { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 6; background: var(--raise); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.about-text { display: grid; gap: 10px; max-width: 68ch; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.about h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.about p { color: var(--muted); }

/* App cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; padding-bottom: 56px; }
.appcard { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: grid; gap: 18px; min-width: 0; }
.face { display: flex; align-items: center; gap: 18px; }
.face img { width: 76px; height: 76px; border-radius: 18px; flex: none; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.face h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.actions { display: grid; gap: 10px; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.badge-link { display: inline-block; line-height: 0; margin-left: -10px; border-radius: 12px; }
.gp { height: 66px; width: auto; display: block; }
.site-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--fg); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 16px; }
.site-btn:hover { border-color: var(--accent); }
.legal { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.legal a { color: var(--muted); }

details { border-top: 1px solid var(--line); padding-top: 14px; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
.chev { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform 0.2s; }
details[open] .chev { transform: rotate(180deg); }
.detail-body { display: grid; gap: 16px; padding-top: 18px; }
.detail-body p { color: var(--muted); }
.who { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

/* Phone frame with a click-to-play YouTube Short */
.phone { position: relative; width: 100%; max-width: 210px; justify-self: center; border-radius: 34px; padding: 9px; background: #0b0604; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #3b2a22; }
.screen { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #140a06; }
.screen img, .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.screen img { object-fit: cover; }
.play-btn { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5)); }
.play-btn span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: transform 0.2s; }
.play-btn:hover span { transform: scale(1.07); }
.notch { position: absolute; top: 14px; left: 50%; width: 56px; height: 15px; margin-left: -28px; background: #0b0604; border-radius: 9px; z-index: 2; pointer-events: none; }
.phone.playing .notch { display: none; }

.needs { display: grid; gap: 8px; }
.needs h3 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.needs dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 15px; }
.needs dt { font-weight: 700; }
.needs dd { margin: 0; color: var(--muted); min-width: 0; }

/* Contact */
.contact { background: var(--raise); border-radius: 26px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; margin-bottom: 56px; }
.contact h2 { font-size: clamp(26px, 3.4vw, 34px); }
.contact p { color: var(--muted); margin-top: 8px; }
.email a { display: inline-block; font-weight: 700; font-size: 16px; color: var(--fg); background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; border-radius: 10px; text-decoration: none; word-break: break-all; }
.email a:hover { border-color: var(--accent); }

footer { border-top: 1px solid var(--line); padding-block: 26px 40px; font-size: 14px; color: var(--muted); }

@media (max-width: 820px) {
  .cards, .contact { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 2 / 1; }
  .contact { padding: 24px; }
}

@media (max-width: 420px) {
  .needs dl { grid-template-columns: 1fr; gap: 2px; }
  .needs dd { margin-bottom: 8px; }
  .face img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
