/* ==========================================================================
   KED · 江西省凯尔迪科技有限公司
   Claude-inspired interface, blue edition
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --bg: #f6f8fc;
  --bg-warm: #fbfcfe;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --surface-3: #e6eefa;

  --ink: #16233b;
  --ink-soft: #44556e;
  --muted: #7a8aa3;
  --line: #e2e9f3;
  --line-strong: #d2ddec;

  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-deep: #0f2a5e;
  --brand-ink: #0b1e44;
  --brand-50: #eef4ff;
  --brand-100: #dbe7ff;
  --accent: #38bdf8;
  --accent-deep: #0ea5e9;

  --ok: #10b981;
  --warn: #f59e0b;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(15, 42, 94, 0.06);
  --shadow-sm: 0 2px 10px rgba(15, 42, 94, 0.07);
  --shadow: 0 12px 34px rgba(15, 42, 94, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 42, 94, 0.18);

  --maxw: 1200px;
  --header-h: 76px;

  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand-100); color: var(--brand-deep); }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-warm); }
.section--blue {
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(56, 189, 248, 0.18), transparent 60%),
    linear-gradient(165deg, var(--brand-ink), var(--brand-deep) 55%, #133a86);
  color: #eaf1ff;
}
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-strong);
  font-family: var(--sans);
}
.eyebrow::before {
  content: none;
}
.section--blue .eyebrow,
.page-hero .eyebrow {
  color: #a8c7f7;
}
.section--blue .eyebrow::before,
.page-hero .eyebrow::before {
  content: none;
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin: 16px 0 14px; letter-spacing: -0.01em; }
.section-sub { color: var(--ink-soft); font-size: 17px; }
.section--blue .section-sub { color: #b9cdf2; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; font-family: var(--sans);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28); }
.btn--primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--brand-strong);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 900;
  width: 100%;
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    height 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1380px; }
.site-header.scrolled,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo {
  height: 40px; width: auto; max-width: 148px; flex: none;
  object-fit: contain; display: block;
}
.site-footer .brand-logo { height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: 0.02em; color: var(--ink); }
.brand-en { font-size: 11px; letter-spacing: 0.22em; color: var(--brand-strong); font-weight: 600; }
.home .site-header:not(.scrolled) .brand-name { color: #fff; }
.home .site-header:not(.scrolled) .brand-en { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; flex: none; white-space: nowrap; }
.nav a {
  position: relative; padding: 10px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  flex: none; white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--brand-strong); background: var(--brand-50); }
.nav a.active { color: var(--brand-strong); }
.nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.home .site-header:not(.scrolled) .nav a { color: rgba(255, 255, 255, 0.82); }
.home .site-header:not(.scrolled) .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }
.home .site-header:not(.scrolled) .nav a.active { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.header-phone svg { width: 18px; height: 18px; color: var(--brand); }
.home .site-header:not(.scrolled) .header-phone { color: #fff; }
.home .site-header:not(.scrolled) .header-phone svg { color: var(--accent); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}
.lang-switch button {
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch button.active {
  background: var(--brand);
  color: #fff;
}
.home .site-header:not(.scrolled) .lang-switch {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}
.home .site-header:not(.scrolled) .lang-switch button {
  color: rgba(255, 255, 255, 0.8);
}
.home .site-header:not(.scrolled) .lang-switch button.active {
  background: #fff;
  color: var(--brand-deep);
}

.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.home .site-header:not(.scrolled) .nav-toggle span,
.home .site-header:not(.scrolled) .nav-toggle span::before,
.home .site-header:not(.scrolled) .nav-toggle span::after { background: #fff; }
body.nav-open .nav-toggle span,
body.nav-closing .nav-toggle span,
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
body.nav-open .nav-toggle span::before,
body.nav-closing .nav-toggle span::before,
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
body.nav-open .nav-toggle span::after,
body.nav-closing .nav-toggle span::after,
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* ---- Intro / guide animation -------------------------------------------- */
.intro {
  position: fixed; inset: 0; z-index: 2000;
  width: 100vw; height: 100vh; min-height: 100vh;
  height: 100dvh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    linear-gradient(180deg, #061333 0%, #0b1e44 52%, #071124 100%);
  color: #fff; overflow: hidden;
  clip-path: inset(0);
  transition: opacity 0.72s var(--ease), visibility 0.72s var(--ease), clip-path 0.72s cubic-bezier(0.55, 0, 0.1, 1);
}
.intro::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 10, 28, 0.42), transparent 26%, transparent 74%, rgba(3, 10, 28, 0.42)),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 24%, transparent 76%, rgba(0,0,0,0.16));
}
.intro::after {
  content: "";
  position: absolute; inset: -18%;
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(218, 248, 255, 0.18), transparent);
  opacity: 0;
  transform: translateX(-18%) scaleX(0.28);
}
.intro.intro--leaving::after { animation: introRevealSweep 0.72s var(--ease) both; }
.intro.is-hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
@keyframes introRevealSweep {
  0% { opacity: 0; transform: translateX(-18%) scaleX(0.28); filter: blur(0); }
  36% { opacity: 1; }
  100% { opacity: 0; transform: translateX(18%) scaleX(1.15); filter: blur(10px); }
}
.intro__canvas {
  position: absolute; inset: 0; z-index: 1;
  width: 100vw; height: 100vh; height: 100dvh; display: block;
}
.intro__inner {
  position: relative; z-index: 2; padding: 0 24px;
  transform: translateY(-2px);
}
.intro__logo {
  width: min(230px, 64vw); height: auto; margin: 0 auto 24px;
  display: block; object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.22));
  animation: introMarkIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro__drop { width: 78px; height: 78px; margin: 0 auto 26px; animation: introDrop 1s var(--ease) both; }
