:root {
  --paper: #f7f4ef;
  --paper-deep: #efeae3;
  --white: #fffdf9;
  --ink: #102a43;
  --ink-soft: #4d6073;
  --navy: #183b60;
  --navy-deep: #0f2d4a;
  --slate: #6e829d;
  --teal: #5d9298;
  --teal-light: #dce9e8;
  --line: rgba(24, 59, 96, 0.16);
  --line-strong: rgba(24, 59, 96, 0.28);
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.12);
  --shadow-small: 0 12px 34px rgba(16, 42, 67, 0.09);
  --radius-small: 12px;
  --radius-medium: 22px;
  --radius-large: 34px;
  --container: 1180px;
  --header-height: 82px;
  --font-sans: "Segoe UI Variable", "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

:focus-visible {
  outline: 3px solid #d9a657;
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--navy);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
}

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

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

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

.section-compact {
  padding: 80px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #a8d0d2;
}

.display-title,
.section-title,
.legal-title {
  margin: 0;
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.display-title {
  max-width: 1120px;
  font-size: clamp(3.75rem, 5vw, 6rem);
}

.section-title {
  max-width: 720px;
  font-size: clamp(2.55rem, 4.4vw, 4.65rem);
}

.legal-title {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

html[lang="ru"] .legal-title {
  overflow-wrap: anywhere;
  font-size: clamp(2.7rem, 4.5vw, 4.4rem);
}

.section-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

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

.section-heading-copy {
  max-width: 760px;
}

.section-heading-action {
  flex: 0 0 auto;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(24, 59, 96, 0.2);
}

.button-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 14px 28px rgba(24, 59, 96, 0.25);
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--navy);
  background: rgba(255, 253, 249, 0.62);
}

.button-secondary:hover {
  border-color: var(--navy);
  background: var(--white);
}

.button-light {
  color: var(--navy-deep);
  background: var(--white);
}

.button-light:hover {
  background: #e8f1f0;
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.1);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.88rem;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 244, 239, 0.95);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 92px;
  height: auto;
}

.brand-name {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--teal);
  content: "";
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-link {
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--navy) !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--header-height) + 52px) 0 68px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(93, 146, 152, 0.22), transparent 31%),
    radial-gradient(circle at 7% 82%, rgba(110, 130, 157, 0.16), transparent 34%),
    linear-gradient(180deg, var(--paper) 0%, #f2f0ec 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 82px;
  right: -14%;
  width: 62%;
  height: 86%;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(24, 59, 96, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 59, 96, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to bottom left, #000, transparent 75%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  align-items: center;
  gap: 58px;
}

.hero-layout::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: calc(100svh - var(--header-height));
  pointer-events: none;
  background:
    radial-gradient(circle at 32.5% 80.8%, rgba(93, 146, 152, 0.58) 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 32.5% 80.8%, #f8f5f0 0 6.2px, rgba(93, 146, 152, 0.34) 6.6px 7.6px, transparent 8px),
    radial-gradient(circle at 58.33% 55.65%, rgba(93, 146, 152, 0.58) 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 58.33% 55.65%, #f8f5f0 0 6.2px, rgba(93, 146, 152, 0.34) 6.6px 7.6px, transparent 8px),
    radial-gradient(circle at 86.67% 33.06%, rgba(93, 146, 152, 0.58) 0 2.4px, transparent 2.8px),
    radial-gradient(circle at 86.67% 33.06%, #f8f5f0 0 6.2px, rgba(93, 146, 152, 0.34) 6.6px 7.6px, transparent 8px),
    url("/assets/hero-route.svg") center / 100% 100% no-repeat;
  content: "";
  transform: translate(-50%, -50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: none;
}

.hero-copy .display-title {
  max-width: none;
  font-size: clamp(3rem, 3.7vw, 3.25rem);
  white-space: nowrap;
}

.hero-brand-stage {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(24, 59, 96, 0.14);
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(233, 239, 238, 0.78)),
    var(--white);
  box-shadow: 0 30px 70px rgba(24, 59, 96, 0.12);
}

.hero-brand-stage::before {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    linear-gradient(rgba(24, 59, 96, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 59, 96, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(145deg, #000, transparent 86%);
}

.hero-brand-stage::after {
  position: absolute;
  top: -68px;
  right: -68px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(93, 146, 152, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(93, 146, 152, 0.055);
  content: "";
}

.hero-brand-core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.hero-brand-core img {
  display: block;
  width: min(270px, 82%);
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(24, 59, 96, 0.12));
}

.hero-brand-core span,
.hero-brand-meta {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-brand-meta {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 25px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hero-brand-meta strong {
  color: var(--navy);
  font-weight: 850;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
  font-size: 0.86rem;
  font-weight: 650;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(93, 146, 152, 0.12);
  content: "";
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(24, 59, 96, 0.14);
  border-radius: var(--radius-large);
  background: rgba(255, 253, 249, 0.79);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -32px;
  right: -32px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(93, 146, 152, 0.25);
  border-radius: 28px;
  content: "";
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.visual-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
}

.visual-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(93, 146, 152, 0.12);
  content: "";
}

.route-diagram {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  gap: 4px;
  padding: 28px 0 24px;
}

.route-node {
  display: flex;
  min-width: 0;
  min-height: 156px;
  height: 156px;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.route-node-label {
  color: var(--slate);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-node strong {
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.25;
}

.route-node-meta {
  color: var(--ink-soft);
  font-size: 0.73rem;
}

.route-center {
  padding: 12px;
  border-color: rgba(93, 146, 152, 0.35);
  background: #f3f7f6;
  box-shadow: 0 14px 30px rgba(93, 146, 152, 0.14);
}

.route-center img {
  width: 100%;
  max-width: 125px;
  margin: auto;
}

.route-connector {
  position: relative;
  height: 1px;
  background: var(--slate);
}

.route-connector::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--slate);
  border-right: 1px solid var(--slate);
  content: "";
}

.visual-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  color: var(--ink-soft);
  background: var(--paper-deep);
  font-size: 0.78rem;
  line-height: 1.45;
}

.visual-note-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 850;
}

.clarity-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55);
}

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

.clarity-item {
  display: grid;
  min-height: 128px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 34px;
  border-right: 1px solid var(--line);
}

.clarity-item:first-child {
  padding-left: 0;
}

.clarity-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.clarity-number {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
}

.clarity-copy strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 0.98rem;
}

.clarity-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

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

#merchants,
#providers {
  min-height: calc(100svh - var(--header-height) - 22px);
  padding: 60px 0 48px;
}

#merchants .section-heading,
#providers .section-heading {
  margin-bottom: 34px;
}

