@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,900&family=Nunito+Sans:wght@400;600;700;800&display=swap');

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style-position: inside; }

/* ---------- 3. TOKENS ---------- */
:root {
  --bg-base: #fff6fa;
  --bg-card: #ffffff;
  --accent: #d6336c;
  --highlight: #f7b500;
  --text: #33202b;
  --muted: #7d6470;
  --border: #f2dbe6;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, Segoe UI, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(214, 51, 108, 0.08);
  --transition: 0.25s ease;
}

/* ---------- 4. BASE ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }
::selection { background: var(--accent); color: var(--bg-card); }

/* ---------- 5. TYPE SCALE ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--text); }
h1 { font-size: 1.9rem; font-weight: 900; }
h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
strong { font-weight: 800; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text); }

/* ---------- 6. CONTAINER ---------- */
.c4y_container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1rem; }

/* ---------- 7. BUTTONS ---------- */
.c4y_btn {
  display: inline-block; text-align: center; font-weight: 800;
  border-radius: var(--radius-sm); transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 44px; line-height: 1.2;
}
.c4y_btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.c4y_btn--primary { background: var(--accent); color: var(--bg-card); }
.c4y_btn--primary:hover { color: var(--bg-card); }
.c4y_btn--highlight { background: var(--highlight); color: var(--text); }
.c4y_btn--outline { border: 2px solid var(--accent); color: var(--accent); background: var(--bg-card); }
.c4y_btn--ghost { color: var(--accent); text-decoration: underline; }
.c4y_btn--sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.c4y_btn--md { padding: 0.75rem 1.5rem; font-size: 1rem; }
.c4y_btn--lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.c4y_btn--full { display: block; width: 100%; }

/* ---------- 8. NAV ---------- */
.c4y_header {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.c4y_nav { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1rem; max-width: 1080px; margin: 0 auto; }
.c4y_nav-logo { flex-shrink: 0; }
.c4y_nav-links { display: none; }
.c4y_nav-cta { display: none; }
.c4y_nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
}
.c4y_nav-toggle span { display: block; width: 24px; height: 3px; background: var(--text); border-radius: 2px; transition: transform var(--transition); }
.c4y_mobile-nav {
  display: none; background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem 1rem;
}
.c4y_mobile-nav.open { display: block; }
.c4y_mobile-nav a { display: block; padding: 0.75rem 0.5rem; font-weight: 700; color: var(--text); border-bottom: 1px solid var(--border); }
.c4y_mobile-nav a:last-child { border-bottom: none; }
.c4y_mobile-nav a:hover { color: var(--accent); }

/* ---------- 10. HERO (LAYOUT B — centred) ---------- */
.c4y_hero { padding: 2.5rem 0 2rem; text-align: center; position: relative; overflow: hidden; }
.c4y_hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% -20%, rgba(214,51,108,0.12), transparent 60%),
              radial-gradient(ellipse at 85% 110%, rgba(247,181,0,0.14), transparent 55%);
}
.c4y_hero-kicker {
  display: inline-block; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--accent); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1rem;
}
.c4y_hero h1 { max-width: 720px; margin: 0 auto 1rem; }
.c4y_hero-sub { max-width: 640px; margin: 0 auto 1.5rem; font-size: 1.08rem; color: var(--muted); }
.c4y_hero-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.c4y_hero-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- 11. TRUST BAR ---------- */
.c4y_trustbar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.c4y_trustbar-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.c4y_trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 700; }
.c4y_trust-item svg { flex-shrink: 0; }

/* ---------- 12. CONTENT SECTIONS ---------- */
.c4y_section { padding: 2.25rem 0; }
.c4y_section--alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.c4y_section h2 { margin-top: 0; }
.c4y_lead { font-size: 1.05rem; }
.c4y_updated { font-size: 0.85rem; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }

.c4y_card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.c4y_card + .c4y_card { margin-top: 1rem; }
.c4y_grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

/* bonus spotlight */
.c4y_spotlight {
  background: linear-gradient(135deg, var(--bg-card) 60%, rgba(247,181,0,0.12));
  border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.5rem;
  text-align: center;
}
.c4y_spotlight-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--accent); margin-bottom: 0.25rem; }
.c4y_spotlight-code {
  display: inline-block; background: var(--text); color: var(--bg-card);
  font-weight: 800; letter-spacing: 0.12em; padding: 0.45rem 1.1rem; border-radius: var(--radius-sm);
  margin: 0.5rem 0 1rem; font-size: 1.05rem;
}

/* tables */
.c4y_table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); margin: 1rem 0; }
.c4y_table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
.c4y_table th {
  background: var(--accent); color: var(--bg-card); text-align: left;
  padding: 0.7rem 0.9rem; font-weight: 800; white-space: nowrap;
}
.c4y_table td { padding: 0.7rem 0.9rem; border-top: 1px solid var(--border); vertical-align: top; }
.c4y_table tr:nth-child(even) td { background: var(--bg-base); }
.c4y_code {
  font-weight: 800; background: rgba(247,181,0,0.18); border: 1px dashed var(--highlight);
  padding: 0.1rem 0.5rem; border-radius: 6px; white-space: nowrap; color: var(--text);
}

