:root {
  --navy-950: #061d30;
  --navy-900: #082a45;
  --navy-800: #0b3859;
  --navy-700: #0e4b73;
  --blue-600: #087cb8;
  --blue-500: #159bd3;
  --blue-100: #dff3fb;
  --ink: #10283a;
  --muted: #637786;
  --line: #d8e3ea;
  --surface: #f5f8fa;
  --white: #fff;
  --shadow: 0 22px 70px rgba(5, 35, 55, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-900);
  background: white;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e1e8ed;
  box-shadow: 0 5px 22px rgba(6, 35, 54, .07);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand { display: inline-flex; text-decoration: none; }

.brand-surface {
  width: 260px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-surface img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .96;
  filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0, 0, 0, .16));
}

.site-header .brand-surface img {
  filter: none;
  opacity: 1;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: #334d60;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue-500);
  transition: width .2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after { width: 100%; }

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

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

.button svg,
.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small { min-height: 42px; padding-inline: 17px; font-size: .875rem; }

.button-outline {
  color: var(--navy-800);
  border-color: #a8c2d2;
  background: #fff;
}

.button-outline:hover { color: #086d9f; background: var(--blue-100); border-color: #70b9d7; }

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 12px 30px rgba(0, 124, 184, .28);
}

.button-primary:hover { box-shadow: 0 16px 38px rgba(0, 124, 184, .38); }

.hero {
  position: relative;
  min-height: 760px;
  padding-top: 104px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: white;
  background: var(--navy-900);
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background: url("../img/login-bg.jpg") center 52% / cover no-repeat;
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 24, 40, .97) 0%, rgba(4, 30, 48, .89) 44%, rgba(7, 41, 62, .48) 72%, rgba(7, 39, 60, .62) 100%),
    linear-gradient(0deg, rgba(5, 30, 48, .78) 0%, transparent 40%);
}

.hero-shade::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  top: 52px;
  right: -220px;
  border: 1px solid rgba(96, 199, 237, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(84, 184, 224, .04), 0 0 0 190px rgba(84, 184, 224, .025);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding-block: 94px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .58fr);
  align-items: center;
  gap: 90px;
}

.hero-copy,
.hero-panel,
.section-heading > *,
.operation-grid > *,
.security-grid > * { min-width: 0; }

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8fddf8;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--blue-600); }
.eyebrow.light { color: #86d7f4; }

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(3.05rem, 5.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.hero h1 em { color: #8edcf6; font-style: normal; }

.hero-lead {
  max-width: 660px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, .77);
  font-size: 1.15rem;
  line-height: 1.75;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg { width: 17px; height: 17px; }

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 58, 87, .77), rgba(7, 34, 53, .72));
  box-shadow: 0 28px 65px rgba(3, 20, 33, .28);
  backdrop-filter: blur(12px);
}

.panel-kicker {
  margin: 0 0 9px;
  color: #7fd2f1;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-panel h2 { margin: 0; font: 700 1.45rem/1.3 "Segoe UI", Arial, sans-serif; }
.hero-panel ul { margin: 25px 0 0; padding: 0; list-style: none; }

.hero-panel li {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.check {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #a5e8fb;
  background: rgba(38, 169, 215, .15);
  border: 1px solid rgba(112, 211, 243, .3);
  border-radius: 50%;
  font-size: .75rem;
}

.hero-panel strong,
.hero-panel small { display: block; }
.hero-panel strong { margin-bottom: 5px; font-size: .96rem; }
.hero-panel small { color: rgba(255, 255, 255, .58); font-size: .78rem; line-height: 1.5; }

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .13);
  background: rgba(5, 29, 46, .72);
  backdrop-filter: blur(9px);
}

.strip-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); }

.strip-grid div {
  padding: 21px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, .11);
}

.strip-grid div:last-child { border-right: 1px solid rgba(255, 255, 255, .11); }
.strip-grid strong { color: #68c7eb; font: 700 .76rem "Segoe UI", Arial, sans-serif; }
.strip-grid span { color: rgba(255, 255, 255, .75); font-size: .83rem; font-weight: 600; }

.section { padding-block: 108px; }

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

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr .7fr;
  align-items: end;
  gap: 100px;
}

