/* QuizSprint — playful trivia hub, palette matched to quizpro.mobi: warm orange/yellow
   gradient primary, deep navy background, muted sky-blue and green secondary accents. */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── Tokens ──────────────────────────────────────────── */
:root {
  --accent:          #fe9e44;
  --accent-h:        #fe912b;
  --accent-glow:     rgba(254,158,68,0.24);
  --yellow:          #ffcc5f;
  --accent-gradient: linear-gradient(160deg, var(--yellow) 35%, var(--accent) 100%);
  --blue:            #1888d8;
  --blue-h:          #0a58ca;
  --blue-glow:       rgba(24,136,216,0.24);
  --accent2:         #47c475;
  --lavender:        #d1cbe9;
  --bg:              #0c092a;
  --bg2:             #100c35;
  --surface:         #16123f;
  --surface2:        #1c1750;
  --text:            #f5f3ff;
  --muted:           #a5a0c4;
  --border:          rgba(254,158,68,0.14);
  --border-glow:     rgba(254,158,68,0.4);
  --radius:          12px;
  --radius-lg:       20px;
  --header-h:        70px;
  --font-display:    'Nunito', sans-serif;
  --font-body:       'Nunito', sans-serif;
  --transition:      0.25s ease;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

/* ── Layout ──────────────────────────────────────────── */
.container        { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 760px;  margin: 0 auto; padding: 0 1.5rem; }
.section          { padding: 5rem 0; }
.section-sm       { padding: 3rem 0; }

/* ── Typography ──────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.accent { color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-display);
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; text-decoration: none; }
.btn-primary {
  background: var(--accent-gradient);
  color: #17130a;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { opacity: 1; color: #000; box-shadow: 0 6px 28px var(--accent-glow); filter: brightness(1.05); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-lg  { padding: 0.9rem 2rem;  font-size: 1.05rem; }

/* ── Header / Nav ────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(8,9,31,0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  direction: ltr;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}
.logo { display: flex; align-items: center; }
.logo img { display: block; width: auto; }
.nav-toggle { display: none; }

.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-inline-start: auto;
}
.site-nav-desktop a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color var(--transition);
}
.site-nav-desktop a:not(.btn):hover { color: var(--accent); text-decoration: none; }

.site-nav { display: none; }

/* Toggle-switch style lang picker — reads as a two-way switch since the
   site has exactly two languages (en/tl). Same markup as a pill list; the
   "track" and "thumb" look comes entirely from this styling. */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: 0.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  border: none;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}
