@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --page-bg: #f7f6fb;
  --panel-bg: rgba(255, 255, 255, 0.9);
  --purple-900: #17145c;
  --purple-800: #24206f;
  --purple-600: #6f5df4;
  --purple-200: #e9e6ff;
  --purple-100: #f3f1ff;
  --text: #161b46;
  --muted: #74789a;
  --line: #dddff0;
  --teal: #07809a;
  --danger: #b84255;
  --shadow: 0 26px 70px rgba(35, 31, 99, 0.16);
}

/* Standalone login page uses the same visual language as the landing login modal. */
body.login-page {
  overflow-x: hidden;
}

.login-page .login-shell {
  grid-template-rows: minmax(0, 1fr);
  min-height: 100vh;
  padding: 0;
}

.login-page .login-home-link {
  position: fixed;
  top: 26px;
  right: 30px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--purple-900);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 220, 232, 0.94);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(35, 31, 99, 0.12);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 900;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.login-page .login-home-link:hover {
  color: var(--purple-600);
  border-color: rgba(111, 93, 244, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(35, 31, 99, 0.16);
}

.login-page .login-home-link svg,
.login-page .login-home-link .lucide {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-page .login-main {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.login-page .login-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.login-page .login-visual {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.login-page .login-photo-frame {
  position: absolute;
  inset: 0;
}

.login-page .login-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0.04) 0%, rgba(8, 12, 24, 0.24) 48%, rgba(8, 12, 24, 0.82) 100%),
    linear-gradient(90deg, transparent 0%, rgba(8, 12, 24, 0.18) 100%);
}

.login-page .login-photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.login-page .login-photo-frame img.is-active {
  opacity: 1;
  transform: scale(1);
}

.login-page .login-photo-copy {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 48px;
  z-index: 1;
  color: #fff;
}

.login-page .login-photo-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.login-page .login-card {
  position: relative;
  display: grid;
  align-content: center;
  justify-self: center;
  width: min(560px, calc(100% - 96px));
  min-height: 100vh;
  padding: 70px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.login-page .login-brand-block {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 8px 0 28px;
  text-align: center;
}

.login-page .login-brand-block img {
  width: min(174px, 48%);
  height: auto;
}

.login-page .login-brand-block p {
  margin: 0;
  color: #667085;
  font-size: 15px;
  font-weight: 750;
}

.login-page .login-brand-block span {
  color: var(--purple-600);
}

.login-page #loginForm {
  display: grid;
  gap: 18px;
}

.login-page .field {
  gap: 8px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.login-page .input-wrap {
  min-height: 54px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.9);
  border-color: #d8dce8;
  border-radius: 10px;
}

.login-page .input-wrap:focus-within {
  background: #fff;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(111, 93, 244, 0.12);
}

.login-page .form-row {
  margin: 0;
}

.login-page .login-error {
  min-height: 20px;
  margin: -4px 0 0;
}

.login-page .sign-in-button,
.login-page .demo-button,
.login-page .create-account-button {
  min-height: 56px;
  border-radius: 10px;
}

.login-page .sign-in-button {
  background: linear-gradient(135deg, var(--purple-600), #7a35ea);
  box-shadow: 0 18px 34px rgba(108, 60, 255, 0.28);
}

.login-page .demo-button,
.login-page .create-account-button {
  color: var(--purple-600);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(108, 60, 255, 0.28);
}

.login-page .create-account-button {
  margin-top: 0;
}

.login-page .divider {
  margin: 2px 0;
}

.login-page .login-footer {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .login-page .login-photo-frame img {
    transition: none;
  }
}

@media (max-width: 980px) {
  .login-page .login-dialog {
    grid-template-columns: 1fr;
    width: 100vw;
  }

  .login-page .login-visual {
    min-height: 34vh;
    margin: 0;
  }

  .login-page .login-card {
    min-height: auto;
    width: min(560px, calc(100% - 48px));
    padding: 38px 0 34px;
  }
}

@media (max-width: 720px) {
  .login-page .login-shell {
    padding: 0;
  }

  .login-page .login-dialog {
    width: 100%;
    border-radius: 0;
  }

  .login-page .login-photo-copy {
    left: 26px;
    right: 26px;
    bottom: 28px;
  }

  .login-page .login-photo-copy h1 {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .login-page .login-home-link {
    top: 16px;
    right: 16px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .login-page .login-visual {
    display: none;
  }

  .login-page .login-card {
    width: min(100% - 36px, 480px);
    min-height: 100vh;
    padding: 82px 0 30px;
  }

  .login-page .form-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 82%, rgba(181, 229, 250, 0.48), transparent 28%),
    radial-gradient(circle at 72% 18%, rgba(232, 227, 255, 0.8), transparent 34%),
    linear-gradient(135deg, #fbfbff 0%, var(--page-bg) 48%, #f2f0fa 100%);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.login-header,
.login-header *,
.login-nav,
.login-nav *,
.login-brand,
.login-brand *,
.brand-logo,
.brand-platform,
button,
button *,
[role="button"],
[role="button"] *,
svg,
.lucide,
[class*="-icon"],
[class*="-icon"] * {
  -webkit-user-select: none;
  user-select: none;
}

img,
svg,
.lucide {
  -webkit-user-drag: none;
  user-select: none;
}

.login-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  padding: 0 48px 22px;
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: calc(100% + 96px);
  min-height: 82px;
  margin: 0 -48px;
  padding: 14px 64px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 228, 241, 0.9);
  box-shadow: 0 8px 24px rgba(30, 28, 93, 0.05);
  backdrop-filter: blur(18px);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(132px, 10vw, 176px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brand-divider {
  width: 1px;
  height: 42px;
  background: #c9ccdc;
}

.brand-platform {
  display: grid;
  gap: 5px;
  color: #5e6380;
  font-weight: 850;
  letter-spacing: 0.035em;
  line-height: 1.1;
}

.brand-platform strong,
.brand-platform small {
  display: block;
  font-size: 14px;
}

.login-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 58px);
  color: var(--purple-900);
  font-size: 18px;
  font-weight: 800;
}

.login-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  white-space: nowrap;
  transition: color 160ms ease;
}

.login-nav a:hover {
  color: var(--purple-600);
}

.login-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-pill,
.icon-button,
.user-mini {
  color: var(--purple-900);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid transparent;
}

.language-pill {
  min-width: 42px;
  height: 38px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.icon-button svg,
.icon-button .lucide,
.chevron,
.input-wrap svg,
.input-wrap .lucide,
.feature-icon svg,
.feature-icon .lucide,
.trust-icon svg,
.trust-icon .lucide,
.demo-button svg,
.demo-button .lucide,
.create-account-button svg,
.create-account-button .lucide {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.icon-button .lucide {
  width: 18px;
  height: 18px;
}

.user-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px 5px 5px;
  border-radius: 999px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--purple-900);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.user-copy {
  display: grid;
  gap: 1px;
}

.user-copy strong {
  font-size: 13px;
}

.user-copy small {
  color: var(--muted);
  font-size: 11px;
}

.chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.login-main {
  display: grid;
  grid-template-columns: minmax(390px, 500px) minmax(460px, 660px) minmax(360px, 450px);
  align-items: center;
  gap: clamp(12px, 2vw, 34px);
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 0 34px;
}

.welcome-panel {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--purple-600);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--purple-900);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(44px, 3.65vw, 62px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  white-space: nowrap;
}

.hero-title .hero-highlight {
  color: #075f7f;
}

.welcome-lede {
  max-width: 520px;
  margin: 26px 0 34px;
  color: #565b80;
  font-size: 20px;
  line-height: 1.45;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--purple-600);
  background: #fff;
  border: 1px solid rgba(221, 223, 240, 0.88);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(73, 63, 172, 0.1);
}

.feature-icon svg,
.feature-icon .lucide {
  width: 29px;
  height: 29px;
}

.feature-icon-text {
  color: var(--purple-600);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.feature-row strong,
.feature-row small {
  display: block;
}

.feature-row strong {
  margin-bottom: 4px;
  color: var(--purple-900);
  font-size: 17px;
}

.feature-row small {
  color: #606483;
  font-size: 14px;
  line-height: 1.45;
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(221, 223, 240, 0.88);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(35, 31, 99, 0.1);
  backdrop-filter: blur(14px);
}

.trust-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--purple-900);
}

