/* LMS design — landing page (01 메인). Ported from the React/Vite design. */

/* ===== landing/LandingHero.module.css (prefix .lh-) ===== */
.lh-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 12% 38%, rgb(from var(--accent) r g b / 0.12), transparent 68%),
    radial-gradient(480px 280px at 92% 8%, rgb(from var(--accent) r g b / 0.06), transparent 70%),
    var(--bg);
}

.lh-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  align-items: center;
  max-width: 1180px;
  min-height: 660px;
  margin: 0 auto;
  padding: 36px 8px 20px;
}

.lh-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 36px 36px 36px 4px;
  animation: lp-rise 0.8s ease both;
}

.lh-copy::before {
  content: "EDUCATION MEETS TECHNOLOGY";
  display: block;
  margin-bottom: 22px;
  padding-left: 28px;
  background: linear-gradient(var(--accent), var(--accent)) left center / 18px 2px no-repeat;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.lh-headline {
  margin: 0;
  color: var(--text);
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.lh-line {
  display: block;
  white-space: nowrap;
}

.lh-headline .lh-line:last-child {
  color: var(--accent);
}

.lh-sub {
  max-width: 20em;
  margin: 28px 0 0;
  color: #5c6570;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.7;
  word-break: keep-all;
}

.lh-em {
  color: var(--accent);
  font-weight: var(--heading-weight);
}

.lh-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 36px;
}

.lh-primary,
.lh-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.lh-primary {
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  color: var(--bg);
  background: var(--accent);
  box-shadow: var(--shadow-primary);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-primary:hover,
.lh-primary:focus-visible {
  background: var(--hover-blue);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgb(from var(--accent) r g b / 0.4);
}

.lh-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lh-primary:hover .lh-arrow,
.lh-primary:focus-visible .lh-arrow {
  transform: translateX(4px);
}

.lh-mint {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #d5dbe6;
  border-radius: var(--radius-button);
  color: var(--text);
  background: var(--bg);
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lh-mint:hover,
.lh-mint:focus-visible {
  color: var(--accent);
  background: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.lh-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  margin: 28px 0 28px 12px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-hero-visual);
  background:
    linear-gradient(rgb(from var(--bg) r g b / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(from var(--bg) r g b / 0.045) 1px, transparent 1px),
    radial-gradient(circle at 70% 24%, rgb(from var(--accent) r g b / 0.7), transparent 32%),
    radial-gradient(circle at 16% 82%, rgba(158, 190, 255, 0.42), transparent 38%),
    linear-gradient(165deg, #24344d 0%, #151c2c 48%, #0c111a 100%);
  background-size: 42px 42px, 42px 42px, 160% 160%, 160% 160%, auto;
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.18);
  animation: lp-shift 14s ease-in-out infinite;
}

.lh-visual::before {
  content: "ONE CONNECTED ECOSYSTEM";
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 1;
  color: rgb(from var(--bg) r g b / 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.lh-visual::after {
  content: var(--lms-brand, "") ".";
  position: absolute;
  top: 40%;
  left: 50%;
  color: var(--bg);
  font-size: clamp(56px, 5.4vw, 84px);
  font-weight: 700;
  letter-spacing: var(--heading-tracking);
  line-height: 1;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: lp-mark 5.5s ease-in-out infinite;
}

.lh-withStage::after,
.lh-withStage .lh-circle {
  content: none;
  display: none;
}

.lh-circle {
  position: absolute;
  inset: 48px 40px 150px 40px;
  border: 1px solid rgb(from var(--bg) r g b / 0.28);
  border-radius: 50%;
  pointer-events: none;
  animation: lp-orbit 26s linear infinite;
}

.lh-circle::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgb(from var(--bg) r g b / 0.16);
  border-radius: 50%;
}

.lh-circle::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 7px rgb(from var(--accent) r g b / 0.45), 0 0 18px rgb(from var(--bg) r g b / 0.95);
}

.lh-card {
  position: relative;
  z-index: 1;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(340px, 100%);
  padding: 18px 20px 16px;
  background: rgb(from var(--bg) r g b / 0.08);
  border: 1px solid rgb(from var(--bg) r g b / 0.16);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  animation: lp-rise 0.9s ease both;
}

.lh-cardTitle {
  margin: 0;
  color: var(--bg);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.lh-cardMeta {
  display: block;
  margin-top: 12px;
  color: rgb(from var(--bg) r g b / 0.66);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

@media (width <= 1023px) {
  .lh-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }

  .lh-copy {
    padding: 36px 20px 8px;
  }

  .lh-headline {
    font-size: clamp(34px, 10vw, 48px);
  }

  .lh-line {
    white-space: normal;
    word-break: keep-all;
  }

  .lh-sub {
    max-width: none;
    font-size: 16px;
  }

  .lh-ctas {
    display: flex;
  }

  .lh-primary,
  .lh-mint {
    width: auto;
  }

  .lh-primary {
    width: 100%;
  }

  .lh-visual {
    min-height: 340px;
    margin: 8px 20px 32px;
    border-radius: 22px;
  }

  .lh-visual::after {
    font-size: 48px;
    top: 42%;
  }

  .lh-card {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-visual,
  .lh-visual::after,
  .lh-circle,
  .lh-card,
  .lh-copy {
    animation: none;
  }
}

html.home-modern .lh-landing {
  background:
    radial-gradient(980px 520px at 100% -8%, rgb(from var(--accent) r g b / 0.16), transparent 58%),
    radial-gradient(720px 420px at 0% 18%, rgba(15, 143, 134, 0.08), transparent 52%),
    #f3f6fd;
}

html.home-classic .lh-hero {
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 18% 40%, rgb(from var(--accent) r g b / 0.14), transparent 62%),
    #f4f7ff;
}

html.home-classic .lh-inner {
  align-items: center;
  max-width: 1180px;
  min-height: 0;
}

html.home-classic .lh-copy {
  container-type: inline-size;
}

html.home-classic .lh-copy::before {
  max-width: 100%;
  font-size: clamp(10px, 2.6cqi, 12px);
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
}

html.home-classic .lh-headline {
  font-size: clamp(36px, 9.2cqi, 64px);
  line-height: 1.32;
}

html.home-classic .lh-line {
  max-width: 100%;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}

html.home-classic .lh-visual {
  height: 420px;
  min-height: 0;
  margin: 8px 0 8px 16px;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(12, 22, 48, 0.22);
}

html.home-classic .lh-visual {
  container-type: inline-size;
}

html.home-classic .lh-visual::before {
  max-width: calc(100% - 44px);
  overflow: hidden;
  font-size: clamp(9px, 2.5cqi, 11px);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

html.home-classic .lh-card {
  box-sizing: border-box;
  width: min(300px, 100%);
  max-width: 100%;
}

html.home-classic .lh-cardTitle {
  font-size: clamp(20px, 4.8cqi, 28px);
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: keep-all;
}

html.home-classic .lh-cardMeta {
  max-width: 100%;
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

html.home-classic .lh-primary {
  width: auto;
  border-radius: 14px;
}

@media (width >= 1024px) {
  html.home-classic .lh-hero {
    background:
      radial-gradient(640px 380px at 16% 42%, rgb(from var(--accent) r g b / 0.12), transparent 64%),
      #f4f7ff;
  }

  html.home-classic .lh-inner {
    max-width: 1180px;
    width: 100%;
    min-height: 0;
    margin-inline: auto;
    padding: 36px 8px 16px;
    gap: 36px;
    align-items: center;
    grid-template-columns: minmax(0, 1.2fr) 400px;
  }

  html.home-classic .lh-copy {
    justify-content: center;
    padding: 24px 12px 24px 8px;
  }

  html.home-classic .lh-visual {
    width: 400px;
    height: 440px;
    min-height: 0;
    margin: 0;
    padding: 22px;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(12, 22, 48, 0.22);
  }

  html.home-classic .lh-visual::before {
    top: 22px;
    left: 22px;
    max-width: calc(100% - 44px);
  }
}

@media (width <= 720px) {
  html.home-classic .lh-inner {
    min-height: 0;
  }

  html.home-classic .lh-headline {
    font-size: clamp(34px, 10vw, 48px);
  }

  html.home-classic .lh-visual {
    width: auto;
    height: 340px;
    min-height: 0;
    margin: 8px 16px 24px;
  }

  html.home-classic .lh-primary {
    width: 100%;
  }
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-shift {
  0%,
  100% {
    background-position: 0% 30%;
  }

  50% {
    background-position: 100% 70%;
  }
}

@keyframes lp-mark {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 10px));
  }
}

@keyframes lp-orbit {
  to {
    transform: rotate(360deg);
  }
}

/* ===== landing/motion/ClassicHeroStage.module.css (prefix .hs-) ===== */
.hs-stage {
  position: absolute;
  inset: 52px 8px 132px;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 880px;
}

.hs-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hs-wires path {
  fill: none;
  stroke: rgba(150, 198, 255, 0.28);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.hs-flow {
  stroke: rgba(186, 224, 255, 0.95);
  stroke-width: 2;
  stroke-dasharray: 10 90;
  animation: dash 3.2s linear infinite;
}

.hs-holo {
  position: absolute;
  top: 6%;
  left: 50%;
  width: 72px;
  height: 78px;
  transform: translateX(-50%);
  animation: holo 3.6s ease-in-out infinite;
}

.hs-holo i,
.hs-holo b {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(170, 220, 255, 0.95) 40%, transparent);
}

.hs-holo i:first-child {
  left: 16px;
}

.hs-holo i:nth-child(2) {
  right: 16px;
  height: 48px;
}

.hs-holo b {
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  bottom: 28px;
  border: 1px solid rgba(190, 230, 255, 0.9);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(47, 140, 255, 0.15) 70%);
  box-shadow: 0 0 16px rgba(120, 190, 255, 0.8);
}

.hs-stack {
  position: relative;
  width: 176px;
  height: 176px;
  transform-style: preserve-3d;
  animation: tilt 8s ease-in-out infinite;
}

.hs-plate:nth-child(1) {
  --z: 0px;
  --s: 118px;
  --hi: #1d6fe0;
  --lo: #0d3c86;
  --d: 0s;
}

.hs-plate:nth-child(2) {
  --z: 22px;
  --s: 92px;
  --hi: #2f86f5;
  --lo: #1456b0;
  --d: 0.4s;
}

.hs-plate:nth-child(3) {
  --z: 44px;
  --s: 68px;
  --hi: #4aa2ff;
  --lo: #1d6adf;
  --d: 0.8s;
}

.hs-plate:nth-child(4) {
  --z: 64px;
  --s: 44px;
  --hi: #7ec4ff;
  --lo: #2f8bff;
  --d: 1.2s;
}

.hs-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--s);
  height: var(--s);
  border-radius: 18px;
  background: linear-gradient(155deg, var(--hi), var(--lo));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 16px 0 rgba(6, 28, 72, 0.55);
  transform: translate(-50%, -50%) translateZ(var(--z));
  animation: lift 5.6s ease-in-out infinite;
  animation-delay: var(--d);
}

.hs-plateTop::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 10px;
  background:
    linear-gradient(#fff, #fff) center / 42% 42% no-repeat,
    linear-gradient(180deg, #eaf6ff, #8ec8ff);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.9), 0 0 32px rgba(80, 160, 255, 0.85);
  animation: core 2.6s ease-in-out infinite;
}

.hs-spark {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(47, 140, 255, 0.35), 0 0 14px #fff;
  offset-rotate: 0deg;
  animation: travel 7s linear infinite;
}

.hs-spark1 {
  offset-path: path("M 28 120 C 70 70, 130 36, 190 88");
}

.hs-spark2 {
  offset-path: path("M 150 28 C 210 16, 250 60, 220 108");
  animation-duration: 8.5s;
  animation-delay: -2s;
}

.hs-spark3 {
  width: 7px;
  height: 7px;
  background: #ffb15a;
  box-shadow: 0 0 0 4px rgba(255, 150, 60, 0.28), 0 0 12px #ffb15a;
  offset-path: path("M 36 150 C 80 128, 120 146, 96 172");
  animation-duration: 6.4s;
  animation-delay: -1s;
}

.hs-spark4 {
  offset-path: path("M 140 150 C 190 132, 240 156, 210 186");
  animation-duration: 9s;
  animation-delay: -3s;
}

.hs-stage {
  inset: 44px 8% 168px;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .hs-stage {
    inset: 48px 16px 180px;
    overflow: hidden;
  }

  .hs-holo {
    display: none;
  }

  .hs-stack {
    width: 148px;
    height: 148px;
  }

  .hs-plate:nth-child(1) { --s: 100px; }
  .hs-plate:nth-child(2) { --s: 78px; }
  .hs-plate:nth-child(3) { --s: 58px; }
  .hs-plate:nth-child(4) { --s: 40px; }
}

@media (width <= 720px) {
  .hs-stage {
    inset: 40px 12px 168px;
    transform: none;
  }

  .hs-stack {
    width: 120px;
    height: 120px;
  }

  .hs-spark1 { offset-path: path("M 16 48 C 40 24, 80 16, 110 44"); }
  .hs-spark2 { offset-path: path("M 90 18 C 130 10, 160 36, 140 64"); }
  .hs-spark3 { offset-path: path("M 20 72 C 48 60, 72 70, 56 88"); }
  .hs-spark4 { offset-path: path("M 80 78 C 110 66, 140 80, 120 100"); }
}

@media (prefers-reduced-motion: reduce) {
  .hs-stack,
  .hs-plate,
  .hs-plateTop::after,
  .hs-holo,
  .hs-flow,
  .hs-spark {
    animation: none;
  }
}

@keyframes tilt {
  0%,
  100% { transform: rotateX(56deg) rotateZ(-40deg) translateY(0); }
  50% { transform: rotateX(62deg) rotateZ(-46deg) translateY(-10px); }
}

@keyframes lift {
  0%,
  100% { transform: translate(-50%, -50%) translateZ(var(--z)); }
  50% { transform: translate(-50%, -50%) translateZ(calc(var(--z) + 18px)); }
}

@keyframes core {
  0%,
  100% { opacity: 0.82; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.35); }
}

@keyframes holo {
  0%,
  100% { opacity: 0.55; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-6px); }
}

