/* ============================================================
   compliance.css — Compliance Guidance page
   ============================================================ */

/* ── Hero (dark) ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--d-fg);
  background: #02040a;
  padding-top: 124px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1640px;
  margin: 0 auto;
  padding: 80px 48px 110px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-copy { max-width: 680px; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 408px;
  height: 408px;
  opacity: 0.88;
  filter: brightness(1.1);
  animation: heroIconFloat 4s ease-in-out infinite, heroIconGlow 4s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroIconFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes heroIconGlow {
  0%, 100% { filter: brightness(1.1) drop-shadow(0 0 0px rgba(61,220,164,0)); }
  50%       { filter: brightness(1.2) drop-shadow(0 0 28px rgba(61,220,164,0.18)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.hero-kicker::before {
  content: ''; display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.25);
}
.hero-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  letter-spacing: -0.048em;
  line-height: 1;
  margin-bottom: 30px;
}
.hero-headline .a { color: #fff; display: block; }
.hero-headline .b { color: rgba(255,255,255,0.40); display: block; }
.hero-sub {
  font-size: 17px; line-height: 1.62;
  color: rgba(255,255,255,0.68);
  max-width: 62ch;
  margin-bottom: 42px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-certs {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
}
.hero-certs .cert-chip {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-certs .cert-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(61,220,164,0.55);
}

/* ── Regulatory Framework (dark) ────────────────────────── */
.framework {
  position: relative;
  background: #02040a;
  color: var(--d-fg);
  padding: 0 48px 100px;
}
.framework-inner {
  max-width: 1640px;
  margin: 0 auto;
  padding-top: 72px;
}
/* Centred section headers — kicker + title + subtitle */
.section-header {
  margin-bottom: 56px;
  text-align: center;
}
.section-header .kicker { justify-content: center; }
.section-header .section-title {
  margin-left: auto; margin-right: auto;
  text-align: center; max-width: 26ch;
}
.section-header .section-subtitle {
  margin-left: auto; margin-right: auto;
  text-align: center; max-width: 62ch;
}
.framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
}
.framework-card {
  background: #02040a;
  padding: 52px 48px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background 0.2s;
}
.framework-card:hover { background: rgba(255,255,255,0.03); }
/* Shared numbered tag — used on framework cards and cert cards */
.card-num {
  width: 34px; height: 24px; border-radius: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--d-dim);
  flex-shrink: 0;
}
.light .card-num {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.12);
  color: var(--l-dim);
}
.framework-card h3 {
  font-family: var(--heading);
  font-size: 18px; font-weight: 600;
  color: var(--d-fg);
  letter-spacing: -0.025em; line-height: 1.2;
}
.framework-card p {
  font-size: 14px; line-height: 1.68;
  color: var(--d-muted); flex: 1;
}
.framework-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  transition: color 0.18s, gap 0.18s;
  margin-top: 4px;
}
.framework-card .card-link:hover { color: #fff; gap: 10px; }
.framework-card.no-ext .card-link { opacity: 0; pointer-events: none; }
.card-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  padding: 8px 12px;
  width: fit-content;
  height: 76px;          /* anchor height — card-num matches this */
  box-sizing: border-box;
}
.card-logo img {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

/* cert-card number badge — same height as .card-logo */
.cert-card .card-num {
  height: 76px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 700;
  box-sizing: border-box;
}

/* ── State Orders (light) ────────────────────────────────── */
.states {
  position: relative;
  background: var(--l-bg);
  color: var(--l-fg);
  padding: 0 48px 100px;
}
.states-inner { max-width: 1640px; margin: 0 auto; }
.states-header {
  margin-bottom: 52px;
  padding-top: 72px;
  text-align: center;
}
.states-header .kicker { justify-content: center; }
.states-header .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.states-header .section-subtitle { margin-left: auto; margin-right: auto; text-align: center; max-width: 62ch; }
.states-grid {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--l-border);
  border-left: 1px solid var(--l-border);
}
.state-item { flex: 0 0 25%; }
.state-item a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-size: 14.5px; font-weight: 500;
  color: var(--l-fg);
  border-right: 1px solid var(--l-border);
  border-bottom: 1px solid var(--l-border);
  transition: background 0.16s, color 0.16s;
  gap: 10px;
}
.state-item a:hover { background: var(--l-card); color: var(--blue-deep); }
.state-item a .arr {
  opacity: 0.28; font-size: 18px;
  color: var(--l-fg);              /* always black — never inherits blue from parent */
  flex-shrink: 0;
  will-change: transform;
  transition: opacity 0.18s ease, transform 0.20s cubic-bezier(0.25, 0, 0, 1), color 0.16s;
}
.state-item a:hover .arr {
  opacity: 1;
  transform: rotate(-45deg);       /* → becomes ↗ */
  color: #000;
}
.states-note {
  margin-top: 28px;
  font-size: 13px; color: var(--l-dim);
  line-height: 1.6;
}