#merchants .section-title,
#providers .section-title {
  max-width: 760px;
  font-size: clamp(2.6rem, 3vw, 3.6rem);
}

#merchants .section-lead,
#providers .section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.process-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: rgba(255, 253, 249, 0.72);
  counter-increment: process;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 146, 152, 0.48);
  box-shadow: var(--shadow-small);
}

.process-card::before {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  background: var(--white);
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 850;
}

.process-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.3;
}

.process-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.section-dark {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 16%, rgba(93, 146, 152, 0.35), transparent 28%),
    linear-gradient(145deg, var(--navy-deep), #173d61 68%, #214e69);
}

.section-dark::after {
  position: absolute;
  right: -150px;
  bottom: -170px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
  content: "";
}

.section-dark::after {
  pointer-events: none;
}

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


.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .process-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}

.section-dark .process-card:hover {
  border-color: rgba(168, 208, 210, 0.58);
  box-shadow: 0 20px 42px rgba(3, 17, 30, 0.22);
}

.section-dark .process-card::before {
  border-color: rgba(255, 255, 255, 0.18);
  color: #a8d0d2;
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .process-card h3 {
  color: var(--white);
}

.section-dark .process-card p {
  color: rgba(255, 255, 255, 0.7);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: start;
  column-gap: 92px;
  row-gap: 0;
}

.about-copy {
  max-width: 690px;
  padding-top: calc(36px + clamp(6px, 0.55vw, 9px));
}

.about-copy p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.75;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.boundary-panel {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow-small);
}



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

.boundary-list li {
  display: grid;
  width: 100%;
  max-width: 320px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  justify-self: center;
  gap: 12px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.boundary-list li:last-child {
  padding: 0;
}

.boundary-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 0.7rem;
  font-weight: 850;
}

.contact-section {
  background: var(--paper-deep);
}

.contact-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--container));
  height: 1px;
  transform: translateX(-50%);
  background: var(--line);
  content: "";
}

.contact-intro {
  max-width: 760px;
  margin-bottom: 58px;
}

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

.contact-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 560px;
  flex-direction: column;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.section-contact-card {
  display: grid;
  min-height: 0;
  align-items: center;
  margin-top: 48px;
  padding: 28px 32px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 42px;
}

.section-contact-copy,
.section-contact-route {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.section-contact-card .contact-role {
  margin-bottom: 10px;
}

.contact-card.section-contact-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
}

.section-contact-card .contact-description {
  margin: 0;
}

