:root {
  --brand-light: #5cafda;
  --brand-dark: #203766;
  --brand-ink: #18202a;
  --brand-deep: #0f1f38;
  --text: #18202a;
  --muted: #657184;
  --surface: #ffffff;
  --surface-soft: #f5f9fc;
  --surface-blue: #eaf5fb;
  --border: rgba(32, 55, 102, 0.13);
  --white: #ffffff;
  --success: #28b67a;
  --shadow: 0 24px 70px rgba(23, 52, 87, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

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

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(24, 32, 42, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #08111f;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: #05080d;
}

.brand-name {
  font-size: 21px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

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

.main-nav a {
  color: #334154;
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-dark);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #7a8798;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher a {
  transition: color 160ms ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher .is-active {
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand-ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 90px) 0 96px;
  background:
    radial-gradient(circle at 85% 16%, rgba(92, 175, 218, 0.25), transparent 32%),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 78%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 55, 102, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 55, 102, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
}

.hero-glow-one {
  width: 320px;
  height: 320px;
  top: 90px;
  right: 7%;
  background: rgba(92, 175, 218, 0.13);
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  bottom: 30px;
  left: -60px;
  background: rgba(32, 55, 102, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.88fr);
  align-items: center;
  gap: 76px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 7px 12px;
  background: rgba(92, 175, 218, 0.11);
  border: 1px solid rgba(92, 175, 218, 0.25);
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(40, 182, 122, 0.12);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(50px, 6.2vw, 82px);
  font-weight: 800;
}

h1 span,
.section-heading h2 span {
  color: var(--brand-dark);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  box-shadow: 0 15px 32px rgba(32, 55, 102, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(32, 55, 102, 0.29);
}

.button-secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(32, 55, 102, 0.18);
}

.hero-note {
  margin-bottom: 0;
  color: #8591a0;
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 13% -8% -8% 18%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(92, 175, 218, 0.22), rgba(32, 55, 102, 0.05));
  border-radius: 42px;
  filter: blur(2px);
  transform: rotate(4deg);
}

.flow-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(32, 55, 102, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.flow-topbar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #f6f9fb;
  border-bottom: 1px solid var(--border);
}

.flow-topbar > span {
  width: 8px;
  height: 8px;
  background: #d5dce5;
  border-radius: 50%;
}

.flow-topbar small {
  margin-left: auto;
  color: #7f8b9c;
  font-size: 11px;
  font-weight: 700;
}

.flow-content {
  padding: 28px;
}

.flow-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.flow-node strong,
.flow-node span {
  display: block;
}

.flow-node strong {
  font-size: 14px;
}

.flow-node div > span {
  margin-top: 2px;
  color: #8591a0;
  font-size: 12px;
}

.node-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: var(--brand-dark);
  background: var(--surface-blue);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.printer-icon {
  font-size: 22px;
}

.flow-node-highlight {
  background: linear-gradient(135deg, rgba(92, 175, 218, 0.10), rgba(32, 55, 102, 0.045));
  border-color: rgba(92, 175, 218, 0.34);
}

.flow-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.online-pill {
  margin-left: auto;
  padding: 5px 8px;
  color: #188357 !important;
  background: rgba(40, 182, 122, 0.10);
  border-radius: 999px;
  font-size: 10px !important;
  font-weight: 800;
}

.flow-connector {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-connector > span {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(92,175,218,.35), rgba(32,55,102,.35));
}

.flow-connector small {
  position: absolute;
  padding: 2px 7px;
  color: #8a96a6;
  background: #fff;
  border: 1px solid #eef2f5;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-light {
  background: var(--surface);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 52px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 800;
}

.section-heading > p,
.contact-copy > p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  position: relative;
  min-height: 290px;
  padding: 28px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -52px;
  bottom: -58px;
  background: radial-gradient(circle, rgba(92,175,218,.16), transparent 68%);
}

.feature-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 48px;
  color: var(--brand-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3,
.use-case-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.definition-box {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
  padding: 24px 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-dark), #132b50);
  border-radius: var(--radius-md);
}

.definition-box strong {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.definition-box p {
  max-width: 770px;
  margin: 0;
  color: rgba(255,255,255,.78);
}

.section-dark {
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 5%, rgba(92,175,218,.17), transparent 30%),
    linear-gradient(145deg, #142845 0%, #0c1829 100%);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-heading-dark .section-kicker {
  color: var(--brand-light);
}

.section-heading-dark h2 span {
  color: var(--brand-light);
}

.section-heading-dark > p {
  color: rgba(255,255,255,.64);
}

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

.use-case-card {
  min-height: 250px;
  padding: 28px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.use-case-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
  border-color: rgba(92,175,218,.34);
}

.use-case-label {
  display: inline-block;
  margin-bottom: 44px;
  padding: 6px 10px;
  color: #bfe6f8;
  background: rgba(92,175,218,.1);
  border: 1px solid rgba(92,175,218,.18);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.use-case-card p {
  max-width: 510px;
  margin-bottom: 0;
  color: rgba(255,255,255,.64);
}

.section-contact {
  background:
    radial-gradient(circle at 0% 100%, rgba(92,175,218,.17), transparent 30%),
    var(--surface-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .75fr);
  gap: 80px;
  align-items: start;
}

.contact-copy {
  padding-top: 18px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-points span {
  position: relative;
  padding-left: 24px;
  color: #425165;
  font-size: 14px;
  font-weight: 700;
}

.contact-points span::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  border-radius: 50%;
}

.contact-form {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(32, 55, 102, 0.08);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: #344256;
  font-size: 13px;
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--text);
  background: #fbfdfe;
  border: 1px solid #dce4eb;
  border-radius: 10px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.form-row input {
  min-height: 47px;
}

.form-row textarea {
  min-height: 138px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  background: #fff;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(92,175,218,.12);
}

.form-row input.is-invalid,
.form-row textarea.is-invalid {
  border-color: #c74e4e;
  box-shadow: 0 0 0 4px rgba(199,78,78,.08);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.button-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255,255,255,.66);
  background: #091321;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-footer .brand-mark {
  color: #fff;
}

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

.copyright {
  color: rgba(255,255,255,.4);
}

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

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 70px);
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 52px;
  }

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

  .hero-visual {
    max-width: 640px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .contact-grid {
    gap: 46px;
  }

  .contact-form {
    max-width: 700px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    background: rgba(255,255,255,.94);
    border-bottom-color: var(--border);
    backdrop-filter: blur(14px);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-actions {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px 28px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 50px rgba(24,32,42,.09);
  }

  .header-actions.is-open {
    display: flex;
  }

  .main-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    padding: 10px 0;
    font-size: 15px;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .hero {
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .flow-content {
    padding: 18px;
  }

  .section {
    padding: 82px 0;
  }

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

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

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .definition-box {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand-footer {
    margin-bottom: 6px;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 19px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .eyebrow {
    font-size: 11px;
  }

  .flow-node {
    padding: 13px;
  }

  .online-pill {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::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;
  }
}
