:root {
  --bg: #f6f8fe;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --border: #d9e2ff;
  --text: #172033;
  --muted: #5d6b89;
  --primary: #3b5bff;
  --primary-strong: #2747ee;
  --success: #18a957;
  --shadow: 0 16px 40px rgba(45, 74, 179, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 91, 255, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(59, 91, 255, 0.08), transparent 22%),
    var(--bg);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 248, 254, 0.86);
  border-bottom: 1px solid rgba(217, 226, 255, 0.8);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 91, 255, 0.28);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: inline-flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 420px);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.legal-shell h1 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 720px;
}

.hero-text,
.section-heading p,
.feature-card p,
.scene-card p,
.legal-lead {
  color: var(--muted);
}

.hero-text {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: 17px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(59, 91, 255, 0.22);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--border);
  color: var(--text);
  cursor: pointer;
}

.contact-popover {
  position: relative;
}

.contact-popover-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 48px));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(17, 23, 38, 0.15);
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 40;
}

.contact-popover.open .contact-popover-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.contact-item + .contact-item {
  border-top: 1px solid rgba(217, 226, 255, 0.9);
}

.contact-label {
  color: var(--muted);
  font-size: 14px;
}

.contact-value {
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}

.button-block {
  width: 100%;
}

.hero-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-points li::before {
  content: "•";
  color: var(--primary);
  margin-right: 10px;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.app-icon-card {
  width: min(100%, 368px);
  min-height: 588px;
  padding: 24px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(59, 91, 255, 0.16), transparent 26%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 36px 72px rgba(17, 23, 38, 0.14);
  display: grid;
  align-content: center;
  gap: 24px;
}

.app-icon-wrap {
  width: 188px;
  height: 188px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(59, 91, 255, 0.22);
}

.app-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-icon-copy {
  text-align: center;
}

.app-icon-copy h2 {
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.app-icon-copy p {
  margin: 0 auto;
  max-width: 300px;
}

.phone-frame {
  width: min(100%, 388px);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, #24304f, #111726);
  box-shadow: 0 36px 72px rgba(17, 23, 38, 0.22);
}

.phone-screen {
  min-height: 640px;
  padding: 24px 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(59, 91, 255, 0.18), transparent 26%),
    #f7f9ff;
}

.screen-top {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.mini-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(59, 91, 255, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.screen-top h2 {
  margin: 12px 0 14px;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.progress-strip span {
  height: 8px;
  border-radius: 999px;
  background: rgba(59, 91, 255, 0.16);
}

.progress-strip .fill {
  background: var(--primary);
}

.lesson-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.avatar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-circle {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(59, 91, 255, 0.12), rgba(59, 91, 255, 0.24));
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}

.card-name {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-title {
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.card-hook {
  margin: 18px 0 16px;
  font-size: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.card-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.section {
  padding: 72px 0;
}

.compact-heading {
  margin-bottom: 22px;
}

.compact-heading h2 {
  font-size: 28px;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shot-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background:
    linear-gradient(180deg, rgba(59, 91, 255, 0.12), rgba(59, 91, 255, 0.04)),
    #eef3ff;
}

.shot-card span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.section.alt {
  background: rgba(255, 255, 255, 0.44);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.feature-grid,
.scene-grid,
.compliance-grid {
  display: grid;
  gap: 18px;
}

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

.scene-grid,
.compliance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.scene-card,
.compliance-card,
.legal-shell {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card,
.scene-card,
.compliance-card {
  padding: 22px;
}

.feature-card h3,
.scene-card h3,
.compliance-card h3,
.legal-shell h2 {
  margin-top: 0;
}

.legal-page {
  padding: 40px 0 80px;
}

.legal-shell {
  padding: 28px;
}

.legal-shell section + section {
  margin-top: 28px;
}

.founder-preview,
.founder-hero-grid,
.founder-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.founder-preview-card,
.founder-hero-photo {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.founder-preview-card img,
.founder-hero-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.founder-preview {
  grid-template-columns: 0.82fr 1.18fr;
}

.founder-preview-meta {
  padding: 20px 22px 24px;
  display: grid;
  gap: 6px;
}

.founder-preview-meta strong {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.founder-preview-meta span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.founder-preview-points,
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.founder-preview-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

.founder-hero {
  padding-bottom: 48px;
}

.founder-lead {
  max-width: 720px;
}

.founder-pillars,
.founder-articles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.founder-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.founder-timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(59, 91, 255, 0.22), rgba(59, 91, 255, 0.08));
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: start;
}

.timeline-date {
  position: relative;
  z-index: 1;
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.timeline-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}

.timeline-card h3 {
  margin-bottom: 10px;
}

.timeline-card .article-tags {
  margin-top: 14px;
}

.timeline-rich {
  color: var(--muted);
  font-size: 15px;
}

.timeline-rich p {
  margin: 0 0 12px;
}

.timeline-toggle {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.timeline-original {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: none;
}

.timeline-original.show {
  display: block;
}

.timeline-original p {
  white-space: pre-wrap;
  color: var(--muted);
}

.pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pagination button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.article-meta span,
.article-tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-about-grid {
  align-items: stretch;
}

.founder-about-grid .compliance-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(217, 226, 255, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.icp-record {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.icp-record a {
  color: inherit;
}

.icp-record a:hover {
  color: var(--primary);
}

.footer-links {
  display: inline-flex;
  gap: 18px;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .scene-grid,
  .compliance-grid,
  .founder-preview,
  .founder-hero-grid,
  .founder-about-grid,
  .founder-pillars,
  .founder-articles,
  .founder-notes {
    grid-template-columns: 1fr;
  }

  .screenshot-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 48px;
  }

  .hero-card {
    justify-content: flex-start;
  }

  .app-icon-card {
    min-height: auto;
    padding: 24px;
    gap: 20px;
  }

  .app-icon-wrap {
    width: 164px;
    height: 164px;
  }

  .hero-actions .button {
    flex: 0 1 auto;
  }

  .founder-timeline::before {
    display: none;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

  .site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
  }

  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 0 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    font-size: 13px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding: 34px 0 28px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .hero-actions .button {
    width: auto;
    min-width: 120px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
  }

  .hero-points {
    margin-top: 16px;
    gap: 8px;
    font-size: 14px;
  }

  .app-icon-card {
    width: 100%;
    min-height: auto;
    border-radius: 28px;
    padding: 20px;
    gap: 18px;
  }

  .app-icon-wrap {
    width: 132px;
    height: 132px;
    border-radius: 32px;
  }

  .app-icon-copy h2 {
    font-size: 28px;
  }

  .section {
    padding: 42px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .feature-card,
  .scene-card,
  .compliance-card,
  .legal-shell,
  .timeline-card {
    padding: 16px;
  }

  .screenshot-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .shot-card {
    padding: 10px;
    border-radius: 16px;
  }

  .screen-top h2 {
    font-size: 24px;
  }

  .founder-preview-card,
  .founder-hero-photo {
    max-width: 100%;
  }

  .founder-preview-card img,
  .founder-hero-photo img {
    aspect-ratio: 1 / 1;
    width: min(100%, 78%);
    margin: 0 auto;
  }

  .founder-preview-meta {
    padding: 16px 16px 18px;
  }

  .founder-preview-copy p,
  .founder-hero-copy p,
  .feature-card p,
  .scene-card p,
  .compliance-card p {
    font-size: 14px;
  }

  .feature-card h3,
  .scene-card h3,
  .compliance-card h3 {
    font-size: 18px;
    line-height: 1.25;
  }

  .founder-preview-points,
  .founder-tags {
    gap: 8px;
  }

  .timeline-date {
    font-size: 11px;
    padding: 6px 10px;
  }

  .timeline-rich {
    font-size: 14px;
  }

  .timeline-toggle {
    font-size: 12px;
  }

  .pagination {
    gap: 8px;
  }

  .pagination button {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

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

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 28px 0 24px;
  }

  .hero-copy h1,
  .section-heading h2,
  .legal-shell h1 {
    letter-spacing: -0.02em;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-text,
  .hero-points,
  .section-heading p,
  .timeline-rich,
  .feature-card p,
  .scene-card p,
  .compliance-card p {
    font-size: 13px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .button {
    min-width: 112px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .app-icon-card {
    padding: 18px;
    border-radius: 24px;
  }

  .app-icon-wrap {
    width: 116px;
    height: 116px;
    border-radius: 28px;
  }

  .app-icon-copy h2 {
    font-size: 24px;
  }

  .compact-heading h2 {
    font-size: 24px;
  }

  .screenshot-strip {
    grid-template-columns: 1fr;
  }

  .founder-preview-card img,
  .founder-hero-photo img {
    width: min(100%, 70%);
  }

  .section {
    padding: 36px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .feature-card,
  .scene-card,
  .compliance-card,
  .legal-shell,
  .timeline-card {
    padding: 14px;
    border-radius: 16px;
  }

  .founder-preview-points span,
  .mini-tag,
  .article-meta span,
  .article-tag {
    font-size: 11px;
  }

  .founder-timeline {
    gap: 14px;
  }

  .timeline-entry {
    gap: 10px;
  }

  .timeline-card h3 {
    font-size: 18px;
  }

  .timeline-rich p,
  .feature-card p,
  .scene-card p,
  .compliance-card p {
    font-size: 13px;
  }

  .pagination {
    gap: 6px;
  }

  .pagination button {
    min-width: 34px;
    height: 34px;
    font-size: 12px;
  }
}