.trust-copy p {
  margin: 0;
  color: #4f5478;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.45;
}

.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--teal);
  background: #eefbff;
  border-radius: 12px;
}

.trust-icon svg,
.trust-icon .lucide {
  width: 21px;
  height: 21px;
}

.trust-stats {
  display: flex;
  align-items: center;
}

.trust-stats span {
  display: grid;
  min-width: 86px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.trust-stats strong {
  color: var(--purple-900);
  font-size: 22px;
  line-height: 1;
}

.trust-stats small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.route-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 630px;
  z-index: 1;
  pointer-events: none;
}

.route-visual::before {
  content: "";
  position: absolute;
  inset: 22% 0 6%;
  background: radial-gradient(circle at 50% 42%, rgba(132, 113, 245, 0.16), transparent 58%);
  filter: blur(16px);
}

.route-map {
  position: relative;
  display: block;
  width: clamp(640px, 122%, 830px);
  height: auto;
  aspect-ratio: 640 / 520;
  margin: 0;
  overflow: visible;
}

.route-map #loginMapDots circle,
.route-map #loginKoreaDots circle {
  fill: #7567f4;
  opacity: 0.56;
}

.map-layer {
  opacity: 0.95;
}

.korea-map-wash {
  fill: #6f5df4;
  opacity: 0.1;
}