.section-heading h2,
.operation-copy h2,
.security-section h2 {
  margin: 0;
  color: var(--navy-900);
  font: 800 clamp(2.1rem, 3.7vw, 3.25rem)/1.15 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.04em;
}

.section-heading > p,
.operation-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 30px 26px;
  overflow: hidden;
  background: white;
  border: 1px solid #e0e9ee;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(12, 46, 66, .04);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card.featured { color: white; background: linear-gradient(155deg, var(--navy-800), #0b527b); border-color: transparent; }

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: 12px;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured .feature-icon { color: #bcecff; background: rgba(137, 222, 252, .13); }

.feature-number {
  position: absolute;
  top: 32px;
  right: 26px;
  color: #b1c0c9;
  font: 700 .72rem "Segoe UI", Arial, sans-serif;
}

.featured .feature-number { color: rgba(255, 255, 255, .5); }
.feature-card h3 { margin: 44px 0 14px; color: var(--navy-900); font: 700 1.18rem/1.35 "Segoe UI", Arial, sans-serif; }
.featured h3 { color: white; }
.feature-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.featured p { color: rgba(255, 255, 255, .68); }

.operation-section { background: white; }

.operation-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 92px; }

.operation-visual { position: relative; min-height: 575px; }

.visual-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5, 37, 58, .12), rgba(5, 37, 58, .18)), url("../img/login-bg.jpg") left center / cover;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(8, 45, 68, .18);
}

.visual-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: inherit;
}

.operation-copy > p { margin-top: 24px; }
.process-list { margin: 35px 0 0; padding: 0; list-style: none; }

.process-list li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.process-list li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: 10px;
  font-weight: 800;
}

.process-list strong,
.process-list small { display: block; }
.process-list strong { margin-bottom: 5px; color: var(--navy-900); font-family: "Segoe UI", Arial, sans-serif; }
.process-list small { color: var(--muted); font-size: .84rem; line-height: 1.55; }

.security-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--navy-900);
}

.security-section::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -290px;
  right: -150px;
  border: 90px solid rgba(70, 172, 210, .055);
  border-radius: 50%;
}

