/* Whippi website: same warm, airy look as the app. */
:root {
  --brand: #f2542d;
  --brand-dark: #c93e1c;
  --brand-light: #ffe7de;
  --sun: #ffc43d;
  --sun-light: #fff2d3;
  --teal: #2a8c9e;
  --teal-light: #ddf0f3;
  --green: #1fa86a;
  --ink: #1c1a17;
  --ink-soft: #6e6a63;
  --line: #eee8dd;
  --bg: #fbf8f2;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 4px 18px rgba(28, 26, 23, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-dark); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 242, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo img { width: 38px; height: 34px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(242, 84, 45, 0.28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; background: var(--sun-light); color: #6e4600; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 16px 0 14px; }
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 26px; max-width: 30em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { background: var(--brand-light); border-radius: 36px; padding: 36px 24px 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-art svg.whippi { width: min(260px, 70%); height: auto; animation: float 2.4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hero-art svg.whippi { animation: none; } }
.steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.steps span { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.steps span:last-child { background: var(--brand); color: #fff; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }

/* Features */
.section { padding: 40px 0; }
.section h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 800; }
.section .sub { color: var(--ink-soft); margin: 0 0 28px; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 4px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.chip { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.chip.c1 { background: var(--brand-light); color: var(--brand-dark); }
.chip.c2 { background: var(--sun-light); color: #6e4600; }
.chip.c3 { background: var(--teal-light); color: #1d6474; }
.chip.c4 { background: #dbf4e7; color: #13804f; }

.cta-band { background: var(--ink); color: #fff; border-radius: 30px; padding: 40px 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.75); }

/* Legal and support pages */
.page { padding: 44px 0 30px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; font-weight: 800; }
.page .updated { color: var(--ink-soft); margin: 0 0 26px; }
.summary { background: var(--sun-light); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 30px; }
.summary h2 { margin: 0 0 8px !important; font-size: 18px !important; }
.summary ul { margin: 0; padding-left: 20px; }
.page h2 { font-size: 22px; margin: 34px 0 8px; font-weight: 800; letter-spacing: -0.01em; }
.page h3 { font-size: 17px; margin: 20px 0 6px; font-weight: 800; }
.page p, .page li { color: #3a3732; }
.page li { margin: 4px 0; }
.toc { background: var(--card); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
.toc a { color: var(--ink); text-decoration: none; font-weight: 700; }
.toc a:hover { color: var(--brand-dark); }
table.data { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-weight: 800; background: var(--card); }
.table-scroll { overflow-x: auto; }

/* Support */
.contact { background: var(--brand-light); border-radius: 28px; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 10px 0 30px; }
.contact h2 { margin: 0 !important; }
.contact p { margin: 4px 0 0; }
details { background: var(--card); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--ink-soft); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--ink); }