@keyframes introMarkIn {
  0% { transform: translateY(12px) scale(0.985); opacity: 0; filter: blur(8px) drop-shadow(0 16px 36px rgba(0,0,0,0)); }
  100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0) drop-shadow(0 16px 36px rgba(0,0,0,0.22)); }
}
@keyframes introDrop {
  0% { transform: translateY(-40px) scale(0.6); opacity: 0; }
  60% { transform: translateY(6px) scale(1.04); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.intro__brand { display: none; }
@keyframes introUp { to { opacity: 1; transform: translateY(0); } }
.intro__cn {
  margin-top: 14px; font-size: clamp(21px, 3.4vw, 36px); letter-spacing: 0.16em;
  color: #f8fbff; opacity: 0; animation: introUp 0.78s var(--ease) 0.58s forwards;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}
.intro__line {
  margin: 24px auto 0; width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,246,255,0.66), rgba(160,205,226,0.38), transparent);
  animation: introLine 0.9s var(--ease) 0.78s forwards;
}
@keyframes introLine { to { width: min(300px, 58vw); } }
.intro__tag {
  margin-top: 20px; font-size: clamp(13px, 1.45vw, 16px); letter-spacing: 0.22em; color: rgba(218, 237, 246, 0.76);
  opacity: 0; animation: introUp 0.76s var(--ease) 0.98s forwards;
}
.intro__skip {
  position: absolute; z-index: 3; bottom: 30px; left: 50%; right: auto; width: max-content; margin-inline: 0;
  background: rgba(255, 255, 255, 0.055); color: rgba(219, 231, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 20px; border-radius: 999px; font-size: 13px; letter-spacing: 0.1em;
  opacity: 0; transform: translate(-50%, 12px); animation: introSkipUp 0.6s var(--ease) 1.65s forwards;
  transition: background 0.25s var(--ease);
}
.intro__skip:hover { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.86); }
@keyframes introSkipUp { to { opacity: 1; transform: translate(-50%, 0); } }
.intro__progress { display: none; }
.intro.run .intro__progress { animation: none; }
@keyframes introProgress { to { width: 100%; } }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden; color: #eef4ff;
  background:
    radial-gradient(1000px 600px at 80% 8%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(900px 700px at 6% 90%, rgba(37, 99, 235, 0.30), transparent 55%),
    linear-gradient(160deg, #08173d, var(--brand-deep) 58%, #103a86);
}
.hero__grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
}
.hero__waves {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  width: 100%; height: 140px; pointer-events: none; overflow: visible;
  transform: scaleX(1.004) translateY(1px);
  transform-origin: center bottom;
}
.hero__waves .wv--back { fill: rgba(219, 231, 255, 0.28); }
.hero__waves .wv--mid { fill: rgba(199, 219, 250, 0.5); }
.hero__waves .wv--front { fill: #f6f8fc; }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; padding: 60px 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px; font-size: 13px; letter-spacing: 0.04em; color: #dbe7ff;
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero__badge b { background: var(--accent); color: var(--brand-ink); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero h1 {
  color: #fff; font-size: clamp(36px, 6.4vw, 70px); line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #7dd3fc, #c7deff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(16px, 2.2vw, 20px); color: #c3d4f4; max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 36px; margin-top: 56px;
  padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__stat .num { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: #fff; white-space: nowrap; }
.hero__stat .lbl { font-size: 13px; color: #9db8ee; letter-spacing: 0.08em; margin-top: 2px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.6); text-transform: uppercase;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 14px; position: relative; }
.scroll-cue .mouse::before {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } }

/* ---- Home Claude-blue trial --------------------------------------------- */
.home-claude .hero {
  background:
    radial-gradient(980px 560px at 62% 12%, rgba(125, 211, 252, 0.18), transparent 60%),
    radial-gradient(780px 520px at 12% 82%, rgba(37, 99, 235, 0.12), transparent 64%),
    linear-gradient(180deg, #12346f 0%, #0b2b67 34%, #0b2456 58%, #081a3c 80%, #08152f 100%);
}
.home-claude .hero__grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(232, 246, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 246, 255, 0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 62%, transparent 100%);
}
.home-claude .hero__waves {
  opacity: 0.42;
  shape-rendering: geometricPrecision;
}
.home-claude .hero__waves .wv--back {
  display: inline;
  fill: rgba(219, 231, 255, 0.045);
  filter: blur(0.35px);
}
.home-claude .hero__waves .wv--mid {
  display: inline;
  fill: rgba(199, 219, 250, 0.07);
  filter: blur(0.25px);
}
.home-claude .hero__waves .wv--front { fill: #f6f8fc; }
.home-claude .hero__inner {
  max-width: 780px;
  padding: 68px 0 88px;
}
.home-claude .hero__badge {
  gap: 9px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  color: rgba(219, 231, 255, 0.64);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.home-claude .hero__badge b {
  background: transparent;
  color: rgba(232, 246, 255, 0.9);
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
}
.home-claude .hero h1 {
  font-family: var(--sans);
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 24px;
}
.home-claude .hero h1 .grad {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: rgba(232, 246, 255, 0.9);
}
.home-claude .hero__lead {
  max-width: 640px;
  color: rgba(218, 233, 244, 0.72);
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.85;
}
.home-claude .hero__actions {
  gap: 12px;
}
.home-claude .hero__actions .btn {
  border-radius: 10px;
  box-shadow: none;
  padding: 12px 20px;
}
.home-claude .hero__actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.home-claude .hero__actions .btn--white {
  background: rgba(248, 251, 255, 0.94);
  color: #0b1e44;
}
.home-claude .hero__actions .btn--light {
  background: transparent;
  border-color: rgba(232, 246, 255, 0.22);
  color: rgba(232, 246, 255, 0.82);
  backdrop-filter: none;
}
.home-claude .hero__stats {
  gap: 0;
  margin-top: 54px;
  padding-top: 24px;
  border-top-color: rgba(232, 246, 255, 0.11);
}
.home-claude .hero__stat {
  min-width: 132px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(232, 246, 255, 0.1);
}
.home-claude .hero__stat:last-child {
  border-right: none;
  margin-right: 0;
}
.home-claude .hero__stat .num {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0;
}
.home-claude .hero__stat .lbl {
  color: rgba(191, 216, 242, 0.58);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.home-claude .scroll-cue {
  opacity: 0.42;
}
.home-claude .section--tight[style*="padding:46px"] {
  padding: 34px 0 !important;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.home-claude .section--tight[style*="padding:46px"] p {
  color: #7d8ba1 !important;
  margin-bottom: 18px !important;
}
.home-claude .section--tight[style*="padding:46px"] .chip {
  border-radius: 10px;
  border-color: #dde6f1;
  background: rgba(255, 255, 255, 0.68);
  color: #40516a;
  box-shadow: none;
  padding: 7px 13px;
  font-size: 13px;
}
.home-claude .btn {
  border-radius: 10px;
  box-shadow: none;
}
.home-claude .btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.home-claude .btn--primary {
  background: #1f56c7;
}
.home-claude .btn--primary:hover {
  background: #1b4aa9;
}
.home-claude .card,
.home-claude .prod,
.home-claude .news-card {
  border-radius: 12px;
  border-color: #dde6f1;
  box-shadow: none;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.home-claude .card:hover,
.home-claude .prod:hover,
.home-claude .news-card:hover {
  transform: translateY(-2px);
  border-color: #ccd8e8;
  box-shadow: 0 10px 28px rgba(15, 42, 94, 0.08);
}
.home-claude .prod__device {
  transition: transform 0.36s var(--ease), filter 0.36s var(--ease);
}
.home-claude .prod:hover .prod__device {
  transform: translateY(-2px) scale(1.012);
}
.home-claude .prod__more svg,
.home-claude .link-arrow svg {
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.home-claude .prod:hover .prod__more svg,
.home-claude .link-arrow:hover svg {
  transform: translateX(3px);
}
.home-claude .card__icon,
.home-claude .feature-num,
.home-claude .tag-pill,
.home-claude .prod__tag,
.home-claude .prod__hot,
.home-claude .news-card__cover .cat {
  border-radius: 10px;
  box-shadow: none;
}
.home-claude .card__icon,
.home-claude .feature-num {
  background: #eef4fb;
  color: #315f9e;
}
.home-claude .prod__media,
.home-claude .news-card__cover {
  background:
    radial-gradient(220px 130px at 76% 18%, rgba(158, 215, 245, 0.13), transparent 68%),
    linear-gradient(160deg, #eef4fb, #dce7f5);
}
.home-claude .prod__media::after {
  opacity: 0.32;
}
.home-claude .news-card__cover {
  color: #12346f;
}
.home-claude .news-card__cover .ym {
  color: #5f7390;
}
.home-claude .news-card__cover .cat {
  background: rgba(255, 255, 255, 0.66);
  color: #315f9e;
  backdrop-filter: none;
}
.home-claude .media-frame,
.home-claude .cta-band {
  border-radius: 16px;
  box-shadow: none;
}
.home-claude .section-title,
.home-claude .card h3,
.home-claude .prod__model,
.home-claude .news-card__title {
  font-family: var(--sans);
  letter-spacing: 0;
}

/* ---- Page hero (sub pages) ----------------------------------------------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 64px; color: #eaf1ff; overflow: hidden;
  background:
    radial-gradient(800px 400px at 88% -10%, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(160deg, var(--brand-ink), var(--brand-deep) 60%, #123a82);
}
.page-hero__grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 70% 0%, #000 20%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); margin: 14px 0 12px; }
.page-hero p { color: #bfd2f3; max-width: 640px; font-size: 17px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #9db8ee; margin-top: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.5; }

/* ---- Claude-blue subpage trial ------------------------------------------ */
body:not(.home) .page-hero {
  padding: calc(var(--header-h) + 64px) 0 58px;
  background:
    radial-gradient(760px 420px at 76% 12%, rgba(56, 189, 248, 0.12), transparent 64%),
    radial-gradient(680px 420px at 8% 88%, rgba(37, 99, 235, 0.10), transparent 66%),
    linear-gradient(180deg, #0a1c44 0%, #0b2456 48%, #081a3c 100%);
}
body:not(.home) .page-hero__grid {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(232,246,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,246,255,0.024) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
}
body:not(.home) .page-hero h1 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
}
body:not(.home) .page-hero p {
  color: rgba(218, 233, 244, 0.72);
  line-height: 1.85;
}
body:not(.home) .breadcrumb {
  color: rgba(191, 216, 242, 0.58);
}
body:not(.home) .eyebrow {
  letter-spacing: 0.08em;
}
body:not(.home) .card,
body:not(.home) .prod,
body:not(.home) .news-card,
body:not(.home) .job,
body:not(.home) .form-card,
body:not(.home) .contact-card,
body:not(.home) .service-card,
body:not(.home) .info-row,
body:not(.home) .pill-card {
  border-radius: 12px;
  box-shadow: none;
  border-color: #dde6f1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
body:not(.home) .card:hover,
body:not(.home) .prod:hover,
body:not(.home) .news-card:hover,
body:not(.home) .job:hover,
body:not(.home) .form-card:hover,
body:not(.home) .contact-card:hover,
body:not(.home) .service-card:hover,
body:not(.home) .info-row:hover,
body:not(.home) .pill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 42, 94, 0.08);
  border-color: #ccd8e8;
}
body:not(.home) .card__icon {
  border-radius: 10px;
  background: #eef4fb;
  color: #315f9e;
}
body:not(.home) .chip,
body:not(.home) .tag-pill,
body:not(.home) .prod__tag,
body:not(.home) .prod__hot,
body:not(.home) .news-card__cover .cat {
  border-radius: 10px;
  box-shadow: none;
}
body:not(.home) .chip {
  background: rgba(255, 255, 255, 0.72);
  border-color: #dbe4f0;
  color: #40516a;
}
body:not(.home) .chip.active {
  background: #0f2a5e;
  border-color: #0f2a5e;
  color: #fff;
}
body:not(.home) .prod__media,
body:not(.home) .pm__media {
  background:
    radial-gradient(180px 120px at 72% 24%, rgba(158, 215, 245, 0.13), transparent 68%),
    linear-gradient(160deg, #eef4fb, #dce7f5);
}
body:not(.home) .btn {
  border-radius: 10px;
  box-shadow: none;
}
body:not(.home) .btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

/* ---- Cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--brand-50), var(--brand-100)); color: var(--brand-strong);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* feature with number */
.feature-num {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--brand);
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--brand-100);
  display: grid; place-items: center; margin-bottom: 18px;
}

/* ---- Category chips ------------------------------------------------------ */
.cat-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-soft); font-size: 14px; font-weight: 500;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 18px rgba(37,99,235,0.26); }
.chip .count { opacity: 0.6; font-size: 12px; margin-left: 5px; }
.chip.active .count { opacity: 0.85; }

/* ---- Product card -------------------------------------------------------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.prod__media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    radial-gradient(120px 80px at 70% 25%, rgba(56,189,248,0.18), transparent 70%),
    linear-gradient(160deg, #eaf1fd, #dbe7ff);
  overflow: hidden;
}
.prod__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.7;
}
.prod__device { position: relative; z-index: 1; width: 56%; filter: drop-shadow(0 14px 22px rgba(15,42,94,0.18)); transition: transform 0.4s var(--ease); }
.prod:hover .prod__device { transform: translateY(-4px) scale(1.03); }
.prod__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.92); color: var(--brand-strong); padding: 4px 11px; border-radius: 999px;
  box-shadow: var(--shadow-xs);
}
.prod__hot {
  position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--accent), var(--brand)); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.prod__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod__model { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.01em; }
.prod__desc {
  color: var(--ink-soft); font-size: 14px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.prod__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag-pill { font-size: 12px; color: var(--brand-strong); background: var(--brand-50); padding: 3px 10px; border-radius: 999px; }
.prod__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-strong); margin-top: 4px; }
.prod__more svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.prod:hover .prod__more svg { transform: translateX(4px); }

.empty-note { text-align: center; color: var(--muted); padding: 60px 0; font-size: 16px; }

/* ---- Modal --------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(11, 30, 68, 0.55); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; z-index: 2; width: 100%; max-width: 880px; max-height: 88vh; overflow: auto;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98); transition: transform 0.35s var(--ease);
}
.modal.open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.9); display: grid; place-items: center; color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.modal__close:hover { background: var(--brand-50); color: var(--brand-strong); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }

.pm__head { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.pm__media {
  aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative;
  background:
    radial-gradient(160px 120px at 70% 22%, rgba(56,189,248,0.22), transparent 70%),
    linear-gradient(160deg, #e9f1fd, #d6e4ff);
}
.pm__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.pm__device { position: relative; z-index: 1; width: 62%; filter: drop-shadow(0 18px 26px rgba(15,42,94,0.22)); }
.pm__info { padding: 38px 36px; }
.pm__cat { font-size: 13px; color: var(--brand-strong); font-weight: 600; letter-spacing: 0.04em; }
.pm__title { font-size: 30px; margin: 8px 0 16px; }
.pm__desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; }
.pm__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.pm__body { padding: 0 36px 36px; }
.pm__divider { height: 1px; background: var(--line); margin: 0 36px 28px; }
.pm__feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.pm__feature { background: var(--surface-2); border-radius: var(--radius); padding: 16px 18px; }
.pm__feature .ico { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--brand); display: grid; place-items: center; margin-bottom: 10px; }
.pm__feature .ico svg { width: 18px; height: 18px; }
.pm__feature h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.pm__feature p { font-size: 13px; color: var(--muted); }
.pm__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 22px 26px; background: var(--surface-2); border-radius: var(--radius); }
.pm__cta .phone { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--brand-deep); }
.pm__cta .phone small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; }

/* ---- Stats band ---------------------------------------------------------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 12px; }
.stat-card .num { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); font-weight: 700; color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.stat-card .num .suf { color: var(--accent); }
.stat-card .lbl { color: #cfe0ff; font-weight: 600; margin-top: 6px; }
.stat-card .desc { color: #8fb0ee; font-size: 13px; }

/* ---- Split / about ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-soft); font-size: 16px; }
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--brand-50); color: var(--brand-strong); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck svg { width: 14px; height: 14px; }

.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  background:
    radial-gradient(300px 200px at 78% 12%, rgba(56,189,248,0.28), transparent 60%),
    linear-gradient(160deg, var(--brand-deep), #1747a8);
  color: #fff; display: flex; align-items: flex-end; padding: 32px;
  box-shadow: var(--shadow);
}
.media-frame__grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.media-frame__badge {
  position: absolute; top: 26px; left: 26px; font-family: var(--serif); font-weight: 700;
  font-size: 60px; letter-spacing: 0.2em; color: rgba(255,255,255,0.14);
}
.media-frame__badge img {
  width: min(160px, 42%); height: auto; opacity: 0.92;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}
.media-frame__cap { position: relative; z-index: 1; }
.media-frame__cap .since { font-size: 13px; letter-spacing: 0.24em; color: var(--accent); }
.media-frame__cap h3 { color: #fff; font-size: 22px; margin-top: 6px; }

/* ---- News ---------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.news-card__cover {
  height: 168px; position: relative; display: flex; align-items: flex-end; padding: 18px; color: #fff;
  background:
    radial-gradient(200px 120px at 80% 10%, rgba(56,189,248,0.3), transparent 60%),
    linear-gradient(155deg, var(--brand-deep), #1c4fb0);
}
.news-card__cover .day { font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1; }
.news-card__cover .ym { font-size: 13px; color: #bcd3f7; letter-spacing: 0.06em; }
.news-card__cover .cat { position: absolute; top: 16px; right: 16px; font-size: 12px; background: rgba(255,255,255,0.18); padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.news-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card__title { font-size: 18px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__sum { color: var(--ink-soft); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: auto; }

.nm__meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.nm__meta .cat { color: var(--brand-strong); font-weight: 600; }
.nm__meta svg { width: 16px; height: 16px; color: var(--brand); vertical-align: -3px; }
.nm__title { font-size: 28px; line-height: 1.3; margin-bottom: 22px; }
.nm__body p { color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.nm__body p + p { margin-top: 16px; }

/* ---- Jobs ---------------------------------------------------------------- */
.job {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; transition: all 0.3s var(--ease);
}
.job:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.job__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.job__title { font-size: 22px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0; }
.job__meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 14px; }
.job__meta svg { width: 16px; height: 16px; color: var(--brand); }
.job__salary { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--brand-strong); }
.job p { color: var(--ink-soft); font-size: 15px; }

/* ---- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; }
.info-list { display: grid; gap: 8px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: all 0.25s var(--ease); }
.info-row:hover { border-color: var(--brand-100); box-shadow: var(--shadow-xs); }
.info-row .ic { width: 46px; height: 46px; flex: none; border-radius: 13px; background: linear-gradient(150deg, var(--brand-50), var(--brand-100)); color: var(--brand-strong); display: grid; place-items: center; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .lbl { font-size: 13px; color: var(--muted); }
.info-row .val { font-weight: 600; font-size: 16px; color: var(--ink); word-break: break-word; }
.info-row .val a:hover { color: var(--brand-strong); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--brand); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-warm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-msg { margin-top: 14px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; display: none; }
.form-msg.ok { display: block; background: #e7f8f0; color: #0a7a4f; border: 1px solid #b6ead2; }
.form-msg.err { display: block; background: #fdeced; color: #c0392b; border: 1px solid #f6c6cb; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---- Timeline ------------------------------------------------------------ */
.timeline { position: relative; max-width: 820px; margin: 0 auto; --tl-x: 15px; }
.timeline::before {
  content: ""; position: absolute; left: calc(var(--tl-x) - 1px); top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--brand-100), var(--brand-strong));
}
.tl-item { position: relative; padding: 0 0 34px calc(var(--tl-x) + 37px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: calc(var(--tl-x) - 8px); top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-50);
}
.tl-year { font-family: var(--serif); font-weight: 700; color: var(--brand-strong); font-size: 18px; }
.tl-item h3 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; }

/* ---- Pill list ----------------------------------------------------------- */
.pill-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pill-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; transition: all 0.3s var(--ease); }
.pill-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.pill-card .big { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--brand); }
.pill-card h3 { margin-top: 10px; font-size: 19px; }
@media (max-width: 860px) { .pill-cards { grid-template-columns: 1fr; } }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 64px; text-align: center; color: #fff;
  background:
    radial-gradient(500px 300px at 50% -20%, rgba(56,189,248,0.32), transparent 60%),
    linear-gradient(150deg, var(--brand-deep), #1a49a6);
  box-shadow: var(--shadow); }
.cta-band__grid { position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 50% 0%, #000 30%, transparent 80%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #c8d8f5; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero__actions { justify-content: center; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, #0a1c44, #08152f); color: #c2d2ee; padding: 70px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-en { color: var(--accent); }
.footer-about { margin-top: 18px; font-size: 14px; color: #93a8cf; max-width: 320px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: #a6b8d8; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: #a6b8d8; margin-bottom: 13px; }
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--accent); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 13px; color: #7e93ba; }
.footer-bottom__links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-bottom__sep { opacity: 0.45; }
.footer-bottom a { color: var(--accent); font-weight: 600; transition: color 0.2s var(--ease); }
.footer-bottom a:hover { color: #fff; }

/* ---- Floating dock ------------------------------------------------------- */
.dock { position: fixed; right: 18px; bottom: 24px; z-index: 800; display: flex; flex-direction: column; gap: 12px; }
.dock button, .dock a {
  width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: all 0.25s var(--ease); position: relative;
  padding: 0; line-height: 1;
}
.dock button:hover, .dock a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }
.dock svg { width: 22px; height: 22px; }
.dock button svg, .dock a svg { display: block; margin: auto; }
.dock .dock-tip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--brand-ink); color: #fff; font-size: 13px; padding: 7px 12px; border-radius: 9px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.2s var(--ease); box-shadow: var(--shadow);
}
.dock .dock-tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--brand-ink); }
.dock > *:hover .dock-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.dock #toTop { opacity: 0; visibility: hidden; }
.dock #toTop.show { opacity: 1; visibility: visible; }

