:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6b7280;
  --soft: #f4f1ea;
  --paper: #fffdfa;
  --panel: #ffffff;
  --line: #ded8cf;
  --accent: #111111;
  --accent-soft: #ede7dc;
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(17, 17, 17, 0.08), transparent 28%),
    var(--soft);
  background-size: 42px 42px, 42px 42px, auto, auto;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 253, 250, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 780;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

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

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  min-height: 92vh;
  padding: 120px clamp(20px, 5vw, 72px) 70px;
}

.hero-copy {
  max-width: 780px;
}

.hero-logo {
  width: min(190px, 42vw);
  height: auto;
  margin-bottom: 28px;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

.eyebrow,
.section-heading span,
.section-kicker,
.value-item span,
.feature-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(40px, 6.1vw, 78px);
  line-height: 1.04;
  font-weight: 850;
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.86;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
}

.primary-button {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.22);
}

.secondary-button {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.phone-preview {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(390px, 88vw);
  min-height: 640px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56)),
    #f7f4ee;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 108px;
  height: 8px;
  margin: 0 auto 22px;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.16);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.app-header img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
}

.app-header b,
.app-header span {
  display: block;
}

.app-header b {
  font-size: 15px;
}

.app-header span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.object-card,
.memory-card,
.value-item,
.idea-list article,
.feature-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.object-card {
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
}

.object-card span,
.memory-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.object-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.object-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.chat-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.bubble {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.bubble.user {
  align-self: flex-end;
  color: #ffffff;
  background: var(--accent);
  border-bottom-right-radius: 6px;
}

.bubble.ai {
  align-self: flex-start;
  border: 1px solid var(--line);
  background: var(--panel);
  border-bottom-left-radius: 6px;
}

.memory-card {
  margin-top: 4px;
  padding: 18px;
  border-radius: 20px;
}

.memory-card b {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 72px) 54px;
}

.value-item {
  min-height: 154px;
  padding: 24px;
  border-radius: 8px;
}

.value-item b {
  display: block;
  margin-top: 18px;
  font-size: 22px;
}

.value-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.section-block,
.download-section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading h2,
.download-section h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.14;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.idea-list,
.feature-grid {
  display: grid;
  gap: 14px;
}

.idea-list {
  grid-template-columns: 1fr;
}

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

.idea-list article,
.feature-grid article {
  min-height: 196px;
  padding: 24px;
  border-radius: 8px;
}

.idea-list b {
  display: block;
  font-size: 22px;
}

.feature-grid h3 {
  margin: 18px 0 0;
  font-size: 22px;
}

.idea-list p,
.feature-grid p,
.download-section p {
  color: var(--muted);
  line-height: 1.72;
}

.idea-list p,
.feature-grid p {
  margin: 12px 0 0;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 30px clamp(20px, 5vw, 72px) 0;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(237, 231, 220, 0.72)),
    var(--panel);
  box-shadow: 0 20px 64px rgba(17, 17, 17, 0.08);
}

.download-section p {
  max-width: 640px;
  margin: 14px 0 0;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.download-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 174px;
  min-height: 78px;
  padding: 14px 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
}

.download-button span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 780;
}

.download-button b {
  margin-top: 6px;
  font-size: 18px;
}

.download-button.muted {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.download-button.muted span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 780;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.legal-page {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #f5f5f5;
  background-image: none;
  font-family: "Arial", sans-serif;
}

.legal-main {
  width: 100%;
  display: flex;
  justify-content: center;
}

.legal-document {
  width: 80%;
  max-width: 900px;
  padding: 20px;
  border: 0;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-document h1,
.legal-document h2,
.legal-document h3,
.legal-document p {
  margin: 0;
}

.legal-document h1 {
  margin-bottom: 20px;
  color: #05172d;
  font-size: 2em;
  line-height: normal;
}

.legal-document h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #05172d;
  font-size: 18px;
  line-height: normal;
}

.legal-document h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  color: #05172d;
  font-size: 16px;
  line-height: normal;
}

.legal-document p {
  margin-bottom: 8px;
  color: #666666;
  line-height: 1.6;
}

.legal-document ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.legal-document li {
  margin-bottom: 10px;
  color: #666666;
  line-height: 1.6;
}

.legal-document a {
  color: #007bff;
  font-weight: inherit;
  text-decoration: none;
}

.legal-document a:hover {
  text-decoration: underline;
}

.legal-document .highlight {
  color: #05172d;
  font-weight: bold;
}

.legal-document .center {
  text-align: center;
}

@media (max-width: 980px) {
  .hero-section,
  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .value-band,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-section {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
  }

  .top-nav {
    gap: 12px;
    font-size: 13px;
  }

  .brand span {
    display: none;
  }

  .hero-section {
    padding-top: 96px;
  }

  .hero-logo {
    width: min(154px, 44vw);
    border-radius: 14px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .download-button {
    width: 100%;
  }

  .phone-shell {
    min-height: 560px;
    border-radius: 28px;
  }

  .value-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
