:root {
  --contact-ink: #0f172a;
  --contact-muted: #475569;
  --contact-line: #d8e1ee;
  --contact-indigo: #4f46e5;
  --contact-indigo-dark: #312e81;
  --contact-gold: #f59e0b;
}

html {
  scroll-behavior: smooth;
}

.contact-page {
  margin: 0;
  overflow-x: hidden;
  background: #f8fafc;
  color: var(--contact-ink);
  font-family: "Inter", sans-serif;
}

.contact-skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--contact-ink);
  font-weight: 800;
  transition: top 160ms ease;
}

.contact-skip-link:focus {
  top: 12px;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 14vw, 190px) 0 clamp(76px, 9vw, 120px);
  background:
    linear-gradient(rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.97)),
    radial-gradient(circle at 20% 20%, #4f46e5 0%, transparent 45%);
  color: #ffffff;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
}

.contact-hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: contactGlow 8s ease-in-out infinite alternate;
}

.contact-hero__glow--one {
  left: -140px;
  top: -120px;
  background: #06b6d4;
}

.contact-hero__glow--two {
  right: -100px;
  bottom: -180px;
  background: #8b5cf6;
  animation-delay: -3s;
}

.contact-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
}

.contact-kicker {
  margin: 0 0 14px;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.contact-hero__copy > p:not(.contact-kicker) {
  max-width: 720px;
  margin: 26px 0 24px;
  color: #dbeafe;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.contact-hero__copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #f8fafc;
}

.contact-hero__copy li {
  position: relative;
  padding-left: 27px;
  line-height: 1.55;
}

.contact-hero__copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 800;
}

.contact-hero__signal {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(30, 41, 59, 0.68);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  animation: contactRise 700ms ease-out both;
}

.contact-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero__status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.13);
}

.contact-hero__signal strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.12;
}

.contact-hero__signal > p {
  margin: 14px 0 30px;
  color: #cbd5e1;
  line-height: 1.65;
}

