/* Shared site design — mirrors homepage tokens without Three.js / custom cursor */
:root {
  --green: #c5fb88;
  --teal: #00b9a1;
  --dark: #00536b;
  --darker: #001a1f;
  --accent: #00d4aa;
  --ink: #e8fff8;
  --muted: rgba(232, 255, 248, 0.72);
  --surface: rgba(0, 16, 22, 0.78);
  --surface-strong: rgba(0, 12, 18, 0.92);
  --border: rgba(197, 251, 136, 0.22);
  --nav-h: 88px;
}

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

html { scroll-behavior: smooth; background: var(--darker); }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--darker);
  overflow-x: hidden;
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.page-atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--darker);
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(0, 8, 12, 0.5) 100%);
}

main { position: relative; z-index: 3; }

/* ── Nav ── */
.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1120px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 18, 24, 0.92);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.nav-brand img { height: 42px; width: auto; }

.nav-brand span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green);
  background: rgba(197, 251, 136, 0.08);
}

.nav-cta {
  margin-left: 6px;
  padding: 11px 20px !important;
  background: linear-gradient(135deg, var(--teal), var(--accent)) !important;
  color: var(--darker) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  color: var(--darker) !important;
  background: linear-gradient(135deg, var(--accent), var(--green)) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 49;
  width: min(1120px, calc(100% - 28px));
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(0, 20, 24, 0.98);
}

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

.mobile-menu a {
  display: block;
  padding: 14px 18px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.is-active {
  background: rgba(197, 251, 136, 0.08);
  color: var(--green);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero {
  padding: 140px max(22px, 5vw) 72px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.page-hero .container { max-width: 860px; }

.page-section {
  padding: 72px max(22px, 5vw);
  position: relative;
  z-index: 3;
}

.page-section.tight { padding-top: 40px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 185, 161, 0.25);
  border-radius: 999px;
  background: rgba(0, 185, 161, 0.12);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.page-title {
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(120deg, var(--green) 0%, var(--teal) 52%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-lead,
.section-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

.page-hero .page-lead { margin: 0 auto 32px; }

.section-head { margin-bottom: 40px; }

.section-head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--darker);
  background: linear-gradient(135deg, var(--green), var(--accent));
  box-shadow: 0 14px 40px rgba(0, 185, 161, 0.25);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 16, 22, 0.75);
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

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

.site-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  min-height: 220px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
}

.site-card:hover {
  border-color: rgba(197, 251, 136, 0.35);
  transform: translateY(-3px);
}

.site-card h3 {
  font-size: 18px;
  line-height: 1.3;
}

.site-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.site-card .link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
}

.site-card:hover .link { color: var(--green); }

.service-icon,
.blog-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service-icon svg,
.blog-icon svg { width: 26px; height: 26px; color: #fff; }

.service-icon--teal,
.blog-icon--teal { background: linear-gradient(135deg, var(--teal), var(--accent)); }
.service-icon--green,
.blog-icon--green { background: linear-gradient(135deg, var(--green), var(--accent)); }
.service-icon--green svg,
.blog-icon--green svg { color: var(--darker); }
.service-icon--accent,
.blog-icon--accent { background: linear-gradient(135deg, var(--accent), var(--teal)); }
.service-icon--dark { background: linear-gradient(135deg, var(--dark), var(--darker)); }

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 185, 161, 0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.glass-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(0, 30, 38, 0.96), rgba(0, 14, 20, 0.94));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split p { color: var(--muted); line-height: 1.65; margin-bottom: 14px; }

.center-cta { text-align: center; margin-top: 40px; }

.cta-band {
  padding: 88px max(22px, 5vw);
  text-align: center;
  position: relative;
  z-index: 3;
}

.cta-band .page-lead { margin: 18px auto 28px; }

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.step-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 10px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Breadcrumb + article */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--green); }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.article h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 32px 0 14px;
  color: #fff;
}

.article h3 {
  font-size: 18px;
  margin: 24px 0 10px;
  color: var(--green);
}

.article p,
.article li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 16px;
}

.article ul { padding-left: 1.25rem; margin-bottom: 16px; }

.article-cta {
  margin-top: 36px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(0, 185, 161, 0.1);
  text-align: center;
}

.prose-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.prose-legal h2 {
  font-size: 22px;
  margin: 28px 0 12px;
  color: var(--green);
}

.prose-legal h3 {
  font-size: 17px;
  margin: 20px 0 10px;
  color: var(--ink);
}

.prose-legal p,
.prose-legal li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.prose-legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose-legal a:hover { color: var(--green); }

.prose-legal ul { padding-left: 1.2rem; margin-bottom: 14px; }

.prose-legal strong { color: var(--ink); }

.error-block {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px max(22px, 5vw) 80px;
}

.error-code {
  font-size: clamp(80px, 18vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, var(--green), var(--teal), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Contact form embed */
.contact-form-shell {
  padding: clamp(12px, 2vw, 24px);
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  overflow: hidden;
  min-height: 520px;
}

.contact-form-shell iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 16px;
  background: transparent;
}

/* Footer */
.site-footer {
  padding: 80px max(22px, 5vw) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 8, 12, 0.96);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img { height: 40px; }

.footer-copy {
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 22px;
}

.socials { display: flex; gap: 12px; }

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}

.socials a:hover {
  background: rgba(197, 251, 136, 0.12);
  transform: translateY(-2px);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a:hover { color: var(--green); }

.footer-bottom {
  width: min(1180px, 100%);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1024px) {
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

.featured-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.stat-tile {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0, 185, 161, 0.1);
  text-align: center;
}

.stat-tile strong {
  display: block;
  font-size: 28px;
  color: var(--green);
  margin-bottom: 4px;
}

.stat-tile span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .cards-grid.cols-3,
  .cards-grid.cols-4,
  .cards-grid.cols-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-brand span { display: none; }
  .featured-panel { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