/* ---- Reveal animation ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---- Mobile nav panel ---------------------------------------------------- */
.mobile-panel {
  position: fixed; top: var(--header-h); right: 0; bottom: auto; left: auto; z-index: 850; background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px); transform: translate3d(100%, 0, 0);
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  padding: 24px; padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 78px)); overflow-y: auto; display: flex; flex-direction: column;
  width: 100%; max-width: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  visibility: hidden; pointer-events: none;
}
body.nav-open .mobile-panel,
body.nav-closing .mobile-panel {
  visibility: visible; pointer-events: auto;
}
body.nav-open .mobile-panel {
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s var(--ease), visibility 0s;
}
body.nav-closing .mobile-panel {
  transform: translate3d(100%, 0, 0);
  pointer-events: none;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.mobile-panel a { padding: 16px 8px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-panel > a:not(.btn) { margin: 3px 0; padding-left: 12px; padding-right: 12px; border-radius: 10px; }
.mobile-panel a.active { color: var(--brand-strong); }
.mobile-panel .btn {
  margin-top: 18px; padding: 13px 16px; min-height: 50px; gap: 10px;
  white-space: normal; line-height: 1.35; text-align: center;
}
.mobile-panel a.btn { border-bottom: 0; }
.mobile-panel a.btn--primary { color: #fff; }
.mobile-panel a.btn--ghost { color: var(--brand-strong); }
.mobile-panel a.btn:last-child { margin-bottom: max(44px, env(safe-area-inset-bottom)); }
.mobile-panel .btn svg { flex: none; }
.mobile-panel::after {
  content: "";
  display: block;
  flex: 0 0 max(64px, calc(env(safe-area-inset-bottom) + 48px));
}
.mobile-lang {
  margin: 6px 0 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-lang .lang-switch {
  width: max-content;
  background: var(--surface-2);
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1200px) {
  .site-header .container { gap: 14px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 17px; }
  .nav a { padding-inline: 11px; font-size: 14px; }
  .header-cta { gap: 10px; }
}
@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  html { scrollbar-gutter: auto; }
  .site-header { width: 100vw; min-width: 100%; }
  .site-header.scrolled,
  body:not(.home) .site-header {
    background: rgba(255, 255, 255, 0.94);
  }
  .site-header .container {
    position: relative;
    width: 100%; max-width: none; height: 100%; margin: 0;
    padding: 0 18px; gap: 12px; justify-content: space-between;
  }
  .brand { min-width: 0; max-width: calc(100vw - 78px); gap: 14px; }
  .brand-logo { max-width: 118px; height: 36px; }
  .brand-text { min-width: 0; }
  .brand-name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-en { font-size: 10px; }
  .site-footer .brand { gap: 14px; }
  .header-cta {
    position: absolute; top: 50%; right: 12px; z-index: 2;
    margin-left: 0; gap: 0; transform: translateY(-50%);
  }
  .nav, .header-phone { display: none; }
  .header-cta > .btn { display: none; }
  .header-cta > .lang-switch { display: none; }
  .nav-toggle { display: block; flex: none; margin-left: 0; }
  .section { padding: 68px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .news-grid, .pm__feature-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pm__head { grid-template-columns: 1fr; }
  .pm__media { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 24px; }
  .home-claude .hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .home-claude .hero__stat { min-width: 0; margin-right: 0; padding-right: 18px; }
  .home-claude .hero__stat:nth-child(2) { border-right: none; }
  .hero__waves { overflow: hidden; }
  .hero__waves .wv { transform-box: fill-box; }
}
@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .prod__body { padding: 14px 14px 16px; }
  .pm__info, .pm__body { padding-left: 22px; padding-right: 22px; }
  .pm__divider { margin-left: 22px; margin-right: 22px; }
  .dock { right: 12px; bottom: max(14px, env(safe-area-inset-bottom)); gap: 13px; }
  .intro__inner { width: 100%; padding: 0 18px; }
  .intro__tag { letter-spacing: 0.14em; }
  .intro__skip { bottom: max(22px, env(safe-area-inset-bottom)); }
  .mobile-panel { padding: 18px; padding-bottom: max(104px, calc(env(safe-area-inset-bottom) + 84px)); }
  .mobile-panel a { padding-top: 14px; padding-bottom: 14px; font-size: 17px; }
  .site-footer .brand { gap: 14px; }
  body[data-lang="en"] .prod-grid,
  body[data-lang="en"] .stats-band,
  body[data-lang="en"] .grid-4 { grid-template-columns: 1fr; }
}

@media (hover: none) and (pointer: coarse) {
  .dock button:hover, .dock a:hover {
    background: var(--surface);
    color: var(--brand-strong);
    border-color: var(--line);
    transform: none;
  }
  .dock button:active, .dock a:active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