.korea-map-dots {
  fill: url(#loginKoreaDots);
  opacity: 0.82;
}

.latam-map-wash {
  fill: #6f5df4;
  opacity: 0.08;
}

.latam-map-dots {
  fill: url(#loginMapDots);
  opacity: 0.76;
}

.route-lines {
  fill: none;
}

.route-path {
  fill: none;
  stroke: url(#routeGradient);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: routeDraw 7.6s cubic-bezier(0.34, 0.04, 0.2, 1) infinite;
  animation-delay: var(--route-delay, 0s);
}

.route-mexico {
  --route-delay: 0.2s;
}

.route-brazil {
  --route-delay: 0.9s;
}

.route-chile {
  --route-delay: 1.6s;
}

.route-argentina {
  --route-delay: 2.3s;
}

.node {
  fill: #fff;
  stroke: var(--purple-600);
  stroke-width: 3.2;
}

.origin-node {
  stroke: var(--purple-600);
}

.target-node {
  stroke: var(--teal);
  transform-box: fill-box;
  transform-origin: center;
  animation: markerPulse 7.6s ease-out infinite;
  animation-delay: var(--pulse-delay, 1.6s);
}

.mexico-node {
  --pulse-delay: 1.7s;
}

.brazil-node {
  --pulse-delay: 2.4s;
}

.chile-node {
  --pulse-delay: 3.1s;
}

.argentina-node {
  --pulse-delay: 3.8s;
}

.traveler {
  fill: #fff;
  stroke: #6f5df4;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 7px rgba(111, 93, 244, 0.75));
}

.map-labels rect {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(221, 223, 240, 0.92);
}

.map-labels text {
  fill: var(--purple-900);
  font-size: 12px;
  font-weight: 900;
  text-anchor: middle;
  text-transform: uppercase;
}

@keyframes routeDraw {
  0%,
  7% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  26%,
  78% {
    stroke-dashoffset: 0;
    opacity: 0.72;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0.16;
  }
}

@keyframes markerPulse {
  0%,
  22% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(7, 128, 154, 0));
  }

  30% {
    transform: scale(1.36);
    filter: drop-shadow(0 0 13px rgba(111, 93, 244, 0.36));
  }

  42%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(7, 128, 154, 0.22));
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-path,
  .target-node {
    animation: none;
  }

  .route-path {
    stroke-dashoffset: 0;
    opacity: 0.62;
  }

  .traveler {
    display: none;
  }
}

