/* Glial static site styles — reliable without purged Next/Tailwind utilities */
:root {
  --ink: #0c1929;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --brand: #0284c7;
  --brand-dark: #0369a1;
  --brand-soft: #e0f2fe;
  --hero: #0c1929;
  --hero-mid: #16324f;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 0.65rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(2, 132, 199, 0.06), transparent 50%),
    var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

a:hover {
  color: var(--brand);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}

@media (min-width: 640px) {
  .container {
    padding-left: max(1.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.75rem, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: max(2rem, env(safe-area-inset-left, 0px));
    padding-right: max(2rem, env(safe-area-inset-right, 0px));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus,
.sr-only:focus-visible {
  position: fixed;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  min-width: 0;
  max-width: calc(100% - 3rem);
}

.site-logo:hover {
  color: var(--brand);
}

.site-logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: block;
}

.site-logo-text {
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.footer-brand h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-desktop {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-desktop a {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--brand);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius);
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

.nav-cta:hover {
  background: var(--brand) !important;
  color: #fff !important;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  border-radius: 0.375rem;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--wash);
}

.nav-mobile {
  display: none;
  padding-bottom: 1rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.65rem 0;
  color: var(--ink-soft);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
  .site-nav {
    height: 5rem;
  }
  .site-logo {
    font-size: 1.15rem;
  }
  .site-logo-mark {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.site-main {
  padding-top: 4.25rem;
}

@media (min-width: 768px) {
  .site-main {
    padding-top: 5rem;
  }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-tight {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.scroll-mt {
  scroll-margin-top: 6rem;
}

.bg-wash {
  background: var(--wash);
}

.section-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #0c1929 0%, #16324f 42%, #0c1929 100%);
  min-height: min(78vh, 36rem);
  display: flex;
  align-items: center;
}

.hero-visual {
  min-height: 0;
  display: block;
  background: #05070d;
  align-items: stretch;
  position: relative;
}

.hero-media {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  /* Always 16:9 — no max-height (that clipped when zoomed out / ultra-wide) */
  aspect-ratio: 16 / 9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Desktop: CTAs overlay the bottom of the artwork */
.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.75rem 0 3.4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 13, 0.35) 40%, rgba(5, 7, 13, 0.88) 100%);
  line-height: normal;
  z-index: 1;
}

.hero-overlay-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-visual .hero-actions {
  justify-content: flex-start;
}

.hero-chevron {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.4);
  background: rgba(5, 7, 13, 0.35);
  flex-shrink: 0;
  margin: 0;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
  animation: chevronBob 1.8s ease-in-out infinite;
}

.hero-chevron:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
}

@keyframes chevronBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chevron {
    animation: none;
    transform: translateX(-50%);
  }
}

/* Mobile: keep 16:9 artwork fully visible (no edge crop); CTAs under the image */
@media (max-width: 640px) {
  .hero-media {
    background: #05070d;
  }

  .hero-media img {
    object-fit: contain;
    object-position: center center;
  }

  .hero-overlay {
    position: relative;
    padding: 1rem max(1.5rem, env(safe-area-inset-right, 0px)) 1.15rem max(1.5rem, env(safe-area-inset-left, 0px));
    background: #05070d;
  }

  .hero-overlay-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .hero-visual .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-visual .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-chevron {
    position: relative;
    left: auto;
    bottom: auto;
    align-self: center;
    margin-top: 0.15rem;
    animation: chevronBobMobile 1.8s ease-in-out infinite;
  }

  @keyframes chevronBobMobile {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(4px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-chevron {
      animation: none;
      transform: none;
    }
  }

  .about-split h2 {
    max-width: none;
  }

  .home-insight a {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .home-insight img {
    width: 5.5rem;
    height: 3.75rem;
  }
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.trust-bar-inner span {
  position: relative;
  padding: 0 1.15rem 0 0.9rem;
}

.trust-bar-inner span:not(:last-child) {
  border-right: 1px solid var(--line);
}

.trust-bar-inner span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--brand);
}

@media (max-width: 640px) {
  .trust-bar-inner {
    flex-direction: column;
    gap: 0.45rem;
  }

  .trust-bar-inner span {
    padding: 0 0 0 0.9rem;
    border-right: 0 !important;
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-tight {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .site-logo-text {
    font-size: 0.92rem;
  }

  .banner {
    padding: 1.5rem;
  }

  .banner-actions {
    width: 100%;
  }

  .banner-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .service-item {
    padding: 1.15rem 1.05rem;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .form-card {
    padding: 1.15rem;
  }

  .footer-grid {
    gap: 1.75rem;
  }
}

#about.section {
  padding-top: 3.25rem;
}

.hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(56, 189, 248, 0.35) 0, transparent 55%),
    radial-gradient(ellipse 45% 40% at 85% 70%, rgba(14, 116, 144, 0.4) 0, transparent 50%);
  animation: heroPulse 12s ease-in-out infinite alternate;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

@keyframes heroPulse {
  from { opacity: 0.35; transform: scale(1); }
  to { opacity: 0.55; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
}

.hero-inner {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-inner {
    padding-top: 5.5rem;
    padding-bottom: 6.5rem;
  }
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #93c5fd;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 16ch;
  color: #fff;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 34rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-split {
  display: grid;
  gap: 1.5rem 3rem;
}

@media (min-width: 800px) {
  .about-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.about-split h2 { max-width: 14ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-block { width: 100%; }

h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
}

h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lede {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.prose-p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 42rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.services-secondary {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .services-secondary {
    grid-template-columns: 1fr 1.15fr;
  }
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
  height: 100%;
}

.service-item:hover {
  border-color: #94a3b8;
  color: inherit;
  transform: translateY(-2px);
}

.service-item-compact {
  grid-template-columns: 1fr;
}

.service-item-featured {
  grid-template-columns: 1fr;
  border-color: #7dd3fc;
  background: linear-gradient(165deg, #f0f9ff 0%, #fff 55%);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.55rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  flex-shrink: 0;
}

.service-eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-family: var(--font-display);
}

.service-item h3 {
  font-size: 1.12rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.service-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  font-size: 0.95rem;
}

.service-item-featured:hover .service-link {
  color: var(--brand-dark);
}

.service-item:hover .service-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.outcomes-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .outcomes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.outcome {
  padding: 0;
}

.outcome-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-family: var(--font-display);
}

.outcome h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.outcome p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.card:hover {
  border-color: #94a3b8;
  color: inherit;
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.card-featured {
  border-color: #7dd3fc;
  background: linear-gradient(165deg, #f0f9ff 0%, #fff 60%);
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.scenario {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.scenario h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.scenario p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.step {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #0c1929, #16324f);
  color: #fff;
}

@media (min-width: 720px) {
  .banner {
    flex-direction: row;
    align-items: center;
  }
}

.banner h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.banner p {
  margin: 0;
  color: #cbd5e1;
  max-width: 36rem;
}

.home-insight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .home-insight-list { grid-template-columns: 1fr 1fr; }
}

.home-insight a {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.18s var(--ease);
  height: 100%;
  color: inherit;
}

.home-insight a:hover {
  border-color: #94a3b8;
  color: inherit;
}

.home-insight img {
  width: 7.5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.4rem;
  background: var(--wash);
}

.home-insight span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.home-insight em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
}

.home-insight strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}

.home-insight small {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-insight-more { margin: 1.25rem 0 0; }

.home-insight-more a {
  color: var(--brand);
  font-weight: 600;
}

.contact-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 3.5rem;
  }
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.contact-details li { display: grid; gap: 0.15rem; }

.contact-details span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details a {
  color: var(--ink);
  font-weight: 600;
}

.contact-details a:hover { color: var(--brand); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.5rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  font: inherit;
  font-size: 1rem; /* 16px — avoids iOS zoom-on-focus */
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form-check a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status.is-ok { color: #047857; }
.form-status.is-err { color: #b91c1c; }

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq[open] summary { border-bottom: 1px solid var(--line); }

.faq p {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  color: var(--ink-soft);
}

.site-footer {
  background: #0c1929;
  color: #94a3b8;
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.insights-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.insight-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .insight-grid { grid-template-columns: 1fr 1fr; }
}

.insight-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.18s var(--ease);
}

.insight-card:hover { border-color: #94a3b8; }

.insight-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.insight-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--wash);
}

.insight-card-body { padding: 1.1rem 1.2rem 1.25rem; }

.insight-card-meta {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.insight-card h2 {
  font-size: 1.12rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.insight-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.article .meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.article h2 { margin-top: 2.25rem; }

.article h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.article p,
.article li { color: var(--ink-soft); }

.article ul,
.article ol { padding-left: 1.25rem; }

.article-hero { margin: 0 0 1.75rem; }

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}

.article-hero figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.article th,
.article td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  color: var(--ink-soft);
}

.article th {
  background: var(--wash);
  color: var(--ink);
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.back-link:hover { color: var(--brand-dark); }

.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.panel-dark {
  background: #0c1929;
  color: #fff;
  border-radius: 0.85rem;
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.panel-dark p { color: #cbd5e1; }
.panel-dark .btn { margin-top: 0.75rem; }

.max-xl {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.max-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
