/* Public Fitcoin page. Phone first; DiFit red on black like the app. */
:root {
  --red: #E4143D;
  --red-dark: #B00F30;
  --ink: #0D0D0D;
  --ink-2: #1C1C1E;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --line: #E4E4E7;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --gold: #F5B301;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Keep anchored sections clear of the sticky header. */
[id] { scroll-margin-top: 72px; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; }
.center { text-align: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--ink); border-bottom: 1px solid #222; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { display: block; height: 44px; width: auto; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 10px 16px; cursor: pointer; border: 1px solid transparent; }
.btn-outline { color: #fff; border-color: #fff3; font-size: 14px; padding: 8px 14px; }
.btn-outline:hover { border-color: #fff; }
.btn-red { background: var(--red); color: #fff; width: 100%; padding: 13px 16px; font-size: 16px; }
.btn-red:hover { background: var(--red-dark); }
.btn:focus-visible, .store:focus-visible, .text-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero */
.hero { background: radial-gradient(120% 90% at 85% 10%, #7A0A21 0%, #2A0610 45%, var(--ink) 75%); color: #fff; padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(30px, 7vw, 50px); font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 18px; color: #E6E6E6; margin: 16px 0 24px; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; padding: 8px 16px; border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 17px; line-height: 1.15; }
.store small { font-weight: 500; font-size: 11px; color: var(--muted); }
.store:hover { background: #F1F1F1; }
.text-link { color: #fff; font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* Hero coupon illustration */
.hero-art { display: flex; justify-content: center; }
.ticket { width: min(300px, 100%); background: #fff; color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px #0008; transform: rotate(-3deg); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 104px; width: 24px; height: 24px; border-radius: 50%; background: #2A0610; }
.ticket::before { left: -12px; }
.ticket::after { right: -12px; }
.ticket-top { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 2px dashed var(--line); margin-bottom: 18px; }
.ticket-shop { font-size: 13px; color: var(--muted); font-weight: 600; }
.ticket-title { font-size: 20px; font-weight: 800; }
.ticket-coins { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.ticket-qr { display: block; width: 150px; height: 150px; margin: 0 auto 12px; fill: var(--ink); }
.ticket-code { display: block; text-align: center; font-weight: 800; letter-spacing: .12em; }
.coin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE58A, var(--gold) 55%, #B98200); box-shadow: inset 0 0 0 2px #0001; vertical-align: -3px; margin-right: 2px; }

/* Content bands */
.band { padding: 56px 0; }
.band-alt { background: var(--bg-alt); }
.band h2 { font-size: clamp(24px, 4.5vw, 32px); font-weight: 800; margin-bottom: 24px; }
.band h3 { font-size: 18px; font-weight: 800; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { background: var(--bg-alt); border-radius: 14px; padding: 20px; }
.steps p { margin: 6px 0 0; color: #444; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px; }

.offers { display: grid; gap: 14px; margin-bottom: 16px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.offer-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.offer-shop { font-weight: 700; font-size: 14px; }
.offer h3 { margin-bottom: 12px; }
.logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.logo-initial { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 18px; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 700; }
.pill-red { background: var(--red); border-color: var(--red); color: #fff; }

.partners { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.partners li { display: grid; place-items: center; min-width: 120px; height: 64px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; }
.partners img { max-height: 44px; width: auto; }

.about { display: grid; gap: 14px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.band-alt .about-card { border-color: transparent; }
.about-card h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.about-card p { margin: 0 0 8px; color: #444; }
.about-card ul { margin: 8px 0 0; padding-left: 18px; color: #444; }
.about-card li { margin-bottom: 6px; }

/* Partner section */
.partner { background: var(--ink); color: #fff; }
.partner-grid { display: grid; gap: 32px; }
.lead-dark { color: #D4D4D4; font-size: 18px; margin: 0 0 20px; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.reasons li { padding-left: 18px; border-left: 3px solid var(--red); color: #D4D4D4; }
.reasons strong { color: #fff; display: block; }
.form-card { background: #fff; color: var(--text); border-radius: 16px; padding: 22px; }
.form-card h3 { margin-bottom: 16px; }
.fields { display: grid; gap: 14px; margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid #C9C9CF; border-radius: 10px; padding: 11px 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.field-error, .form-error { color: var(--red-dark); font-size: 14px; margin-top: 6px; font-weight: 600; }
.form-error { background: #FDECEF; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent h3 { color: #157A36; margin-bottom: 6px; }
.sent p { margin: 0; }

.site-foot { background: var(--ink); color: #9A9A9A; border-top: 1px solid #222; font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }

@media (min-width: 720px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .band { padding: 72px 0; }
}
@media (min-width: 960px) {
  .offers { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