.login-card {
  position: relative;
  z-index: 3;
  padding: 42px;
  background: var(--panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-heading h2 {
  margin: 0 0 8px;
  color: var(--purple-900);
  font-size: 36px;
  letter-spacing: -0.03em;
}

.card-heading p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 16px;
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
}

.input-wrap {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d7d9ea;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-wrap:focus-within {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(111, 93, 244, 0.12);
}

.input-wrap svg {
  width: 21px;
  height: 21px;
  color: #707697;
}

.input-wrap .lucide {
  width: 21px;
  height: 21px;
  color: #707697;
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.input-wrap input::placeholder {
  color: #a3a8bf;
}

.password-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #707697;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.password-toggle:hover {
  color: var(--purple-600);
  background: var(--purple-100);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0 12px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f5478;
  font-size: 13px;
  font-weight: 760;
}

.remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--purple-600);
}

.form-row a {
  color: var(--purple-600);
  font-size: 13px;
  font-weight: 850;
}

.login-error {
  min-height: 20px;
  margin: 0 0 8px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 760;
}

.sign-in-button,
.demo-button,
.create-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.sign-in-button {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-800));
  border: 0;
  box-shadow: 0 16px 28px rgba(23, 20, 92, 0.22);
}

.sign-in-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(23, 20, 92, 0.28);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--muted);
}

.divider span {
  height: 1px;
  background: var(--line);
}

.divider em {
  font-style: normal;
  font-size: 13px;
  font-weight: 760;
}

.demo-button,
.create-account-button {
  gap: 10px;
  color: var(--purple-900);
  background: #fff;
  border: 1px solid #d8daeb;
}

.demo-button svg,
.demo-button .lucide,
.create-account-button svg,
.create-account-button .lucide {
  width: 22px;
  height: 22px;
}

.demo-button:hover,
.create-account-button:hover {
  color: var(--purple-600);
  background: #fbfaff;
  border-color: #c8c2ff;
}

.create-account-button {
  margin-top: 12px;
}

.demo-access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
  padding: 15px 16px;
  color: #565b80;
  background: #f7f8fe;
  border: 1px solid #e3e5f3;
  border-radius: 12px;
  font-size: 13px;
}

.demo-access strong,
.demo-access span {
  font-weight: 850;
}

.demo-access span {
  color: var(--teal);
}

.contact-copy {
  margin: 22px 0 0;
  color: #565b80;
  text-align: center;
  font-size: 14px;
}

.contact-copy a {
  color: var(--purple-600);
  font-weight: 900;
}

.login-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #676b8d;
  font-size: 13px;
  text-align: center;
}

.login-footer a {
  color: var(--purple-900);
  font-weight: 780;
}

.login-nav a.active {
  color: var(--purple-600);
}

.features-page {
  overflow-x: hidden;
}

.features-shell {
  grid-template-rows: auto 1fr auto;
}

.features-main {
  display: grid;
  gap: 86px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 64px 0 52px;
}

.features-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 5vw, 84px);
}

.features-hero-copy h1,
.features-section-heading h2,
.showcase-copy h2,
.features-cta h2 {
  margin: 0;
  color: var(--purple-900);
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.features-hero-copy p:not(.eyebrow),
.showcase-copy > p,
.features-cta p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #5f6385;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.65;
  font-weight: 600;
}

.features-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.feature-primary-link,
.feature-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.feature-primary-link {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  box-shadow: 0 18px 36px rgba(111, 93, 244, 0.22);
}

.feature-secondary-link {
  color: var(--purple-900);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 93, 244, 0.2);
}

.feature-primary-link:hover,
.feature-secondary-link:hover {
  transform: translateY(-2px);
}

