:root {
  --ink: #071f2a;
  --ink-2: #0d3140;
  --mint: #15d6a7;
  --mint-2: #84f2d5;
  --copper: #d78b61;
  --paper: #fffaf1;
  --porcelain: #f5f8f6;
  --fog: #dce8e3;
  --text: #18313b;
  --muted: #64777d;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(7, 31, 42, 0.16);
  --soft-shadow: 0 18px 42px rgba(7, 31, 42, 0.08);
  --radius: 18px;
  --max: 1180px;
}

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

html {
  overflow-x: hidden;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--porcelain);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

main,
section,
div,
article,
aside,
header,
footer,
nav {
  min-width: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(255, 250, 241, 0.96), rgba(245, 248, 246, 0.92) 38%, rgba(216, 247, 238, 0.54)),
    radial-gradient(circle at 10% 12%, rgba(215, 139, 97, 0.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(21, 214, 167, 0.2), transparent 26%);
  animation: ambientDrift 18s ease-in-out infinite alternate;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 32px), 1240px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 30px;
  background: rgba(7, 31, 42, 0.82);
  box-shadow: 0 18px 50px rgba(7, 31, 42, 0.18);
  color: var(--white);
  backdrop-filter: blur(18px);
  transition: top 220ms ease, padding 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(7, 31, 42, 0.94);
  box-shadow: 0 16px 40px rgba(7, 31, 42, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
  padding: 4px;
}

.brand span {
  display: grid;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: relative;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 4px;
}

.site-header.is-open .nav-toggle span {
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span::before {
  transform: translateY(6px) rotate(90deg);
}

.site-header.is-open .nav-toggle span::after {
  opacity: 0;
}

.site-nav {
  grid-column: 1 / -1;
  display: none;
  width: 100%;
  justify-self: stretch;
}

.site-nav ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 0 4px;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: normal;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-header.is-open .site-nav {
  display: block;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-1px);
}

.header-cta,
.btn,
.button-33,
.cta-button,
.btn-primary,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 18px 34px rgba(21, 214, 167, 0.3);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.1;
  padding: 14px 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.header-cta {
  display: none;
  min-height: 44px;
  padding: 12px 18px;
}

.btn:hover,
.btn:focus,
.button-33:hover,
.button-33:focus,
.cta-button:hover,
.cta-button:focus,
.btn-primary:hover,
.btn-primary:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--mint-2);
  box-shadow: 0 22px 42px rgba(21, 214, 167, 0.38);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(7, 31, 42, 0.18);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 138px 24px 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(255, 250, 241, 0.94) 0%, rgba(255, 250, 241, 0.76) 44%, rgba(132, 242, 213, 0.36) 100%),
    radial-gradient(circle at 88% 24%, rgba(21, 214, 167, 0.35), transparent 30%);
  animation: heroWash 14s ease-in-out infinite alternate;
}

.hero-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(52px, 6.5vw, 96px);
}

.hero-grid > *,
.split > *,
.section-heading > *,
.contact-layout > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 20px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--mint);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 620px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.12;
}

h3 {
  font-size: clamp(21px, 2vw, 29px);
}

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

.lead {
  max-width: 620px;
  margin-top: 20px;
  color: #486169;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-logo {
  width: min(190px, 46vw);
  margin-bottom: 28px;
  filter: drop-shadow(0 16px 28px rgba(7, 31, 42, 0.12));
}

.hero-panel {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 470px;
  padding: 28px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(7, 31, 42, 0.96), rgba(13, 49, 64, 0.88));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  animation: panelPulse 4.5s ease-in-out infinite;
}

.hero-panel img {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 1;
  width: min(46%, 340px);
  max-height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.28));
  animation: floatVisual 7s ease-in-out infinite;
}

.metric-stack {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(230px, 38%);
}

.metric {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  animation: floatMetric 6s ease-in-out infinite;
}

.metric:nth-child(2) {
  animation-delay: 0.8s;
}

.metric:nth-child(3) {
  animation-delay: 1.6s;
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 1.1;
}

.section {
  padding: clamp(76px, 10vw, 130px) 24px;
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section.dark h2,
.section.dark h3 {
  color: var(--white);
}

.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.72);
}

.section.paper {
  background: var(--paper);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 620px;
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.visual-card {
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 241, 0.58)),
    radial-gradient(circle at 30% 24%, rgba(21, 214, 167, 0.26), transparent 28%);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.visual-card.dark {
  background: linear-gradient(145deg, var(--ink), var(--ink-2));
}

.visual-card img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78%, 520px);
  transform: translate(-50%, -44%);
  transition: transform 500ms ease;
}

