/* 1. Design tokens and base */
:root {
  --ink: #182432;
  --muted: #586575;
  --accent: #285bd6;
  --accent-soft: #edf2fc;
  --paper: #f7f8fa;
  --white: #fff;
  --line: #dce2e9;
  --dark: #142331;
  --radius: 12px;
  --section-space: clamp(72px, 8vw, 116px);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #d9e5ff;
  color: var(--ink);
}

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

button, input, textarea {
  font: inherit;
}

button, a, input, textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.15;
}

h1, h2 {
  font-weight: 600;
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.025em;
  font-weight: 600;
}

p {
  margin-bottom: 20px;
}

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

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  font-size: .71rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background .2s, box-shadow .2s, transform .2s;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 5px 16px #285bd61a;
  transform: translateY(-2px);
}

.button span {
  font-size: 1.15rem;
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  gap: 20px;
  font-size: .78rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: .87rem;
  font-weight: 600;
  padding-block: 12px;
}

.text-link:hover, .email-link:hover, .site-footer a:hover {
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  z-index: 200;
  background: var(--white);
  transform: translateY(-180%);
  border: 1px solid var(--line);
}

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


/* 2. Header and mobile navigation */
.site-header
 {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 250, .96);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: 1;
}

.logo-dot {
  color: var(--accent);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation > a:not(.button) {
  font-size: .8rem;
  font-weight: 500;
  padding-block: 12px;
  transition: color .2s;
}

.navigation > a:not(.button):hover {
  color: var(--accent);
}

.nav-toggle {
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: .85rem;
}

.menu-icon {
  width: 16px;
  height: 10px;
  border-block: 1px solid currentColor;
}


/* 3. Hero and abstract process illustration */
.hero
 {
  padding-top: clamp(70px, 7.5vw, 110px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 64px;
  padding-bottom: 88px;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

h1 {
  font-size: clamp(2.8rem, 4.7vw, 4.3rem);
  margin-bottom: 28px;
  line-height: 1.09;
}

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

.hero-text {
  color: var(--muted);
  max-width: 520px;
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}

.hero-note {
  font-size: .73rem;
  color: var(--muted);
  margin: 24px 0 0;
}

.solution-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: radial-gradient(ellipse at 60% 45%, #eaf0fc, transparent 75%), var(--white);
  box-shadow: 0 20px 60px #18243206;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  font-size: .6rem;
  letter-spacing: .14em;
  color: var(--muted);
  padding-bottom: 36px;
}

.visual-inputs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.visual-inputs > span {
  width: 30%;
  text-align: center;
  padding: 10px 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .73rem;
}

.visual-routes {
  height: 66px;
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-routes i {
  position: absolute;
  width: 34%;
  height: 37px;
  border-bottom: 1px solid #b5c6e6;
  top: 0;
}

.visual-routes i:first-child {
  right: 50%;
  border-left: 1px solid #b5c6e6;
  border-bottom-left-radius: 12px;
}

.visual-routes i:nth-child(2) {
  width: 1px;
  height: 66px;
  background: #b5c6e6;
}

.visual-routes i:last-child {
  left: 50%;
  border-right: 1px solid #b5c6e6;
  border-bottom-right-radius: 12px;
}

.visual-core {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

.core-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #d6e1fa;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -.12em;
  box-shadow: 0 8px 25px #285bd610;
  position: relative;
}

.core-mark span {
  color: var(--accent);
  position: absolute;
  right: 12px;
  bottom: 6px;
}

.visual-core > span:last-child {
  color: var(--muted);
  font-size: .66rem;
}

.visual-output {
  margin-top: 35px;
  padding: 16px;
  border: 1px solid #cfdcf4;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .83rem;
  font-weight: 600;
  position: relative;
}

.visual-output::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -35px;
  height: 34px;
  width: 1px;
  background: #b5c6e6;
}

.output-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
}

.visual-output small {
  display: block;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 400;
  margin-top: 3px;
}

.visual-bottomline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .6rem;
  color: var(--muted);
  margin-top: 24px;
}

.visual-bottomline .status-dot {
  width: 5px;
  height: 5px;
}

.positioning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-block: 1px solid var(--line);
  padding-block: 25px;
  font-size: .83rem;
}

