/* ═══════════════════════════════════════════════════════════════
   tonybet.to — Canada Editorial Information Directory
   Dark Editorial Theme (Module #02)
   Unique project-specific classes (ca-* prefix)
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #14141f;
  color: #e8e4de;
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: #f5f1eb;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

/* ── Anchor Rail (Module #09) ─────────────────────────────── */
.ca-anchor-rail {
  background: #12121f;
  border-bottom: 1px solid #1e1e34;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ca-anchor-rail__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  gap: 24px;
  white-space: nowrap;
}

.ca-anchor-rail__link {
  font-size: 0.82rem;
  color: #7a746e;
  transition: color 0.2s;
  flex-shrink: 0;
}

.ca-anchor-rail__link:hover { color: #e8e4de; }
.ca-anchor-rail__link:first-child { color: #d4735a; }

/* ── Shell / Wrapper ──────────────────────────────────────── */
.ca-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ca-shell--narrow {
  max-width: 880px;
}

/* ── Hero (Module #08 — Asymmetric) ───────────────────────── */
.ca-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 0 64px;
  align-items: center;
}

.ca-hero-content { position: relative; }

.ca-hero-badge {
  display: inline-block;
  background: #1e1e34;
  color: #c8bfb4;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  border: 1px solid #2a2a42;
}

.ca-hero-title {
  margin-bottom: 20px;
}

.ca-hero-sub {
  font-size: 1.1rem;
  color: #a8a29e;
  margin-bottom: 32px;
  line-height: 1.6;
}

.ca-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Hero Panels (Flex, no overlap) ────────────────────────── */
.ca-hero-panels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ca-hero-panel {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: border-color 0.3s;
}

.ca-hero-panel:hover {
  border-color: #d4735a40;
}

.ca-hero-panel--1,
.ca-hero-panel--2,
.ca-hero-panel--3 {
  position: static;
  width: 100%;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
}

.ca-hero-panel__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ca-hero-panel__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b635b;
  margin-bottom: 4px;
}

.ca-hero-panel__value {
  font-size: 0.95rem;
  color: #e8e4de;
}

.ca-hero-panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #d4735a15;
  border-radius: 8px;
  flex-shrink: 0;
}

.ca-hero-panel__icon svg {
  width: 18px;
  height: 18px;
  fill: #d4735a;
}

/* ── Buttons ──────────────────────────────────────────────── */
.ca-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  line-height: 1.4;
}

.ca-btn--primary {
  background: #d4735a;
  color: #14141f;
}

.ca-btn--primary:hover {
  background: #c66249;
  transform: translateY(-1px);
}

.ca-btn--secondary {
  background: transparent;
  color: #e8e4de;
  border: 1px solid #3a3a52;
}

.ca-btn--secondary:hover {
  border-color: #d4735a;
  color: #d4735a;
}

.ca-btn--ghost {
  background: transparent;
  color: #a8a29e;
  padding: 8px 20px;
}