.contact-hero__mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.contact-hero__mini-grid span {
  padding: 11px 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #e0e7ff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.contact-options,
.contact-clarity {
  padding: clamp(72px, 8vw, 112px) 0;
}

.contact-section-heading {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}

.contact-section-heading .contact-kicker,
.contact-form-copy .contact-kicker {
  color: #4338ca;
}

.contact-section-heading h2,
.contact-form-copy h2 {
  margin: 0 0 16px;
  color: var(--contact-ink);
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact-section-heading > p:last-child,
.contact-form-copy > p:not(.contact-kicker) {
  margin: 0;
  color: var(--contact-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-option {
  min-height: 345px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--contact-line);
  border-radius: 22px;
  background: #ffffff;
  color: var(--contact-ink);
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.contact-option:hover {
  transform: translateY(-7px);
  border-color: #818cf8;
  box-shadow: 0 24px 54px rgba(30, 41, 59, 0.14);
}

.contact-option:focus-visible {
  outline: 4px solid #f59e0b;
  outline-offset: 4px;
}

.contact-option--primary {
  background: linear-gradient(145deg, #312e81, #4f46e5);
  border-color: #4f46e5;
  color: #ffffff;
}

.contact-option__number {
  color: #6366f1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-option--primary .contact-option__number {
  color: #c7d2fe;
}

.contact-option__icon {
  width: 58px;
  height: 58px;
  margin: 42px 0 24px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 1.7rem;
  font-weight: 800;
}

.contact-option--primary .contact-option__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-option strong {
  font-size: 1.24rem;
  line-height: 1.25;
}

.contact-option small {
  margin-top: 10px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-option--primary small {
  color: #e0e7ff;
}

.contact-option__link {
  margin-top: auto;
  padding-top: 24px;
  color: #4338ca;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-option--primary .contact-option__link {
  color: #fde68a;
}

.contact-form-section {
  scroll-margin-top: 78px;
  padding: clamp(72px, 9vw, 120px) 0;
  background: #eef2f7;
  border-block: 1px solid #dbe4ee;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(40px, 7vw, 92px);
}

.contact-form-copy {
  position: sticky;
  top: 96px;
}

.contact-form-note {
  margin-top: 30px;
  padding: 20px;
  border-left: 4px solid var(--contact-gold);
  border-radius: 0 14px 14px 0;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.contact-form-note strong {
  color: var(--contact-ink);
}

.contact-form-note p {
  margin: 7px 0 0;
  color: var(--contact-muted);
  line-height: 1.6;
}

.contact-form-note a,
.contact-form-fallback a,
.contact-privacy-note a {
  color: #3730a3;
  font-weight: 800;
  text-underline-offset: 3px;
}

.contact-form-card {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--contact-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.contact-form-frame {
  width: 100%;
  min-height: 760px;
  display: block;
  border: 0;
  border-radius: 14px;
  background: #f8fafc;
}

.contact-form-fallback,
.contact-privacy-note {
  margin: 16px 8px 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.6;
}

.contact-privacy-note {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.contact-clarity {
  background: #ffffff;
}

.contact-clarity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-clarity article {
  padding: 28px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.contact-clarity article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-weight: 900;
}

.contact-clarity h3 {
  margin: 0 0 10px;
  color: var(--contact-ink);
  font-size: 1.15rem;
}

.contact-clarity p {
  margin: 0;
  color: var(--contact-muted);
  line-height: 1.7;
}

@keyframes contactGlow {
  from { transform: translate3d(0, 0, 0) scale(0.9); }
  to { transform: translate3d(35px, -20px, 0) scale(1.12); }
}

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

@media (max-width: 900px) {
  .contact-hero__layout,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero__signal {
    max-width: 620px;
  }

  .contact-option-grid,
  .contact-clarity-grid {
    grid-template-columns: 1fr;
  }

  .contact-option {
    min-height: 260px;
  }

  .contact-option__icon {
    margin: 28px 0 22px;
  }

  .contact-form-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .contact-hero {
    padding-top: 112px;
  }

  .contact-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .contact-hero__copy,
  .contact-section-heading,
  .contact-form-copy {
    text-align: center;
  }

  .contact-hero__copy li {
    padding-left: 0;
  }

  .contact-hero__copy li::before {
    position: static;
    margin-right: 8px;
  }

  .contact-option {
    min-height: 245px;
    padding: 24px;
  }

  .contact-form-card {
    margin-inline: -6px;
    padding: 8px;
    border-radius: 18px;
  }

  .contact-form-frame {
    min-height: 820px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-hero__glow,
  .contact-hero__signal { animation: none; }
  .contact-option { transition: none; }
}

/* Plain-language privacy notice */
.policy-page {
  margin: 0;
  background: #f8fafc;
  color: var(--contact-ink);
  font-family: "Inter", sans-serif;
}

.policy-hero {
  padding: 138px 0 70px;
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  color: #ffffff;
}

.policy-hero h1 {
  max-width: 840px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.policy-hero p:not(.contact-kicker) {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.7;
}

.policy-content {
  padding: clamp(60px, 8vw, 100px) 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
  gap: clamp(34px, 7vw, 90px);
}

.policy-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 20px;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: #ffffff;
}

.policy-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--contact-ink);
}

.policy-nav a {
  display: block;
  padding: 7px 0;
  color: #4338ca;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-copy section {
  scroll-margin-top: 96px;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #dbe4ee;
}

.policy-copy section:last-child {
  border-bottom: 0;
}

.policy-copy h2 {
  margin: 0 0 14px;
  color: var(--contact-ink);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.policy-copy p,
.policy-copy li {
  color: var(--contact-muted);
  line-height: 1.78;
}

.policy-copy ul {
  padding-left: 1.25rem;
}

.policy-copy a {
  color: #3730a3;
  font-weight: 750;
  text-underline-offset: 3px;
}

.policy-updated {
  display: inline-flex;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #e0e7ff;
  font-size: 0.83rem;
}

@media (max-width: 760px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }
}
