/* Scusaci — customer-facing "choose your gift" landing.
   Storefront brand (NOT the admin kernel): dark #111319 + brand green #92e32d,
   Montserrat. Mobile-first (≈99% of traffic). */

:root {
  --ink: #111319;
  --ink-soft: #2a2d36;
  --green: #92e32d;
  --green-deep: #6fb81f;
  --paper: #f6f7f4;
  --card: #ffffff;
  --line: #e7e8e3;
  --text: #1c1e24;
  --muted: #6b6f7a;
  --shadow: 0 10px 30px rgba(17, 19, 25, 0.08);
  --shadow-lg: 0 18px 50px rgba(17, 19, 25, 0.14);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.sc-preview-ribbon {
  position: sticky; top: 0; z-index: 50;
  background: #ffd34d; color: #4a3a00;
  text-align: center; font-weight: 800; font-size: 12px; letter-spacing: 0.08em;
  padding: 8px 12px;
}

/* ---------- header ---------- */
.sc-header {
  background: linear-gradient(135deg, #111319 0%, #1a1d26 100%);
  padding: 26px 20px 22px;
  text-align: center;
}
.sc-logo { width: 150px; max-width: 56%; height: auto; }

/* ---------- shell ---------- */
.sc-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px 18px 40px;
}
.sc-shell-center {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- hero ---------- */
.sc-hero { text-align: center; padding: 8px 4px 4px; }
.sc-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(146, 227, 45, 0.14);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.sc-title {
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.sc-accent { color: var(--green-deep); }
.sc-lead {
  font-size: 16px; color: #3a3d47;
  margin: 0 auto 14px; max-width: 540px;
}
.sc-lead strong { color: var(--ink); font-weight: 700; }
.sc-order-chip {
  display: inline-block; margin-top: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; color: var(--muted);
  box-shadow: var(--shadow);
}
.sc-order-chip strong { color: var(--ink); }

/* ---------- choose ---------- */
.sc-choose { margin-top: 38px; }
.sc-h2 {
  text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -0.01em;
  margin: 0 0 6px; color: var(--ink);
}
.sc-sub { text-align: center; color: var(--muted); margin: 0 0 24px; font-size: 15px; }

.sc-cards { display: grid; gap: 14px; }

.sc-card {
  position: relative;
  text-align: left;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.sc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.sc-card[aria-pressed="true"] {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(146, 227, 45, 0.2), var(--shadow-lg);
}

.sc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sc-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(17, 19, 25, 0.05); color: var(--ink);
}
.sc-icon svg { width: 26px; height: 26px; }
.sc-card[aria-pressed="true"] .sc-icon { background: rgba(146, 227, 45, 0.18); color: var(--green-deep); }
.sc-value {
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--green-deep); background: rgba(146, 227, 45, 0.14);
  padding: 6px 12px; border-radius: 999px;
}
.sc-card-title { font-size: 18px; font-weight: 800; margin: 0 0 4px; color: var(--ink); }
.sc-card-tagline { font-size: 13px; font-weight: 600; color: var(--green-deep); margin: 0 0 10px; }
.sc-card-desc { font-size: 14px; color: #4a4e58; margin: 0; }

.sc-check {
  position: absolute; top: 16px; right: 16px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease;
}
.sc-check svg { width: 16px; height: 16px; }
.sc-card[aria-pressed="true"] .sc-check { opacity: 1; transform: scale(1); }

/* ---------- confirm ---------- */
.sc-confirm {
  width: 100%; margin-top: 22px;
  background: var(--ink); color: #fff;
  border: none; border-radius: 14px;
  padding: 17px 20px; font-size: 16px; font-weight: 800; font-family: inherit;
  cursor: pointer; transition: background .15s ease, opacity .15s ease;
}
.sc-confirm:not(:disabled):hover { background: #000; }
.sc-confirm:disabled { opacity: .45; cursor: not-allowed; }
.sc-confirm.sc-ready { background: var(--green-deep); }
.sc-confirm.sc-ready:hover { background: #5fa018; }
.sc-confirm.sc-loading { opacity: .8; cursor: progress; }
.sc-fineprint { text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0 0; }
.sc-help { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.sc-help a { color: var(--green-deep); font-weight: 700; text-decoration: none; }

/* ---------- done ---------- */
.sc-done { text-align: center; padding: 14px 4px; }
.sc-done-badge {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center; margin: 0 auto 18px;
  box-shadow: 0 10px 30px rgba(146, 227, 45, 0.4);
}
.sc-done-badge svg { width: 38px; height: 38px; }
.sc-done-gift {
  display: inline-block; margin: 6px auto 0;
  background: #fff; border: 2px solid var(--green);
  border-radius: 14px; padding: 16px 22px;
  font-size: 18px; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow);
}
.sc-done-note { color: var(--muted); font-size: 14px; max-width: 460px; margin: 18px auto 0; }
.sc-change {
  margin-top: 22px; background: none; border: none;
  color: var(--muted); font-family: inherit; font-size: 14px; font-weight: 600;
  text-decoration: underline; cursor: pointer;
}

/* ---------- error card ---------- */
.sc-card-error {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 36px 28px; max-width: 460px; margin: 24px; text-align: center;
}
.sc-card-error .sc-logo { width: 130px; margin-bottom: 18px; filter: invert(1) brightness(.2); }
.sc-card-error h1 { font-size: 22px; font-weight: 800; margin: 0 0 12px; color: var(--ink); }
.sc-card-error p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.sc-wa {
  display: inline-block; background: #25D366; color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
}

/* ---------- footer ---------- */
.sc-footer {
  background: var(--ink); color: #cfd2da;
  text-align: center; padding: 28px 20px 34px; margin-top: 30px;
}
.sc-footer-team { color: var(--green); font-weight: 700; margin: 0 0 8px; }
.sc-footer-line { font-size: 13px; margin: 4px 0; }
.sc-footer-line a { color: #fff; text-decoration: none; font-weight: 600; }
.sc-muted { color: #777b86; }

@media (min-width: 560px) {
  .sc-shell { padding: 36px 24px 48px; }
}
