/* Chukka website. Brand colors come from Design.md. */
:root {
  --bg: #FFFBF5;
  --surface: #FFF6EA;
  --surface-2: #F6EBDD;
  --ink: #2B1B10;
  --muted: #6E5A4B;
  --line: #E8DCCB;
  --brown: #6B4226;
  --brown-deep: #3B2415;
  --tan: #D9B48A;
  --coral: #FF6F52;
  --coral-ink: #C9442B; /* coral dark enough for text on light backgrounds */
  --radius: 18px;
  --shadow: 0 1px 2px rgba(59, 36, 21, .08), 0 12px 32px rgba(59, 36, 21, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C140F;
    --surface: #261B14;
    --surface-2: #30231A;
    --ink: #FBEFE2;
    --muted: #C7B19D;
    --line: #3D2D22;
    --coral-ink: #FF8A70;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 700 20px/1 var(--font-display); }
.brand img { width: 32px; height: 32px; }
.site-header nav { display: flex; gap: 22px; margin-left: auto; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font: 600 16px/1 var(--font); text-decoration: none; border: 0; }
.button.primary { background: var(--brown); color: #FFF6EA; }
.button.primary:hover { background: var(--brown-deep); }
.button.soon { background: var(--surface-2); color: var(--muted); cursor: default; }
.button.ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.button.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--tan); }

/* Type */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6.4vw, 68px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; }
.eyebrow { font: 700 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink);
  margin-bottom: 14px; }

/* Hero */
.hero { text-align: center; padding: 72px 0 32px; }
.hero .app-icon { width: 128px; height: 128px; margin: 0 auto 28px; }
.hero .lede { margin: 0 auto 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .fine { margin-top: 14px; font-size: 14px; color: var(--muted); }

.screenshot { margin: 48px auto 0; width: 100%; max-width: min(1000px, 100%); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px var(--line); background: var(--surface); }

/* Sections */
section { padding: 88px 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; text-align: left; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center;
  margin-bottom: 16px; color: var(--brown); }
@media (prefers-color-scheme: dark) { .card .icon { color: var(--tan); } }
kbd { font: 600 14px/1 var(--font); padding: 3px 7px; border-radius: 6px; background: var(--surface-2);
  border: 1px solid var(--line); border-bottom-width: 2px; color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.flip .media { order: 2; }
.split p { color: var(--muted); }
.media { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media.table img { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.media.desk { background: linear-gradient(145deg, #8A5A36, #3B2415); padding: 64px 28px; display: grid; place-items: center; border: 0; }
.media.desk img { width: min(340px, 100%); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.media.paper { background: var(--surface-2); padding: 36px 36px 0; border: 0; }
.media.paper img { border-radius: 8px 8px 0 0; box-shadow: var(--shadow); max-height: 420px; object-fit: cover; object-position: top; width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }

/* Meet Chukka */
.meet { background: var(--surface); border-block: 1px solid var(--line); }
.meet .split { grid-template-columns: 300px 1fr; }
.meet .mascot { width: 100%; max-width: 300px; filter: drop-shadow(0 16px 30px rgba(59, 36, 21, .25)); }
.bubble { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 12px 0;
  box-shadow: 0 1px 2px rgba(59, 36, 21, .06); }
.bubble strong { display: block; color: var(--ink); }
.bubble span { color: var(--muted); font-size: 15px; }

/* Privacy band */
.yours { background: var(--brown); color: #FFF6EA; text-align: center; }
.yours .lede { color: #EBD7C1; margin-inline: auto; }
.yours .eyebrow { color: #FFB19F; }
.yours .no { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 30px 0 34px;
  font: 700 clamp(20px, 2.6vw, 26px)/1.2 var(--font-display); }
.yours .no span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--coral);
  margin-right: 10px; vertical-align: middle; }
.yours a { color: #FFF6EA; }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 36px; font-size: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 700 15px/1.3 var(--font); color: var(--muted); background: var(--surface-2); }
.compare thead th.us { color: var(--ink); }
.compare td:first-child { font-weight: 600; width: 30%; }
.compare td.us { color: var(--ink); font-weight: 600; }
.compare td.them { color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq { margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 18px/1.4 var(--font); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral-ink); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Plain pages (privacy, support) */
.page { padding: 64px 0 96px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); }
.page h2 { font-size: 26px; margin-top: 44px; }
.page p, .page li { color: var(--muted); }
.page strong { color: var(--ink); }
.page .updated { font-size: 15px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.callout p { margin: 0; color: var(--ink); }
.shortcuts { width: 100%; border-collapse: collapse; }
.shortcuts td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.shortcuts td:last-child { text-align: right; white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-footer .brand { font-size: 17px; }
.site-footer .brand img { width: 26px; height: 26px; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .site-header nav { gap: 16px; }
  .site-header nav .optional { display: none; }
  .split, .meet .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .media { order: 0; }
  .meet .mascot { max-width: 200px; }
  .hero { padding-top: 48px; }
  .site-footer nav { margin-left: 0; }
}