.ca-btn--ghost:hover { color: #e8e4de; }

/* ── Section Spacing ──────────────────────────────────────── */
.ca-section {
  padding: 72px 0;
}

.ca-section--alt {
  background: #11111e;
}

.ca-section__header {
  margin-bottom: 48px;
  text-align: center;
}

.ca-section__label {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4735a;
  margin-bottom: 8px;
}

.ca-section__desc {
  max-width: 680px;
  margin: 12px auto 0;
  color: #a8a29e;
  font-size: 1rem;
}

/* ── Bento Grid (Module #05) ──────────────────────────────── */
.ca-bento-map {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.ca-bento-map .ca-bento-card:nth-child(4),
.ca-bento-map .ca-bento-card:nth-child(5) {
  grid-column: span 2;
}

.ca-bento-card {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s;
}

.ca-bento-card:hover {
  border-color: #3a3a5a;
  transform: translateY(-2px);
}

.ca-bento-card__icon {
  width: 40px;
  height: 40px;
  background: #d4735a10;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ca-bento-card__icon svg {
  width: 20px;
  height: 20px;
  fill: #d4735a;
}

.ca-bento-card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.ca-bento-card__text {
  font-size: 0.92rem;
  color: #a8a29e;
  line-height: 1.6;
}

/* ── Platform Entry Card ──────────────────────────────────── */
.ca-entry-panel {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  margin: 48px 0;
}

.ca-entry-panel__logo {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

.ca-entry-panel__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ca-entry-panel__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #25253e;
  color: #a8a29e;
  padding: 4px 12px;
  border-radius: 4px;
}

.ca-entry-panel__title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.ca-entry-panel__text {
  color: #a8a29e;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ca-entry-panel__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.ca-entry-panel__list li {
  font-size: 0.88rem;
  color: #c8bfb4;
  padding-left: 20px;
  position: relative;
}

.ca-entry-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #d4735a;
  border-radius: 2px;
  opacity: 0.6;
}

.ca-entry-panel__note {
  font-size: 0.82rem;
  color: #6b635b;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2a2a42;
}

/* ── Criteria Tiles (Module #05 — Bento) ──────────────────── */
.ca-criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ca-criteria-tile {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.ca-criteria-tile:hover {
  border-color: #d4735a40;
  transform: translateY(-2px);
}

.ca-criteria-tile__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  background: #25253e;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ca-criteria-tile__icon svg {
  width: 18px;
  height: 18px;
  fill: #d4735a;
}

.ca-criteria-tile__title {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.ca-criteria-tile__text {
  font-size: 0.8rem;
  color: #7a746e;
  line-height: 1.5;
}

/* ── Methodology ──────────────────────────────────────────── */
.ca-methodology-block {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 16px;
  padding: 40px;
}

.ca-methodology-block h3 {
  margin-bottom: 12px;
  margin-top: 28px;
}

.ca-methodology-block h3:first-child { margin-top: 0; }

.ca-methodology-block p {
  color: #a8a29e;
  font-size: 0.95rem;
}

.ca-methodology-block ul {
  margin: 12px 0 20px;
  padding-left: 20px;
}

.ca-methodology-block ul li {
  color: #a8a29e;
  font-size: 0.92rem;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.ca-methodology-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #d4735a;
  border-radius: 1px;
  opacity: 0.5;
}

/* ── Resource Strip ───────────────────────────────────────── */
.ca-resource-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
  padding: 32px 0;
}

.ca-resource-strip__img {
  max-height: 48px;
  width: auto;
  transition: opacity 0.25s;
  opacity: 0.7;
}

.ca-resource-strip__img:hover { opacity: 1; }

/* ── Resource Block Hero ──────────────────────────────────── */
.ca-resource-block-hero {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.ca-resource-block-hero p {
  max-width: 640px;
  margin: 12px auto 0;
  color: #a8a29e;
  font-size: 0.95rem;
}

/* ── FAQ Accordion ────────────────────────────────────────── */
.ca-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ca-faq-item {
  border: 1px solid #2a2a42;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #1a1a2e;
}

.ca-faq-item__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: #e8e4de;
  text-align: left;
  font-weight: 500;
  transition: background 0.2s;
}

.ca-faq-item__button:hover { background: #1e1e34; }

.ca-faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.ca-faq-item__icon svg {
  width: 20px;
  height: 20px;
  fill: #a8a29e;
}

.ca-faq-item.open .ca-faq-item__icon { transform: rotate(45deg); }

.ca-faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ca-faq-item__content {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: #a8a29e;
  line-height: 1.7;
}

.ca-faq-item.open .ca-faq-item__panel {
  max-height: 400px;
}

/* ── Pre-footer Disclosure ────────────────────────────────── */
.ca-pre-footer {
  background: #0f0f1e;
  border: 1px solid #1e1e34;
  border-radius: 16px;
  padding: 40px;
  margin: 48px 0;
}

.ca-pre-footer h3 {
  margin-bottom: 16px;
}

.ca-pre-footer p {
  color: #a8a29e;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.ca-pre-footer ul {
  margin: 16px 0;
  padding-left: 20px;
}

.ca-pre-footer ul li {
  color: #a8a29e;
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.ca-pre-footer ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #d4735a;
  border-radius: 1px;
  opacity: 0.5;
}

/* ── Footer (Module #10) ──────────────────────────────────── */
.ca-footer-disclosure {
  background: #0a0a14;
  border-top: 1px solid #1a1a2e;
  padding: 60px 24px 32px;
  margin-top: 16px;
}

.ca-footer-disclosure__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.ca-footer-col--full {
  grid-column: 1 / -1;
}

.ca-footer-heading {
  font-size: 0.9rem;
  color: #e8e4de;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.ca-footer-text {
  font-size: 0.84rem;
  color: #7a746e;
  line-height: 1.7;
}

.ca-footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ca-footer-list a {
  font-size: 0.84rem;
  color: #7a746e;
  transition: color 0.2s;
}

.ca-footer-list a:hover { color: #e8e4de; }

.ca-footer-disclosure-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #a8a29e;
  margin-bottom: 12px;
}

.ca-disclosure-badge {
  background: #d4735a;
  color: #14141f;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 4px;
}

.ca-disclosure-sep { color: #3a3a52; }

.ca-footer-small {
  font-size: 0.78rem;
  color: #5a544e;
  margin-bottom: 8px;
  line-height: 1.6;
}

.ca-footer-copyright {
  border-top: 1px solid #1a1a2e;
  padding-top: 20px;
  text-align: center;
}

.ca-footer-copyright p {
  font-size: 0.8rem;
  color: #5a544e;
}

/* ── Legal Pages — Card Based (Module #03) ────────────────── */
.ca-legal-hero {
  padding: 64px 0 32px;
  text-align: center;
}

.ca-legal-hero p {
  color: #a8a29e;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 12px auto 0;
}

.ca-legal-card {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 20px;
}

.ca-legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a42;
}

.ca-legal-card h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
}

.ca-legal-card p {
  color: #a8a29e;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.ca-legal-card ul {
  margin: 12px 0 16px;
  padding-left: 20px;
}

.ca-legal-card ul li {
  color: #a8a29e;
  font-size: 0.9rem;
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.ca-legal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #d4735a;
  border-radius: 1px;
  opacity: 0.5;
}

.ca-legal-card dl dt {
  font-weight: 600;
  color: #e8e4de;
  margin-top: 16px;
  font-size: 0.92rem;
}

.ca-legal-card dl dd {
  color: #a8a29e;
  font-size: 0.9rem;
  margin-left: 0;
  margin-bottom: 8px;
}

.ca-legal-card a {
  color: #d4735a;
  transition: color 0.2s;
}

.ca-legal-card a:hover { color: #c66249; }

/* ── Contact Form ─────────────────────────────────────────── */
.ca-contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.ca-form-group {
  margin-bottom: 20px;
}

.ca-form-group label {
  display: block;
  font-size: 0.88rem;
  color: #c8bfb4;
  margin-bottom: 6px;
}

.ca-form-group input,
.ca-form-group select,
.ca-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0f0f1e;
  border: 1px solid #2a2a42;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #e8e4de;
  font-family: inherit;
  transition: border-color 0.2s;
}

.ca-form-group input:focus,
.ca-form-group select:focus,
.ca-form-group textarea:focus {
  outline: none;
  border-color: #d4735a;
}

.ca-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Thank-you page ───────────────────────────────────────── */
.ca-thankyou {
  text-align: center;
  padding: 100px 24px;
  max-width: 640px;
  margin: 0 auto;
}

.ca-thankyou__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ca-thankyou__icon svg {
  width: 28px;
  height: 28px;
  fill: #d4735a;
}

/* ── Transition Page ──────────────────────────────────────── */
.ca-transition {
  text-align: center;
  padding: 100px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.ca-transition__spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border: 3px solid #2a2a42;
  border-top-color: #d4735a;
  border-radius: 50%;
  animation: caSpin 0.9s linear infinite;
}

@keyframes caSpin {
  to { transform: rotate(360deg); }
}

.ca-transition__title {
  margin-bottom: 12px;
}

.ca-transition__text {
  color: #a8a29e;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* ── Age Popup (19+) ──────────────────────────────────────── */
.ca-age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.ca-age-overlay--hidden { display: none; }

.ca-age-modal {
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 18px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.ca-age-modal__badge {
  display: inline-block;
  background: #d4735a;
  color: #14141f;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.ca-age-modal__title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.ca-age-modal__text {
  font-size: 0.9rem;
  color: #a8a29e;
  margin-bottom: 24px;
  line-height: 1.6;
}

.ca-age-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ca-age-modal__btn {
  padding: 10px 36px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ca-age-modal__btn--yes {
  background: #d4735a;
  color: #14141f;
}

.ca-age-modal__btn--yes:hover { background: #c66249; }

.ca-age-modal__btn--no {
  background: transparent;
  color: #a8a29e;
  border: 1px solid #3a3a52;
}

.ca-age-modal__btn--no:hover { border-color: #a8a29e; }

/* ── Cookie Banner ────────────────────────────────────────── */
.ca-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f0f1e;
  border-top: 1px solid #2a2a42;
  padding: 20px 24px;
  z-index: 9998;
  display: none;
}

.ca-cookie-banner--visible { display: block; }

.ca-cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ca-cookie-banner__text {
  font-size: 0.84rem;
  color: #a8a29e;
  flex: 1;
  min-width: 240px;
}

.ca-cookie-banner__text a {
  color: #d4735a;
  text-decoration: underline;
}

.ca-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ca-cookie-btn {
  padding: 8px 24px;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ca-cookie-btn--accept {
  background: #d4735a;
  color: #14141f;
}

.ca-cookie-btn--accept:hover { background: #c66249; }

.ca-cookie-btn--decline {
  background: transparent;
  color: #a8a29e;
  border: 1px solid #3a3a52;
}

.ca-cookie-btn--decline:hover { border-color: #a8a29e; }

/* ── Page Intro Block ─────────────────────────────────────── */
.ca-page-intro {
  padding: 48px 0 24px;
  text-align: center;
}

.ca-page-intro p {
  color: #a8a29e;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 12px auto 0;
}

/* ── Section Block ────────────────────────────────────────── */
.ca-section-block {
  padding: 64px 0;
}

.ca-section-block--alt {
  background: #11111e;
}

/* ── Contact Info ─────────────────────────────────────────── */
.ca-contact-info {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0;
}

.ca-contact-info p {
  color: #a8a29e;
  font-size: 0.95rem;
}

/* ── Hero Simple (Reference Style) ────────────────────────── */
.ca-hero-simple {
  padding: 64px 0 48px;
  text-align: center;
}

.ca-hero-simple__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.ca-hero-simple__logo {
  max-width: 200px;
  height: auto;
}

.ca-hero-simple__logo-link {
  display: inline-block;
  line-height: 0;
}

.ca-hero-simple__logo-link:hover {
  opacity: 0.85;
}

.ca-hero-simple__logo--xl {
  max-width: 800px;
  width: 100%;
}

.ca-hero-simple__btn {
  font-size: 1.05rem;
  padding: 14px 40px;
}

/* ── Steps (Reference Style) ──────────────────────────────── */
.ca-steps {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 860px;
}

.ca-step {
  flex: 1;
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: border-color 0.25s;
}

.ca-step:hover {
  border-color: #d4735a40;
}

.ca-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  background: #d4735a;
  color: #14141f;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ca-step__text {
  font-size: 0.95rem;
  color: #e8e4de;
  line-height: 1.4;
}

/* ── Features Block (Reference Style 1:1) ──────────────────── */
.ca-features-block {
  text-align: center;
}

.ca-features-block__inner {
  max-width: 800px;
  margin: 0 auto;
}

.ca-features-card {
  background: linear-gradient(145deg, #1a1a2e, #0f0f1e);
  border-radius: 18px;
  padding: 60px 40px;
  position: relative;
  box-shadow: 0 0 20px rgba(212, 115, 90, 0.12);
  overflow: hidden;
  border: 2px solid transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: caFadeIn 1.2s ease-in-out;
}

.ca-features-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #d4735a, #c66249);
  border-radius: 20px;
  z-index: -1;
  filter: blur(8px);
  opacity: 0.5;
}

.ca-features-card:hover {
  box-shadow: 0 0 25px rgba(212, 115, 90, 0.2);
  transform: scale(1.005);
  transition: 0.3s ease;
}

@keyframes caFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .ca-steps {
    flex-direction: column;
  }

  .ca-features-card {
    padding: 32px 20px;
    box-shadow: 0 0 25px rgba(212, 115, 90, 0.2);
    transform: scale(1.005);
  }

  .ca-features-card::before {
    opacity: 0.6;
  }

  .ca-features-list {
    grid-template-columns: 1fr;
  }
}

.ca-features-block__title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  color: #d4735a;
}

.ca-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
  margin-bottom: 36px;
}

.ca-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #c8bfb4;
  padding: 14px 20px;
  background: #1a1a2e;
  border: 1px solid #2a2a42;
  border-radius: 8px;
  transition: border-color 0.25s, transform 0.2s;
}

.ca-features-list li:hover {
  border-color: #d4735a40;
  transform: translateX(4px);
}

.ca-features-list li::before {
  content: "✓";
  color: #d4735a;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ca-features-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ca-features-terms {
  font-size: 0.82rem;
  color: #7a746e;
}

/* ── Footer — Reference Style ─────────────────────────────── */
.ca-footer-ref {
  background: #0a0a14;
  border-top: 1px solid #1a1a2e;
  padding: 48px 24px 24px;
  text-align: center;
}

.ca-footer-ref__logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.ca-footer-ref__logo {
  max-height: 42px;
  width: auto;
  transition: opacity 0.25s;
  opacity: 0.7;
}

.ca-footer-ref__logo:hover { opacity: 1; }

.ca-footer-ref__badge {
  display: inline-block;
  background: #d4735a;
  color: #14141f;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.ca-footer-ref__tagline {
  color: #a8a29e;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.ca-footer-ref__info {
  max-width: 800px;
  margin: 0 auto 24px;
}

.ca-footer-ref__paragraph {
  color: #a8a29e;
  font-size: 0.85rem;
  margin-top: 10px;
  line-height: 1.6;
}

.ca-footer-ref__paragraph strong {
  color: #c8bfb4;
}

.ca-footer-ref__link {
  color: #d4735a;
  text-decoration: underline;
  transition: color 0.2s;
}

.ca-footer-ref__link:hover { color: #c66249; }

.ca-footer-ref__bottom {
  border-top: 1px solid #1a1a2e;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.ca-footer-ref__copyright {
  font-size: 0.8rem;
  color: #5a544e;
}

.ca-footer-ref__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.ca-footer-ref__nav a {
  font-size: 0.85rem;
  color: #d4735a;
  transition: color 0.2s;
}

.ca-footer-ref__nav a:hover { color: #fff; }

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .ca-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }

  .ca-bento-map {
    grid-template-columns: 1fr;
  }

  .ca-bento-map .ca-bento-card:nth-child(4),
  .ca-bento-map .ca-bento-card:nth-child(5) {
    grid-column: span 1;
  }

  .ca-criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ca-entry-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ca-entry-panel__logo {
    margin: 0 auto;
  }

  .ca-entry-panel__list {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ca-footer-disclosure__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ca-resource-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .ca-shell {
    padding: 0 16px;
  }

  .ca-hero-grid {
    padding: 32px 0;
    gap: 32px;
  }

  .ca-bento-map {
    grid-template-columns: 1fr;
  }

  .ca-bento-map .ca-bento-card:nth-child(4),
  .ca-bento-map .ca-bento-card:nth-child(5) {
    grid-column: span 1;
  }

  .ca-criteria-grid {
    grid-template-columns: 1fr;
  }

  .ca-resource-strip {
    grid-template-columns: 1fr 1fr;
  }

  .ca-section {
    padding: 48px 0;
  }

  .ca-bento-card,
  .ca-methodology-block,
  .ca-entry-panel,
  .ca-pre-footer,
  .ca-legal-card {
    padding: 24px 20px;
  }

  .ca-cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .ca-age-modal {
    padding: 28px 20px;
  }

  .ca-age-modal__actions {
    flex-direction: column;
  }

  .ca-age-modal__btn {
    width: 100%;
  }

  .ca-resource-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ca-resource-strip__img {
    max-height: 36px;
  }

  .ca-entry-panel__list li {
    font-size: 0.84rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .ca-resource-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ca-resource-strip__img {
    max-height: 32px;
  }
}