.lang-pill:hover { color: var(--text); text-decoration: none; }
.lang-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 6px var(--blue-glow);
}
.lang-active:hover { color: #fff; }

/* Mobile-only lang switcher lives in the header, left of the hamburger — hidden on desktop */
.lang-switcher-mobile { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

@media (max-width: 860px) {
  .site-nav-desktop { display: none; }
  .lang-switcher-mobile { display: flex; margin-inline-start: auto; margin-inline-end: 0.75rem; }
  .site-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 800;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }
  .site-nav a:not(.btn) { padding: 0.6rem 0; }
  .site-nav .btn { margin-top: 0.5rem; width: 100%; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
  .nav-burger { display: flex; }
  .header-inner { gap: 0.5rem; }
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 75% 20%, rgba(254,158,68,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(24,136,216,0.16) 0%, transparent 60%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero h1 { margin-bottom: 0.75rem; }
.hero h1 .accent {
  display: block;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}
.hero-p { font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-pricing { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  background: var(--accent-glow);
  border: 1px solid rgba(254,158,68,0.3);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}
.hero-price-amount { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.hero-price-per { font-size: 0.85rem; color: var(--text); font-weight: 600; }
.hero-price-trial { font-size: 0.85rem; color: var(--accent2); font-weight: 700; }
.hero-stats { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--text); }
.stat-lbl { font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }

/* ── Section Head ────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p  { max-width: 600px; margin: 0 auto; }
.form-section-head { text-align: left; margin-bottom: 2rem; }
.form-section-head h2 { margin-bottom: 0.5rem; }

/* ── Reveal ──────────────────────────────────────────── */
html.js .reveal         { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.in      { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── Divider ─────────────────────────────────────────── */
hr.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--surface2) 30%, var(--surface2) 70%, transparent);
  margin: 0;
}

/* ── Category grid (showcase) ───────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.showcase-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(254,158,68,0.1);
}
.showcase-card h3 { margin-bottom: 0.5rem; }
.category-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 1px solid var(--border);
}
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  border: 1px solid rgba(254,158,68,0.2);
}
.card-icon svg { width: 22px; height: 22px; }

/* ── About Strip ─────────────────────────────────────── */
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.about-strip-grid .category-icon { width: 100%; height: auto; aspect-ratio: 1; margin: 0; border-radius: var(--radius-lg); }
@media (max-width: 860px) {
  .about-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-strip-grid { order: -1; }
}

/* ── Features Grid ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 24px rgba(254,158,68,0.08);
}
.feature-card h3 { margin: 0.75rem 0 0.5rem; }

/* ── CTA Banner ──────────────────────────────────────── */
.cta-banner {
  background: radial-gradient(ellipse 120% 180% at 50% 120%, rgba(254,158,68,0.18) 0%, transparent 65%),
              var(--surface);
  border: 1px solid rgba(254,158,68,0.18);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(254,158,68,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--text); margin-bottom: 0.75rem; position: relative; }
.cta-banner p  { color: var(--muted); margin-bottom: 2rem; position: relative; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 800px; margin: 0 auto; }
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
details.faq-item[open] { border-color: var(--border-glow); }
details.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.5rem 1.1rem; color: var(--muted); }

/* ── Page Hero ───────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 100% 140% at 50% -10%, rgba(254,158,68,0.18) 0%, transparent 60%),
    linear-gradient(to bottom, var(--surface) 0%, var(--bg2) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .eyebrow { display: block; margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { color: var(--muted); font-size: 1.1rem; }

/* ── About page ──────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-card:hover { border-color: var(--border-glow); box-shadow: 0 4px 24px rgba(254,158,68,0.08); }
.value-card h3 { margin: 1rem 0 0.5rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.25rem; text-align: center; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1rem; }
.stat-card .stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-card .stat-lbl { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 1.5rem;
  margin-bottom: 4rem;
  justify-content: center;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(254,158,68,0.12);
}
.pricing-card.featured { border-color: var(--border-glow); }
.pricing-card .btn { align-self: center; }
.pricing-operator { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.pricing-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--text); }
.pricing-amount span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pricing-trial { font-size: 0.85rem; color: var(--accent); margin: 0.4rem 0 1rem; }
.pricing-features { flex: 1; margin: 1.25rem 0; }
.pricing-features li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.pricing-features li::before { content: '✓'; color: var(--accent2); flex-shrink: 0; font-weight: 700; }
.pricing-unsub { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; text-align: center; }
.pricing-unsub a { color: var(--accent); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: #17130a;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.step-card h3 { margin-bottom: 0.5rem; }

/* ── Contact ─────────────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.contact-card:hover { border-color: var(--border-glow); }
.contact-card h3 { margin: 1rem 0 0.5rem; }
.contact-card-ico {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  border: 1px solid rgba(254,158,68,0.2);
}
.contact-card-ico svg { width: 20px; height: 20px; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-form h3 { margin-bottom: 1.5rem; }

/* ── Legals ──────────────────────────────────────────── */
.legals-wrap { padding: 3.5rem 0; }
.legals { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; }
.legals h6 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin: 2rem 0 0.5rem; }
.legals p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.cls-int { font-style: normal; }

/* ── Forms ───────────────────────────────────────────── */
.form-row, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0.65rem 0.9rem;
  width: 100%;
  transition: border-color var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form button, .form-card button { margin-top: 0.5rem; }
@media (max-width: 600px) { .form-row, .form-grid { grid-template-columns: 1fr; } }

/* ── Phone field with flag + dial code prefix inside the input ───────── */
.phone-row {
  display: flex;
  align-items: stretch;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.phone-flag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.8rem;
  font-size: 0.95rem;
  background: var(--surface2);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-code { font-weight: 800; color: var(--text); letter-spacing: 0.01em; }
.phone-row input {
  border: none;
  background: transparent;
  border-radius: 0;
}
.phone-row input:focus { border-color: transparent; box-shadow: none; }

/* ── RTL-safe (unused for this site but kept for consistency) ── */
[dir="rtl"] .form-group input[type="text"],
[dir="rtl"] .form-group textarea { direction: rtl; text-align: right; }
[dir="rtl"] .form-group input[type="email"],
[dir="rtl"] .form-group input[type="tel"] { direction: ltr; text-align: left; }
[dir="rtl"] .phone-row { direction: ltr; }
[dir="rtl"] .form-group label { text-align: right; }

/* ── Sign In ─────────────────────────────────────────── */
.signin-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 1.5rem 3rem;
  background: radial-gradient(ellipse 60% 60% at 50% 30%, rgba(254,158,68,0.1) 0%, transparent 70%), var(--bg);
}
.signin-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.signin-card h1 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.signin-card > p { font-size: 0.9rem; margin-bottom: 1.75rem; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem; max-width: 640px; margin-inline: auto; }
.form-card.narrow { max-width: 460px; }
.signin-card button, .form-card button { margin-top: 0.5rem; }

/* ── Unsubscribe ─────────────────────────────────────── */
.unsub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; align-items: start; }
.unsub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition);
}
.unsub-card:hover { border-color: var(--border-glow); }
.unsub-card h3 { margin-bottom: 1.5rem; }

