:root {
  --ink: #102028;
  --ink-soft: #3d4f59;
  --paper: #f3f6f7;
  --paper-deep: #e6ecee;
  --navy: #0c2a36;
  --navy-deep: #071820;
  --teal: #1f9b8d;
  --teal-bright: #2bb8a8;
  --bronze: #c9a66b;
  --line: rgba(12, 42, 54, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(7, 24, 32, 0.14);
  --radius: 4px;
  --font-sans: "Figtree", "Segoe UI", sans-serif;
  --font-display: "Newsreader", "Georgia", serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(43, 184, 168, 0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 20%, rgba(201, 166, 107, 0.08), transparent 55%),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(243, 246, 247, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-over-hero:not(.is-scrolled) .brand span,
.site-header.is-over-hero:not(.is-scrolled) .nav a {
  color: #f4f8f8;
}

.site-header.is-over-hero:not(.is-scrolled) .nav-toggle span {
  background: #f4f8f8;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--navy);
  font-size: 1.05rem;
}

.brand img {
  border-radius: 8px;
}

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

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:first-of-type {
  top: 18px;
}

.nav-toggle span:last-of-type {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:first-of-type {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-of-type {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: rgba(243, 246, 247, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.85rem 0.25rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--teal-bright);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: #45c9ba;
  color: var(--navy-deep);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f4f8f8;
  background: rgba(7, 24, 32, 0.2);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #f4f8f8;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 32, 0.35) 0%, rgba(7, 24, 32, 0.15) 35%, rgba(7, 24, 32, 0.78) 78%, rgba(7, 24, 32, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 24, 32, 0.55) 0%, rgba(7, 24, 32, 0.1) 55%, rgba(7, 24, 32, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
  max-width: 760px;
  margin-left: max((100% - var(--shell)) / 2, 1.25rem);
  margin-right: auto;
  width: min(760px, calc(100% - 2.5rem));
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 1.4rem;
  color: #fff;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin-bottom: 1.1rem;
  color: rgba(244, 248, 248, 0.96);
}

.hero-lead {
  max-width: 54ch;
  font-size: 1.05rem;
  color: rgba(232, 240, 240, 0.84);
  margin-bottom: 1.75rem;
}

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

/* Trust strip */
.trust-strip {
  background: var(--navy);
  color: rgba(244, 248, 248, 0.78);
  border-top: 1px solid rgba(43, 184, 168, 0.25);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
}

.trust-inner p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
}

.trust-inner ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e8f4f2;
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.85rem;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head h2,
.split-copy h2,
.compliance-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.split-aside {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.split-aside p + p {
  margin-top: 1rem;
}

.problem {
  background:
    linear-gradient(180deg, rgba(230, 236, 238, 0.65), transparent),
    url("images/pattern-grid.svg");
  border-bottom: 1px solid var(--line);
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.capability {
  padding: 1.6rem 1.4rem 1.7rem;
  border-top: 2px solid var(--navy);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.25s ease, transform 0.25s ease;
}

.capability:hover {
  background: #fff;
  transform: translateY(-3px);
}

.capability-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--bronze);
  margin-bottom: 1.1rem;
}

.capability h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.capability p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Deployment */
.deployment {
  background:
    linear-gradient(135deg, #0c2a36 0%, #134252 55%, #0c3d45 100%);
  color: #f2f7f7;
}

.deployment .eyebrow {
  color: var(--bronze);
}

.deployment .section-lead {
  color: rgba(232, 240, 240, 0.78);
}

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

.deploy-panel {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-light);
  background: rgba(7, 24, 32, 0.28);
}

.deploy-panel-accent {
  border-color: rgba(43, 184, 168, 0.45);
  background:
    linear-gradient(160deg, rgba(43, 184, 168, 0.18), rgba(7, 24, 32, 0.2));
}

.deploy-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}

.deploy-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 0.85rem;
}

.deploy-panel p {
  color: rgba(232, 240, 240, 0.8);
}

.deploy-panel ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.deploy-panel li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(244, 248, 248, 0.92);
  font-weight: 500;
}

.deploy-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bronze);
}

/* Compliance */
.compliance {
  background: #fff;
  border-block: 1px solid var(--line);
}

.compliance-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.compliance-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.law-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.law-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.law-state {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

/* Audience */
.audience-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.audience-item {
  padding: 1.75rem 1.35rem 1.75rem 0;
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
  margin-right: 1.5rem;
}

.audience-item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.audience-item h3 {
  font-size: 1.35rem;
}

.audience-item p {
  color: var(--ink-soft);
}

/* Process */
.process {
  background:
    linear-gradient(180deg, transparent, rgba(230, 236, 238, 0.7));
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.steps li {
  display: grid;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
}

.steps span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bronze);
}

.steps h3 {
  font-size: 1.25rem;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Contact */
.contact {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(43, 184, 168, 0.12), transparent 60%),
    var(--navy-deep);
  color: #f2f7f7;
}

.contact .eyebrow {
  color: var(--bronze);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy p {
  color: rgba(232, 240, 240, 0.8);
  font-size: 1.05rem;
}

.contact-meta {
  margin-top: 2rem;
  display: grid;
  gap: 0.35rem;
}

.contact-meta a {
  color: var(--teal-bright);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.contact-meta a:hover {
  color: #7edfd3;
}

.contact-meta p {
  margin: 0;
  color: rgba(232, 240, 240, 0.55);
  font-size: 0.92rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-light);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(244, 248, 248, 0.78);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 24, 32, 0.45);
  color: #f4f8f8;
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-bright);
  background: rgba(7, 24, 32, 0.7);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--bronze) 50%),
    linear-gradient(135deg, var(--bronze) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(232, 240, 240, 0.4);
}

.form-note {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--teal-bright);
}

.form-note.is-error {
  color: #f0b4a8;
}

/* Footer */
.site-footer {
  background: #06141b;
  color: rgba(232, 240, 240, 0.65);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(43, 184, 168, 0.18);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: #f4f8f8;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0;
  max-width: 36ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(244, 248, 248, 0.8);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--teal-bright);
}

.footer-legal {
  margin: 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .capability:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .capability-grid,
  .audience-row,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .audience-item {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.4rem;
  }

  .audience-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .split,
  .compliance-layout,
  .contact-layout,
  .deploy-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-over-hero:not(.is-scrolled) {
    background: transparent;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }

  .hero-content {
    padding-bottom: 3.25rem;
  }

  .capability-grid,
  .audience-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .audience-item {
    border-bottom: 1px solid var(--line);
  }

  .audience-item:last-child {
    border-bottom: 0;
  }

  .law-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
