:root {
  color-scheme: light;
  --ink: #071523;
  --ink-2: #10263c;
  --muted: #66778a;
  --paper: #f6f9fb;
  --white: #ffffff;
  --line: rgba(9, 28, 48, 0.12);
  --teal: #10b8a6;
  --cyan: #27b8ff;
  --amber: #f5a623;
  --coral: #ff715b;
  --shadow: 0 24px 80px rgba(7, 21, 35, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::selection {
  color: var(--ink);
  background: rgba(16, 184, 166, 0.35);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(7, 21, 35, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 46px;
  border-radius: 8px;
  filter: drop-shadow(0 12px 24px rgba(16, 184, 166, 0.28));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  padding: 128px 0 70px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 35, 0.96) 0%, rgba(7, 21, 35, 0.78) 34%, rgba(7, 21, 35, 0.24) 72%),
    linear-gradient(0deg, rgba(7, 21, 35, 0.95) 0%, rgba(7, 21, 35, 0.12) 42%, rgba(7, 21, 35, 0.56) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 86px);
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--teal), #7be3d7 54%, var(--amber));
  box-shadow: 0 18px 48px rgba(16, 184, 166, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  padding: 24px;
  color: var(--white);
  background: rgba(7, 21, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel p {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-panel h2 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-panel dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.hero-panel div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel dt {
  margin-bottom: 4px;
  color: var(--white);
  font-weight: 850;
}

.hero-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.trust-band {
  color: var(--white);
  background: #091c30;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 126px;
  padding: 28px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.section {
  padding: 104px 0;
}

.section-light {
  background:
    radial-gradient(circle at top left, rgba(16, 184, 166, 0.12), transparent 32%),
    var(--paper);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, #071523 0%, #10263c 54%, #17334c 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-heading p:not(.eyebrow),
.section-dark .solution-list p {
  color: rgba(255, 255, 255, 0.7);
}

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

.service-card,
.proof-card {
  position: relative;
  min-height: 340px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 46px rgba(7, 21, 35, 0.06);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--coral));
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3,
.proof-card h3,
.solution-list h3,
.process-list h3,
.case-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.service-card p,
.proof-card p,
.process-list p {
  margin: 16px 0 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.73em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
  transform: translateY(-50%);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: var(--white);
  font-weight: 900;
  border-bottom: 2px solid var(--teal);
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.solution-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-list h3 {
  color: var(--white);
}

.solution-list p {
  margin: 12px 0 0;
}

.proof-section {
  padding-bottom: 86px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.proof-card {
  min-height: 260px;
}

.proof-card strong {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  margin-top: 18px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 184, 166, 0.22), transparent 42%),
    #071523;
  border-radius: var(--radius);
  overflow: hidden;
}

.case-panel .eyebrow {
  color: var(--amber);
}

.case-panel h3 {
  color: var(--white);
  font-size: 28px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-row div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
}

.metric-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.process-section {
  background: var(--white);
}

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

.process-list li {
  min-height: 260px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.contact-section {
  padding: 110px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 166, 35, 0.2), transparent 28%),
    linear-gradient(135deg, #071523, #16314b 55%, #0b241f);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(16, 184, 166, 0.16);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #06111d;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 28px;
  align-items: center;
}

.brand-footer {
  color: var(--white);
}

.site-footer p {
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  outline: none;
}

.copyright {
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

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

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

@media (max-width: 980px) {
  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    position: absolute;
    top: 12px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: none;
    min-width: 190px;
    padding: 10px;
    background: rgba(7, 21, 35, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 54px;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .case-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .trust-grid,
  .service-grid,
  .proof-grid,
  .process-list,
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .contact-section {
    padding: 76px 0;
  }

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

  .copyright {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(362px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: auto;
  }

  .site-header {
    padding: 12px 14px;
    min-height: 68px;
  }

  .nav-toggle {
    right: max(14px, calc(100vw - 376px));
  }

  .site-nav {
    right: max(14px, calc(100vw - 376px));
  }

  .brand-mark {
    width: 56px;
    height: 42px;
  }

  .brand strong {
    font-size: 15px;
  }

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

  .hero {
    padding-top: 108px;
  }

  .hero h1 {
    max-width: 11em;
    font-size: 31px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-lede {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-lede span {
    display: block;
  }

  .hero-actions,
  .footer-links,
  .contact-details {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .service-grid,
  .proof-grid,
  .process-list,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:last-child {
    min-height: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 34px;
  }

  .service-card,
  .proof-card,
  .process-list li {
    min-height: auto;
  }

  .case-panel,
  .contact-form {
    padding: 22px;
  }
}