.positioning p {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
}

.positioning > span {
  font-weight: 600;
}


/* 4. Services */
.section-heading
 {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 4px;
  max-width: 390px;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px 32px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.service-card:hover {
  border-color: #aabedf;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px #18243206;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.service-symbol {
  color: var(--accent);
  font-family: Consolas, monospace;
  font-size: 1.35rem;
}

.card-number {
  color: var(--muted);
  font-size: .65rem;
}

.service-card h3 {
  margin-bottom: 13px;
}

.service-card p {
  color: var(--muted);
  font-size: .9rem;
  max-width: 480px;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 5px 10px;
  background: var(--paper);
  border: 1px solid #e8ecf1;
  border-radius: 4px;
  color: var(--muted);
  font-size: .65rem;
}

.service-featured {
  background: var(--accent-soft);
  border-color: #d2def5;
}

.service-featured .tags li {
  background: #ffffff80;
  border-color: #d4def0;
}

.partner-note {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-icon {
  font-size: 1.8rem;
  color: var(--muted);
}

.partner-note h3 {
  font-size: .94rem;
  margin-bottom: 7px;
}

.partner-note p {
  color: var(--muted);
  font-size: .79rem;
  margin-bottom: 0;
  max-width: 690px;
}

.partner-label {
  margin-left: auto;
  max-width: 170px;
  font-size: .64rem;
  text-align: right;
  color: var(--muted);
  flex-shrink: 0;
}


/* 5. Process, benefits and about */
.philosophy
 {
  background: var(--dark);
  color: var(--white);
}

.philosophy .eyebrow {
  color: #afbdd0;
}

.philosophy:focus-visible,
.philosophy :focus-visible {
  outline-color: #a8c3fc;
}

.philosophy-heading {
  max-width: 800px;
}

.philosophy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.philosophy h2 span {
  color: #a8c3fc;
}

.philosophy-heading > p:last-child {
  max-width: 660px;
  color: #bfccd9;
  font-size: .96rem;
}

.process-grid {
  list-style: none;
  padding: 0;
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.process-grid li {
  border-top: 1px solid #43505d;
  padding-top: 20px;
}

.step-number {
  display: flex;
  justify-content: space-between;
  color: #a8c3fc;
  font-size: .77rem;
  margin-bottom: 30px;
}

.process-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.process-grid p {
  color: #bfccd9;
  font-size: .85rem;
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.section-intro {
  max-width: 380px;
  color: var(--muted);
  font-size: .93rem;
}

.benefits article {
  display: flex;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.benefits article:first-child {
  padding-top: 0;
}

.benefits article > span {
  color: var(--accent);
}

.benefits h3 {
  font-size: 1.03rem;
  margin-bottom: 9px;
}

.benefits p {
  color: var(--muted);
  font-size: .85rem;
  margin: 0;
}

.about-section {
  background: #eef1f5;
}

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 110px;
}

.about-brand {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-block: 1px solid #cfd7e3;
  position: relative;
}

.about-brand::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.2rem;
  color: #778598;
}

.about-brand > span {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -.065em;
  font-weight: 750;
}

.about-brand small {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 20px;
}

.about-grid p:not(.eyebrow) {
  font-size: .92rem;
  color: var(--muted);
}

.about-grid .about-principle {
  margin-top: 30px;
  color: var(--ink);
  font-weight: 600;
}


/* 6. Contact and footer */
.project-cta
 {
  padding-block: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-content .eyebrow {
  margin-bottom: 16px;
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 95px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: .92rem;
  max-width: 370px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  padding-block: 12px;
  font-size: .98rem;
  margin-top: 15px;
}

.contact-copy .contact-note {
  font-size: .73rem;
  margin-top: 18px;
}

.contact-form {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 20px;
}

.form-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .94rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.form-intro > span {
  color: var(--muted);
  font-weight: 400;
  font-size: .65rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.form-field label {
  font-weight: 500;
  font-size: .76rem;
}

.form-field label span {
  font-weight: 400;
  color: var(--muted);
}

.form-field input, .form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #8796ab;
  border-radius: 5px;
  background: #fcfcfd;
  color: var(--ink);
  font-size: .84rem;
  transition: border-color .2s;
}

.form-field input:hover, .form-field textarea:hover {
  border-color: #8e9bb0;
}

.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent);
}

.form-field input::placeholder, .form-field textarea::placeholder {
  color: #667384;
  opacity: 1;
}

.form-field textarea {
  resize: vertical;
  min-height: 135px;
}

.form-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.form-submit p {
  font-size: .68rem;
  color: var(--muted);
  margin: 0;
}

.site-footer {
  padding-block: 48px 24px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 35px;
}

.footer-main p {
  margin: 14px 0 0;
  font-size: .78rem;
  color: var(--muted);
}

.footer-main > a {
  font-size: .84rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .67rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}


/* 7. Confirmation page */
.thank-you
 {
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: center;
  padding-block: 80px;
}

.thank-you-content {
  max-width: 760px;
}

.confirmation-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
  color: var(--accent);
  border: 1px solid #d2def5;
  background: var(--accent-soft);
  border-radius: 50%;
  font-size: 1.4rem;
}

.thank-you h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
}