.features-hero-visual {
  position: relative;
  min-width: 0;
}

.feature-window {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, rgba(233, 230, 255, 0.78), rgba(214, 240, 250, 0.44));
  border: 1px solid rgba(220, 222, 241, 0.92);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(35, 31, 99, 0.18);
}

.feature-window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(111, 93, 244, 0.05) 49% 50%, transparent 50%),
    linear-gradient(0deg, transparent 0 49%, rgba(111, 93, 244, 0.045) 49% 50%, transparent 50%);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 78%, transparent);
}

.feature-window-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: var(--purple-900);
  font-size: 12px;
  font-weight: 900;
}

.feature-window-top span {
  width: 10px;
  height: 10px;
  background: #d8d9e9;
  border-radius: 50%;
}

.feature-window-top span:nth-child(2) {
  background: #bdb6ff;
}

.feature-window-top span:nth-child(3) {
  margin-right: 8px;
  background: #8ed8e6;
}

.feature-command-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-score-card,
.feature-maria-card,
.showcase-card,
.feature-tile,
.features-cta,
.workflow-rail article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(222, 224, 242, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(35, 31, 99, 0.08);
}

.feature-score-card {
  display: grid;
  gap: 5px;
  min-height: 132px;
  padding: 18px;
}

.feature-score-card small,
.feature-tile li,
.workflow-rail p,
.showcase-card p,
.showcase-stats small {
  color: var(--muted);
  font-weight: 750;
}

.feature-score-card strong {
  color: var(--purple-600);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.feature-score-card.green strong {
  color: #2f8f68;
}

.feature-score-card.teal strong {
  color: var(--teal);
}

.feature-score-card span {
  color: #555a80;
  font-size: 12px;
  font-weight: 850;
}

.feature-dashboard-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
  gap: 14px;
  align-items: stretch;
}

.feature-mini-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 212px;
  padding: 26px 22px;
  background:
    linear-gradient(to top, rgba(111, 93, 244, 0.09) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(222, 224, 242, 0.92);
  border-radius: 18px;
}

.feature-mini-chart span {
  flex: 1;
  min-width: 18px;
  background: linear-gradient(180deg, rgba(111, 93, 244, 0.95), rgba(111, 93, 244, 0.25));
  border-radius: 10px 10px 4px 4px;
  transform-origin: bottom;
  animation: feature-bar-rise 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-mini-chart span:nth-child(2) {
  animation-delay: 90ms;
}

.feature-mini-chart span:nth-child(3) {
  animation-delay: 180ms;
}

.feature-mini-chart span:nth-child(4) {
  animation-delay: 270ms;
}

.feature-mini-chart span:nth-child(5) {
  animation-delay: 360ms;
}

.feature-maria-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.feature-spark,
.feature-tile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--purple-600);
  background: var(--purple-100);
  border: 1px solid rgba(111, 93, 244, 0.14);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 950;
}

.feature-maria-card strong {
  color: var(--purple-900);
  font-size: 20px;
}

.feature-maria-card p {
  margin: 0;
  color: #626789;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.feature-route-strip {
  position: relative;
  z-index: 1;
  min-height: 160px;
  padding: 8px 0 0;
}

.feature-route-strip svg {
  display: block;
  width: 100%;
  height: auto;
}

.feature-latam-dots,
#featureMapDots circle {
  fill: rgba(111, 93, 244, 0.68);
}

.feature-korea-dot,
.feature-target-dot {
  fill: #fff;
  stroke: var(--purple-600);
  stroke-width: 4;
}

