/* =========================================================
   玲雨栖 · 品牌门户
   Design tokens / layout / components
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #151827;
  --ink-2: #4c5168;
  --ink-3: #8a90a6;
  --ink-4: #a9aec0;

  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-tint: #eff3fe;

  --brand: #5b74c9;
  --brand-700: #4259ae;
  --brand-800: #33478f;
  --brand-100: #e8edfc;
  --lav: #b9c8f6;

  --line: rgba(21, 24, 39, 0.08);
  --line-2: rgba(21, 24, 39, 0.13);
  --line-brand: rgba(91, 116, 201, 0.24);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 64px;

  --shadow-card: 0 30px 60px -35px rgba(51, 71, 143, 0.45);
  --shadow-soft: 0 18px 40px -28px rgba(21, 24, 39, 0.35);

  --ease: cubic-bezier(0.22, 0.8, 0.22, 1);

  --font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo,
    Consolas, monospace;
}

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

* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(21, 24, 39, 0.13);
  color: var(--ink);
}

/* 鼠标点击不保留蓝色焦点框；键盘 Tab 仍保留一层很淡的中性色提示 */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid rgba(21, 24, 39, 0.3);
  outline-offset: 3px;
  border-radius: 4px;
}

a,
button,
[role="button"],
summary {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ic {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn .ic {
  font-size: 17px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .ic {
  transform: translateX(3px);
}

.btn-primary,
.btn-ghost {
  color: #2f448f;
  background: #d6e4ff;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 10px 24px -18px rgba(63, 85, 168, 0.55);
}

.btn-primary:hover,
.btn-ghost:hover {
  color: #263a7d;
  background: #cbdcff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 16px 30px -20px rgba(63, 85, 168, 0.6);
}

.btn-primary:active,
.btn-ghost:active {
  background: #c1d4ff;
  transform: translateY(0);
}

.btn-sm {
  --btn-h: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-sm .ic {
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  padding: 8px 16px 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  height: 56px;
  margin-inline: auto;
  padding: 0 24px;
  gap: 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  pointer-events: auto;
  transition: max-width 0.45s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.scrolled .header-inner {
  max-width: 1040px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(21, 24, 39, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  transition: opacity 0.25s var(--ease);
}

.brand:hover {
  opacity: 0.78;
}

.brand img {
  height: 34px;
  width: auto;
}

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

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.header-cta::before {
  content: "";
  width: 1px;
  height: 13px;
  margin-right: 17px;
  background: var(--line-2);
}

.header-cta .ic {
  font-size: 15px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}

.header-cta:hover {
  color: var(--brand-700);
}

.header-cta:hover .ic {
  color: var(--brand-700);
  transform: translateX(3px);
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.menu-btn:hover {
  border-color: var(--line-brand);
  background: #fff;
}

.menu-btn .ic {
  font-size: 20px;
}

.menu-btn .menu-close {
  display: none;
}

body.nav-open .menu-btn .menu-open {
  display: none;
}

body.nav-open .menu-btn .menu-close {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  padding: 8px var(--gutter) 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  pointer-events: auto;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(21, 24, 39, 0.5);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 15.5px;
  border-top: 1px solid var(--line);
}

.mobile-nav nav a:first-child {
  border-top: 0;
}

.mobile-nav nav a .ic {
  font-size: 17px;
  color: var(--ink-4);
}

.mobile-nav-foot {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.9;
}

.mobile-nav-foot a {
  color: var(--brand-700);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 84px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(21, 24, 39, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(21, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(
    ellipse 62% 52% at 50% 28%,
    #000 15%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 62% 52% at 50% 28%,
    #000 15%,
    transparent 78%
  );
  opacity: 0.6;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.aurora-1 {
  width: 760px;
  height: 540px;
  left: 50%;
  top: -140px;
  transform: translateX(-52%);
  background: radial-gradient(circle, #c9d6fa 0%, rgba(201, 214, 250, 0) 66%);
  opacity: 0.62;
  animation: drift 16s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 520px;
  height: 420px;
  right: -60px;
  top: 190px;
  background: radial-gradient(circle, #dfe6ff 0%, rgba(223, 230, 255, 0) 66%);
  opacity: 0.55;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 66px;
  width: 640px;
  height: 340px;
  transform: translateX(-50%);
  opacity: 0.9;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(91, 116, 201, 0.16);
}

.r1 {
  transform: rotate(-9deg) scale(0.58);
}

.r2 {
  transform: rotate(7deg) scale(0.8);
  border-style: dashed;
  border-color: rgba(91, 116, 201, 0.15);
}

.r3 {
  transform: rotate(-4deg) scale(1);
  border-color: rgba(91, 116, 201, 0.1);
}

.star {
  position: absolute;
  width: 18px;
  fill: #94a8e8;
}

.s1 {
  top: 46px;
  left: 92px;
  animation: twinkle 4.5s ease-in-out infinite;
}

.s2 {
  bottom: 52px;
  right: 88px;
  width: 12px;
  opacity: 0.7;
  animation: twinkle 5.5s ease-in-out infinite 1.2s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emblem {
  width: 124px;
  margin-bottom: 26px;
  animation: float 7s ease-in-out infinite;
}

.hero-emblem img {
  width: 100%;
  filter: drop-shadow(0 18px 26px rgba(63, 85, 168, 0.22));
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(91, 116, 201, 0.1);
}

.eyebrow-sep {
  color: var(--ink-4);
  opacity: 0.7;
}

.eyebrow-en {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.grad {
  background: linear-gradient(
    100deg,
    #34499b 0%,
    #5069c2 26%,
    #8299e4 52%,
    #5069c2 74%,
    #34499b 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 12s ease-in-out infinite;
}

.hero-sub {
  margin-top: 26px;
  max-width: 660px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-platforms {
  margin-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}

/* ---------- More page header ---------- */
.page-hero {
  position: relative;
  padding: 158px 0 78px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      760px 420px at 50% -8%,
      rgba(185, 200, 246, 0.38),
      transparent 70%
    ),
    radial-gradient(
      520px 320px at 88% 12%,
      rgba(223, 230, 255, 0.55),
      transparent 72%
    );
}

.page-hero-inner {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.page-mark {
  width: 78px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 24px rgba(63, 85, 168, 0.2));
  animation: float 8s ease-in-out infinite;
}

.page-hero .section-label {
  justify-content: center;
}

.page-title {
  margin-top: 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.026em;
  font-weight: 600;
  color: var(--ink);
}

.page-sub {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-3);
}

.page-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-anchors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.page-anchors a {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  color: var(--ink-3);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.page-anchors a:hover {
  color: var(--brand-700);
  border-color: var(--line-brand);
  background: #fff;
}

/* ---------- Stats ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: #fff;
}

.stats-label {
  justify-content: center;
  margin-bottom: 28px;
}

.stats-note {
  margin-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-4);
  text-align: center;
}

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

.stat {
  padding: 44px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-num .unit {
  font-size: 17px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0;
}

.stat-label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* ---------- Sections ---------- */
.section {
  padding: 112px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 46px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.section-label.light {
  color: #a9bcf4;
}

.label-line {
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head.center .section-label {
  justify-content: center;
}

.section-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}

.section-sub {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

.section-head.center .section-sub {
  margin-inline: auto;
  max-width: 560px;
}

.section-head.split .section-sub {
  margin-top: 0;
  padding-bottom: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-700);
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}

.text-link .ic {
  font-size: 16px;
}

.text-link:hover {
  gap: 11px;
  color: var(--brand-800);
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px 190px at 100% 0,
    rgba(185, 200, 246, 0.38),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 116, 201, 0.32);
  box-shadow: var(--shadow-card);
}

.card:hover::after {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--brand-700);
  background: linear-gradient(160deg, #f2f5fe, #e2e9fc);
  border: 1px solid rgba(91, 116, 201, 0.12);
}

.card-icon .ic {
  font-size: 22px;
}

.card-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: #b7bccc;
}

.card h3 {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.card p {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

.tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(21, 24, 39, 0.1);
}

.tags li {
  padding: 4px 9px;
  border-radius: 6px;
  background: #f3f6fe;
  color: var(--brand-700);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* ---------- Solutions ---------- */
.solutions {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  margin-bottom: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(21, 24, 39, 0.03);
}

.tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.tab:hover {
  color: var(--ink);
  background: #f5f7fc;
}

.tab.is-active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 18px -10px rgba(21, 24, 39, 0.7);
}

.tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.tab-panel.is-active {
  animation: panelIn 0.5s var(--ease) both;
}

.panel-kicker {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brand);
}

.panel-copy h3 {
  margin-top: 14px;
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.018em;
  font-weight: 600;
}

.panel-copy > p {
  margin-top: 18px;
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.checks .ic {
  width: 16px;
  height: 16px;
  padding: 3px;
  margin-top: 1px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #e9effd;
  color: var(--brand-700);
  stroke-width: 2;
}

.panel-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 434px;
  padding: 34px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(150deg, #e9eefc 0%, #dce5fb 55%, #e8edfd 100%);
  box-shadow: inset 0 1px 0 #fff, 0 34px 70px -44px rgba(51, 71, 143, 0.6);
  overflow: hidden;
}

.visual-glow {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 66%);
  filter: blur(6px);
  pointer-events: none;
}

.dash {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 384px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 26px 52px -26px rgba(51, 71, 143, 0.55);
  transform: rotate(-1.1deg);
  transition: transform 0.5s var(--ease);
}

.panel-visual:hover .dash {
  transform: rotate(0deg) translateY(-2px);
}

.dash-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(21, 24, 39, 0.07);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.dash-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eff3fe;
  color: var(--brand-700);
}

.dash-icon .ic {
  font-size: 15px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf7f0;
  color: #3f8f68;
  font-size: 10.5px;
  font-weight: 400;
}

.live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3f8f68;
  animation: blink 2s ease-in-out infinite;
}

.dash-metric {
  margin: 18px 0 20px;
}

.dash-metric strong {
  display: block;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.dash-metric strong span {
  margin-left: 2px;
  font-size: 20px;
  color: var(--brand);
  font-weight: 500;
}

.dash-metric small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-3);
}

.bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 38px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.bar-row b {
  text-align: right;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 6px;
  border-radius: 99px;
  background: #e7ecfb;
  overflow: hidden;
}

.bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #9db2ee, #4f68c6);
  transition: width 1.1s cubic-bezier(0.22, 0.8, 0.2, 1) var(--d, 0s);
}

.tab-panel.is-active .bar i {
  width: var(--v);
}

.dash-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(21, 24, 39, 0.1);
  font-size: 10.5px;
  color: var(--ink-4);
}

.dot-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4fb07a;
  box-shadow: 0 0 0 3px rgba(79, 176, 122, 0.14);
}

.visual-mark {
  position: absolute;
  right: -16px;
  bottom: -20px;
  width: 152px;
  opacity: 0.16;
  filter: saturate(0.7);
  transform: rotate(-8deg);
  pointer-events: none;
}

/* ---------- Process ---------- */
.process .section-head {
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px 26px 0;
  border-left: 1px solid var(--line);
}

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

.step-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.step h3 {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 10px;
  max-width: 240px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-3);
}

.step-meta {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #f5f7fc;
  font-size: 11.5px;
  color: #9aa1b4;
}

/* ---------- About ---------- */
.about {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.home .about {
  border-bottom: 0;
}

.about-more {
  margin-top: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.about-visual {
  position: relative;
}

.about-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(155deg, #ffffff, #edf1fe 58%, #e3e9fc);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 44px 90px -54px rgba(51, 71, 143, 0.6);
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border: 1px dashed rgba(91, 116, 201, 0.22);
  border-radius: 50%;
  transform: rotate(-14deg) scaleY(0.62);
}

.about-card img {
  position: relative;
  z-index: 1;
  width: 74%;
  filter: drop-shadow(0 22px 30px rgba(51, 71, 143, 0.22));
  animation: float 9s ease-in-out infinite;
}

.about-chip {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px -16px rgba(21, 24, 39, 0.35);
  font-size: 12.5px;
  color: var(--ink-2);
}

.about-chip .ic {
  font-size: 15px;
  color: var(--brand);
}

.about-p {
  margin-top: 20px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-3);
}

.values {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.values li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.value-no {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.values h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.values p {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 116, 201, 0.35);
  box-shadow: var(--shadow-card);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}

.news-tag {
  padding: 3px 8px;
  border-radius: 5px;
  background: #eff3fe;
  color: var(--brand-700);
  font-size: 11px;
}

.news-card h3 {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.news-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 22px 0 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--brand-700);
  text-align: left;
}

.news-more .ic {
  font-size: 15px;
  transition: transform 0.3s var(--ease);
}

.news-card:hover .news-more .ic {
  transform: translateX(4px);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}

.faq-head .section-sub {
  max-width: 340px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .ic {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease), color 0.2s var(--ease);
}

.faq-item summary:hover {
  color: var(--brand-700);
}

.faq-item[open] summary {
  color: var(--brand-700);
}

.faq-item[open] summary .ic {
  transform: rotate(45deg);
  color: var(--brand);
}

.faq-body {
  max-width: 580px;
  padding: 0 40px 22px 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-3);
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: 112px;
}

.contact-panel {
  position: relative;
  padding: clamp(40px, 5.4vw, 76px) clamp(24px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background: linear-gradient(158deg, #171c36 0%, #0d1226 58%, #121a34 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 60px 120px -70px rgba(10, 14, 30, 0.9);
  overflow: hidden;
  isolation: isolate;
}

.contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.g1 {
  top: -220px;
  left: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(91, 116, 201, 0.6), transparent 66%);
}

.g2 {
  right: -120px;
  bottom: -220px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(157, 178, 238, 0.34), transparent 66%);
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin-inline: auto;
}

.contact-panel .section-label {
  justify-content: center;
}

.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: #fff;
}

.contact-sub {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
  text-align: left;
}

.method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

a.method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.method-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b9c8f6;
}

.method-icon .ic {
  font-size: 18px;
}

.method-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.42);
}

.method strong {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.01em;
}

.method-hint {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 28px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.footer-brand img {
  width: 132px;
  height: auto;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-3);
}

.footer-slogan {
  letter-spacing: 0.14em;
  color: var(--brand) !important;
  font-size: 11.5px !important;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--brand-700);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-4);
}

.legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.legal a:hover {
  color: var(--brand-700);
}

/* ---------- News dialog ---------- */
body.dialog-open {
  overflow: hidden;
}

body.dialog-open,
body.dialog-open * {
  cursor: auto !important;
}

html.custom-cursor body.dialog-open,
html.custom-cursor body.dialog-open * {
  cursor: auto !important;
}

body.dialog-open .cursor-layer {
  opacity: 0 !important;
}

.news-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(660px, calc(100vw - 40px));
  max-height: calc(100vh - 64px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 120px -40px rgba(8, 12, 28, 0.65);
  overflow: hidden;
}

.news-dialog::backdrop {
  background: rgba(13, 18, 38, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.news-dialog[open] {
  animation: dialogIn 0.32s var(--ease) both;
}

.news-dialog-inner {
  max-height: calc(100vh - 64px);
  padding: 34px;
  overflow-y: auto;
}

.news-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-dialog-meta {
  padding: 5px 10px;
  border-radius: 6px;
  background: #eff3fe;
  color: var(--brand-700);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.news-dialog-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.news-dialog-close:hover {
  background: #f5f7fc;
  border-color: var(--line-brand);
  color: var(--ink);
}

.news-dialog-close .ic {
  font-size: 18px;
}

.news-dialog h2 {
  margin-top: 20px;
  font-size: 26px;
  line-height: 1.42;
  letter-spacing: -0.018em;
  font-weight: 600;
}

.news-dialog-body p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-3);
}

.news-dialog-body p:first-child {
  margin-top: 20px;
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Custom cursor: drop leads, cloud follows ---------- */
.cursor-layer {
  --cur: #4259ae;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.cursor-layer.is-visible {
  opacity: 1;
}

.cursor-cloud,
.cursor-drop {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.cursor-cloud {
  width: 34px;
  height: 34px;
}

.cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--cur);
  will-change: transform;
}

.cursor-cloud-squish,
.cursor-drop-squish {
  display: block;
  transform-origin: 50% 50%;
  will-change: transform;
}

.cursor-cloud-squish {
  transform-origin: 50% 84%;
}

.cursor-drop-squish {
  transform-origin: 50% 68%;
}

.cursor-cloud svg {
  display: block;
  width: 34px;
  height: 34px;
  overflow: visible;
  transition: transform 0.3s var(--ease);
}

.cursor-drop svg {
  display: block;
  width: 12px;
  height: 17px;
  overflow: visible;
  transition: transform 0.3s var(--ease);
}

.cursor-cloud path,
.cursor-drop path {
  fill: none;
  stroke: var(--cur);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.cursor-layer.is-light {
  --cur: #e2eaff;
}

.cursor-layer.is-hover .cursor-cloud svg {
  transform: scale(1.08);
}

.cursor-layer.is-hover .cursor-drop svg {
  transform: scale(1.16);
}

.cursor-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid var(--cur);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.cursor-ripple.go {
  animation: cursorRipple 0.62s var(--ease) forwards;
}

@keyframes cursorRipple {
  0% {
    opacity: 0.6;
    transform: scale(0.3);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.custom-cursor,
  html.custom-cursor * {
    cursor: none !important;
  }

  .cursor-layer {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.custom-cursor,
  html.custom-cursor * {
    cursor: auto !important;
  }

  .cursor-layer {
    display: none !important;
  }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) var(--d, 0s),
    transform 0.7s var(--ease) var(--d, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(-52%, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-46%, 22px, 0) scale(1.06);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(8deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid,
  .faq-grid {
    gap: 52px;
  }

  .tab-panel {
    gap: 42px;
  }

  .hero-title {
    font-size: clamp(46px, 7vw, 72px);
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 92px 0;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section-head.split .section-sub {
    max-width: 560px;
  }

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

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

  .step {
    padding: 26px 22px 0;
  }

  .step:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .step:nth-child(n + 3) {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }

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

  .about-visual {
    max-width: 420px;
  }

  .about-card {
    aspect-ratio: 1.15 / 1;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-head {
    position: static;
  }

  .faq-head .section-sub {
    max-width: 520px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-sub {
    max-width: 560px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding-top: 132px;
  }

  .orbit {
    width: 520px;
    height: 300px;
  }
}

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

  .hero {
    padding: 122px 0 66px;
  }

  .page-hero {
    padding: 130px 0 64px;
  }

  .hero-title {
    font-size: clamp(40px, 9.4vw, 58px);
  }

  .hero-sub {
    font-size: 15.5px;
  }

  .hero-sub .br-pc {
    display: none;
  }

  .hero-emblem {
    width: 98px;
  }

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

  .stat {
    padding: 32px 16px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .tabs {
    display: flex;
    flex-wrap: nowrap;
    width: calc(100% + 48px);
    margin-inline: -24px;
    padding: 5px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    background: #fff;
    border: 1px solid var(--line);
  }

  .tab:hover {
    background: #fff;
  }

  .tab-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .panel-copy > p {
    max-width: none;
  }

  .panel-visual {
    min-height: 380px;
    padding: 22px;
    order: 2;
  }

  .dash {
    max-width: 400px;
  }

  .section-head {
    margin-bottom: 40px;
  }

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

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

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
  }

  .contact {
    padding-bottom: 80px;
  }

  .contact-panel {
    padding: 38px 26px;
    border-radius: 24px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
  }

  .method {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    padding: 18px;
  }

  .method-icon {
    grid-row: 1 / 4;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .method strong {
    margin-top: 4px;
    font-size: 16px;
  }

  .method-hint {
    margin-top: 0;
    padding-top: 6px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 60px;
    --gutter: 20px;
  }

  .brand img {
    height: 28px;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    padding: 8px 12px 0;
  }

  .header-inner {
    height: 52px;
    padding: 0 16px;
    gap: 16px;
  }

  .hero {
    padding: 104px 0 58px;
  }

  .hero-emblem {
    width: 88px;
    margin-bottom: 20px;
  }

  .eyebrow {
    font-size: 11px;
    gap: 7px;
    letter-spacing: 0.02em;
  }

  .eyebrow-en {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(38px, 11.2vw, 50px);
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 14.5px;
    line-height: 1.85;
  }

  .hero-actions {
    width: 100%;
    margin-top: 28px;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-platforms {
    margin-top: 20px;
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  .page-hero {
    padding: 112px 0 56px;
  }

  .page-mark {
    width: 64px;
    margin-bottom: 18px;
  }

  .page-title {
    font-size: clamp(32px, 9vw, 42px);
  }

  .page-sub {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.85;
  }

  .page-hero-actions {
    width: 100%;
    margin-top: 26px;
    gap: 10px;
  }

  .page-hero-actions .btn {
    flex: 1 1 100%;
  }

  .page-anchors {
    margin-top: 26px;
    gap: 5px;
  }

  .page-anchors a {
    padding: 5px 7px;
    font-size: 11px;
  }

  .tab {
    padding: 9px 14px;
    font-size: 13px;
  }

  .section {
    padding: 68px 0;
  }

  .section-title {
    font-size: clamp(26px, 7.4vw, 32px);
  }

  .section-sub {
    font-size: 14.5px;
  }

  .stats-label {
    margin-bottom: 20px;
  }

  .stat-num {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  .card {
    padding: 26px 22px 22px;
  }

  .tabs {
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding-inline: 20px;
    margin-bottom: 32px;
  }

  .panel-visual {
    min-height: 350px;
    padding: 16px;
    border-radius: 22px;
  }

  .dash {
    padding: 18px;
  }

  .dash-metric strong {
    font-size: 38px;
  }

  .bar-row {
    grid-template-columns: 76px 1fr 34px;
    gap: 8px;
    font-size: 11px;
  }

  .visual-mark {
    width: 118px;
    opacity: 0.12;
  }

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

  .step {
    padding: 24px 0 0;
    border-left: 0;
  }

  .step:nth-child(n + 2) {
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .step p {
    max-width: none;
  }

  .about-card {
    aspect-ratio: 1 / 1;
    padding: 26px;
    border-radius: 22px;
  }

  .about-card img {
    width: 82%;
  }

  .about-chip {
    left: 16px;
    bottom: 16px;
  }

  .values li {
    gap: 14px;
  }

  .news-card {
    padding: 24px;
  }

  .faq-item summary {
    font-size: 15px;
    padding: 19px 0;
  }

  .faq-body {
    padding-right: 12px;
  }

  .contact-panel {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .news-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 32px);
    border-radius: 20px;
  }

  .news-dialog-inner {
    max-height: calc(100vh - 32px);
    padding: 24px 20px;
  }

  .news-dialog h2 {
    font-size: 21px;
  }

  .footer {
    padding: 56px 0 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Principles ---------- */
.principles {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

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

.principle {
  padding: 26px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.principle:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 116, 201, 0.3);
  box-shadow: var(--shadow-soft);
}

.principle-no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.principle h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
}

.principle p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ---------- Device mockup (tech stack) ---------- */
.device {
  position: relative;
  z-index: 2;
  width: 178px;
  height: 330px;
  padding: 7px;
  border-radius: 28px;
  background: #10142a;
  box-shadow: 0 34px 60px -34px rgba(16, 20, 42, 0.75);
  transform: rotate(-2deg);
  transition: transform 0.45s var(--ease);
}

.panel-visual:hover .device {
  transform: rotate(0deg) translateY(-2px);
}

.device-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.device-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fa6ea;
}

.device-top i {
  width: 16px;
  height: 3px;
  margin-left: auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.device-screen {
  display: flex;
  flex-direction: column;
  height: calc(100% - 20px);
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(160deg, #fbfcff 0%, #e9efff 100%);
}

.device-pill {
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(91, 116, 201, 0.12);
  color: var(--brand-700);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.device-title {
  margin-top: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.device-line {
  height: 4px;
  margin-top: 7px;
  border-radius: 99px;
  background: #dbe4fb;
}

.device-line.w80 {
  width: 80%;
}

.device-line.w60 {
  width: 60%;
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
}

.device-grid i {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(91, 116, 201, 0.12);
  background: #fff;
}

.device-bar {
  height: 28px;
  margin-top: auto;
  border-radius: 9px;
  background: linear-gradient(135deg, #5b74c9, #3f55a8);
  opacity: 0.9;
}

.stack-chips {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 220px;
}

.stack-chips span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink-2);
  font-size: 10px;
  box-shadow: 0 6px 14px -10px rgba(21, 24, 39, 0.3);
}

@media (max-width: 960px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Full-page sections (desktop) ---------- */
@media (min-width: 1200px) and (min-height: 760px) and (hover: hover) and (pointer: fine) {
  html {
    scroll-padding-top: 0;
  }

  .hero,
  .about,
  .page-hero,
  .principles,
  .services,
  .solutions,
  .process,
  .news,
  .faq,
  .contact,
  .footer {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hero {
    display: flex;
    align-items: center;
    padding-top: clamp(120px, 15vh, 150px);
    padding-bottom: clamp(40px, 6vh, 84px);
  }

  .about,
  .principles,
  .services,
  .solutions,
  .process,
  .news,
  .faq,
  .contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 76px;
    padding-bottom: 20px;
  }

  .page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 92px;
    padding-bottom: 36px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head.split {
    margin-bottom: 26px;
  }

  .section-title {
    font-size: clamp(30px, 4.4vh, 40px);
  }

  .section-sub {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.75;
  }

  .cards {
    gap: 14px;
  }

  .card {
    padding: 20px 22px 18px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .card-icon .ic {
    font-size: 18px;
  }

  .card h3 {
    margin-top: 14px;
    font-size: 18px;
  }

  .card p {
    margin-top: 8px;
    font-size: 12.8px;
    line-height: 1.62;
  }

  .tags {
    margin-top: 12px;
    padding-top: 10px;
    gap: 6px;
  }

  .tags li {
    padding: 3px 7px;
    font-size: 10.5px;
  }

  .tabs {
    margin-bottom: 26px;
    padding: 4px;
  }

  .tab {
    padding: 8px 18px;
    font-size: 13.5px;
  }

  .tab-panel {
    gap: 48px;
  }

  .panel-copy h3 {
    font-size: clamp(24px, 3.2vh, 30px);
  }

  .panel-copy > p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.75;
  }

  .checks {
    margin-top: 18px;
    gap: 8px;
  }

  .checks li {
    font-size: 13.5px;
  }

  .panel-visual {
    min-height: 360px;
    padding: 24px;
  }

  .dash {
    padding: 18px;
  }

  .dash-metric {
    margin: 12px 0 14px;
  }

  .dash-metric strong {
    font-size: 38px;
  }

  .bar-row {
    margin-top: 8px;
  }

  .dash-foot {
    margin-top: 12px;
    padding-top: 10px;
  }

  .visual-mark {
    width: 128px;
  }

  .about-grid {
    gap: 56px;
  }

  .about-p {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.8;
  }

  .values {
    margin-top: 22px;
  }

  .values li {
    padding: 13px 0;
  }

  .about-more {
    margin-top: 20px;
  }

  .step {
    padding-top: 24px;
  }

  .step h3 {
    margin-top: 16px;
  }

  .step p {
    margin-top: 8px;
    font-size: 13.5px;
  }

  .step-meta {
    margin-top: 12px;
  }

  .news-card {
    min-height: 0;
    padding: 22px;
  }

  .news-card h3 {
    margin-top: 14px;
    font-size: 16px;
  }

  .news-card p {
    margin-top: 8px;
    font-size: 13px;
  }

  .news-more {
    padding-top: 16px;
    font-size: 12.5px;
  }

  .faq-head {
    position: static;
  }

  .faq-item summary {
    padding: 17px 0;
    font-size: 15px;
  }

  .faq-body {
    padding-bottom: 17px;
    font-size: 13.5px;
  }

  .contact {
    padding-top: 76px;
    padding-bottom: 20px;
  }

  .contact-panel {
    padding: 40px 48px;
  }

  .contact-copy h2 {
    font-size: clamp(28px, 3.4vh, 38px);
  }

  .contact-sub {
    margin-top: 12px;
    font-size: 14px;
  }

  .contact-methods {
    margin-top: 28px;
  }

  .method {
    padding: 18px;
  }

  .method-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .method strong {
    font-size: 16px;
  }

  .method-hint {
    padding-top: 10px;
  }

  .stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 40px;
  }

  .stats .wrap {
    width: 100%;
  }

  .stats-label {
    justify-content: center;
    margin-bottom: 54px;
  }

  .stat {
    padding: 32px 24px;
  }

  .stat-num {
    font-size: clamp(48px, 6.4vh, 70px);
  }

  .stat-label {
    margin-top: 14px;
    font-size: 13.5px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0 28px;
  }

  .footer-top {
    margin-block: auto;
    gap: 80px;
  }

  .footer-brand img {
    width: 180px;
  }

  .footer-brand p {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.9;
  }

  .footer-slogan {
    margin-top: 18px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.2em;
  }

  .footer-cols {
    gap: 32px;
  }

  .footer-col h4 {
    margin-bottom: 20px;
    font-size: 13.5px;
  }

  .footer-col a {
    padding: 7px 0;
    font-size: 14px;
  }

  .footer-bottom {
    margin-top: 0;
    padding-top: 24px;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .bar i {
    width: var(--v);
  }
}
