:root {
  --orange: #f58c38;
  --orange-deep: #e8692a;
  --apricot: #ffd9b0;
  --apricot-soft: #fff1e2;
  --ink: #3a2516;
  --ink-soft: #6e5644;
  --accent: #d9601f;
  --kibble: #7a401f;
  --card: #ffffff;
  --line: #f1dcc6;
  --bg: #fffaf4;
  --radius: 28px;
  --max: 1080px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --apricot: #4a2b16;
    --apricot-soft: #2a1d14;
    --ink: #fbeee2;
    --ink-soft: #c4ab97;
    --accent: #ffa25c;
    --card: #2b2017;
    --line: #47352a;
    --bg: #1b140f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

a { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */

.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; font-family: ui-rounded, -apple-system, system-ui, sans-serif; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }

.site-header.on-hero { background: var(--apricot); }

/* Hero */

.hero { background: var(--apricot); border-radius: 0 0 48px 48px; padding: 40px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: 20px; color: var(--ink-soft); max-width: 32ch; margin: 0 0 28px; }
.hero-copy { padding-bottom: 56px; }
.hero-phone { justify-self: center; align-self: end; width: min(320px, 80%); }

.phone {
  border-radius: 44px;
  border: 8px solid #1f1a17;
  background: #1f1a17;
  box-shadow: 0 30px 60px -20px rgba(90, 45, 15, 0.45);
  overflow: hidden;
}
.phone img { border-radius: 36px; }
.hero-phone .phone { border-bottom: 0; border-radius: 44px 44px 0 0; }
.hero-phone .phone img { border-radius: 36px 36px 0 0; aspect-ratio: 1320 / 2100; object-fit: cover; object-position: top; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  padding: 12px 20px; border-radius: 14px;
  text-decoration: none; font-weight: 600;
}
.badge svg { width: 22px; height: 22px; fill: currentColor; }
.badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; line-height: 1; }
.badge span { line-height: 1.15; }
.note { font-size: 14px; color: var(--ink-soft); }

/* Features */

section { padding: 80px 0; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-title h2 { font-size: clamp(30px, 4vw, 42px); }
.section-title p { color: var(--ink-soft); font-size: 19px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature h3 { font-size: 20px; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--apricot); display: grid; place-items: center; margin-bottom: 16px; }
.feature .icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Showcase */

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 80px; }
.showcase.flip .showcase-media { order: 2; }
.showcase-media { justify-self: center; width: min(300px, 80%); }
.showcase h2 { font-size: clamp(28px, 3.6vw, 38px); }
.showcase p { color: var(--ink-soft); font-size: 18px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--apricot-soft); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; margin: 4px 6px 4px 0;
}
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.status.upcoming i { background: #b8a08c; }
.status.fed i { background: #34c759; }

/* Notification mock-up */

.notif {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  color: #1d1d1f;
  border-radius: 22px; padding: 14px 16px;
  box-shadow: 0 18px 40px -18px rgba(90, 45, 15, 0.45);
  max-width: 380px; margin: 24px 0 0;
  font-size: 15px; line-height: 1.35;
}
.notif img { width: 40px; height: 40px; border-radius: 10px; grid-row: span 2; }
.notif strong { display: flex; justify-content: space-between; gap: 8px; }
.notif strong span { font-weight: 400; color: #86868b; font-size: 13px; }
.notif p { margin: 0; color: #3a3a3c; font-size: 15px; }
.notif .action {
  grid-column: 1 / -1; margin-top: 10px; text-align: center;
  background: rgba(0, 0, 0, 0.06); border-radius: 12px; padding: 9px; font-weight: 600;
}

.notif-stage {
  background: linear-gradient(160deg, #ffb45c, #f58c38 55%, #e8692a);
  border-radius: var(--radius);
  padding: 40px 28px;
  display: grid; place-items: center;
}
.notif-stage .notif { margin: 0; width: 100%; }

/* Watch */

.watch {
  width: min(230px, 70%);
  margin: 0 auto;
  border-radius: 56px;
  border: 12px solid #1f1a17;
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(90, 45, 15, 0.45);
  overflow: hidden;
}
.watch img { border-radius: 40px; }

/* Privacy band */

.band { background: var(--apricot); border-radius: 48px; padding: 56px 32px; text-align: center; }
.band h2 { font-size: clamp(28px, 4vw, 40px); }
.band p { color: var(--ink-soft); font-size: 19px; max-width: 560px; margin: 0 auto 24px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill { background: var(--card); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }

/* Prose pages */

.prose { max-width: 680px; margin: 0 auto; padding: 48px 20px 80px; }
.prose h1 { font-size: clamp(34px, 5vw, 46px); }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose .updated { font-size: 14px; }
.prose details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin: 12px 0; }
.prose summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.prose details p { margin: 10px 0 0; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 20px; }

@media (max-width: 820px) {
  .hero .wrap, .showcase { grid-template-columns: 1fr; }
  .hero { text-align: center; padding-top: 24px; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .hero-copy { padding-bottom: 8px; }
  .features { grid-template-columns: 1fr; }
  .showcase { gap: 32px; text-align: center; }
  .showcase.flip .showcase-media { order: 0; }
  .notif { margin-left: auto; margin-right: auto; text-align: left; }
  section { padding: 56px 0; }
  .nav { gap: 14px; }
}