.feature-route-line {
  fill: none;
  stroke: url(#featureRouteGradient);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.62;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: feature-route-draw 4.8s ease-in-out infinite;
}

.feature-route-line.two {
  animation-delay: 300ms;
}

.feature-route-line.three {
  animation-delay: 600ms;
}

.features-section-heading {
  display: grid;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.features-section-heading h2,
.showcase-copy h2,
.features-cta h2 {
  font-size: clamp(34px, 3.2vw, 54px);
}

.features-section-heading.compact {
  margin-bottom: 24px;
}

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

.feature-tile {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 93, 244, 0.28);
  box-shadow: 0 24px 60px rgba(35, 31, 99, 0.13);
}

.feature-tile.large {
  grid-column: span 2;
  min-height: 310px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 241, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
}

.feature-tile h3,
.showcase-card h3 {
  margin: 0;
  color: var(--purple-900);
  font-size: 22px;
  line-height: 1.15;
}

.feature-tile p {
  margin: 0;
  color: #626789;
  line-height: 1.6;
  font-weight: 650;
}

.feature-tile ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.feature-tile li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
}

.feature-tile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--purple-600);
  border-radius: 50%;
}

.workflow-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.workflow-rail::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 45px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-600), rgba(7, 128, 154, 0.42));
  border-radius: 999px;
}

.workflow-rail article {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 26px 20px 20px;
}

.workflow-rail span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  border-radius: 50%;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(111, 93, 244, 0.22);
}

.workflow-rail strong {
  color: var(--purple-900);
  font-size: 18px;
}

.workflow-rail p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.features-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(540px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.showcase-stats span {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(222, 224, 242, 0.92);
  border-radius: 16px;
}

.showcase-stats strong {
  color: var(--purple-600);
  font-size: 32px;
  line-height: 1;
}

.showcase-stack {
  display: grid;
  gap: 18px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr);
  gap: 24px;
  align-items: center;
  min-height: 178px;
  padding: 24px;
}

.showcase-card p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.showcase-bars {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 10px;
  height: 110px;
}

.showcase-bars span {
  width: 32px;
  background: linear-gradient(180deg, rgba(111, 93, 244, 0.95), rgba(111, 93, 244, 0.2));
  border-radius: 999px 999px 6px 6px;
}

.compliance-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compliance-card li {
  height: 10px;
  overflow: hidden;
  background: #edf0f9;
  border-radius: 999px;
}

.compliance-card li span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple-600), #2f8f68);
  border-radius: inherit;
}

.partner-pills {
  display: grid;
  gap: 10px;
}

.partner-pills span {
  padding: 12px 14px;
  color: var(--purple-900);
  background: var(--purple-100);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.features-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 230, 255, 0.72)),
    rgba(255, 255, 255, 0.9);
}

.features-cta h2 {
  max-width: 920px;
}

.features-cta p {
  max-width: 760px;
  font-size: 16px;
}

.contact-page {
  overflow-x: hidden;
}

.contact-main {
  display: grid;
  gap: 72px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 64px 0 52px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(460px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
}

.contact-hero-copy h1,
.contact-network-copy h2 {
  margin: 0;
  color: var(--purple-900);
  font-size: clamp(42px, 4.3vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.contact-hero-copy > p:not(.eyebrow),
.contact-network-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: #5f6385;
  font-size: clamp(17px, 1.28vw, 22px);
  line-height: 1.65;
  font-weight: 600;
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-channel-grid article,
.contact-form-card,
.contact-network-card,
.contact-help-grid article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(222, 224, 242, 0.9);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(35, 31, 99, 0.08);
}

.contact-channel-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
}

.contact-channel-grid span,
.contact-help-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--purple-600);
  background: var(--purple-100);
  border: 1px solid rgba(111, 93, 244, 0.14);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 950;
}

.contact-channel-grid strong,
.contact-help-grid strong {
  color: var(--purple-900);
  font-size: 17px;
  line-height: 1.2;
}

.contact-channel-grid a,
.contact-channel-grid small {
  color: #606487;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-channel-grid a {
  color: var(--purple-600);
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 18% 0%, rgba(111, 93, 244, 0.16), transparent 34%);
  box-shadow: 0 30px 90px rgba(35, 31, 99, 0.16);
}

.contact-form-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(111, 93, 244, 0.14), transparent 68%);
}

.contact-form-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-form-heading h2 {
  margin: 0 0 4px;
  color: var(--purple-900);
  font-size: 28px;
  line-height: 1.1;
}

