:root {
  --ink: #0e1a22;
  --ink-soft: #3a4f5c;
  --teal: #1a6b6a;
  --teal-bright: #2a9a8f;
  --slate: #1e2f3a;
  --mist: #d8e4e8;
  --panel: rgba(232, 240, 242, 0.92);
  --font-display: "Syne", "Avenir Next", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, #e8f0f2 0%, #cfdce2 55%, #b8ccd4 100%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  color: #eef6f7;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-links a {
  text-decoration: none;
  opacity: 0.92;
}

.header-links a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #eef6f7;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 34, 0.28) 0%, rgba(14, 26, 34, 0.78) 70%),
    url("../images/RegTech_Hero.jpg") center / cover no-repeat;
  transform: scale(1.03);
  animation: hero-drift 20s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 154, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 154, 143, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  animation: grid-fade 12s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes grid-fade {
  from { opacity: 0.35; }
  to { opacity: 0.7; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.95;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--teal-bright);
  color: #06201e;
}

.btn-primary:hover {
  background: #3cb5a8;
}

.btn-ghost {
  background: transparent;
  color: #eef6f7;
  box-shadow: inset 0 0 0 1.5px rgba(238, 246, 247, 0.55);
}

.btn-ghost:hover {
  background: rgba(238, 246, 247, 0.1);
}

.animate-rise {
  animation: rise 0.9s ease both;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }

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

.section {
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.feature-list {
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-top: 1px solid rgba(30, 47, 58, 0.12);
  color: var(--ink-soft);
  line-height: 1.5;
}

.feature-list li:last-child {
  border-bottom: 1px solid rgba(30, 47, 58, 0.12);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--teal);
}

.cta-band {
  padding: 1.75rem 0 0;
  text-align: left;
}

.cta-band p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

.cta-band .btn-primary {
  color: #06201e;
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem;
  }

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

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