/* pros/cons */
.c4y_proscons { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1rem 0; }
.c4y_pros, .c4y_cons { background: var(--bg-card); border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); }
.c4y_pros { border-top: 4px solid var(--highlight); }
.c4y_cons { border-top: 4px solid var(--muted); }
.c4y_pros ul, .c4y_cons ul { list-style: none; }
.c4y_pros li, .c4y_cons li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; }
.c4y_pros li::before { content: "✓"; position: absolute; left: 0.2rem; color: var(--accent); font-weight: 800; }
.c4y_cons li::before { content: "✕"; position: absolute; left: 0.2rem; color: var(--muted); font-weight: 800; }

/* steps */
.c4y_steps { list-style: none; counter-reset: step; margin: 1rem 0; }
.c4y_steps li {
  counter-increment: step; position: relative; padding: 0.9rem 1rem 0.9rem 3.2rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}
.c4y_steps li::before {
  content: counter(step); position: absolute; left: 0.9rem; top: 0.9rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent); color: var(--bg-card);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}

/* notice boxes */
.c4y_notice {
  border-left: 4px solid var(--highlight); background: var(--bg-card);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin: 1rem 0; font-size: 0.95rem;
}
.c4y_notice--muted { border-left-color: var(--muted); color: var(--muted); }

/* ---------- 13. FAQ ---------- */
.c4y_faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.6rem; overflow: hidden; }
.c4y_faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem; font-weight: 800; text-align: left; color: var(--text); min-height: 44px;
}
.c4y_faq-btn::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; transition: transform var(--transition); }
.c4y_faq-item.open .c4y_faq-btn::after { transform: rotate(45deg); }
.c4y_faq-body { display: none; padding: 0 1.1rem 1rem; color: var(--muted); }
.c4y_faq-item.open .c4y_faq-body { display: block; }

/* ---------- 14. CTA BAND ---------- */
.c4y_ctaband {
  background: linear-gradient(120deg, var(--accent), #a3204f);
  border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; margin: 2rem 0;
}
.c4y_ctaband h2, .c4y_ctaband p { color: #fff; }
.c4y_ctaband .c4y_btn--highlight { margin-top: 0.5rem; }

/* ---------- 15. FOOTER ---------- */
.c4y_footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 2rem 0 6rem; font-size: 0.9rem; }
.c4y_footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.c4y_footer h4 { margin-bottom: 0.6rem; }
.c4y_footer ul { list-style: none; }
.c4y_footer li { margin-bottom: 0.4rem; }
.c4y_footer a { color: var(--muted); }
.c4y_footer a:hover { color: var(--accent); }
.c4y_partner-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--highlight); background: rgba(247,181,0,0.1);
  border-radius: 999px; padding: 0.4rem 1rem; font-weight: 800; font-size: 0.8rem; margin-bottom: 1rem;
}
.c4y_disclosure { color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.c4y_rg-line { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0.75rem 0; font-weight: 800; }
.c4y_age-badge {
  display: inline-flex; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent);
  color: var(--accent); font-weight: 800; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0;
}

/* ---------- 16. STICKY MOBILE CTA ---------- */
.c4y_sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--bg-card); border-top: 1px solid var(--border); padding: 0.6rem 1rem;
  box-shadow: 0 -4px 16px rgba(51,32,43,0.1);
}

/* ---------- 17. ANIMATIONS ---------- */
@keyframes c4y-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.c4y_animate { animation: c4y-fade-up 0.5s ease both; }
@media (prefers-reduced-motion: reduce) {
  .c4y_animate { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 18. RESPONSIVE ---------- */
@media (min-width: 480px) {
  h1 { font-size: 2.2rem; }
  .c4y_hero-actions { flex-direction: row; justify-content: center; }
  .c4y_trustbar-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.7rem; }
  .c4y_nav-toggle { display: none; }
  .c4y_mobile-nav { display: none !important; }
  .c4y_nav-links { display: flex; gap: 1.25rem; align-items: center; }
  .c4y_nav-links a { color: var(--text); font-weight: 700; font-size: 0.95rem; }
  .c4y_nav-links a:hover { color: var(--accent); }
  .c4y_nav-cta { display: inline-block; }
  .c4y_sticky-cta { display: none; }
  .c4y_footer { padding-bottom: 2rem; }
  .c4y_trustbar-grid { grid-template-columns: repeat(4, 1fr); }
  .c4y_proscons { grid-template-columns: 1fr 1fr; }
  .c4y_grid--2 { grid-template-columns: 1fr 1fr; }
  .c4y_grid--3 { grid-template-columns: repeat(3, 1fr); }
  .c4y_hero { padding: 3.5rem 0 2.75rem; }
}
@media (min-width: 1024px) {
  .c4y_hero h1 { font-size: 3rem; }
  .c4y_section { padding: 3rem 0; }
}
