:root {
  --ink: #111827;
  --muted: #657285;
  --soft: #f6f8fb;
  --card: rgba(255, 255, 255, 0.76);
  --card-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 24, 39, 0.09);
  --blue: #0a84ff;
  --teal: #1fc7b6;
  --deep: #0f172a;
  --radius-xl: 38px;
  --radius-lg: 26px;
  --shadow: 0 30px 90px rgba(29, 45, 68, 0.13);
  --font-sans: "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 14% 10%, rgba(10, 132, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(31, 199, 182, 0.15), transparent 30rem),
    linear-gradient(180deg, #fbfcff 0%, #eef4f8 48%, #fbfcff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent 72%);
}
.ambient { position: fixed; z-index: -1; width: 430px; height: 430px; border-radius: 50%; filter: blur(48px); opacity: .45; animation: drift 13s ease-in-out infinite alternate; }
.ambient-one { top: 12%; left: -150px; background: rgba(10,132,255,.22); }
.ambient-two { right: -180px; bottom: 10%; background: rgba(31,199,182,.2); animation-delay: -5s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(24px,-28px,0) scale(1.08); } }

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 46px rgba(29,45,68,.08);
}
.brand, .nav-links a, .site-footer a, .contact-lines a { color: inherit; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #111827, #0a84ff 55%, #1fc7b6); }
.nav-links { display: flex; gap: 8px; }
.nav-links a { padding: 9px 13px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: .2s ease; }
.nav-links a:hover { color: var(--ink); background: rgba(17,24,39,.06); }

.section { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 112px 0 0; }
.hero { min-height: calc(100vh - 104px); display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: center; gap: 72px; padding-top: 38px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hero-eyebrow span { display: inline-block; }
.hero-eyebrow span + span::before { content: " · "; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; max-width: 900px; line-height: 1.16; letter-spacing: -.045em; }
h1 span { display: block; }
.hero-title-main { font-size: clamp(40px, 4.8vw, 62px); letter-spacing: -.06em; }
.hero-title-line { font-size: clamp(26px, 2.65vw, 36px); white-space: nowrap; letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 3.35vw, 46px); line-height: 1.16; letter-spacing: -.045em; font-weight: 760; }
h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; }
p { color: var(--muted); line-height: 1.78; }
.hero-text { max-width: 690px; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 760; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--deep); box-shadow: 0 16px 38px rgba(17,24,39,.22); }
.button.ghost { color: var(--ink); background: rgba(255,255,255,.74); border: 1px solid var(--line); }

.hero-panel, .thesis, .pain-grid article, .moat-card, .metrics article, .guardrails article, .case-card, .team-card, .contact-section, .boundary-note {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
}
.hero-panel { min-height: 560px; padding: 28px; border-radius: var(--radius-xl); display: flex; flex-direction: column; justify-content: space-between; }
.panel-topline { color: var(--muted); font-size: 14px; font-weight: 760; }
.big-device { display: grid; place-items: center; gap: 16px; padding: 22px 0; }
.big-device strong { display: grid; place-items: center; width: 174px; height: 174px; border-radius: 48px; color: #fff; font-size: 42px; letter-spacing: -.05em; background: linear-gradient(135deg, #0f172a, #0a84ff 58%, #1fc7b6); box-shadow: 0 30px 80px rgba(10,132,255,.28); }
.big-device span { color: var(--muted); font-weight: 760; }
.signal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.signal-grid div { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.78); }
.signal-grid b { display: block; margin-bottom: 6px; font-size: 24px; letter-spacing: -.04em; }
.signal-grid span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.thesis { padding: clamp(30px, 4.5vw, 50px); border-radius: var(--radius-xl); }
.thesis-lines { max-width: 850px; margin: 0 auto; }
.thesis p { margin: 0; color: var(--ink); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.72; letter-spacing: -.025em; text-align: left; }
.thesis p + p { margin-top: 16px; }
.thesis span { color: var(--blue); font-weight: 780; }
.thesis-nowrap { white-space: nowrap; }
.section-head { max-width: 820px; }
.section-head.centered { margin: 0 auto 46px; text-align: center; }
.section-head.narrow { max-width: 820px; }
.section-head.centered p { margin-left: auto; margin-right: auto; max-width: 680px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain-grid article { min-height: 330px; padding: 30px; border-radius: var(--radius-lg); }
.pain-grid article span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 60px; border-radius: 16px; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--teal)); }
.pain-grid p { margin-bottom: 0; }

