/* =========================================================
   Trispace — base styles
   ========================================================= */

/* Author styles (e.g. .form-alert { display: flex }) otherwise win the
   cascade over the browser's default [hidden] { display: none }, so an
   element with both a display-setting class and the hidden attribute
   would incorrectly stay visible. This keeps [hidden] authoritative. */
[hidden] {
  display: none !important;
}

:root {
  --blue: #0078d4;
  --blue-dark: #005a9e;
  --sky: #38bdf8;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --container-max: 1280px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding-top: 0;
}

.section--gray {
  background: var(--slate-50);
}

.section-stack {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 20px -8px rgb(0 120 212 / 0.45);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--slate-900);
  border: 1px solid var(--slate-300);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-ghost {
  background: rgb(15 23 42 / 0.06);
  color: var(--slate-900);
}

.btn-ghost:hover {
  background: rgb(15 23 42 / 0.12);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Badge / eyebrow ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgb(0 120 212 / 0.2);
  background: rgb(0 120 212 / 0.06);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
}

.badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* ---------- Section heading ---------- */

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.section-heading.align-left {
  align-items: flex-start;
  text-align: left;
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Grid / cards ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
/* .grid-3 { grid-template-columns: repeat(3, 1fr); } */
/* .grid-4 { grid-template-columns: repeat(4, 1fr); } */

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgb(0 120 212 / 0.3);
}

.card h3 {
  font-size: 1.125rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  box-shadow: 0 10px 20px -8px rgb(0 120 212 / 0.4);
  flex-shrink: 0;
}

.icon-tile svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Industries compact tile */
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgb(0 120 212 / 0.3);
}

.tile svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--blue);
}

.tile span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
}

/* ---------- Header / Navbar ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.25rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  padding: 0.75rem 0;
  background: rgb(255 255 255 / 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgb(226 232 240 / 0.7);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-900);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 20px -8px rgb(0 120 212 / 0.4);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0 0.5rem;
  border-top: 1px solid rgb(226 232 240 / 0.7);
  margin-top: 0.75rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
}

.mobile-menu a.active {
  background: rgb(0 120 212 / 0.08);
  color: var(--blue);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(15 23 42 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(15 23 42 / 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, #000 10%, transparent 75%);
}

.hero-glow-1,
.hero-glow-2 {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  z-index: 0;
}

.hero-glow-1 {
  top: -10rem;
  left: -10rem;
  width: 32rem;
  height: 32rem;
  background: rgb(0 120 212 / 0.2);
}

.hero-glow-2 {
  top: -5rem;
  right: 0;
  width: 28rem;
  height: 28rem;
  background: rgb(56 189 248 / 0.2);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
}

.hero-copy > p {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 34rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--slate-900);
}

.hero-stats-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--slate-200);
}

.hero-visual {
  position: relative;
  height: 26rem;
  display: none;
}

.hero-visual-frame {
  position: absolute;
  inset: 2rem;
  border-radius: 2rem;
  overflow: hidden;
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(226 232 240 / 0.6);
  box-shadow: var(--shadow-lg);
}

.hero-visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(0 120 212 / 0.1), transparent, rgb(56 189 248 / 0.1));
}

.hero-orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb-core {
  position: relative;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 0 80px rgb(56 189 248 / 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  animation: float 6s ease-in-out infinite;
}

.hero-orb-core svg {
  width: 4rem;
  height: 4rem;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgb(56 189 248 / 0.3);
  border-radius: 999px;
  animation: float 6s ease-in-out infinite;
}

.hero-ring--1 { width: 14rem; height: 14rem; animation-duration: 5s; }
.hero-ring--2 { width: 20rem; height: 20rem; animation-duration: 6s; }
.hero-ring--3 { width: 26rem; height: 26rem; animation-duration: 7s; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(226 232 240 / 0.6);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.floating-card span.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  flex-shrink: 0;
}

.floating-card span.icon svg {
  width: 1rem;
  height: 1rem;
}

.floating-card span.label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-800);
  white-space: nowrap;
}

.floating-card--1 { top: 0.5rem; left: 1rem; animation-duration: 6s; }
.floating-card--2 { top: 33%; right: 0; animation-duration: 6.6s; }
.floating-card--3 { bottom: 4rem; left: 0; animation-duration: 7.2s; }
.floating-card--4 { bottom: 0; right: 1.5rem; animation-duration: 7.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    display: block;
  }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 4rem;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(15 23 42 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(15 23 42 / 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, #000 10%, transparent 75%);
}

.page-hero-glow {
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  background: rgb(0 120 212 / 0.15);
  filter: blur(80px);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 44rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ---------- About teaser ---------- */