.thank-you .hero-text {
  max-width: 580px;
  margin-bottom: 32px;
}

.back-link {
  font-size: .8rem;
}


/* 8. Responsive layout
;
navigation is available without JavaScript */
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
  .navigation {
    gap: 18px;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero-actions {
    gap: 20px;
  }
  .solution-visual {
    padding: 22px;
  }
  .why-grid, .contact-grid {
    gap: 55px;
  }
  .about-grid {
    gap: 65px;
  }
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    gap: 0;
    min-height: 74px;
  }
  .nav > .logo {
    margin-block: 25px;
  }
  .nav-toggle:not([hidden]) {
    display: flex;
  }
  .navigation {
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 20px;
    gap: 12px 24px;
  }
  .navigation.is-enhanced {
    display: none;
  }
  .navigation.is-enhanced.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .navigation.is-open > a {
    padding: 12px;
  }
  .navigation.is-open > .button {
    margin-top: 8px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  h1 {
    font-size: clamp(2.6rem, 5.2vw, 3.8rem);
  }
  .hero .eyebrow {
    font-size: .6rem;
    letter-spacing: .07em;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .hero-note {
    max-width: 300px;
  }
  .section-heading {
    gap: 40px;
  }
  .partner-label {
    display: none;
  }
  .process-grid {
    gap: 28px;
  }
  .about-grid, .contact-grid {
    gap: 40px;
  }
  .contact-form {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    padding-top: 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 45px;
  }
  h1 {
    font-size: clamp(2.5rem, 9.5vw, 3.7rem);
  }
  .hero .eyebrow {
    font-size: .61rem;
  }
  .hero-text {
    font-size: .98rem;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
  }
  .hero-note {
    max-width: none;
  }
  .solution-visual {
    max-width: 440px;
    width: 100%;
    justify-self: center;
    padding: 24px;
  }
  .positioning {
    flex-wrap: wrap;
    gap: 13px 20px;
    padding-block: 24px;
    font-size: .73rem;
  }
  .positioning p {
    width: 100%;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 26px;
  }
  .card-top {
    margin-bottom: 25px;
  }
  .partner-note {
    padding: 22px;
    align-items: flex-start;
    gap: 16px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
    gap: 30px;
  }
  .step-number {
    margin-bottom: 16px;
  }
  .why-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-brand {
    min-height: 190px;
  }
  .about-brand > span {
    font-size: 2.6rem;
  }
  .cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .project-cta {
    padding-block: 48px;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .footer-main, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-bottom > p:nth-child(2) {
    display: none;
  }
  .thank-you {
    min-height: calc(100svh - 74px);
  }
}


/* 9. Subtle entry motion, with reduced-motion support */
@media (prefers-reduced-motion: no-preference)
 {
  .hero-copy, .solution-visual {
    animation: enter .65s ease-out both;
  }
  .solution-visual {
    animation-delay: .1s;
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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