/* ── Certifications (light) ─────────────────────────────── */
.certs {
  position: relative;
  background: var(--l-bg);
  color: var(--l-fg);
  padding: 0 48px 100px;
}
.certs-inner { max-width: 1640px; margin: 0 auto; }
.certs-inner > .reveal {
  padding-top: 72px;
  text-align: center;
}
.certs-inner > .reveal .kicker { justify-content: center; }
.certs-inner > .reveal .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.certs-inner > .reveal .section-subtitle { margin-left: auto; margin-right: auto; text-align: center; max-width: 62ch; }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.certs-footer-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}
.cert-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--l-muted);
  background: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 20px; padding: 5px 12px;
}
.cert-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.cert-card {
  background: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 6px;
  padding: 30px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cert-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  border-color: var(--l-border-strong);
}
.cert-card h4 {
  font-family: var(--heading);
  font-size: 15px; font-weight: 600;
  color: var(--l-fg); letter-spacing: -0.02em; line-height: 1.25;
}
.cert-desc {
  font-size: 13px; color: var(--l-muted);
  line-height: 1.6; flex: 1;
}
.cert-scope {
  font-size: 11px; color: var(--l-dim);
  font-family: var(--mono); letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}
/* Linked cert items (ARAI × 3, CPCB × 1) */
.cert-links {
  list-style: none; padding: 0;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--l-border);
  display: flex; flex-direction: column; gap: 10px;
}
.cert-links li a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep); font-weight: 600;
  transition: gap 0.16s;
}
.cert-links li a:hover { gap: 10px; }
.cert-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-deep);
}

/* ── Compliance Support CTA (light) ─────────────────────── */
.support {
  position: relative;
  background: var(--l-bg-2);
  color: var(--l-fg);
  padding: 0 48px 100px;
  border-top: 1px solid var(--l-border);
}
.support-inner { padding-top: 72px; }
.support-inner {
  max-width: 800px; margin: 0 auto; text-align: center;
}
.support h2 {
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  color: var(--l-fg); margin-bottom: 18px;
}
.support-sub {
  font-size: 17px; color: var(--l-muted); line-height: 1.62;
  max-width: 56ch; margin: 0 auto 36px;
}
.support-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 40px;
}
.support-pill {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--l-muted);
  padding: 7px 14px;
  border: 1px solid var(--l-border-strong);
  border-radius: 3px;
  background: var(--l-card);
}

/* ── Contact section (light) ────────────────────────────── */
.contact {
  position: relative;
  background: var(--l-bg);
  color: var(--l-fg);
  padding: 0 48px 120px;
  border-top: 1px solid var(--l-border);
}
.contact-inner {
  max-width: 1640px; margin: 0 auto;
  padding-top: 72px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-copy h2 {
  font-family: var(--heading); font-weight: 700;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.045em;
  color: var(--l-fg); margin-bottom: 18px;
}
.contact-copy p {
  color: rgba(0,0,0,0.62); font-size: 16px;
  line-height: 1.6; max-width: 48ch; margin-bottom: 0;
}
.contact-form {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10); border-radius: 4px;
  padding: 32px;
  box-shadow: 0 18px 56px rgba(0,0,0,0.06);
  position: relative;
}
.contact-form > .bk { color: rgba(0,0,0,0.45); }
.contact-form .field { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(0,0,0,0.55);
  font-weight: 600; margin-bottom: 7px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--body); font-size: 14px;
  color: var(--l-fg); padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.16); border-radius: 3px;
  background: #fafafa; width: 100%;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.contact-form select {
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center; padding-right: 36px;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0; border-color: var(--green-deep); background: #fff;
  box-shadow: 0 0 0 3px rgba(90,167,255,0.16);
}
.contact-form .submit-row {
  margin-top: 8px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 14px; flex-wrap: wrap;
}
.contact-form .submit-row .small {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(0,0,0,0.55);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .framework-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .state-item { flex: 0 0 33.333%; }
}
@media (max-width: 768px) {
  .hero-inner { padding: 60px 24px 80px; }
  .framework { padding: 0 24px 80px; }
  .framework-card { padding: 36px 28px; }
  .states { padding: 0 24px 80px; }
  .state-item { flex: 0 0 50%; }
  .certs { padding: 0 24px 80px; }
  .certs-grid { grid-template-columns: 1fr; }
  .support { padding: 0 24px 80px; }
  .contact { padding: 0 24px 100px; }
  .contact-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .certs-supplemental { flex-direction: column; gap: 24px; }
}
@media (max-width: 480px) {
  .state-item { flex: 0 0 100%; }
  .certs-grid { grid-template-columns: 1fr; }
}