.section-contact-route {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-contact-card .contact-person {
  margin-top: 12px;
}


.contact-card::after {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(93, 146, 152, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(93, 146, 152, 0.045);
  content: "";
}

.contact-card-provider::after {
  border-color: rgba(110, 130, 157, 0.22);
  box-shadow: 0 0 0 44px rgba(110, 130, 157, 0.05);
}

.contact-role {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card-provider .contact-role {
  color: var(--slate);
}

.contact-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.contact-description {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: 0 0 26px;
  color: var(--ink-soft);
}

.message-template {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0 0 26px;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 59, 96, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-action {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 10px;
}

.contact-action .button {
  width: 100%;
}

.contact-channel {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
}

.contact-channel:hover {
  color: var(--navy);
}

.contact-disclosure {
  max-width: 800px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.8rem;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
}

.footer-mark svg {
  width: 19px;
  height: 19px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-meta {
  justify-self: end;
  text-align: right;
  font-size: 0.73rem;
}

.footer-meta span {
  display: block;
}

.legal-main {
  min-height: calc(100vh - 120px);
  padding: calc(var(--header-height) + 76px) 0 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(480px, 1.3fr);
  align-items: start;
  gap: 86px;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.legal-summary {
  max-width: 430px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-status {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 9px 12px;
  border: 1px solid rgba(93, 146, 152, 0.35);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(93, 146, 152, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.legal-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.legal-content {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.legal-content section {
  padding: 0 0 32px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-note {
  padding: 18px;
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: rgba(93, 146, 152, 0.08);
  font-size: 0.9rem;
}

.legal-date {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.sr-only {
  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;
}

@media (max-width: 1200px) and (min-width: 1081px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }

  .hero-copy .display-title {
    font-size: clamp(2.75rem, 4vw, 3.05rem);
  }

  .hero-brand-stage {
    min-height: 340px;
    border-radius: 34px;
  }

  .hero-brand-core img {
    width: min(235px, 82%);
  }
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero-layout::before {
    display: none;
  }

  .hero-copy {
    max-width: 1120px;
  }

  .hero-copy .display-title {
    max-width: 850px;
    font-size: clamp(3.15rem, 5vw, 4.25rem);
    white-space: normal;
  }

  .hero-brand-stage {
    display: none;
  }

  .route-diagram {
    grid-template-columns: 1fr 22px 1fr 22px 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card {
    min-height: 220px;
  }

  .process-card::before {
    margin-bottom: 32px;
  }

  .about-layout {
    column-gap: 52px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    z-index: 120;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    visibility: hidden;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 18px 44px;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    background: rgba(247, 244, 239, 0.99);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav > a:not(.button) {
    padding: 18px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 24px;
  }

  .language-link {
    padding-left: 6px;
    border-left: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 52px);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy .display-title {
    max-width: 850px;
  }

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

  .clarity-item {
    padding-inline: 22px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .about-copy {
    padding-top: 0;
  }

  .boundary-panel {
    display: block;
    max-width: 680px;
    margin-top: 0;
    padding: 34px;
  }



  .boundary-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .boundary-list li {
    max-width: none;
    justify-self: stretch;
    padding: 0;
    border: 0;
  }

  .boundary-list li:last-child {
    padding: 0;
  }

  .contact-card {
    padding: 30px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-aside {
    position: static;
  }

  .legal-summary {
    max-width: 700px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 82px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 40px;
  }

  .section-heading-action {
    margin-top: 28px;
  }

  .hero {
    padding-bottom: 72px;
  }

  .display-title {
    font-size: clamp(2.5rem, 10.8vw, 3.4rem);
    letter-spacing: -0.052em;
  }

  .hero-copy .display-title {
    font-size: clamp(2.5rem, 10.8vw, 3.4rem);
  }

  .hero-lead {
    margin: 20px 0 22px;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .route-diagram {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 0;
  }

  .route-node {
    min-height: 98px;
    height: auto;
  }

  .route-center {
    min-height: 0;
  }

  .route-center img {
    max-width: 180px;
  }

  .route-connector {
    width: 1px;
    height: 24px;
    margin: auto;
  }

  .route-connector::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

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

  .clarity-item,
  .clarity-item:first-child,
  .clarity-item:last-child {
    min-height: 104px;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .clarity-item:last-child {
    border-bottom: 0;
  }

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

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

  .process-card::before {
    margin-bottom: 36px;
  }

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

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-contact-card {
    margin-top: 34px;
    padding: 26px 22px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-meta {
    justify-self: center;
    text-align: center;
  }

  .legal-main {
    padding-bottom: 72px;
  }

  .legal-content {
    padding: 30px 24px;
  }
}

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

  .legal-title {
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .brand-logo {
    width: 76px;
  }

  .brand-name {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: calc(var(--header-height) + 52px);
  }

  .hero-visual {
    padding: 20px;
    border-radius: 26px;
  }

  .visual-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-points {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    padding: 26px 22px;
    border-radius: 26px;
  }

  .message-template {
    padding: 18px;
    font-size: 0.73rem;
  }
}

@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;
  }
}
