:root {
  --ink: #112542;
  --deep: #0b1c34;
  --accent: #285396;
  --accent-hover: #1e417a;
  --muted: #4f6075;
  --line: #dce5ef;
  --wash: #f4f7fb;
  --white: #ffffff;
  --on-dark: #d4e0f1;
  --font: "DM Sans", Arial, sans-serif;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 87px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.6 var(--font); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #d7e5ff; color: var(--ink); }
:focus-visible { outline: 3px solid #476ec0; outline-offset: 4px; }

.container {
  width: min(1200px, calc(100% - 88px));
  margin-inline: auto;
}

.section { padding-block: clamp(61px, 7.2vw, 100px); }
.section h2 {
  max-width: 640px;
  font-size: clamp(2rem, 3.85vw, 3.36rem);
  font-weight: 730;
  line-height: 1.1;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading > p { max-width: 355px; color: var(--muted); }

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  padding: 8px 13px;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

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

.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 0.72em;
  height: 0.72em;
  line-height: 1;
  vertical-align: 0.035em;
}

.arrow::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 62%;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
}

.arrow::after {
  position: absolute;
  top: 0.5px;
  right: 0.5px;
  width: 0.89em;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
  content: "";
}

.arrow-left { transform: rotate(-135deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.3;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { color: var(--ink); background: var(--white); border-color: #cad7e7; }
.button-secondary:hover { background: #edf3fc; border-color: #a0b4d4; }
.button:disabled { cursor: wait; opacity: 0.72; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 720;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 73px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
  color: inherit;
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand-mark {
  position: relative;
  display: block;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 7px;
  background: var(--ink);
}

.brand-mark i, .brand-mark::after {
  position: absolute;
  height: 3px;
  border-radius: 1px;
  background: var(--white);
}

.brand-mark i:first-child { top: 8px; left: 7px; width: 14px; }
.brand-mark i:last-child { top: 13px; left: 9px; width: 13px; background: #b6caff; }
.brand-mark::after { top: 18px; left: 7px; width: 9px; content: ""; }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 3.1vw, 42px); }
.main-nav a { padding-block: 10px; color: var(--muted); font-size: 0.91rem; font-weight: 650; }
.main-nav a:hover { color: var(--accent); }
.header-contact { justify-self: end; min-height: 42px; }
.menu-button, .main-nav .mobile-contact { display: none; }

.hero {
  background: linear-gradient(130deg, #f8faff 10%, #eef3fa 100%);
  border-bottom: 1px solid #e5ecf5;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(31px, 5.6vw, 80px);
  padding-block: clamp(49px, 6.15vw, 84px);
}

.hero-copy { min-width: 0; }

.hero h1 {
  font-size: clamp(2.65rem, 5.05vw, 4.75rem);
  font-weight: 755;
  line-height: 1.02;
  letter-spacing: -0.067em;
}

.hero h1 span { color: var(--accent); }

.hero-copy > p:not(.buyer-note) {
  max-width: 490px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.43vw, 1.14rem);
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.buyer-note { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.buyer-note a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 0.23em; }

.hero-image {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.28;
  background: #d7e4f4;
  border: 1px solid #c9d7e9;
  border-radius: 15px;
  box-shadow: 0 19px 42px #1839641c;
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }

.services-layout, .faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
  align-items: start;
  gap: clamp(24px, 7.1vw, 94px);
}

.services-intro > p:not(.eyebrow) { max-width: 430px; margin-top: 14px; color: var(--muted); }

.services-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.services-list article:first-child { border-top: 1px solid var(--line); }
.services-list h3, .process-steps h3 { font-size: 1.19rem; font-weight: 740; line-height: 1.3; letter-spacing: -0.033em; }
.services-list p { margin-top: 4px; color: var(--muted); font-size: 0.94rem; }

.service-icon {
  position: relative;
  width: 39px;
  height: 39px;
  color: var(--accent);
  background: #eef3fc;
  border: 1px solid #dce7f9;
  border-radius: 8px;
}

.service-icon::before, .service-icon::after { position: absolute; content: ""; }
.icon-launch::before { top: 10px; right: 10px; width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.icon-launch::after { top: 10px; right: 11px; width: 19px; height: 1.5px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.icon-upgrade::before { top: 12px; left: 10px; width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 3px; }
.icon-upgrade::after { top: 9px; left: 15px; width: 13px; height: 13px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; border-radius: 3px; }
.icon-reach::before { top: 9px; left: 9px; width: 19px; height: 19px; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-reach::after { top: 15px; left: 15px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.process { color: var(--white); background: linear-gradient(130deg, var(--deep), #1b3659); }
.process .eyebrow { color: #b9d1f5; }
.process .section-heading > p, .process-steps p { color: var(--on-dark); }
.process-steps { gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #526989; }

.process-steps li {
  min-width: 0;
  padding: 21px clamp(15px, 2.4vw, 31px) 2px;
  border-right: 1px solid #526989;
}

.process-steps li:first-child { padding-left: 0; }
.process-steps li:last-child { padding-right: 0; border-right: 0; }

.step-number {
  display: inline-grid;
  place-items: center;
  min-width: 35px;
  height: 29px;
  padding-inline: 5px;
  color: #c9ddfc;
  background: #263f60;
  border: 1px solid #45618a;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.process-steps h3 { margin: 11px 0 6px; }
.process-steps p { max-width: 340px; font-size: 0.93rem; }

.team { background: var(--wash); }

.team-card {
  min-width: 0;
  padding: 19px 19px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 17px #1c3d6610;
}

.team-identity { display: flex; align-items: center; gap: 12px; min-height: 48px; margin-bottom: 14px; }

.team-mark {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  height: 44px;
  color: var(--accent-hover);
  background: #e9f0fc;
  border: 1px solid #dbe6f9;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 800;
}

.team-card h3 { font-size: 1.23rem; font-weight: 750; line-height: 1.2; letter-spacing: -0.04em; }
.team-role { margin-top: 3px; color: var(--muted); font-size: 0.78rem; line-height: 1.3; }

.team-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 41px;
  padding: 8px 1px 0;
  color: var(--accent);
  border-top: 1px solid var(--line);
  font-size: 0.91rem;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.team-email:hover { text-decoration: underline; text-underline-offset: 0.23em; }

.faq-layout .text-link { margin-top: 8px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 57px;
  padding: 10px 2px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: 0 0 23px; color: var(--accent); text-align: center; font-size: 1.23rem; font-weight: 400; line-height: 1; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 29px 15px 2px; color: var(--muted); font-size: 0.95rem; }

.contact {
  padding-block: clamp(47px, 6vw, 81px);
  background: var(--wash);
  border-top: 1px solid #e5ecf5;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d3e0ee;
  border-radius: 16px;
  box-shadow: 0 13px 34px #1c3e6611;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 23px;
  padding: clamp(24px, 4vw, 49px);
  color: var(--white);
  background: linear-gradient(146deg, var(--deep) 2%, #203c63 100%);
}

.contact-copy .eyebrow { color: #b9d1f5; }
.contact-copy h2 { max-width: 360px; text-wrap: initial; }
.contact-copy > div:first-child > p:not(.eyebrow) { max-width: 342px; margin-top: 13px; color: var(--on-dark); }
.contact-copy :focus-visible, .site-footer :focus-visible { outline-color: #adc8ff; }

.contact-direct {
  display: grid;
  justify-items: start;
  gap: 2px;
  padding-top: 15px;
  border-top: 1px solid #526989;
}

.contact-direct > span { color: #c0d3ef; font-size: 0.81rem; }
.contact-direct a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 1rem; font-weight: 730; overflow-wrap: anywhere; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 0.23em; }
.contact-direct .contact-team-link { margin-top: 3px; color: #d6e6ff; font-size: 0.85rem; font-weight: 650; }

.inquiry-form { display: grid; align-content: start; gap: 13px; min-width: 0; padding: clamp(21px, 3.4vw, 40px); }
.inquiry-form h3 { margin: 0 0 1px; font-size: 1.25rem; font-weight: 750; letter-spacing: -0.035em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inquiry-form label { display: block; min-width: 0; font-size: 0.87rem; font-weight: 700; }

.inquiry-form input:not([type="hidden"]), .inquiry-form select, .inquiry-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 9px 10px;
  color: var(--ink);
  background: #f8fafd;
  border: 1px solid #cbd8e8;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 400;
}

.inquiry-form select {
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, #536887 50%), linear-gradient(135deg, #536887 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.inquiry-form textarea { min-height: 101px; resize: vertical; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder, .inquiry-form select:invalid { color: #5b6a7c; }
.inquiry-form option { color: var(--ink); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 13px; }
.form-actions p { flex: 1 1 145px; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.form-actions p a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 0.18em; }

.form-feedback {
  padding: 10px 11px;
  color: var(--ink);
  background: #eff4fe;
  border: 1px solid #dce7fa;
  border-radius: 7px;
  font-size: 0.9rem;
}

.feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 14px; margin-top: 3px; }
.feedback-actions .button { min-height: 37px; padding: 5px 10px; font-size: 0.81rem; }

.site-footer { color: var(--white); background: var(--deep); }
.site-footer .brand-mark { background: #273f60; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.92fr);
  align-items: start;
  gap: 16px 28px;
  padding-block: 25px 23px;
}

.footer-brand p { margin-top: 5px; color: #c1d2e9; font-size: 0.82rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 5px; color: var(--on-dark); font-size: 0.86rem; }
.footer-contact { justify-self: end; min-width: 0; }
.footer-contact p { color: #c1d2e9; font-size: 0.76rem; }
.footer-email { font-size: 0.91rem; font-weight: 650; overflow-wrap: anywhere; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  color: #c1d2e9;
  border-top: 1px solid #354d6d;
  font-size: 0.79rem;
}

.site-footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 0.23em; }

.simple-page { min-height: 46vh; background: var(--wash); }
.simple-page h1 { margin: 12px 0 18px; font-size: clamp(2.55rem, 6.5vw, 5rem); font-weight: 750; line-height: 1.05; letter-spacing: -0.065em; }
.simple-page p { max-width: 670px; margin-bottom: 14px; color: var(--muted); }
.simple-page p a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.22em; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: 0.9rem; font-weight: 700; }
.back-link:hover { text-decoration: underline; text-underline-offset: 0.22em; }

@media (max-width: 1020px) {
  .container { width: calc(100% - 60px); }
  .hero-layout { gap: 27px; }
  .hero h1 { font-size: clamp(2.6rem, 5.25vw, 3.8rem); }
  .footer-main { gap: 16px 20px; }
  .footer-nav { gap: 6px 12px; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 42px); }
  .header-layout { grid-template-columns: 1fr auto; gap: 10px; min-height: 63px; }
  .header-contact { display: none; }
  .main-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 6px 15px; padding-bottom: 10px; }
  .main-nav .mobile-contact { display: inline-flex; }

  .js .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 6px 9px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cbd8e8;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 650;
  }

  .menu-icon { width: 11px; height: 7px; border-block: 1.5px solid currentColor; }

  .js .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 9px 21px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .js .main-nav[data-open] { display: grid; gap: 1px; }
  .hero-layout { grid-template-columns: 1fr; gap: 22px; padding-block: 33px 31px; }
  .hero h1 { font-size: clamp(2.44rem, 8.8vw, 4rem); }
  .hero-copy > p:not(.buyer-note) { margin-top: 14px; }
  .hero-actions { margin-top: 19px; }
  .buyer-note { margin-top: 13px; }
  .hero-image { aspect-ratio: 1.65; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 24px; }
  .services-layout, .faq-layout, .contact-panel { grid-template-columns: 1fr; gap: 20px; }
  .contact-panel { gap: 0; }
  .team-card { padding-inline: 13px; }
  .contact-copy { gap: 19px; }
  .footer-main { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-nav { grid-row: 2; }
  .footer-contact { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 660px) {
  .three-column { grid-template-columns: 1fr; gap: 10px; }
  .team-card { padding-inline: 17px; }
  .process-steps { gap: 0; }
  .process-steps li { padding: 14px 0; border-right: 0; border-bottom: 1px solid #526989; }
  .process-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 34px); }
  .section { padding-block: 52px; }
  .hero-image { aspect-ratio: 1.49; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { min-height: 46px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-nav, .footer-contact { grid-column: 1; grid-row: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
