/* GATCN — Global AI Tribunal & Compliance Network
   Public awareness site — self-contained stylesheet */

:root {
  --bg-deep: #070b14;
  --bg: #0b1220;
  --bg-elevated: #111827;
  --bg-card: rgba(17, 24, 39, 0.72);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(45, 212, 191, 0.35);
  --text: #e8eef7;
  --text-muted: #94a3b8;
  --text-soft: #cbd5e1;
  --teal: #2dd4bf;
  --teal-dim: #14b8a6;
  --sky: #0ea5e9;
  --accent: linear-gradient(135deg, #2dd4bf 0%, #0ea5e9 100%);
  --glow: rgba(45, 212, 191, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Outfit", var(--font);
  --max: 1120px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: #5eead4; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: #042f2e;
  padding: 0.6rem 1rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(45, 212, 191, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg-deep);
}
.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  pointer-events: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: none;
  max-width: 220px;
  line-height: 1.2;
  margin-top: 1px;
}

.nav-links {
  display: none;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"] { color: var(--teal); font-weight: 600; }

.nav-cta { display: none; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

@media (max-width: 979px) {
  .brand-text span { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #042f2e;
  box-shadow: 0 8px 28px rgba(45, 212, 191, 0.28);
}
.btn-primary:hover { color: #042f2e; box-shadow: 0 12px 36px rgba(45, 212, 191, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(45, 212, 191, 0.06);
}
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }

.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(45, 212, 191, 0.08);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.hero h1 .acronym {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .full-name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-soft);
  margin: 0 0 1.25rem;
  letter-spacing: 0.01em;
}
.hero .tagline {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.35;
}
.hero .lede {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 38rem;
  margin: 0 0 2rem;
}
.hero .lede strong {
  color: var(--teal);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.trust-row strong {
  display: block;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin-inline: auto;
}
.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(14, 165, 233, 0.25));
}

section { padding: 4.5rem 0; }

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.08), var(--shadow);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  margin-bottom: 1.1rem;
  color: var(--teal);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.why {
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.04), transparent);
}
.why-panel {
  display: grid;
  gap: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .why-panel {
    grid-template-columns: 1fr 1fr;
    padding: 2.25rem;
    gap: 2rem;
  }
}
.why-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.why-panel p {
  margin: 0;
  color: var(--text-muted);
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.why-list li svg {
  margin-top: 0.2rem;
  color: var(--teal);
  flex-shrink: 0;
}

/* Real-world examples */
.example-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-bottom: 0.25rem;
}
.example-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.28);
}
.example-source {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.examples-footnote {
  margin: 1.75rem 0 0;
  max-width: 48rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* 99% safety claim banner */
.safety {
  background: linear-gradient(180deg, transparent, rgba(45, 212, 191, 0.05), transparent);
}
.claim-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(45, 212, 191, 0.2), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(14, 165, 233, 0.14), transparent 50%),
    var(--bg-elevated);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .claim-banner { padding: 3.5rem 3rem; }
}
.claim-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}
.claim-stat {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.claim-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.claim-lede {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}
.claim-points {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
  text-align: left;
}
.claim-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.claim-points li svg {
  margin-top: 0.2rem;
  color: var(--teal);
  flex-shrink: 0;
}
.claim-footnote {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Partners section */
.partners {
  background: linear-gradient(180deg, transparent, rgba(14, 165, 233, 0.035), transparent);
}
.partner-benefit h3 {
  font-size: 1.15rem;
}
.partners-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.partner-box {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(14, 165, 233, 0.14), transparent 50%),
    var(--bg-elevated);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .partner-box { padding: 3.25rem 3rem; }
}
.partner-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.partner-box > p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.partner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.contact-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.contact-mini a {
  color: var(--text-soft);
  text-decoration: none;
}
.contact-mini a:hover { color: var(--teal); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.75rem 0 2rem;
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.25);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}
.footer-brand span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
  margin-top: 0.35rem;
  max-width: 22rem;
  line-height: 1.4;
}
.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}
.footer-col address {
  font-style: normal;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-col a {
  color: var(--text-soft);
  text-decoration: none;
}
.footer-col a:hover { color: var(--teal); }
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: 0.45rem; }
.footer-col li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-col li a:hover { color: var(--teal); }

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* —— Contact / partnership form —— */
.contact-hero {
  padding: 3.25rem 0 0.5rem;
  position: relative;
}
.contact-hero-inner {
  max-width: 46rem;
}
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-lede {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.35;
}
.contact-intro {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}
.contact-intro strong {
  color: var(--teal);
  font-weight: 700;
}

.contact-main {
  padding: 2.5rem 0 5rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2.5rem;
  }
}

/* Left trust panel */
.trust-panel {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 212, 191, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.6rem 1.35rem 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
@media (max-width: 959px) {
  .trust-panel { position: static; }
}
@media (min-width: 640px) {
  .trust-panel { padding: 1.85rem 1.75rem 1.75rem; }
}

.trust-visual {
  max-width: 240px;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 16px 36px rgba(14, 165, 233, 0.22));
}
.trust-visual svg {
  width: 100%;
  height: auto;
}