.contact-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d9dbea;
  border-radius: 12px;
  outline: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  min-height: 124px;
  padding-top: 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(111, 93, 244, 0.12);
}

.contact-message-field,
.contact-submit,
.contact-status {
  grid-column: 1 / -1;
}

.contact-submit {
  min-height: 54px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  border: 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(111, 93, 244, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(111, 93, 244, 0.28);
}

.contact-status {
  min-height: 22px;
  margin: 0;
  color: var(--purple-600);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.contact-status[data-status="error"] {
  color: var(--danger);
}

.contact-support-section {
  display: grid;
  gap: 18px;
}

.contact-network-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.75fr) minmax(500px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 230, 255, 0.74)),
    rgba(255, 255, 255, 0.9);
}

.contact-network-copy h2 {
  font-size: clamp(34px, 3.1vw, 54px);
}

.contact-network-copy p:not(.eyebrow) {
  font-size: 16px;
}

.contact-network-visual {
  min-width: 0;
}

.contact-network-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.contact-korea-map,
.contact-latam-map,
#contactDots circle {
  fill: rgba(111, 93, 244, 0.68);
}

.contact-route {
  fill: none;
  stroke: url(#contactRouteGradient);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.62;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: feature-route-draw 5.2s ease-in-out infinite;
}

.contact-route.two {
  animation-delay: 280ms;
}

.contact-route.three {
  animation-delay: 560ms;
}

.contact-node {
  fill: #fff;
  stroke: var(--purple-600);
  stroke-width: 4;
  filter: drop-shadow(0 8px 14px rgba(111, 93, 244, 0.26));
}

.contact-node.origin {
  stroke: var(--teal);
}

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

.contact-help-grid article {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-help-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(111, 93, 244, 0.28);
  box-shadow: 0 24px 60px rgba(35, 31, 99, 0.13);
}

.contact-help-grid p {
  margin: 0;
  color: #626789;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.58;
}

.contact-simple-main {
  align-content: start;
  gap: 18px;
  width: min(1040px, 100%);
  min-height: 0;
  padding: 24px 0 18px;
}

.contact-simple-hero {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.contact-simple-title {
  margin: 0;
  color: var(--purple-900);
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.contact-simple-hero p {
  max-width: 900px;
  margin: 0;
  color: #5f6385;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.28;
  font-weight: 800;
}

.contact-list-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 12px 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(222, 224, 242, 0.92);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(35, 31, 99, 0.14);
  backdrop-filter: blur(16px);
}

.contact-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 62px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(216, 219, 234, 0.95);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #4e34ff;
  background: radial-gradient(circle at 38% 24%, #fbfaff, #eee9ff);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(111, 93, 244, 0.07);
}

.contact-row-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row-icon-text {
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.contact-person-row h2 {
  margin-bottom: 6px;
}

.contact-schedule-row {
  align-items: center;
}

.contact-row h2 {
  margin: 0 0 2px;
  color: var(--purple-900);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.12;
  font-weight: 900;
}

.contact-row a,
.contact-row p {
  margin: 0;
  color: #4e34ff;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.25;
  font-weight: 900;
}

.contact-row p {
  color: #5f6385;
}

.contact-row .contact-meeting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-600));
  border-radius: 999px;
  font-size: clamp(13px, 0.95vw, 15px);
  box-shadow: 0 14px 30px rgba(111, 93, 244, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-row .contact-meeting-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(111, 93, 244, 0.3);
}

@keyframes feature-bar-rise {
  from {
    transform: scaleY(0.08);
    opacity: 0.25;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes feature-route-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  22% {
    opacity: 0.68;
  }

  58%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-mini-chart span,
  .feature-route-line,
  .feature-primary-link,
  .feature-secondary-link,
  .feature-tile {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .login-shell {
    padding: 22px;
  }

  .login-main {
    grid-template-columns: minmax(420px, 1fr) minmax(360px, 460px);
  }

  .route-visual {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 430px;
    opacity: 0.82;
  }

  .route-map {
    width: min(760px, 100%);
    height: auto;
  }

  .features-main {
    gap: 58px;
    padding-top: 42px;
  }

  .features-hero,
  .features-showcase,
  .contact-hero,
  .contact-network-card {
    grid-template-columns: 1fr;
  }

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

  .workflow-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-main {
    gap: 54px;
    padding-top: 42px;
  }

  .contact-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-rail::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .login-header,
  .login-nav,
  .form-row,
  .trust-card {
    align-items: flex-start;
  }

  .login-header,
  .login-main,
  .trust-card {
    grid-template-columns: 1fr;
  }

  .login-header,
  .form-row {
    flex-direction: column;
  }

  .login-header {
    gap: 12px;
  }

  .login-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 24px;
    font-size: 15px;
  }

  .login-main {
    display: grid;
    gap: 28px;
    padding-top: 30px;
  }

  .route-visual {
    min-height: 340px;
  }

  .login-card {
    padding: 28px;
  }

  .features-main {
    gap: 44px;
    padding: 32px 0 28px;
  }

  .features-hero-copy h1,
  .features-section-heading h2,
  .showcase-copy h2,
  .features-cta h2 {
    font-size: 38px;
  }

  .feature-window {
    border-radius: 20px;
    padding: 14px;
  }

  .feature-command-grid,
  .feature-dashboard-row,
  .features-grid,
  .workflow-rail,
  .showcase-stats,
  .showcase-card,
  .features-cta,
  .contact-channel-grid,
  .contact-form,
  .contact-help-grid {
    grid-template-columns: 1fr;
  }

  .features-cta {
    display: grid;
    padding: 24px;
  }

  .contact-main {
    gap: 42px;
    padding: 32px 0 28px;
  }

  .contact-hero-copy h1,
  .contact-network-copy h2 {
    font-size: 38px;
  }

  .contact-form-card,
  .contact-network-card {
    padding: 24px;
    border-radius: 20px;
  }

  .contact-channel-grid article,
  .contact-help-grid article {
    min-height: auto;
  }

  .contact-list-card {
    padding: 12px 24px;
  }

  .trust-stats {
    width: 100%;
    justify-content: space-between;
  }

  .trust-stats span {
    min-width: 0;
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  .login-shell {
    padding: 0 14px 18px;
  }

  .login-header {
    width: calc(100% + 28px);
    margin: 0 -14px;
    padding: 14px;
  }

  .route-visual {
    display: none;
  }

  .brand-logo {
    width: 124px;
    max-height: 42px;
  }

  .brand-divider {
    height: 34px;
  }

  .brand-platform strong,
  .brand-platform small {
    font-size: 10px;
  }

  .hero-title {
    font-size: 46px;
  }

  .welcome-lede {
    font-size: 16px;
  }

  .feature-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .login-card {
    border-radius: 20px;
    padding: 22px;
  }

  .features-hero-copy h1,
  .features-section-heading h2,
  .showcase-copy h2,
  .features-cta h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .features-hero-actions {
    display: grid;
  }

  .contact-hero-copy h1,
  .contact-network-copy h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .contact-form-heading {
    align-items: flex-start;
  }

  .contact-network-visual {
    display: none;
  }

  .contact-simple-main {
    gap: 16px;
    padding-top: 20px;
  }

  .contact-list-card {
    padding: 10px 14px;
    border-radius: 20px;
  }

  .contact-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    min-height: 64px;
  }

  .contact-row-icon {
    width: 42px;
    height: 42px;
  }

  .contact-row-icon svg {
    width: 21px;
    height: 21px;
  }

  .feature-command-grid,
  .feature-dashboard-row {
    gap: 10px;
  }

  .feature-route-strip {
    display: none;
  }

  .feature-tile.large {
    grid-column: auto;
  }

  .feature-tile,
  .workflow-rail article,
  .showcase-card {
    min-height: auto;
    padding: 20px;
  }
}