@keyframes dash {
  to { stroke-dashoffset: -100; }
}

@keyframes travel {
  to { offset-distance: 100%; }
}

/* ===== landing/LandingServices.module.css (prefix .ls-) ===== */
.ls-section {
  display: block;
  box-sizing: border-box;
  padding: 28px 28px 36px;
  background: var(--bg);
}

.ls-heading {
  max-width: 1180px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: 22px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.04em;
}

.ls-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.ls-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 196px;
  overflow: hidden;
  padding: 20px 16px 18px;
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid #e4eaf6;
  background: linear-gradient(165deg, color-mix(in srgb, var(--tone, var(--accent)) 14%, white), #fff 64%);
  box-shadow: 0 12px 28px rgba(24, 48, 110, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ls-card::before {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--tone, var(--accent));
  opacity: 0.2;
  pointer-events: none;
}

.ls-card::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 16px;
  color: var(--tone, var(--accent));
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.ls-card:nth-child(1) { --tone: var(--accent); }
.ls-card:nth-child(2) { --tone: #0f8f86; }
.ls-card:nth-child(3) { --tone: #5b4dff; }
.ls-card:nth-child(4) { --tone: #c45a12; }
.ls-card:nth-child(5) { --tone: #1d7ed8; }
.ls-card:nth-child(6) { --tone: #2436c7; }

.ls-number {
  position: relative;
  z-index: 1;
  color: var(--tone, var(--accent));
  font-size: 40px;
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: 1;
}

.ls-title {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 9.4em;
  color: var(--text);
  font-size: 16px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ls-card:hover,
.ls-card:focus-visible {
  border-color: color-mix(in srgb, var(--tone, var(--accent)) 42%, white);
  background: var(--bg);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--tone, var(--accent)) 16%, transparent);
}

.ls-card[aria-disabled="true"] {
  cursor: default;
}

.ls-card[aria-disabled="true"]::after {
  content: none;
}

html.home-classic .ls-section {
  background: #f4f7ff;
  padding-bottom: 12px;
}

html.home-modern .ls-section {
  background: transparent;
  padding-top: 8px;
}

html.home-modern .ls-heading {
  color: var(--muted);
}

html.home-modern .ls-card {
  border: 1px solid rgb(from var(--bg) r g b / 0.9);
  background: linear-gradient(165deg, color-mix(in srgb, var(--tone, var(--accent)) 16%, white), #fff 58%);
  box-shadow: 0 16px 36px rgba(24, 48, 110, 0.07);
}

html.home-modern .ls-card:hover,
html.home-modern .ls-card:focus-visible {
  border-color: color-mix(in srgb, var(--tone, var(--accent)) 45%, white);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--tone, var(--accent)) 22%, transparent);
}

@media (width <= 1100px) {
  .ls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (width <= 720px) {
  .ls-section {
    padding: 22px 16px 28px;
  }

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

  .ls-card {
    min-height: 156px;
  }

  .ls-number {
    font-size: 32px;
  }

  .ls-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ls-card,
  .ls-card:hover,
  .ls-card:focus-visible {
    transition: none;
    transform: none;
  }
}

/* ===== landing/LandingSearch.module.css (prefix .lsr-) ===== */
.lsr-section {
  background: var(--bg);
  border-top: 0;
  border-bottom: 0;
  padding: 12px 32px 72px;
}

.lsr-form {
  max-width: 860px;
  margin: 0 auto;
}

.lsr-embedded {
  max-width: none;
  margin: 0;
}

.lsr-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 6px 6px 20px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(18, 36, 74, 0.08);
  cursor: text;
}

.lsr-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--muted);
}

.lsr-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  letter-spacing: -0.02em;
  outline: none;
  text-overflow: ellipsis;
}

.lsr-input::placeholder {
  color: var(--muted);
}

.lsr-submit {
  flex-shrink: 0;
  height: 44px;
  padding: 0 22px;
  color: var(--bg);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.lsr-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.lsr-chip {
  display: inline-flex;
  align-items: center;
  padding: 7.5px 15px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: var(--bg);
  color: #344054;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.lsr-chip:hover,
.lsr-chip:focus-visible {
  border-color: #4873b8;
  color: #153f73;
}

@media (width <= 1023px) {
  .lsr-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lsr-bar {
    gap: 10px;
    padding: 5px 5px 5px 16px;
  }

  .lsr-input {
    height: 40px;
    font-size: 14px;
  }

  .lsr-submit {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
}

@media (width <= 420px) {
  .lsr-bar {
    gap: 8px;
    padding: 4px 4px 4px 14px;
  }

  .lsr-input {
    font-size: 13px;
  }

  .lsr-submit {
    padding: 0 12px;
    font-size: 13px;
  }
}

.lsr-section {
  padding-top: 8px;
  padding-bottom: 48px;
}

html.home-modern .lsr-section {
  background: #f4f6fb;
}

html.home-classic .lsr-section {
  background: linear-gradient(180deg, #f4f7ff 0%, var(--bg) 100%);
}

html.home-classic .lsr-bar {
  background: var(--bg);
  box-shadow: 0 14px 36px rgb(from var(--accent) r g b / 0.1);
}

.lsr-bar {
  box-shadow: 0 16px 40px rgb(from var(--accent) r g b / 0.12);
}

.lsr-bar:focus-within {
  border-color: rgb(from var(--accent) r g b / 0.45);
  box-shadow: 0 16px 40px rgb(from var(--accent) r g b / 0.16);
}

/* ===== landing/LandingAiZone.module.css (prefix .az-) ===== */
.az-section {
  position: relative;
  overflow: hidden;
  padding: 88px 32px 96px;
  background:
    radial-gradient(640px 380px at 8% 18%, rgb(from var(--accent) r g b / 0.08), transparent 68%),
    var(--bg);
}

.az-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  min-width: 0;
}

.az-copy,
.az-board,
.az-headline,
.az-card {
  min-width: 0;
}

.az-stage {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 8px 28px;
  min-width: 0;
  padding: 28px 22px 12px 28px;
  border: 1px solid #e4eaf6;
  border-radius: 28px;
  background: #f5f7fd;
}

.az-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 6px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  container-type: inline-size;
  overflow: hidden;
}

.az-eyebrow {
  align-self: flex-start;
  max-width: 100%;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgb(from var(--accent) r g b / 0.18);
  border-radius: 999px;
  color: var(--accent);
  background: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.az-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(24px, 6.2cqi, 34px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.az-plate {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px 16px 15px;
  border: 1px solid #e4eaf4;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 10px 26px rgba(18, 36, 74, 0.05);
}

.az-plateOn {
  border-color: rgb(from var(--accent) r g b / 0.28);
  background:
    linear-gradient(180deg, rgb(from var(--accent) r g b / 0.08), var(--bg) 42%);
}

.az-plateMark {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  border-radius: 50%;
  color: var(--accent);
  background: #eef2ff;
}

.az-plateMark svg {
  width: 28px;
  height: 28px;
}

.az-plateMarkOn {
  color: var(--accent);
  background: rgb(from var(--accent) r g b / 0.12);
}

.az-bridge {
  position: relative;
  display: grid;
  place-items: center;
  height: 36px;
  color: var(--accent);
}

.az-bridge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 11px);
  transform: translateX(-50%);
  animation: dash 1.1s linear infinite;
}

.az-bridge svg {
  position: relative;
  z-index: 1;
  padding: 4px;
  border: 1px solid #d7e0f0;
  border-radius: 50%;
  background: var(--bg);
  box-sizing: content-box;
}

.az-line {
  display: block;
  min-width: 0;
  max-width: 100%;
  padding-top: 4px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.az-lineOn {
  color: var(--accent);
}

.az-note {
  max-width: 24em;
  margin: 18px 0 0;
  color: #5c6570;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.az-ctas {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
}

.az-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 12px 28px rgb(from var(--accent) r g b / 0.28);
  font-size: 15px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.az-cta:hover,
.az-cta:focus-visible {
  background: var(--hover-blue);
  transform: translateY(-2px);
}

.az-figure {
  margin: 0;
  min-width: 0;
  background: transparent;
}

.az-figure img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.az-board {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.az-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.az-step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 52px;
  bottom: -38px;
  left: 17px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--tone) 0 7px, transparent 7px 13px);
  animation: dash 1.1s linear infinite;
}

.az-step {
  --tone: var(--accent);
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.az-step:nth-child(1) { --tone: #2f5bff; }
.az-step:nth-child(2) { --tone: #0f8f86; }
.az-step:nth-child(3) { --tone: #5b4dff; }
.az-step:nth-child(4) { --tone: #c45a12; }

.az-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--tone);
  box-shadow: 0 0 0 4px var(--bg);
  font-size: 12px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1;
}

.az-card {
  padding: 16px 16px 15px;
  border: 1px solid #e4eaf4;
  border-top: 3px solid var(--tone);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 10px 26px rgba(18, 36, 74, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.az-card:hover {
  border-color: color-mix(in srgb, var(--tone) 45%, white);
  box-shadow: 0 16px 32px color-mix(in srgb, var(--tone) 14%, transparent);
}

.az-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.az-mark {
  flex: none;
  width: 44px;
  height: 28px;
  color: var(--tone);
}

.az-title {
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.az-body {
  margin: 8px 0 0;
  color: #5c6570;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.az-join {
  position: absolute;
  z-index: 3;
  left: 7px;
  bottom: -22px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #d7e0f0;
  border-radius: 50%;
  color: var(--tone);
  background: var(--bg);
}

@media (width >= 1024px) {
  .az-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .az-stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    padding: 32px 20px 20px 36px;
  }

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

  .az-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .az-step:not(:last-child)::before,
  .az-join {
    display: none;
  }

  .az-node {
    margin-top: 0;
    box-shadow: none;
  }
}

@media (width <= 1023px) {
  .az-section {
    padding: 56px 20px;
  }

  .az-copy {
    padding: 4px 0 8px;
  }

  .az-note {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-step:not(:last-child)::before,
  .az-bridge::before,
  .az-cta,
  .az-card {
    animation: none;
    transition: none;
  }

  .az-cta:hover,
  .az-cta:focus-visible {
    transform: none;
  }
}

html.home-modern .az-section {
  background: transparent;
}

@keyframes dash {
  to {
    background-position: 0 13px;
  }
}

/* ===== landing/LandingServiceSection.module.css (prefix .ss-) ===== */
.ss-section,
.ss-alt {
  padding-top: 96px;
  padding-bottom: 96px;
  padding-left: 32px;
  padding-right: 32px;
  background: var(--bg);
  scroll-margin-top: 80px;
}

.ss-alt {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #eef3fa 100%);
}

.ss-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 45px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.ss-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ss-name {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 28px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.ss-num {
  display: block;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.ss-headline {
  max-width: 16em;
  margin: 0;
  color: #3d4654;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.45;
  word-break: keep-all;
}

.ss-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 26px;
}

.ss-primary,
.ss-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.ss-primary {
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 12px 28px rgb(from var(--accent) r g b / 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ss-primary:hover,
.ss-primary:focus-visible {
  background: var(--hover-blue);
  transform: translateY(-2px);
}

.ss-primary[aria-disabled] {
  background: #e7ebf2;
  color: #98a2b3;
  box-shadow: none;
  cursor: default;
  transform: none;
}

.ss-secondary {
  width: auto;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #d5dbe6;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ss-secondary:hover,
.ss-secondary:focus-visible {
  color: var(--accent);
  background: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.ss-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: center;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.ss-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 18px 18px 16px;
  background: var(--bg);
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(18, 36, 74, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ss-section:not(.ss-alt) .ss-row {
  background: #f7f9fc;
}

.ss-row:hover {
  border-color: #c9d6f0;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(18, 36, 74, 0.08);
}

.ss-itemNum {
  flex-shrink: 0;
  min-width: 0;
  margin: 0;
  color: var(--accent);
  font-size: 20px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.04em;
  line-height: 1;
}

.ss-title {
  display: block;
  margin: 0 0 5px;
  color: var(--text);
  font-size: 16px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.ss-body {
  margin: 0;
  color: #5c6570;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.62;
  word-break: keep-all;
}

@media (width >= 1024px) {
  .ss-alt .ss-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .ss-alt .ss-list {
    grid-area: 1 / 1;
  }

  .ss-alt .ss-copy {
    grid-area: 1 / 2;
  }
}

@media (width <= 1023px) {
  .ss-section,
  .ss-alt {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .ss-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ss-num {
    font-size: 56px;
  }

  .ss-headline {
    font-size: 28px;
  }

  .ss-ctas {
    margin-top: 24px;
    padding-top: 0;
  }

  .ss-secondary,
  .ss-primary {
    width: 100%;
  }

  .ss-list {
    grid-template-columns: 1fr;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

html.home-modern .ss-section,
html.home-modern .ss-alt {
  background: #f4f6fb;
}

html.home-modern .ss-section,
html.home-modern .ss-alt {
  background: transparent;
}

.ss-legal,
.ss-corporate,
.ss-archive,
html.home-modern .ss-legal,
html.home-modern .ss-corporate,
html.home-modern .ss-archive {
  background:
    linear-gradient(180deg, var(--bg) 0 72px, #f3f6fb 72px, #f3f6fb calc(100% - 72px), var(--bg) 100%);
}

.ss-safety,
.ss-refund,
html.home-modern .ss-safety,
html.home-modern .ss-refund {
  background: var(--bg);
}

.ss-flow .ss-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1180px;
}

.ss-figured .ss-stage {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4px 28px;
  min-width: 0;
  padding: 28px 18px 12px 28px;
  border: 1px solid #e4eaf6;
  border-radius: 28px;
  background: #f5f7fd;
}

.ss-figured .ss-mast {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.ss-figured .ss-lead {
  flex: none;
}

.ss-figured .ss-figure {
  margin: 0;
  min-width: 0;
}

.ss-figured .ss-figure img {
  display: block;
  width: min(100%, 400px);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: contain;
}

@media (width >= 1024px) {
  .ss-figured .ss-stage {
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    padding: 32px 12px 12px 40px;
  }

  .ss-safety.ss-figured .ss-stage,
  .ss-refund.ss-figured .ss-stage {
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  }

  .ss-safety.ss-figured .ss-figure,
  .ss-refund.ss-figured .ss-figure {
    order: -1;
  }
}

.ss-photo .ss-stage {
  align-items: stretch;
  padding: 18px;
}

.ss-photo .ss-mast {
  justify-content: center;
  padding: 10px 8px 10px 14px;
}

.ss-photo .ss-figure img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

@media (width >= 1024px) {
  .ss-photo.ss-figured .ss-stage {
    padding: 18px 18px 18px 28px;
  }

  .ss-refund.ss-photo .ss-stage,
  .ss-safety.ss-photo .ss-stage {
    padding: 18px 28px 18px 18px;
  }

  .ss-refund.ss-photo .ss-mast,
  .ss-safety.ss-photo .ss-mast {
    padding: 10px 8px 10px 18px;
  }
}

.ss-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 36px;
  min-width: 0;
  padding-bottom: 28px;
  border-bottom: 1px solid #e1e7f0;
}

.ss-lead {
  flex: 1 1 460px;
  min-width: 0;
}

.ss-flow .ss-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.15;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ss-index {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ss-flow .ss-headline {
  max-width: 36em;
  color: #3d4654;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.ss-flow .ss-ctas {
  flex: 0 1 auto;
  margin-top: 0;
  padding-top: 0;
}

.ss-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ss-track::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 19px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: #d5deee;
}

.ss-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ss-legal .ss-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 14px;
  right: -14px;
  border-width: 6px 0 6px 7px;
  border-style: solid;
  border-color: transparent transparent transparent var(--accent);
}

.ss-pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  background: #f3f6fb;
  font-size: 13px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1;
}

.ss-legal .ss-step:last-child .ss-pin {
  color: #fff;
  background: var(--accent);
}

.ss-sheet {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 168px;
  padding: 22px 16px 18px;
  overflow: hidden;
  border: 1px solid #e3e9f2;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: 0 12px 28px rgba(18, 36, 74, 0.05);
}

.ss-legal .ss-sheet {
  border-radius: 18px 4px 18px 18px;
}

.ss-legal .ss-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 50%, #e7eef8 50%);
}

.ss-legal .ss-step:last-child .ss-sheet {
  border-color: rgb(from var(--accent) r g b / 0.28);
  box-shadow: 0 14px 30px rgb(from var(--accent) r g b / 0.1);
}

.ss-safety .ss-index,
.ss-safety .ss-pin,
.ss-refund .ss-index,
.ss-refund .ss-pin {
  border-radius: 50%;
}

.ss-safety .ss-pin,
.ss-refund .ss-pin {
  background: var(--bg);
}

.ss-safety .ss-track::before {
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
  opacity: 0.55;
}

.ss-safety .ss-sheet {
  border-left: 4px solid var(--accent);
}

.ss-corporate .ss-track::before,
.ss-archive .ss-track::before {
  display: none;
}

.ss-corporate .ss-track {
  gap: 0;
  overflow: hidden;
  border: 1px solid #e3e9f2;
  border-radius: 22px;
  background: var(--bg);
  box-shadow: 0 12px 28px rgba(18, 36, 74, 0.05);
}

.ss-corporate .ss-sheet {
  border: 0;
  border-right: 1px solid #e6ebf3;
  border-radius: 0;
  box-shadow: none;
  padding-right: 46px;
}

.ss-corporate .ss-step:last-child .ss-sheet {
  border-right: 0;
}

.ss-corporate .ss-pin {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  background: transparent;
  color: rgb(from var(--accent) r g b / 0.4);
  font-size: 22px;
}

.ss-refund .ss-track::before {
  background: linear-gradient(90deg, #d5deee 0%, var(--accent) 100%);
}

.ss-refund .ss-sheet {
  padding-bottom: 28px;
}

.ss-refund .ss-sheet::before {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  height: 4px;
  border-radius: 99px;
  background: #e6ebf3;
}

.ss-refund .ss-sheet::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 16px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
}

.ss-refund .ss-step:nth-child(1) .ss-sheet::after { width: 18%; }
.ss-refund .ss-step:nth-child(2) .ss-sheet::after { width: 40%; }
.ss-refund .ss-step:nth-child(3) .ss-sheet::after { width: 64%; }
.ss-refund .ss-step:nth-child(4) .ss-sheet::after { width: calc(100% - 32px); }

.ss-archive .ss-pin {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 8px;
  background: #f4f7fd;
  font-size: 11px;
}

.ss-archive .ss-index {
  width: auto;
  min-width: 40px;
  padding: 0 11px;
  border-radius: 999px;
}

.ss-archive .ss-sheet {
  padding-top: 58px;
  border-radius: 22px;
}

.ar-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 28px 22px 22px;
  border: 1px solid #e4eaf6;
  border-radius: 28px;
  background: #f5f7fd;
}

.ss-archive .ar-stage .ss-mast {
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 16px 28px;
  padding: 2px 6px 0;
  border-bottom: 0;
}

.ar-board {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(420px 180px at 12% 0%, rgb(from var(--accent) r g b / 0.2), transparent 70%),
    #e9eef8;
}

.ar-now {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  padding: 22px 18px 20px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, #2f5bff 0%, #1d3fd4 100%);
  color: #fff;
}

.ar-go {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  margin-bottom: auto;
  border-radius: 50%;
  background: #fff;
}

.ar-go::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 26px;
  border-width: 10px 0 10px 15px;
  border-style: solid;
  border-color: transparent transparent transparent #2f5bff;
}

.ar-ring,
.ar-ring2 {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 64px;
  height: 64px;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 50%;
  animation: ar-pulse 2.4s ease-out infinite;
}

.ar-ring2 {
  animation-delay: 1.2s;
}

.ar-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ar-meta strong {
  font-size: 28px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.04em;
  line-height: 1;
}

.ar-meta em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0.86;
}

.ar-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(255 255 255 / 0.28);
}

.ar-bar i {
  display: block;
  width: 30%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  animation: ar-load 3.6s ease-in-out infinite;
}

.ar-lanes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ar-run {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: ar-slide 26s linear infinite;
}

.ar-runBack {
  animation-duration: 30s;
  animation-direction: reverse;
}

.ar-runSlow {
  animation-duration: 34s;
}

.ar-tile,
.ar-word {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
}

.ar-tile {
  background-color: #7aa2ff;
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.34), transparent 52%);
}

.ar-tile::after {
  content: "";
  border-width: 6px 0 6px 9px;
  border-style: solid;
  border-color: transparent transparent transparent rgb(255 255 255 / 0.95);
  transform: translateX(1px);
}

.ar-teal { background-color: #3dbeb4; }
.ar-violet { background-color: #8b84f5; }
.ar-amber { background-color: #e0a15a; }

.ar-word {
  width: 108px;
  height: 108px;
  background: #fff;
  color: #1c2430;
  text-align: center;
  box-shadow: 0 8px 18px rgba(18, 36, 74, 0.08);
}

.ar-word b,
.ar-word span {
  display: block;
  font-weight: var(--heading-weight);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.ar-word b {
  font-size: 12px;
}

.ar-word span {
  margin-top: 1px;
  color: #2f5bff;
  font-size: 11px;
}

.ar-wordKo {
  background: #2f5bff;
  color: #fff;
}

.ar-wordKo span {
  color: rgb(255 255 255 / 0.86);
}

@keyframes ar-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ar-pulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.85); opacity: 0; }
}

@keyframes ar-load {
  0% { width: 18%; }
  70% { width: 86%; }
  100% { width: 18%; }
}

@media (width <= 720px) {
  .ss-archive .ar-stage .ss-mast {
    align-items: flex-start;
  }

  .ar-board {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ar-now {
    min-height: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ar-run,
  .ar-ring,
  .ar-ring2,
  .ar-bar i {
    animation: none;
  }
}

.ss-mark {
  display: block;
  width: 44px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--accent);
}

.ss-flow .ss-title {
  min-width: 0;
  margin: 0 0 6px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ss-flow .ss-body {
  overflow-wrap: break-word;
}

@media (width <= 1023px) {
  .ss-flow .ss-ctas {
    width: 100%;
  }

  .ss-track {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ss-track::before,
  .ss-legal .ss-step:not(:last-child)::after {
    display: none;
  }

  .ss-pin {
    margin-left: 0;
  }

  .ss-sheet {
    min-height: 0;
  }

  .ss-corporate .ss-sheet {
    border-right: 1px solid #e6ebf3;
    border-bottom: 1px solid #e6ebf3;
  }

  .ss-corporate .ss-step:nth-child(2n) .ss-sheet {
    border-right: 0;
  }

  .ss-corporate .ss-step:nth-child(n + 3) .ss-sheet {
    border-bottom: 0;
  }
}

@media (width <= 640px) {
  .ss-track {
    grid-template-columns: 1fr;
  }

  .ss-corporate .ss-sheet {
    border-right: 0;
    border-bottom: 1px solid #e6ebf3;
  }

  .ss-corporate .ss-step:last-child .ss-sheet {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ss-primary,
  .ss-secondary {
    transition: none;
  }

  .ss-primary:hover,
  .ss-primary:focus-visible,
  .ss-secondary:hover,
  .ss-secondary:focus-visible {
    transform: none;
  }
}

/* ===== landing/LandingAxisBand.module.css (prefix .ax-) ===== */
.ax-section {
  position: relative;
  overflow: hidden;
  padding: 88px 32px 96px;
  color: #fff;
  scroll-margin-top: 80px;
  background:
    radial-gradient(circle at 86% 0%, rgb(255 255 255 / 0.2), transparent 28%),
    radial-gradient(circle at 0% 100%, rgb(8 18 64 / 0.38), transparent 46%),
    linear-gradient(128deg, #4c79ff 0%, var(--accent) 46%, #1b3ec8 100%);
}

.ax-circleA,
.ax-circleB {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.ax-circleA {
  top: -160px;
  left: -120px;
  width: 420px;
  height: 420px;
}

.ax-circleB {
  right: -100px;
  bottom: -140px;
  width: 280px;
  height: 280px;
}

.ax-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.ax-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 40px;
}

.ax-lead {
  flex: 1 1 560px;
  min-width: 0;
  container-type: inline-size;
}

.ax-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: var(--heading-weight);
  letter-spacing: 0.06em;
  line-height: 1;
}

.ax-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
}

.ax-headline {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 6.4cqi, 52px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.05em;
  line-height: 1.28;
}

.ax-line {
  display: block;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ax-lineOn {
  color: #d7e4ff;
}

.ax-note {
  max-width: 36em;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 0.88);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ax-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-button);
  color: #1b3ec8;
  background: #fff;
  box-shadow: 0 12px 28px rgb(8 20 60 / 0.22);
  font-size: 14px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ax-cta:hover,
.ax-cta:focus-visible {
  background: #f4f7ff;
  transform: translateY(-2px);
}

.ax-proofs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.24);
  list-style: none;
}

.ax-proof {
  min-width: 0;
  padding: 0 28px;
  border-left: 1px solid rgb(255 255 255 / 0.22);
}

.ax-proof:first-child {
  padding-left: 0;
  border-left: 0;
}

.ax-proof:last-child {
  padding-right: 0;
}

.ax-num {
  display: block;
  margin-bottom: 10px;
  color: #d7e4ff;
  font-size: 13px;
  font-weight: var(--heading-weight);
  letter-spacing: 0.08em;
  line-height: 1;
}

.ax-title {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ax-body {
  margin: 0;
  color: rgb(255 255 255 / 0.78);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (width <= 1023px) {
  .ax-section {
    padding: 56px 20px;
  }

  .ax-cta {
    width: 100%;
  }

  .ax-proofs {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .ax-proof,
  .ax-proof:first-child,
  .ax-proof:last-child {
    padding: 0 18px 22px 0;
    border-left: 0;
  }

  .ax-proof:nth-child(odd) {
    padding-right: 18px;
    border-right: 1px solid rgb(255 255 255 / 0.22);
  }

  .ax-proof:nth-child(even) {
    padding-left: 18px;
    padding-right: 0;
  }

  .ax-proof:nth-child(n + 3) {
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / 0.22);
  }
}

@media (width <= 640px) {
  .ax-proofs {
    grid-template-columns: 1fr;
  }

  .ax-proof,
  .ax-proof:first-child,
  .ax-proof:last-child,
  .ax-proof:nth-child(odd),
  .ax-proof:nth-child(even),
  .ax-proof:nth-child(n + 3) {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.22);
  }

  .ax-proof:first-child {
    padding-top: 0;
  }

  .ax-proof:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-cta {
    transition: none;
  }

  .ax-cta:hover,
  .ax-cta:focus-visible {
    transform: none;
  }
}


/* ===== AXIS section: light blue field, medium blue accents ===== */
.ss-axis {
  background:
    radial-gradient(680px 280px at 100% 0%, rgba(37, 99, 235, 0.22), transparent 70%),
    linear-gradient(180deg, #e7f1fc 0%, #d4e6f8 100%);
}

.ss-axis .ss-mast {
  border-bottom-color: #b9d2ee;
}

.ss-axis .ss-index,
.ss-axis .ss-pin {
  border-color: #2563eb;
  color: #1d4ed8;
  background: #fff;
}

.ss-axis .ss-step:last-child .ss-pin {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
}

.ss-axis .ss-track::before {
  background: linear-gradient(90deg, #9ec4ef 0%, #2563eb 100%);
}

.ss-axis .ss-sheet {
  border-color: #c5daf2;
  background: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.07);
}

.ss-axis .ss-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #5b93e6;
}

.ss-axis .ss-step:last-child .ss-sheet {
  border-color: #9ec0e8;
  background: #f3f8fd;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

.ss-axis .ss-step:last-child .ss-sheet::before {
  background: #2563eb;
}

.ss-axis .ss-title {
  color: #16356a;
}

.ss-axis .ss-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
}

.ss-axis .ss-primary:hover,
.ss-axis .ss-primary:focus-visible {
  background: #1d4ed8;
}


/* ===== Hero journey + the service row as one first screen ===== */
html.home-classic .lh-visual.lh-rise,
.lh-visual.lh-rise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 8px 8px 8px 4px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
}

html.home-classic .lh-visual.lh-rise::before,
html.home-classic .lh-visual.lh-rise::after,
.lh-visual.lh-rise::before,
.lh-visual.lh-rise::after {
  content: none;
  display: none;
}

.rs-kicker {
  margin: 0 0 18px;
  padding-left: 72px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.rs-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-list li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 72px;
}

.rs-list li:nth-child(-n + 2)::after {
  content: "";
  position: absolute;
  top: 58px;
  bottom: -8px;
  left: 27px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(#2f5bff, rgba(47, 91, 255, 0.2));
}

.rs-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 8px rgba(47, 91, 255, 0.1);
}

.rs-copy strong,
.rs-copy span {
  display: block;
}

.rs-copy strong {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.rs-copy span {
  margin-top: 2px;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rs-arrive {
  margin-top: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #4d78ff 0%, #2f5bff 46%, #1d3fe0 100%);
  box-shadow: 0 18px 36px rgba(47, 91, 255, 0.28);
}

.rs-arrive .rs-mark {
  background: #fff;
  color: #1d3fe0;
  box-shadow: none;
}

.rs-arrive .rs-copy strong,
.rs-arrive .rs-copy span {
  color: #fff;
}

.rs-arrive .rs-copy span {
  letter-spacing: 0.12em;
  font-size: 12px;
}

.rs-list li.rs-comet {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: block;
  width: 12px;
  height: 12px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px #2f5bff, 0 0 18px rgba(47, 91, 255, 0.85);
  animation: rs-travel 3.6s ease-in-out infinite alternate;
}

html.home-classic .ls-section {
  padding-top: 4px;
}

html.home-classic .ls-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

html.home-classic .ls-heading::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

html.home-classic .ls-card {
  box-shadow: inset 0 3px 0 var(--tone, var(--accent)), 0 12px 28px rgba(24, 48, 110, 0.06);
}

@media (width >= 1024px) {
  html.home-classic .lh-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
    align-items: center;
  }

  html.home-classic .lh-visual.lh-rise {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 0 0 12px;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (width <= 720px) {
  html.home-classic .lh-visual.lh-rise {
    width: auto;
    height: auto;
    margin: 8px 16px 12px;
    padding: 0;
  }

  .rs-kicker {
    padding-left: 0;
    margin-bottom: 12px;
  }

  .rs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .rs-list li:nth-child(-n + 2)::after,
  .rs-list li.rs-comet {
    display: none;
  }

  .rs-list li {
    min-height: 0;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  .rs-copy strong {
    font-size: 16px;
  }

  .rs-arrive {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-comet {
    animation: none;
  }
}

@keyframes rs-travel {
  from { top: 22px; }
  to { top: calc(100% - 92px); }
}

/* Dark stage: the pyramid turns, rings orbit, the core breathes. Card size stays. */
.hs-floor {
  position: absolute;
  left: 50%;
  bottom: 6%;
  z-index: 0;
  width: 230px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(90, 170, 255, 0.7), rgba(47, 91, 255, 0.15) 55%, transparent 72%);
  transform: translateX(-50%);
  filter: blur(1px);
  animation: hs-glow 3.4s ease-in-out infinite;
}

.hs-rings {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 0;
  width: 196px;
  height: 196px;
  transform: translate(-50%, -50%);
}

.hs-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(186, 220, 255, 0.42);
  border-radius: 50%;
  animation: lp-orbit 16s linear infinite;
}

.hs-rings span::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(126, 196, 255, 0.35), 0 0 14px #fff;
}

.hs-rings span:nth-child(2) {
  inset: 16%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.45);
  animation-duration: 11s;
  animation-direction: reverse;
}

.hs-rings span:nth-child(3) {
  inset: 32%;
  animation-duration: 7.5s;
}

.hs-stack {
  z-index: 1;
  animation: hs-spin 18s linear infinite;
}

.hs-plateTop::after {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 36px rgba(80, 160, 255, 0.95);
}

@keyframes hs-spin {
  from { transform: rotateX(58deg) rotateZ(0deg); }
  to { transform: rotateX(58deg) rotateZ(-360deg); }
}

@keyframes hs-glow {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.92); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hs-stack,
  .hs-floor,
  .hs-rings span { animation: none; }
}

/* ===== Home mode switcher (Classic / Modern) — homepage only, see hrdedu/main/main.html =====
   It sits in the page flow after the last section, so it never covers content. Only on very wide screens,
   where the page has empty side margins, it floats at the bottom-left corner. */
.hm-switch {
  position: static;
  z-index: 35;
  display: flex;
  width: max-content;
  margin: 28px auto;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(18 20 26 / 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgb(10 20 60 / 0.45);
}

.hm-switch a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgb(255 255 255 / 0.7);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.hm-switch a:hover,
.hm-switch a:focus-visible {
  color: #fff;
}

.hm-switch a[aria-current="true"] {
  background: #fff;
  color: #12141a;
}

.hm-switch a:focus-visible {
  outline: 2px solid #2f5bff;
  outline-offset: 2px;
}

@media (width >= 1600px) {
  .hm-switch {
    position: fixed;
    bottom: 20px;
    left: 20px;
    margin: 0;
  }
}

@media (width <= 640px) {
  .hm-switch {
    margin: 20px auto;
  }

  .hm-switch a {
    height: 30px;
    padding: 0 12px;
  }
}
