/* The website for Puppy Coach: the app's paper, ink and coral (Sources/Design/Theme.swift), by day and at night, and
   the App Store screenshots' coral wall behind the screens. */
:root {
  --paper: #FFF8F0; --card: #FFFFFF; --sunken: #F7ECE1; --ink: #2A1C13; --soft: #6B5749; --line: #F0E2D4;
  --accent: #FF6B4A; --action: #C8442A; --accent-text: #C8442A; --shadow: rgba(138, 83, 45, .1);
  --wall: linear-gradient(#F5633F, #EE5A39 50%, #E24F34);
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17120F; --card: #251E19; --sunken: #1F1915; --ink: #F8EFE7; --soft: #BBAA9B; --line: #382E27;
    --accent: #FF7E5E; --accent-text: #FF8A6E; --shadow: rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--text); overflow-wrap: anywhere; }
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--round); line-height: 1.15; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 18px var(--round); }
.brand img { border-radius: 22.5%; }
.header-links { display: flex; gap: 18px; font: 600 16px var(--round); }
.header-links a { color: var(--ink); text-decoration: none; }
.header-links a:hover, .header-links a[aria-current] { color: var(--accent-text); }

.banner { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: 50% 40%; }
/* At night the banner's paper fades into the dark page instead of ending in an edge. */
@media (prefers-color-scheme: dark) {
  .banner { -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
}

.intro { text-align: center; padding-top: 8px; padding-bottom: 36px; }
.intro .icon { width: 112px; height: 112px; border-radius: 22.5%; margin-top: -56px; position: relative;
  box-shadow: 0 10px 28px var(--shadow), 0 0 0 4px var(--paper); }
.intro h1 { font-size: clamp(34px, 6vw, 48px); margin: 18px 0 10px; }
.lede { font-size: clamp(18px, 2.4vw, 21px); color: var(--soft); max-width: 34em; margin: 0 auto 26px; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.store-badge img { display: block; height: 50px; width: auto; }
.soon { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--sunken); color: var(--soft);
  font: 600 16px var(--round); }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--action); color: #fff;
  font: 700 16px var(--round); text-decoration: none; }
.button:hover { filter: brightness(1.06); }

/* The App Store's screens in rows down the coral wall, each in a phone drawn here (frames.html's proportions: corners
   14.2 % and bezel 2.6 % of the screen's width, the Dynamic Island) with its headline under it, as the screenshots say
   it. Four to a row on a wide screen, two on a phone; never a sideways scroll. */
.screens { background: var(--wall); padding: 44px 0 52px; }
.shots { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 24px; }
.shots li { flex: 0 1 205px; min-width: 0; }
.shots figure { margin: 0; container-type: inline-size; }
.phone { position: relative; padding: 2.5cqw; border-radius: 16cqw; background: linear-gradient(150deg, #3A3C42, #17181B 38%, #0B0C0E);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 18px 36px rgba(110, 30, 10, .32), 0 5px 12px rgba(110, 30, 10, .22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 13.5cqw; background: var(--paper); }
.phone::after { content: ""; position: absolute; left: 50%; top: 4.9cqw; width: 27cqw; height: 8cqw; transform: translateX(-50%);
  background: #000; border-radius: 999px; }
.shots figcaption { margin-top: 16px; text-align: center; color: #fff; font: 800 clamp(16px, 2.1vw, 20px)/1.15 var(--round);
  letter-spacing: -0.01em; text-wrap: balance; text-shadow: 0 0.05em 0.2em rgba(120, 30, 10, .22); }
@media (max-width: 640px) {
  .shots { gap: 30px 16px; }
  .shots li { flex-basis: calc(50% - 8px); }
}

.features h2, .plans h2 { font-size: clamp(26px, 4vw, 32px); margin: 36px 0 18px; text-align: center; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards li { background: var(--card); border-radius: 24px; padding: 22px 22px 18px; box-shadow: 0 8px 20px var(--shadow); }
.cards h3 { font-size: 20px; margin: 0 0 6px; }
.cards p { margin: 0; color: var(--soft); }

.plans { text-align: center; padding-bottom: 48px; }
.plans p { max-width: 36em; margin: 0 auto 12px; }

.document { background: var(--card); border-radius: 26px; padding: 28px 24px; margin: 28px auto 48px; max-width: 720px;
  box-shadow: 0 8px 20px var(--shadow); }
.document h1 { font-size: clamp(28px, 5vw, 36px); margin: 0 0 16px; }
.document h2 { font-size: 21px; margin: 28px 0 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.document p { margin: 0 0 12px; }
.document ul { margin: 0 0 14px; padding-left: 22px; }
.document li { margin: 6px 0; }
.document li::marker { color: var(--accent); }
.document strong { font-weight: 650; }

.missing { text-align: center; padding: 80px 16px; }

.site-footer { border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 22px;
  padding-bottom: 28px; }
.button.contact { padding: 10px 20px; font-size: 15px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--soft); }