.unsub-operator { margin-bottom: 1.5rem; }
.unsub-operator:last-child { margin-bottom: 0; }
.unsub-operator-name {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-glow);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}
.unsub-instruction { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.5rem; }
.unsub-sms-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  flex-wrap: wrap;
}
.unsub-keyword { font-family: monospace; font-size: 1rem; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; }
.unsub-to { font-size: 0.8rem; color: var(--muted); }
.unsub-dest { font-family: monospace; font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: 0.05em; }

.unsub-notes { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.unsub-note-item { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); line-height: 1.55; }
.unsub-note-icon { flex-shrink: 0; font-size: 1rem; margin-top: 0.05rem; }

.refund-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.refund-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--bg2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.refund-item::before { content: '✓'; color: var(--accent2); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* ── Carrier Billing ─────────────────────────────────── */
.carrier-grid { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.carrier-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.carrier-card h3 { margin-bottom: 0.6rem; font-size: 1rem; }
.carrier-card p { font-size: 0.9rem; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; margin-bottom: 1rem; }
.footer-entity { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.footer-phone { margin-top: 0.75rem; font-size: 0.78rem; color: var(--muted); }
.footer-phone a { color: var(--accent); }
.footer-col h4 { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--muted); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-version { font-size: 0.72rem; }

/* ── 404 ─────────────────────────────────────────────── */
.not-found-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
}
.not-found-num { font-family: var(--font-display); font-size: clamp(6rem,20vw,12rem); font-weight: 900; color: var(--accent); opacity: 0.2; line-height: 1; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
}

/* ── Error / success messages (mandatory) ─────────────── */
.error-msg, .errorMsg { display: none; color: #ff5c4d; font-size: 0.82rem; margin-top: 0.3rem; }
.form-success, .successMsg, .success-msg { display: none; color: var(--accent2); font-weight: 700; margin-top: 1rem; }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; margin-top: 1rem; }
.form-msg { margin-top: 1rem; font-size: 0.9rem; }
.form-msg.ok { color: var(--accent2); font-weight: 700; }
.form-msg.err { color: #ff5c4d; }
