/* CookCherry — same look as the app: white, near-black text, cherry accent, soft warm surfaces. */
:root {
  --bg: #ffffff;
  --text: #141414;
  --muted: #5f5f5f;
  --faint: #767676;
  --surface: #f5f4f1;
  --line: #eceae6;
  --cherry: #c8102e;
  --radius: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--text); text-underline-offset: 3px; }
a:hover { color: var(--cherry); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.brand svg { width: 34px; height: 34px; }
.brand span { color: var(--cherry); }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } .nav { gap: 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid var(--text); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { color: #fff; background: #000; }
.btn-outline { background: #fff; color: var(--text); border-color: #e4e2dd; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .75; line-height: 1; }
.btn .stack { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); background: var(--surface); padding: 8px 14px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cherry); display: inline-block; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -2px; margin: 18px 0 16px; font-weight: 800; }
h1 em { font-style: normal; color: var(--cherry); }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 13px; color: var(--faint); margin-top: 14px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* Phone mockups */
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 270px; height: 560px; border-radius: 44px; background: #fff; border: 10px solid #141414; box-shadow: 0 30px 60px rgba(20,20,20,.14); overflow: hidden; }
.phone.back { right: 0; top: 30px; transform: rotate(5deg); opacity: .96; }
.phone.front { left: 10%; top: 0; }
.ph-pad { padding: 34px 16px 0; }
.ph-hello { font-size: 11px; color: var(--muted); font-weight: 600; }
.ph-title { font-size: 21px; font-weight: 800; letter-spacing: -.6px; line-height: 1.1; margin: 2px 0 12px; }
.ph-search { height: 36px; border-radius: 18px; background: var(--surface); font-size: 11px; color: var(--faint); display: flex; align-items: center; padding: 0 14px; }
.ph-chips { display: flex; gap: 6px; margin: 12px 0; }
.ph-chip { font-size: 10px; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: 1px solid #e4e2dd; }
.ph-chip.on { background: var(--text); color: #fff; border-color: var(--text); }
.ph-cards { display: flex; gap: 10px; }
.ph-card { width: 112px; }
.ph-img { height: 130px; border-radius: 16px; background: linear-gradient(160deg, #e8d9c4, #d8bf9d); }
.ph-img.b { background: linear-gradient(160deg, #efe3d3, #dcc3a1); }
.ph-img.c { background: linear-gradient(160deg, #d7e0c8, #b9c9a4); }
.ph-name { font-size: 11px; font-weight: 700; margin-top: 6px; line-height: 1.25; }
.ph-feature { margin-top: 14px; border-radius: 18px; background: var(--surface); padding: 12px; display: flex; gap: 10px; align-items: center; }
.ph-feature b { font-size: 12px; display: block; }
.ph-dot { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(160deg, #e8d9c4, #cdb8a6); flex: none; }
.ph-pill { display: inline-block; margin-top: 6px; background: var(--text); color: #fff; font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.ph-step { padding: 34px 18px; }
.ph-bar { display: flex; gap: 4px; margin: 10px 0 24px; }
.ph-bar i { flex: 1; height: 4px; border-radius: 2px; background: #e4e2dd; }
.ph-bar i.on { background: var(--text); }
.ph-big { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.3px; }
.ph-timer { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; border: 1px solid #e4e2dd; border-radius: 999px; padding: 8px 12px; }
.ph-next { position: absolute; left: 18px; right: 18px; bottom: 24px; height: 44px; border-radius: 22px; background: var(--text); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 880px) { .phones { height: 520px; max-width: 420px; margin: 0 auto; width: 100%; } .phone { width: 240px; height: 500px; } }
@media (max-width: 420px) { .phone.back { display: none; } .phone.front { left: 50%; transform: translateX(-50%); } }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1.2px; line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.section-lead { color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.3px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.band { background: var(--text); color: #fff; border-radius: 32px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band h2 { margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -1px; line-height: 1.1; }
.band p { margin: 0; color: #cfcfcf; }
.band .btn-outline { border-color: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 32px 24px; } }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Legal / text pages */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -1.4px; margin: 8px 0 8px; }
.page .updated { color: var(--faint); font-size: 14px; margin-bottom: 32px; }
.page h2 { font-size: 22px; letter-spacing: -.4px; margin: 36px 0 8px; }
.page p, .page li { color: #2e2e2e; }
.page ul { padding-left: 22px; }
.callout { background: var(--surface); border-radius: 18px; padding: 18px 20px; margin: 20px 0; }
.callout p { margin: 0; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
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-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; border-radius: 6px; }
