:root {
  --ink: #07111f;
  --ink-soft: #101f31;
  --surface: #f5f8fb;
  --paper: #ffffff;
  --text: #1d2b3c;
  --muted: #5f6e7d;
  --line: #dce5ed;
  --accent: #39d6b2;
  --accent-strong: #18bd9b;
  --blue: #65a9ff;
  --shadow: 0 24px 70px rgba(4, 17, 31, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; border-radius: 8px; background: var(--accent); color: var(--ink); font-weight: 800; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 31, .92);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 128px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: rgba(255,255,255,.82); font-size: .94rem; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav .nav-cta { padding: 10px 17px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: #fff; }
.site-nav .nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle { display: none; width: 46px; height: 42px; padding: 10px; border: 0; border-radius: 9px; background: rgba(255,255,255,.08); cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  min-height: 820px;
  padding: 176px 0 110px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7,17,31,.98), rgba(7,17,31,.88)),
    radial-gradient(circle at 90% 10%, #174266 0, transparent 42%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 83%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -180px; top: -180px; background: radial-gradient(circle, rgba(57,214,178,.25), transparent 70%); }
.hero-glow-two { width: 420px; height: 420px; left: 32%; bottom: -260px; background: radial-gradient(circle, rgba(101,169,255,.19), transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.14fr .86fr; align-items: center; gap: 74px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #227b69; font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: var(--accent-strong); }
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(3.15rem, 6vw, 5.85rem); line-height: .98; letter-spacing: -.06em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 700px; margin: 30px 0 0; color: rgba(255,255,255,.73); font-size: clamp(1.06rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 21px; border: 1px solid transparent; border-radius: 10px; font-weight: 850; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); box-shadow: 0 12px 30px rgba(57,214,178,.2); }
.button-primary:hover { background: #5ce2c3; }
.button-secondary { border-color: rgba(255,255,255,.22); color: #fff; }
.button-secondary:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.hero-note { margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: .88rem; }

.hero-visual { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(12,27,45,.72); box-shadow: 0 35px 90px rgba(0,0,0,.35); backdrop-filter: blur(20px); transform: rotate(1.2deg); }
.hero-visual::after { content: ""; position: absolute; width: 240px; height: 240px; right: -100px; bottom: -130px; border-radius: 50%; background: rgba(57,214,178,.11); }
.visual-toolbar { display: flex; align-items: center; gap: 7px; padding: 15px 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
.visual-toolbar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.visual-toolbar strong { margin-left: 8px; color: rgba(255,255,255,.48); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 500; }
.visual-body { padding: 34px 30px 26px; }
.visual-line { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; }
.visual-line span { grid-row: span 2; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(57,214,178,.4); border-radius: 10px; color: var(--accent); font-family: ui-monospace, monospace; font-size: .76rem; }
.visual-line strong { font-size: 1rem; }
.visual-line small { color: rgba(255,255,255,.51); font-size: .79rem; }
.visual-connector { width: 1px; height: 34px; margin: 7px 0 7px 20px; background: linear-gradient(var(--accent), rgba(57,214,178,.08)); }
.visual-status { display: flex; align-items: center; gap: 9px; padding: 15px 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.57); font-family: ui-monospace, monospace; font-size: .75rem; }
.visual-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(57,214,178,.1); }

.signal-bar { position: relative; z-index: 2; margin-top: -42px; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.signal-grid div { padding: 26px 28px; border-right: 1px solid var(--line); }
.signal-grid div:last-child { border-right: 0; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { color: var(--ink); font-size: 1.05rem; }
.signal-grid span { margin-top: 3px; color: var(--muted); font-size: .8rem; }

.section { padding: 122px 0; }
.section-heading { max-width: 760px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading > p:last-child, .about-copy > p, .contact-copy > p { color: var(--muted); font-size: 1.05rem; }
.section-heading > p:last-child { max-width: 650px; margin-top: 22px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 54px; }
.service-card { position: relative; min-height: 370px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -95px; top: -90px; border-radius: 50%; background: rgba(57,214,178,.1); transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(24,189,155,.45); box-shadow: 0 22px 55px rgba(4,17,31,.1); }
.service-card:hover::after { transform: scale(1.15); }
.service-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 13px; background: #e9fbf6; color: #128a73; }
.service-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.card-number { position: absolute; right: 28px; top: 21px; margin: 0; color: #aebac5; font-family: ui-monospace, monospace; font-size: .78rem; }
.service-card h3 { margin: 26px 0 10px; color: var(--ink); font-size: 1.45rem; letter-spacing: -.02em; }
.service-card > p:not(.card-number) { margin: 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: 18px; color: #344557; font-size: .9rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); }

.section-contrast { color: #fff; background: var(--ink); }
.section-contrast .section-heading h2 { color: #fff; }
.section-contrast .section-heading > p:last-child { color: rgba(255,255,255,.62); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; align-items: start; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 15px; color: var(--accent); font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 23px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.035); }
.steps li > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: rgba(57,214,178,.1); color: var(--accent); font-family: ui-monospace, monospace; font-weight: 800; }
.steps h3 { margin: 0; font-size: 1.12rem; }
.steps p { margin: 5px 0 0; color: rgba(255,255,255,.55); font-size: .92rem; }

.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 84px; align-items: center; }
.about-panel { position: relative; padding: 44px; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #0c2137, #07111f); box-shadow: var(--shadow); }
.about-panel::before { content: ""; position: absolute; width: 300px; height: 300px; right: -130px; top: -140px; border: 52px solid rgba(57,214,178,.10); border-radius: 50%; }
.panel-label { position: relative; margin: 0 0 64px; color: var(--accent); font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.about-panel blockquote { position: relative; margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.25; letter-spacing: -.035em; }
.quote-credit { position: relative; display: flex; gap: 13px; align-items: center; margin-top: 36px; }
.quote-credit > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 900; }
.quote-credit strong, .quote-credit small { display: block; }
.quote-credit small { color: rgba(255,255,255,.52); }
.about-copy > p { margin: 22px 0 0; }
.value-list { display: grid; gap: 15px; margin-top: 33px; }
.value-list div { padding: 17px 19px; border-left: 3px solid var(--accent-strong); background: var(--surface); }
.value-list strong, .value-list span { display: block; }
.value-list strong { color: var(--ink); }
.value-list span { margin-top: 2px; color: var(--muted); font-size: .9rem; }

.contact-section { position: relative; padding: 112px 0; overflow: hidden; color: #fff; background: linear-gradient(120deg, #127f6c, #086256); }
.contact-section::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, black); }
.contact-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 76px; align-items: start; }
.eyebrow-light { color: rgba(255,255,255,.8); }
.eyebrow-light span { background: #fff; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: rgba(255,255,255,.74); }
.contact-stack { display: grid; gap: 18px; }
.contact-form { padding: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; color: var(--text); background: #fff; box-shadow: 0 28px 70px rgba(2,42,36,.28); }
.form-heading h3 { margin: 0; color: var(--ink); font-size: 1.5rem; letter-spacing: -.025em; }
.form-heading p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.form-grid label { display: grid; gap: 7px; min-width: 0; }
.form-grid label > span { color: #344557; font-size: .82rem; font-weight: 800; }
.form-field-full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cbd7e2; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input, .contact-form select { min-height: 47px; padding: 10px 12px; }
.contact-form textarea { min-height: 145px; padding: 12px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #168f79; box-shadow: 0 0 0 4px rgba(24,189,155,.14); }
.contact-form input:user-invalid, .contact-form select:user-invalid, .contact-form textarea:user-invalid { border-color: #b63e3e; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.recaptcha-shell { margin-top: 20px; }
.recaptcha-setup { margin: 0; padding: 12px 14px; border: 1px solid #e7b3b3; border-radius: 9px; color: #872b2b; background: #fff3f3; font-size: .86rem; }
.form-submit { width: 100%; margin-top: 16px; border: 0; cursor: pointer; background: #086256; color: #fff; }
.form-submit:hover { background: #064f45; }
.form-submit:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.form-status { min-height: 24px; margin: 13px 0 0; font-size: .9rem; font-weight: 750; }
.form-status.success { color: #08725f; }
.form-status.error { color: #9a3030; }
.form-note { margin: 9px 0 0; color: var(--muted); font-size: .76rem; }
.form-note a { color: #086256; font-weight: 800; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(7,17,31,.18); backdrop-filter: blur(12px); }
.contact-details > * { display: grid; gap: 3px; min-width: 0; padding: 15px 16px; border-right: 1px solid rgba(255,255,255,.13); color: #fff; text-decoration: none; }
.contact-details > *:last-child { border-right: 0; }
.contact-details span { color: rgba(255,255,255,.56); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-details strong { font-size: .78rem; overflow-wrap: anywhere; }
.contact-details a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.button-light { background: #fff; color: #086256; }
.button-light:hover { background: #f1fffb; }

.site-footer { padding: 70px 0 22px; color: rgba(255,255,255,.62); background: #050c16; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 80px; }
.footer-brand img { width: 130px; height: auto; }
.footer-brand p { max-width: 390px; margin: 18px 0 0; font-size: .9rem; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 5px; color: #fff; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.59); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 148px; }
  .hero-grid, .approach-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 650px; transform: none; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid div:nth-child(2) { border-right: 0; }
  .signal-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-panel { max-width: 650px; }
  .contact-copy { position: static; }
  .contact-stack { max-width: 760px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand img { width: 108px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 70px 14px auto; display: grid; gap: 2px; padding: 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(7,17,31,.98); box-shadow: 0 25px 60px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 13px 14px; border-radius: 8px; }
  .site-nav a:hover { background: rgba(255,255,255,.06); }
  .site-nav .nav-cta { border: 0; background: rgba(57,214,178,.12); color: var(--accent); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 132px 0 90px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-lead { margin-top: 24px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .signal-bar { margin-top: -26px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid div, .signal-grid div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-grid div:last-child { border-bottom: 0; }
  .section { padding: 88px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .approach-grid, .about-grid, .contact-grid { gap: 45px; }
  .about-panel { padding: 32px 27px; }
  .panel-label { margin-bottom: 45px; }
  .contact-section { padding: 88px 0; }
  .contact-form { padding: 25px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details > * { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .contact-details > *:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 46px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
}

@media (max-width: 430px) {
  .visual-body { padding-inline: 20px; }
  .visual-line { grid-template-columns: 36px 1fr; gap: 2px 10px; }
  .visual-line span { width: 36px; height: 36px; }
  .visual-connector { margin-left: 18px; }
  .steps li { grid-template-columns: 42px 1fr; padding: 18px; }
  .steps li > span { width: 42px; height: 42px; }
  .contact-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