.about-teaser {
  display: grid;
  gap: 4rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.about-quote {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgb(0 120 212 / 0.1), rgb(56 189 248 / 0.1));
  border: 1px solid var(--slate-200);
  padding: 2.5rem;
}

.about-quote p {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.4;
}

.about-quote footer {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-500);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 0.5rem;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-point span.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgb(0 120 212 / 0.1);
  color: var(--blue);
  flex-shrink: 0;
}

.about-point span.icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.about-point span.text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-700);
}

@media (min-width: 640px) {
  .about-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .about-teaser {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Process timeline ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 10px 20px -8px rgb(0 120 212 / 0.4);
}

.timeline-step h3 {
  font-size: 1rem;
}

.timeline-step p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

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

@media (min-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(7, 1fr);
    position: relative;
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--slate-200);
  }
}

/* ---------- Metrics band ---------- */

.metrics-band {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--slate-900), var(--blue));
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.metric strong {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
}

.metric span {
  font-size: 0.875rem;
  color: rgb(224 242 254 / 0.85);
}

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

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

/* ---------- Testimonials ---------- */

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.testimonial .stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.testimonial .stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.testimonial blockquote {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.6;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-900);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
}

.faq-question .plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-question .plus svg {
  width: 1rem;
  height: 1rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 3rem 1.25rem 0;
  color: var(--slate-600);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-900), var(--blue));
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
}

.cta-banner::before {
  top: -6rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgb(56 189 248 / 0.3);
}

.cta-banner::after {
  bottom: -6rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgb(0 120 212 / 0.4);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
  max-width: 36rem;
}

.cta-banner p {
  color: var(--slate-300);
  max-width: 32rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
  padding: 4.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-col .tagline {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.footer-address svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-address:hover {
  color: var(--blue);
}

.footer-newsletter h4 {
  font-size: 0.875rem;
  margin-bottom: 0.625rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--slate-900);
  background: var(--white);
}

.newsletter-form input::placeholder {
  color: var(--slate-400);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(0 120 212 / 0.15);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background: var(--blue-dark);
}

.newsletter-form button svg {
  width: 0.875rem;
  height: 0.875rem;
}

.newsletter-success {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
}

.newsletter-note {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.625rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-col h4.footer-col-heading--spaced {
  margin-top: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a,
.footer-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.footer-col ul li a svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.footer-col ul li a:hover,
.footer-contact-email:hover {
  color: var(--blue);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-bottom .copyright {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.footer-legal a:hover {
  color: var(--blue);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

/* ---------- Reveal-on-scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Contact form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-form-card {
  border-radius: 1.5rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.03);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.form-field label .required {
  color: #ef4444;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--slate-900);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-400);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(0 120 212 / 0.15);
}

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.form-alert svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.form-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1rem;
}

.form-success svg {
  width: 3.5rem;
  height: 3.5rem;
  color: #10b981;
}

.form-success h3 {
  font-size: 1.25rem;
}

.form-success p {
  color: var(--slate-600);
  max-width: 24rem;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-top-color: var(--white);
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgb(0 120 212 / 0.3);
}

.contact-info-card .icon-tile {
  width: 2.75rem;
  height: 2.75rem;
}

.contact-info-card .icon-tile svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-info-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.contact-info-card .value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-900);
  margin-top: 0.125rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* ---------- Legal pages ---------- */

.prose {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.prose.center {
  text-align: center;
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0;
  text-align: center;
}

.not-found-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.not-found .eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.not-found h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.not-found p {
  color: var(--slate-600);
  max-width: 28rem;
}