.trust-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0 0 1.1rem;
}

.trust-benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.trust-benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.trust-benefits li svg {
  color: var(--teal);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.trust-benefits strong {
  color: var(--text);
  font-weight: 650;
}

.trust-panel .email-card {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.15rem;
  box-shadow: none;
}
@media (min-width: 640px) {
  .trust-panel .email-card { padding: 1.35rem 1.25rem; }
}
.email-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.45rem !important;
}
.email-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.email-card > p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.email-card-address {
  margin: 0.35rem 0 0.3rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 650;
}
.email-card-address a {
  color: var(--teal);
  text-decoration: none;
  word-break: break-all;
}
.email-card-address a:hover {
  color: #5eead4;
  text-decoration: underline;
}
.email-card-phone {
  margin: 0 0 0.65rem !important;
  color: var(--text-soft) !important;
  font-size: 0.95rem !important;
}
.email-card-phone a {
  color: var(--text-soft);
  text-decoration: none;
}
.email-card-phone a:hover { color: var(--teal); }
.email-card-meta {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

.trust-signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.trust-signals li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.trust-signals li svg {
  color: var(--teal);
  flex-shrink: 0;
  opacity: 0.9;
}

/* Right form shell */
.form-shell {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(14, 165, 233, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(45, 212, 191, 0.07), transparent 50%),
    var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem 1.25rem 1.6rem;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .form-shell { padding: 2rem 1.85rem 2rem; }
}

.form-shell-head {
  margin-bottom: 1.5rem;
}
.form-shell-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.form-shell-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.alert-body strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.alert-success {
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.42);
  color: var(--text-soft);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.06), 0 12px 32px rgba(45, 212, 191, 0.08);
}
.alert-success .alert-icon {
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--teal);
}
.alert-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.38);
  color: #fecaca;
  box-shadow: 0 12px 32px rgba(248, 113, 113, 0.06);
}
.alert-error .alert-icon {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}
.alert-error a { color: #fda4af; }
.alert-actions {
  margin: 1rem 0 0;
}
.alert-actions .btn {
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.7rem 1.2rem;
}

.contact-form {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  position: relative;
}

.form-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem 1.2rem;
  }
  .form-field-full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.form-field .req {
  color: var(--teal);
  font-weight: 700;
}
.form-field .optional {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.55;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-color: rgba(7, 11, 20, 0.72);
  padding-right: 2.5rem;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(45, 212, 191, 0.4);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(7, 11, 20, 0.85);
  box-shadow:
    0 0 0 3px rgba(45, 212, 191, 0.2),
    0 0 24px rgba(45, 212, 191, 0.12);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}
.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: #fca5a5;
}

.form-note {
  margin: 1.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.form-actions .btn {
  border: none;
}
.btn-submit {
  width: 100%;
  box-shadow: 0 10px 32px rgba(45, 212, 191, 0.32);
}
@media (min-width: 480px) {
  .btn-submit { width: auto; min-width: 260px; }
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(45, 212, 191, 0.45);
}
.btn-submit:active {
  transform: translateY(0);
}

/* Honeypot — visually and accessibly hidden from humans */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn-submit:hover { transform: none; }
  .form-field input,
  .form-field select,
  .form-field textarea { transition: none; }
}

/* ========== Resources / articles ========== */
.page-hero {
  padding: calc(var(--nav-h) + 2.5rem) 0 2rem;
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.page-hero .lede,
.page-hero .contact-lede {
  max-width: 42rem;
  color: var(--text-soft);
  margin: 0;
}

.resources-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 720px) {
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .resources-grid { grid-template-columns: repeat(3, 1fr); }
}

.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.4rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.resource-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.resource-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0.5rem 0 0.65rem;
  line-height: 1.35;
}
.resource-card h2 a {
  color: var(--text);
  text-decoration: none;
}
.resource-card h2 a:hover { color: var(--teal); }
.resource-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  flex: 1;
}
.resource-card .card-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.resource-meta .badge {
  color: var(--teal);
  font-weight: 600;
}

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}
.article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.article-meta time { color: var(--text-soft); }
.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.article .deck {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}
.article h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}
.article p {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
}
.article ul, .article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-soft);
}
.article li { margin-bottom: 0.45rem; }
.article a { font-weight: 500; }
.article-cta {
  margin-top: 2.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(45, 212, 191, 0.06);
}
.article-cta h2 {
  margin-top: 0;
  font-size: 1.15rem;
}
.article-cta p { margin-bottom: 1rem; }
.article-nav {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}
.resources-cta-band {
  margin: 0 0 3.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: rgba(14, 165, 233, 0.08);
  text-align: center;
}
.resources-cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.resources-cta-band p {
  margin: 0 auto 1.15rem;
  max-width: 36rem;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .resource-card:hover { transform: none; }
}