.security-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }
.security-section h2 { color: white; }
.security-intro { margin: 24px 0 28px; color: rgba(255, 255, 255, .66); line-height: 1.75; }
.light-link { color: #9ee4fa; }
.security-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.security-list > div {
  min-height: 155px;
  padding: 23px;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
}

.security-list > div > span { color: #69c9eb; font: 700 .7rem "Segoe UI", Arial, sans-serif; }
.security-list p { margin: 0; }
.security-list strong,
.security-list small { display: block; }
.security-list strong { margin-bottom: 9px; font: 700 .92rem "Segoe UI", Arial, sans-serif; }
.security-list small { color: rgba(255, 255, 255, .55); font-size: .8rem; line-height: 1.55; }

.site-footer { color: rgba(255, 255, 255, .68); background: #0a416c; }

.footer-main {
  min-height: 285px;
  padding-block: 58px;
  display: grid;
  grid-template-columns: 1.35fr .66fr .78fr 1.2fr;
  align-items: start;
  gap: 60px;
}

.footer-brand .brand-surface { width: 285px; height: 94px; }
.footer-company > p { max-width: 305px; margin: 30px 0 0; color: rgba(255, 255, 255, .86); font-size: .87rem; line-height: 1.65; }
.footer-column { display: flex; flex-direction: column; gap: 14px; }
.footer-column > strong { margin-bottom: 9px; color: white; font-size: .9rem; }
.footer-column > a,
.footer-column p,
.footer-column p a,
.footer-bottom a { color: rgba(255, 255, 255, .62); font-size: .8rem; line-height: 1.55; text-decoration: none; }
.footer-column > a:hover,
.footer-column p a:hover,
.footer-bottom a:hover { color: white; }
.footer-column p { margin: 0 0 3px; }
.footer-column p b { color: white; }

.footer-locations-wrap {
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(2, 25, 43, .13);
}

.footer-locations {
  min-height: 205px;
  padding-block: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 38px;
}

.footer-locations address { margin: 0; font-style: normal; }
.footer-locations strong,
.footer-locations span { display: block; }
.footer-locations strong { margin-bottom: 14px; color: white; font-size: .8rem; }
.footer-locations span { color: rgba(255, 255, 255, .62); font-size: .78rem; line-height: 1.55; }

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .43);
  font-size: .73rem;
}

.solid-header { position: relative; background: #fff; }
.solid-header .site-nav { display: none; }
.legal-page { background: var(--surface); }

.legal-hero {
  padding-block: 70px 76px;
  color: white;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}

.legal-hero .back-link { display: inline-block; margin-bottom: 42px; color: rgba(255, 255, 255, .7); font-size: .85rem; text-decoration: none; }
.legal-hero h1 { margin: 0; font: 800 clamp(2.5rem, 5vw, 4.2rem)/1.1 "Segoe UI", Arial, sans-serif; letter-spacing: -.05em; }
.legal-hero > .container > p:last-child { margin: 18px 0 0; color: rgba(255, 255, 255, .62); }

.legal-content {
  max-width: 900px;
  margin-block: 60px 90px;
  padding: 55px 64px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(8, 42, 63, .07);
}

.legal-content .legal-lead { margin: 0 0 45px; color: var(--navy-800); font-size: 1.18rem; line-height: 1.75; }
.legal-content h2 { margin: 36px 0 11px; color: var(--navy-900); font: 700 1.18rem "Segoe UI", Arial, sans-serif; }
.legal-content p { color: #536977; font-size: .96rem; line-height: 1.8; }
.legal-content a { color: var(--blue-600); font-weight: 700; }
.compact-footer .footer-bottom { min-height: 72px; }

@media (max-width: 1020px) {
  .site-nav { display: none; }
  .hero-content { grid-template-columns: 1fr .62fr; gap: 45px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .operation-grid { gap: 55px; }
  .security-grid { gap: 55px; }
  .footer-main { grid-template-columns: 1.1fr .7fr .8fr; gap: 45px; }
  .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .footer-contact > strong { grid-column: 1 / -1; }
  .footer-locations { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .container { width: min(100% - 30px, 1180px); }
  .header-inner { min-height: 82px; gap: 14px; }
  .brand-surface { width: 210px; height: 70px; }
  .header-inner .button svg { display: none; }
  .hero { min-height: auto; padding-top: 82px; }
  .hero-content { padding-block: 72px 56px; grid-template-columns: 1fr; gap: 45px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-panel { max-width: 520px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid div:nth-child(odd) { border-left: 0; }
  .strip-grid div { border-top: 1px solid rgba(255, 255, 255, .09); }
  .section { padding-block: 76px; }
  .section-heading,
  .operation-grid,
  .security-grid { grid-template-columns: 1fr; gap: 38px; }
  .section-heading { align-items: start; }
  .operation-visual { min-height: 480px; order: 2; }
  .operation-copy { order: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px; }
  .footer-company,
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-locations { grid-template-columns: 1fr 1fr; gap: 34px; }
  .legal-content { padding: 40px 30px; }
}

@media (max-width: 520px) {
  .header-inner { justify-content: space-between; }
  .brand-surface { width: 170px; height: 56px; }
  .button-small { min-height: 39px; padding-inline: 11px; font-size: .75rem; white-space: nowrap; }
  .hero-content { padding-top: 58px; }
  .eyebrow { font-size: .65rem; }
  .hero h1 { font-size: clamp(2.15rem, 10.5vw, 2.65rem); overflow-wrap: break-word; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .hero-actions .text-link { justify-content: center; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid div { padding: 17px 8px; border-left: 0; border-right: 0 !important; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 285px; }
  .section-heading h2,
  .operation-copy h2,
  .security-section h2 { font-size: 2rem; }
  .operation-visual { min-height: 410px; }
  .visual-photo { right: 0; }
  .security-list { grid-template-columns: 1fr; }
  .hero-panel { padding: 25px 20px; }
  .hero-panel h2 { font-size: 1.25rem; }
  .footer-main,
  .footer-contact,
  .footer-locations { grid-template-columns: 1fr; }
  .footer-contact { gap: 13px; }
  .footer-bottom { padding-block: 18px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
  .legal-hero { padding-block: 50px 58px; }
  .legal-hero .back-link { margin-bottom: 32px; }
  .legal-content { width: min(100% - 24px, 900px); margin-block: 28px 60px; padding: 32px 22px; }
}

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