:root {
  --brand-blue: #075fff;
  --brand-blue-2: #0358f7;
  --brand-navy: #071437;
  --ink: #0f172a;
  --lead: #475569;
  --muted: #60708f;
  --line: #dbe5f7;
  --line-strong: #2563eb2e;
  --bg: #f8fbff;
  --bg-soft: #eef6ff;
  --card: #ffffff;
  --container: 1220px;
  --maco: #0058f8;
  --mika: #45429a;
  --mika-deep: #24285f;
  --shadow-sm: 0 12px 34px #0f172a0f;
  --shadow-md: 0 18px 38px #2563eb1f;
  --radius: 18px;
  --font: Inter, Geist, "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.nowrap { white-space: nowrap; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* draft ribbon */
.draft-ribbon {
  background: #071437;
  color: #dbe5f7;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  text-align: center;
  padding: 8px 16px;
}
.draft-ribbon strong { color: #fff; font-weight: 800; }

/* header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: #fffffff5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #dbe5f7d1;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}
.logo-agreesoft img { width: 158px; height: auto; }
.logo-product {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo-product img {
  height: 36px;
  width: auto;
  max-width: none;
}
.nav {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}
.nav a:hover { color: var(--brand-blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 18px 38px #2563eb38;
}
.btn-secondary {
  color: var(--brand-navy);
  background: #ffffffdb;
  border-color: #2563eb2e;
}
.btn-header {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 7px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #0d6bff, #0358f7);
  box-shadow: 0 10px 22px #0358f738;
}
.btn[disabled], .btn.is-disabled {
  cursor: not-allowed;
  opacity: .55;
  box-shadow: none;
  pointer-events: none;
}

/* hero */
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, #06b6d429, #0000 28%),
    radial-gradient(circle at 8% 18%, #2563eb1f, #0000 26%),
    linear-gradient(#fff, #f8fbff);
  padding: 86px 0 72px;
}
.page-mika .hero {
  background:
    radial-gradient(circle at 84% 18%, #a19ae729, #0000 28%),
    radial-gradient(circle at 8% 18%, #45429a1f, #0000 26%),
    linear-gradient(#fff, #f7f6ff);
}
.hero-grid {
  z-index: -1;
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#2563eb14 1px, #0000 0), linear-gradient(90deg, #2563eb14 1px, #0000 0);
  background-size: 38px 38px;
  mask-image: linear-gradient(#000c, #0000 82%);
  -webkit-mask-image: linear-gradient(#000c, #0000 82%);
}
.hero-inner {
  display: grid;
  grid-template-columns: .54fr .46fr;
  align-items: center;
  gap: 58px;
  min-height: 480px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.page-mika .eyebrow { color: var(--mika); }
.hero-name {
  margin: 14px 0 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.2;
}
.hero-name-en {
  margin-left: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}
.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  font-weight: 800;
}
.lead {
  color: var(--lead);
  max-width: 580px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.82;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.hero-visual { display: grid; place-items: center; }
.logo-stage, .icon-stage {
  background: #ffffffd1;
  border: 1px solid #2563eb24;
  border-radius: 28px;
  box-shadow: 0 18px 40px #0f172a14;
  padding: 40px 44px;
}
.logo-stage img { width: min(420px, 100%); }
.icon-stage {
  padding: 28px;
  background: linear-gradient(180deg, #fff, #f4f2ff);
}
.icon-stage img {
  width: 280px;
  height: 280px;
  border-radius: 64px;
  box-shadow: 0 24px 48px #24285f33;
}

/* sections */
.section { padding: 72px 0; }
.section-muted { background: linear-gradient(#f8fbff, #fff); }
.section h2 {
  margin: 0;
  font-size: 28px;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-kicker {
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  margin: 0 0 10px;
}
.page-mika .section-kicker { color: var(--mika); }
.grid-3, .grid-2 { display: grid; gap: 18px; margin-top: 28px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid #2563eb24;
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #eef6ff;
  color: var(--brand-blue);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-mika .step-num { background: #eeeaff; color: var(--mika); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--brand-navy); font-weight: 800; }
.card p { margin: 0; color: var(--lead); font-size: 15px; line-height: 1.75; }
.not-this {
  background: #fff;
  border-left: 4px solid #075fff;
}
.not-this strong { color: var(--brand-navy); }

/* download */
.download {
  background:
    radial-gradient(circle at 12% 20%, #2563eb14, #0000 32%),
    linear-gradient(#f8fbff, #eef6ff);
}
.page-mika .download {
  background:
    radial-gradient(circle at 12% 20%, #45429a14, #0000 32%),
    linear-gradient(#f8fbff, #f3f1ff);
}
.download-head p {
  max-width: 640px;
  color: var(--lead);
  margin: 12px 0 0;
}
.download-slots { margin-top: 28px; }
.slot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.slot-top { display: flex; align-items: center; gap: 14px; }
.os-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.slot h3 { margin: 0; font-size: 20px; }
.slot .meta { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.slot-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.disclaimer {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed #2563eb2e;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* footer */
.footer {
  background: #fff;
  color: #334155;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, minmax(0, .78fr));
  gap: 28px;
  padding: 46px 0 30px;
}
.footer-col .link-en {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  margin-left: 4px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 280px; }
.footer-brand img { width: 158px; }
.footer h4 { margin: 0 0 10px; font-size: 13px; color: var(--brand-navy); font-weight: 800; }
.footer-col { display: grid; align-content: start; gap: 10px; font-size: 14px; color: var(--lead); }
.footer-col a:hover { color: var(--brand-blue); }
.footer-bottom {
  color: #60708f;
  border-top: 1px solid #dbe5f7d1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0 28px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.beian {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}
.beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.beian img { width: 16px; height: 16px; flex-shrink: 0; }
.beian a:hover { color: var(--brand-blue); }

@media (max-width: 860px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { min-height: 64px; gap: 12px; }
  .nav, .btn-header { display: none; }
  .logo-agreesoft img { width: 132px; }
  .logo-product img { height: 32px; }
  .hero { padding: 46px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .grid-3, .grid-2, .footer-main { grid-template-columns: 1fr; }
  .icon-stage img { width: 220px; height: 220px; border-radius: 48px; }
  .logo-stage { padding: 28px; }
  .footer-bottom {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: flex-start;
    gap: 10px 16px;
  }
  .footer-bottom > :first-child {
    flex: 1 0 100%;
    white-space: nowrap;
  }
  .beian {
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 11px;
    gap: 12px;
  }
}