.moat-card, .team-card, .contact-section { padding: clamp(30px, 5vw, 58px); border-radius: var(--radius-xl); }
.team-card h2, .contact-section h2 { font-size: clamp(28px, 2.65vw, 36px); line-height: 1.26; letter-spacing: -.035em; font-weight: 740; }
.difference-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.difference-grid div, .role-grid div { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.78); }
.difference-grid b, .role-grid b { display: block; margin-bottom: 10px; font-size: 18px; }
.difference-grid span, .role-grid span { color: var(--muted); line-height: 1.65; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 72px; }
.metrics article { padding: 28px 24px; border-radius: 26px; text-align: center; }
.metrics strong { display: block; margin-bottom: 8px; font-size: 44px; letter-spacing: -.06em; }
.metrics span { color: var(--muted); }

.flowline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; }
.flowline div { min-height: 150px; padding: 22px 18px; border-radius: 24px; background: rgba(255,255,255,.7); border: 1px solid var(--line); box-shadow: 0 18px 52px rgba(29,45,68,.08); }
.flowline b { display: block; margin-bottom: 42px; font-size: 26px; letter-spacing: -.045em; }
.flowline span { color: var(--muted); line-height: 1.55; }
.two-columns, .contact-section, .team-card { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: start; }
.compliance-copy { position: sticky; top: 118px; }
.guardrails { display: grid; gap: 14px; }
.guardrails article { padding: 26px; border-radius: 24px; }
.guardrails p { margin-bottom: 0; }
.case-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 16px; }
.case-card { min-height: 280px; padding: 28px; border-radius: var(--radius-lg); }
.case-card span { display: inline-flex; margin-bottom: 24px; padding: 7px 10px; border-radius: 999px; color: #0d665f; background: rgba(31,199,182,.12); font-size: 13px; font-weight: 780; }
.case-card p { margin-bottom: 0; }
.case-card.featured { color: #fff; background: linear-gradient(140deg, #111827 0%, #123c61 54%, #0f8f87 100%); }
.case-card.featured p { color: rgba(255,255,255,.78); }
.case-card.featured span { color: #dffdfa; background: rgba(255,255,255,.14); }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-section { align-items: center; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-lines span, .contact-lines a, .copy-email { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.68); color: var(--ink); font: inherit; }
.copy-email { cursor: pointer; }
.copy-status { align-self: center; color: var(--teal); }
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qr-grid figure { margin: 0; padding: 16px 16px 18px; border-radius: 26px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.82); text-align: center; }
.qr-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.qr-grid figcaption { margin-top: 12px; color: var(--muted); font-weight: 760; }
.boundary-note { width: min(820px, calc(100% - 36px)); margin-top: 56px; margin-bottom: 88px; padding: 18px 22px; border-radius: 20px; border-color: rgba(17,24,39,.06); background: rgba(255,255,255,.46); box-shadow: none; }
.boundary-note p { margin: 0; color: rgba(101,114,133,.86); font-size: 13px; line-height: 1.75; }
.site-footer { width: min(1120px, calc(100% - 36px)); margin: 0 auto 34px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .two-columns, .contact-section, .team-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 70px; gap: 38px; }
  .hero-panel { min-height: 460px; }
  .pain-grid, .difference-grid, .case-grid, .flowline { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .compliance-copy { position: static; }
  .pain-grid article { min-height: auto; }
  .pain-grid article span { margin-bottom: 28px; }
  .flowline div { min-height: auto; }
  .flowline b { margin-bottom: 16px; }
}
@media (max-width: 640px) {
  .site-header { top: 10px; width: min(100% - 20px, 1120px); }
  .section { width: min(100% - 24px, 1120px); padding-top: 74px; }
  .eyebrow { letter-spacing: .03em; overflow-wrap: anywhere; }
  .hero-eyebrow span { display: block; }
  .hero-eyebrow span + span::before { content: ""; }
  h1 { max-width: 360px; line-height: 1.18; letter-spacing: -.035em; }
  .hero-title-main { font-size: clamp(34px, 9.5vw, 42px); }
  .hero-title-line { font-size: clamp(20px, 5.7vw, 24px); white-space: normal; letter-spacing: -.035em; }
  h2 { font-size: clamp(26px, 7.2vw, 34px); line-height: 1.24; }
  .hero-text { font-size: 17px; }
  .hero-actions, .contact-lines { align-items: stretch; flex-direction: column; }
  .button, .contact-lines span, .contact-lines a, .copy-email { width: 100%; }
  .signal-grid, .metrics, .role-grid, .qr-grid { grid-template-columns: 1fr; }
  .thesis p { font-size: 20px; line-height: 1.72; text-align: left; }
  .thesis p + p { margin-top: 14px; }
  .thesis-nowrap { white-space: normal; }
  .team-card h2, .contact-section h2 { font-size: clamp(24px, 6.4vw, 28px); line-height: 1.32; }
  .boundary-note { width: min(100% - 24px, 820px); margin-top: 42px; padding: 16px 18px; }
  .big-device strong { width: 142px; height: 142px; border-radius: 40px; font-size: 34px; }
  .site-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient, .button, .reveal { animation: none; transition: none; }
  .reveal { opacity: 1; transform: none; }
}