.visual-card:hover img {
  transform: translate(-50%, -48%) scale(1.03);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.proof-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  border: 1px solid rgba(7, 31, 42, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.proof-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: rgba(21, 214, 167, 0.34);
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(7, 31, 42, 0.08);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--mint);
  font-size: 28px;
  font-weight: 900;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.service-card:hover .icon,
.proof-card:hover .icon {
  background: var(--mint);
  color: var(--ink);
  transform: rotate(-3deg) scale(1.04);
}

.service-card h3,
.proof-card h3 {
  margin-bottom: 14px;
}

.service-card p,
.proof-card p {
  font-size: 16px;
}

.feature-list,
.legal-content ul {
  display: grid;
  gap: 13px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.legal-content li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
}

.feature-list li::before,
.legal-content li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: inset 0 0 0 5px rgba(7, 31, 42, 0.12);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.process-step {
  padding: 32px;
  background: rgba(255, 255, 255, 0.07);
  transition: background-color 220ms ease, transform 220ms ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.process-step span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin: 16px 0 12px;
  font-size: 24px;
}

.cta-band {
  position: relative;
  padding: clamp(52px, 8vw, 86px);
  border-radius: 38px;
  background:
    linear-gradient(135deg, var(--ink), var(--ink-2) 52%, #0f5a58),
    radial-gradient(circle at 82% 22%, rgba(21, 214, 167, 0.35), transparent 26%);
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
}

.cta-band h2 {
  max-width: 760px;
  color: var(--white);
}

.cta-band p {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-aside,
.form-panel,
.legal-content {
  border: 1px solid rgba(7, 31, 42, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.contact-aside,
.form-panel {
  padding: clamp(28px, 5vw, 46px);
}

.contact-lines {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-lines a,
.contact-lines span {
  display: block;
  color: var(--text);
  text-decoration: none;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(7, 31, 42, 0.14) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--ink) !important;
  font: inherit;
  padding: 14px 16px;
  box-shadow: none !important;
}

textarea,
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
.form-control:focus {
  border-color: var(--mint) !important;
  outline: 0;
  box-shadow: 0 0 0 5px rgba(21, 214, 167, 0.16) !important;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-content {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 64px);
}

.legal-logo {
  width: min(180px, 54vw);
  margin-bottom: 28px;
}

.legal-notice-lines {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content p {
  margin-top: 14px;
}

.site-footer {
  padding: 56px 24px;
  background: #04171f;
  color: var(--white);
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 36px;
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 20px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--mint);
}

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

.reveal.is-visible,
.hero .reveal {
  opacity: 1;
  transform: translateY(0);
}

.section .service-card,
.section .proof-card,
.section .process-step,
.section .visual-card,
.section .cta-band,
.section-heading,
.contact-aside,
.form-panel,
.legal-content {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.section .service-card.is-visible,
.section .proof-card.is-visible,
.section .process-step.is-visible,
.section .visual-card.is-visible,
.section .cta-band.is-visible,
.section-heading.is-visible,
.contact-aside.is-visible,
.form-panel.is-visible,
.legal-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes ambientDrift {
  from {
    transform: scale(1);
    filter: hue-rotate(0deg);
  }
  to {
    transform: scale(1.04);
    filter: hue-rotate(-8deg);
  }
}

@keyframes heroWash {
  from {
    opacity: 0.88;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(-18px);
  }
}

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

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

@keyframes panelPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .section .service-card,
  .section .proof-card,
  .section .process-step,
  .section .visual-card,
  .section .cta-band,
  .contact-aside,
  .form-panel,
  .legal-content {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (min-width: 1121px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    border-radius: 999px;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    grid-column: auto;
    justify-self: center;
    width: auto;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
  }

  .site-nav a {
    padding: 10px 12px;
    white-space: nowrap;
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: 0;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .section-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    transform: none;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px;
  }

  .brand {
    overflow: hidden;
  }

  .brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
  }

  .brand small {
    font-size: 9px;
  }

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

  .hero {
    padding: 112px 24px 56px;
  }

  .eyebrow {
    display: flex;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .eyebrow::before {
    flex: 0 0 28px;
    margin-top: 7px;
  }

  .hero-grid,
  .section-inner {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  h2 {
    font-size: 25px;
    line-height: 1.18;
  }

  .lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .button-33,
  .cta-button,
  .btn-primary,
  button[type="submit"] {
    width: 100%;
  }

  .hero-panel,
  .visual-card {
    min-height: 360px;
    border-radius: 28px;
  }

  .hero-panel img {
    right: 3%;
    bottom: 0;
    width: 45%;
    max-height: 64%;
  }

  .hero-panel::before {
    inset: 14px;
  }

  .metric-stack {
    grid-template-columns: 1fr;
    width: min(220px, 50%);
  }

  .metric {
    min-height: auto;
    padding: 14px;
  }

  .metric strong {
    font-size: 18px;
  }

  .section {
    padding: 64px 24px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .service-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .proof-card,
  .process-step,
  .contact-aside,
  .form-panel,
  .legal-content {
    border-radius: 24px;
    padding: 24px;
  }

  .cta-band {
    border-radius: 28px;
    padding: 32px 24px;
  }
}
