/* ================================================================
   MyCheff — shared styles
   Brand: red #D72638 on clean light / dark-slate surfaces
   ================================================================ */

:root {
  --brand: #D72638;
  --brand-dark: #B01E2E;
  --amber: #F59E0B;
  --ink: #14161A;
  --ink-2: #1F232B;
  --slate: #0F1115;
  --text: #1A1D23;
  --text-muted: #5b6472;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --card: #ffffff;
  --border: #e7e9ee;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 22, 26, 0.08);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span b { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

@media (max-width: 780px) {
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 22px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(215,38,56,0.16), transparent 60%),
              linear-gradient(180deg, var(--slate), var(--ink));
  color: #fff; padding: 84px 0 92px; text-align: center; position: relative; overflow: hidden;
}
.hero .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--amber);
  background: rgba(245,158,11,0.12); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: 52px; line-height: 1.08; font-weight: 800; letter-spacing: -1px; max-width: 760px; margin: 0 auto 18px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p.lead { font-size: 20px; color: #b8bfca; max-width: 620px; margin: 0 auto 34px; }
.hero-logo { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

@media (max-width: 680px) {
  .hero { padding: 60px 0 66px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 17px; }
}

/* ---------- Store badges ---------- */
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 14px;
  padding: 11px 20px; font-weight: 700; min-width: 200px;
  border: 1px solid rgba(255,255,255,0.15); transition: transform .15s ease, box-shadow .15s ease;
}
.store-badge:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .small { display: block; font-size: 11px; font-weight: 600; color: var(--text-muted); line-height: 1; }
.store-badge .big { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; }
.store-badge.disabled { opacity: .55; pointer-events: none; }
.badge-note { margin-top: 14px; font-size: 13px; color: #8b94a2; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); }
.section h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; text-align: center; margin-bottom: 14px; color: var(--ink); }
.section .sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; font-size: 18px; }

@media (max-width: 680px) { .section { padding: 52px 0; } .section h2 { font-size: 27px; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.feature p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; padding: 66px 0; }
.cta-band h2 { color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab2be; padding: 52px 0 34px; font-size: 15px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 34px; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #8b94a2; font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; color: #aab2be; margin-bottom: 10px; font-size: 15px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid #2a2e37; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #6b7280; }

/* ---------- Legal / content pages ---------- */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 23px; font-weight: 700; color: var(--ink); margin: 38px 0 12px; }
.legal h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; color: #333a45; }
.legal ul, .legal ol { margin: 0 0 16px 22px; color: #333a45; }
.legal li { margin-bottom: 8px; }
.legal a { font-weight: 600; }
.legal .toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 38px; }
.legal .toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 10px; }
.legal .toc a { display: inline-block; margin: 4px 14px 4px 0; font-size: 15px; }
.callout {
  background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid var(--amber);
  border-radius: 10px; padding: 16px 20px; margin: 20px 0; color: #7c4a03; font-size: 15.5px;
}
.callout.info { background: #eff6ff; border-color: #bfdbfe; border-left-color: #3b82f6; color: #1e40af; }

/* contact / support cards */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--card); }
.contact-card .ico { font-size: 26px; margin-bottom: 10px; }
.contact-card h3 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }
.contact-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 10px; }
.contact-card a.mail { font-size: 18px; font-weight: 700; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: 12px; border: 0; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--brand); }
.btn.light:hover { background: #f2f2f2; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }

/* steps */
.steps { counter-reset: step; margin: 24px 0; }
.step { position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; background: var(--card); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.step h3 { margin-bottom: 4px; font-size: 17px; color: var(--ink); }
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6e9ee; --text-muted: #9aa3b0; --bg: #0f1115; --bg-soft: #14161a;
    --card: #171a20; --border: #262b34; --ink: #f4f6f8;
  }
  body { background: var(--bg); }
  .site-header { background: rgba(15,17,21,0.85); }
  .nav-links.open { background: #12141a; }
  .store-badge { background: #171a20; color: #f4f6f8; }
  .store-badge .small { color: #9aa3b0; }
  .legal p, .legal ul, .legal ol { color: #c6cdd7; }
  .callout { background: #2a1f0a; border-color: #5a4410; color: #f0c88a; }
  .callout.info { background: #0e2036; border-color: #1e40af; color: #93c5fd; }
  .btn.light { background: #171a20; color: #fff; }
}
