:root {
  --ink: #111113;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: #d9d9de;
  --blue: #0071e3;
  --cyan: #1fb7a6;
  --white: #ffffff;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(217, 217, 222, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell {
  width: min(calc(100% - 32px), 1180px);
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: #303033;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-pad {
  padding: 118px 0;
}

.hero {
  min-height: 100vh;
  padding-top: 132px;
  background:
    radial-gradient(circle at 50% 34%, rgba(0, 113, 227, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.hero-content {
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-copy {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 16px;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  color: var(--blue);
  background: transparent;
}

.product-stage {
  margin-top: 72px;
}

.device-frame {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(17, 17, 19, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.96)),
    linear-gradient(180deg, #ffffff, #f1f1f4);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.08);
}

.device-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding-left: 18px;
  border-bottom: 1px solid rgba(17, 17, 19, 0.08);
}

.device-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d2d2d7;
}

.assistant-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 28px;
}

.assistant-panel {
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.conversation-panel {
  min-height: 330px;
  padding: 22px;
}

.summary-panel,
.memory-panel {
  padding: 22px;
}

.memory-panel {
  grid-column: 2;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.panel-head strong {
  color: var(--ink);
}

.message {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.55;
}

.user-message {
  margin-left: auto;
  background: var(--blue);
  color: var(--white);
}

.ai-message {
  background: var(--soft);
}

.memory-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.memory-line span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(31, 183, 166, 0.1);
}

.memory-line p {
  margin: 0;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 5px;
  height: 82px;
  margin-bottom: 22px;
}

.waveform span,
.voice-mini span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.waveform span:nth-child(1),
.waveform span:nth-child(8) {
  height: 28%;
}

.waveform span:nth-child(2),
.waveform span:nth-child(10) {
  height: 54%;
}

.waveform span:nth-child(3),
.waveform span:nth-child(6),
.waveform span:nth-child(12) {
  height: 76%;
}

.waveform span:nth-child(4),
.waveform span:nth-child(9) {
  height: 42%;
}

.waveform span:nth-child(5),
.waveform span:nth-child(7),
.waveform span:nth-child(11) {
  height: 92%;
}

.summary-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.memory-map {
  position: relative;
  height: 126px;
  margin: 8px 0 20px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(0, 113, 227, 0.16) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(31, 183, 166, 0.18) 50%, transparent 51%);
  border-radius: 12px;
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--blue);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.18);
}

.node-a {
  left: 17%;
  top: 22%;
}

.node-b {
  right: 18%;
  top: 17%;
  border-color: var(--cyan);
}

.node-c {
  left: 34%;
  bottom: 18%;
  border-color: #86868b;
}

.node-d {
  right: 35%;
  bottom: 28%;
}

.memory-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 64px;
  text-align: center;
}

.service-stack {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.service-row p:not(.service-index) {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.service-index {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.mini-ui {
  min-height: 170px;
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-radius: 14px;
  background: #fbfbfd;
}

.assistant-mini {
  padding: 28px;
}

.assistant-mini span {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.assistant-mini strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.assistant-mini p {
  font-size: 14px;
}

.memory-mini {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
}

.memory-mini div {
  height: 17px;
  border-radius: 999px;
  background: #e9e9ed;
}

.memory-mini div:nth-child(2) {
  width: 78%;
  background: rgba(0, 113, 227, 0.16);
}

.memory-mini div:nth-child(3) {
  width: 52%;
  background: rgba(31, 183, 166, 0.18);
}

.voice-mini {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  gap: 8px;
  padding: 30px;
}

.voice-mini span {
  height: 64px;
}

.voice-mini span:nth-child(odd) {
  height: 112px;
}

.voice-mini span:nth-child(3),
.voice-mini span:nth-child(6) {
  height: 86px;
}

.trust-band {
  background: #111113;
  color: var(--white);
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.trust-band .eyebrow {
  color: #8bd8ff;
}

.trust-points {
  display: grid;
  gap: 26px;
}

.trust-points article {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-points h3 {
  font-size: 26px;
}

.trust-points p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.65;
}

.about {
  background: var(--soft);
}

.about-layout {
  max-width: 860px;
  text-align: center;
}

.about-layout p:last-child {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.mail-link {
  color: var(--blue);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 600;
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-layout {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-layout p {
  margin: 0;
}

.footer-layout a:hover {
  color: var(--blue);
}

.policy-main {
  padding-top: 48px;
}

.policy-hero {
  background: var(--soft);
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 76px);
}

.policy-hero p:last-child {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.policy-content {
  padding: 86px 0 118px;
}

.policy-layout {
  max-width: 840px;
}

.policy-layout article {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.policy-layout h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.policy-layout p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.policy-layout a {
  color: var(--blue);
}

@media (max-width: 860px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 48px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 24px 20px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 16px;
  }

  .section-pad {
    padding: 86px 0;
  }

  .hero {
    padding-top: 108px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .device-frame {
    min-height: auto;
    border-radius: 14px;
  }

  .assistant-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .memory-panel {
    grid-column: auto;
  }

  .service-row,
  .trust-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-row {
    gap: 28px;
    padding: 44px 0;
  }

  .mini-ui {
    width: 100%;
  }

  .contact-layout {
    align-items: start;
  }

  .mail-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .nav-shell {
    width: calc(100% - 24px);
  }

  .hero-copy,
  .service-row p:not(.service-index),
  .about-layout p:last-child,
  .policy-hero p:last-child {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .conversation-panel,
  .summary-panel,
  .memory-panel {
    padding: 18px;
  }

  .message {
    max-width: 100%;
  }

  .footer-layout {
    min-height: 92px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
