:root {
  color-scheme: light;
  --bg: #eff5f0;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-soft: #f5faf5;
  --surface-tint: #edf6ee;
  --line: rgba(65, 107, 75, 0.16);
  --line-strong: rgba(22, 101, 52, 0.24);
  --text: #122016;
  --muted: #5a685d;
  --accent: #1b9c52;
  --accent-deep: #166534;
  --accent-soft: rgba(27, 156, 82, 0.12);
  --shadow: 0 24px 64px rgba(12, 32, 19, 0.08);
  --shadow-soft: 0 14px 32px rgba(12, 32, 19, 0.05);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 156, 82, 0.12), transparent 30%),
    linear-gradient(180deg, #f4f8f4 0%, #fbfdfb 52%, #f6faf6 100%);
}

body.portal-page {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18, 32, 22, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 22, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 52%);
}

body.portal-page::before {
  display: none;
}

a { color: inherit; }

.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 250, 247, 0.82);
  border-bottom: 1px solid rgba(65, 107, 75, 0.12);
  box-shadow: 0 10px 34px rgba(12, 32, 19, 0.04);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(22, 101, 52, 0.18);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent-deep);
  background: rgba(27, 156, 82, 0.11);
  transform: translateY(-1px);
}

.hero,
.page-main {
  padding: 40px 0 82px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 20px;
}

.hero-grid-visual {
  align-items: center;
}

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

.hero-minimal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 44px;
  align-items: center;
}

.hero-minimal-copy {
  max-width: 620px;
}

.hero-minimal-copy h1 {
  max-width: 9.5ch;
  font-size: 58px;
  line-height: 0.94;
}

.hero-minimal-copy .lead {
  margin-top: 20px;
  max-width: 54ch;
  font-size: 18px;
}

.compact-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.compact-values article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(16, 42, 24, 0.05);
}

.compact-values strong {
  font-size: 17px;
}

.compact-values span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-minimal-visual {
  position: relative;
  padding: 8px 0 8px 8px;
}

.desktop-shot-large {
  position: relative;
  z-index: 1;
}

.visual-stack-clean {
  display: grid;
  gap: 18px;
}

.hero-side-note {
  max-width: 430px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-side-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-side-note p {
  color: var(--muted);
  line-height: 1.7;
}
.hero-copy,
.hero-panel,
.tile,
.download-card,
.pricing-card,
.notice,
.showcase-card,
.media-tile,
.media-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.hero-panel,
.download-card,
.pricing-card,
.notice,
.tile,
.media-tile {
  padding: 24px;
}

.hero-showcase,
.showcase-stack {
  display: grid;
  gap: 16px;
}

.browser-frame {
  overflow: hidden;
  padding: 0;
}

.browser-bar {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 248, 245, 0.96);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8e3da;
}

.showcase-card img,
.media-banner img,
.media-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-frame {
  justify-self: center;
  width: min(280px, 100%);
  padding: 12px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.phone-frame img {
  border-radius: 24px;
}

.micro-note {
  padding: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: 52px;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead,
.section-head p,
.tile p,
.hero-panel p,
.download-card p,
.pricing-card p,
.notice p,
.feature-list,
.steps span {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.section-head h2 {
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(12, 32, 19, 0.08);
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.94);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.7);
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.stats,
.three-up,
.two-up,
.pricing-grid,
.media-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

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

.stats article,
.mini-panel {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

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

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

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

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

.two-up-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-banner {
  margin: 24px 0;
  overflow: hidden;
}

.media-tile {
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 0;
}

.media-tile > div {
  padding: 0 20px 20px;
}

.centered {
  text-align: center;
  justify-items: center;
}

.feature-band,
.scenario-tile,
.icon-tile {
  align-items: start;
}

.clean-feature-grid {
  margin-top: 0;
}

.clean-tile {
  min-height: 0;
}

.clean-tile h3 {
  margin-bottom: 12px;
}

.section-tight {
  padding: 44px 0;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.showcase-copy {
  display: grid;
  gap: 14px;
}

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

.compact-shot {
  align-content: start;
}

.compact-shot img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.compact-shot > div {
  padding: 18px 20px 20px;
}

.compact-shot h3 {
  margin-bottom: 10px;
}

.one-large-one-copy {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.wide-shot {
  align-content: start;
}

.text-tile {
  min-height: 100%;
}

.icon-tile h3,
.scenario-tile h3 {
  margin-bottom: 10px;
}

.safety-band {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.safety-band h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.safety-band p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

.safety-points {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px;
}

.safety-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding: 34px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.34);
  border-top: 1px solid rgba(65, 107, 75, 0.09);
  border-bottom: 1px solid rgba(65, 107, 75, 0.09);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head.narrow {
  max-width: 820px;
}

.page-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 34px;
  padding: 52px 0 36px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(65, 107, 75, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-hero-copy p {
  max-width: 60ch;
}

.page-hero-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.info-stack {
  display: grid;
  gap: 14px;
}

.info-card,
.accent-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.info-card strong,
.accent-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.info-card p,
.accent-note p,
.info-card li,
.accent-note li {
  color: var(--muted);
  line-height: 1.72;
}

.accent-note {
  background: linear-gradient(180deg, rgba(27, 156, 82, 0.08), rgba(255, 255, 255, 0.95));
  border-color: rgba(22, 101, 52, 0.18);
}

.page-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-kpi {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(248, 251, 248, 0.9);
}

.page-kpi strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.page-kpi span {
  color: var(--muted);
  line-height: 1.66;
  font-size: 14px;
}

.mini-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-steps li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(247, 251, 247, 0.96);
}

.mini-steps strong {
  font-size: 15px;
}

.mini-steps span {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.utility-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

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

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

.utility-card p,
.utility-card li {
  color: var(--muted);
  line-height: 1.72;
}

.section-divider {
  width: min(1160px, calc(100% - 36px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(65, 107, 75, 0.22), transparent);
}

.feature-list {
  margin: 0;
  padding-left: 18px;
}

.feature-list.compact {
  margin-top: 4px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.checkout-main,
.checkout-side {
  display: grid;
  gap: 18px;
}

.checkout-card,
.checkout-side-card,
.qr-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.checkout-card,
.checkout-side-card {
  padding: 24px;
}

.checkout-card h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.stack-form {
  display: grid;
  gap: 16px;
}

.stack-form label {
  display: grid;
  gap: 8px;
}

.stack-form label span {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
}

.plan-select-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-select-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  text-align: left;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.plan-select-card.active,
.plan-select-card:hover {
  border-color: rgba(22, 163, 74, 0.45);
  background: rgba(22, 163, 74, 0.06);
}

.plan-select-card strong {
  font-size: 18px;
}

.plan-select-card small,
.muted-text {
  color: var(--muted);
  line-height: 1.7;
}

.plan-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-deep);
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.qr-card {
  padding: 18px;
}

.qr-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.payment-copy {
  display: grid;
  gap: 10px;
}

.payment-copy p {
  line-height: 1.75;
}

.steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  gap: 4px;
}

.steps strong {
  font-size: 17px;
}

.plan-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-deep);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price strong {
  font-size: 36px;
}

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

.pricing-card.featured {
  border-color: rgba(22, 163, 74, 0.32);
}

.meta-line {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 18px;
}

.dashboard-card,
.auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.dashboard-card {
  padding: 22px;
}

.dashboard-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 28px;
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.auth-shell {
  display: grid;
  gap: 20px;
  max-width: 760px;
}

.auth-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.auth-card label {
  display: grid;
  gap: 8px;
}

.auth-card span {
  font-size: 14px;
  color: var(--text);
}

.auth-card input,
.auth-card select {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font: inherit;
  background: #fff;
}

.notice {
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(240, 249, 242, 0.98), rgba(255, 255, 255, 0.94));
}

.legal-hero {
  align-items: start;
}

.legal-updated {
  color: var(--accent-deep);
  font-weight: 700;
}

.legal-toc {
  display: grid;
  gap: 10px;
}

.legal-toc a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.legal-toc a:hover {
  color: var(--accent-deep);
}

.legal-article {
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.legal-section {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(65, 107, 75, 0.1);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
}

.legal-section h3 {
  margin-top: 4px;
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.82;
}

.legal-section a {
  color: var(--accent-deep);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(65, 107, 75, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  color: var(--muted);
  margin-top: 6px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

@media (max-width: 960px) {
  .nav,
  .footer-grid,
  .hero-grid,
  .split,
  .hero-minimal-grid,
  .compact-values,
  .split-showcase,
  .showcase-strip,
  .one-large-one-copy,
  .stats,
  .three-up,
  .two-up,
  .pricing-grid,
  .media-grid,
  .dashboard-preview,
  .plan-select-grid,
  .checkout-layout,
  .payment-grid,
  .page-hero-card,
  .page-kpis,
  .utility-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

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

  .nav-links a {
    flex: 0 0 auto;
    text-align: center;
    padding: 8px 11px;
    font-size: 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 16px;
  }

  .page-title,
  h1 {
    font-size: 34px;
  }

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

  .hero-minimal {
    padding: 34px 0 46px;
  }

  .hero-minimal-copy h1 {
    max-width: none;
    font-size: 42px;
    line-height: 0.98;
  }

  .hero-minimal-copy .lead {
    font-size: 16px;
  }

  .hero-minimal-visual {
    padding-left: 0;
  }

  .hero-side-note {
    max-width: none;
  }

  .page-hero-card {
    padding: 36px 0 28px;
  }

  .legal-article {
    padding: 22px;
  }

  .hero-clean {
    padding-top: 28px;
  }

  .hero-clean-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-clean-copy h1 {
    max-width: none;
    font-size: 42px;
  }

  .hero-clean-visual {
    min-height: auto;
  }

  .hero-phone-shot {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -24px auto 0;
  }

  .safety-band {
    grid-template-columns: 1fr;
  }
}

/* 2026-05 redesign: agency-style landing system */
:root {
  --pine-950: #0a1b12;
  --pine-900: #10291b;
  --pine-800: #163823;
  --pine-700: #1f5b39;
  --pine-600: #21864f;
  --mint-300: #8ee7b0;
  --cream-50: #fbf9ef;
  --cream-100: #f5f0df;
  --gold-200: #eadc9a;
  --ink: #102017;
  --mist: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(20, 63, 39, 0.14);
  --green-shadow: 0 30px 90px rgba(10, 48, 27, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 14% 7%, rgba(142, 231, 176, 0.28), transparent 29%),
    radial-gradient(circle at 92% 18%, rgba(234, 220, 154, 0.18), transparent 25%),
    linear-gradient(180deg, #fbf9ef 0%, #f6f3e6 42%, #edf7ef 100%);
}

.site-header {
  background: rgba(251, 249, 239, 0.82);
  border-bottom-color: rgba(16, 41, 27, 0.12);
}

.brand img {
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(16, 41, 27, 0.17);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--pine-900);
  background: rgba(33, 134, 79, 0.12);
}

.landing-page .site-header {
  backdrop-filter: blur(22px) saturate(1.15);
}

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 88px;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 23, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 74%);
}

.landing-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.landing-copy h1 {
  max-width: 10ch;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.9;
  letter-spacing: 0;
}

.landing-copy .lead {
  max-width: 55ch;
  margin-top: 24px;
  color: #405045;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(16, 41, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--pine-800);
  font-size: 14px;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, #163823, #21864f);
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(33, 134, 79, 0.22);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(16, 41, 27, 0.14);
}

.button {
  min-height: 50px;
  padding: 0 22px;
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}

.orb-one {
  width: 260px;
  height: 260px;
  top: 64px;
  right: 8%;
  background: rgba(142, 231, 176, 0.3);
}

.orb-two {
  width: 190px;
  height: 190px;
  left: 8%;
  bottom: 30px;
  background: rgba(234, 220, 154, 0.22);
  animation-delay: -2.2s;
}

.product-orbit {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 34px 18px;
  border: 1px solid rgba(16, 41, 27, 0.1);
  border-radius: 44px;
  transform: rotate(-4deg);
  background: linear-gradient(135deg, rgba(255,255,255,0.42), rgba(142,231,176,0.08));
}

.mock-desktop {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(16, 41, 27, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--green-shadow);
  backdrop-filter: blur(24px);
}

.mock-titlebar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(16, 41, 27, 0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,240,0.82));
}

.mock-titlebar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d7dfd5;
}

.mock-titlebar strong {
  margin-left: 8px;
  color: var(--pine-900);
  font-size: 14px;
}

.mock-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  padding: 22px;
}

.mock-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 164px;
  padding: 20px;
  border: 1px solid rgba(16, 41, 27, 0.12);
  border-radius: 22px;
  background: rgba(251, 249, 239, 0.72);
}

.mock-card.highlight {
  grid-row: span 2;
  min-height: 344px;
  align-content: end;
  color: #f7f5e9;
  background:
    radial-gradient(circle at 80% 18%, rgba(142, 231, 176, 0.34), transparent 30%),
    linear-gradient(145deg, #10291b, #1f5b39);
}

.mock-card small {
  color: inherit;
  opacity: 0.72;
  font-weight: 800;
}

.mock-card strong {
  font-size: 30px;
  letter-spacing: 0;
}

.mock-card p,
.mock-card li {
  color: inherit;
  opacity: 0.76;
  line-height: 1.65;
}

.mock-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.mock-card.compact {
  min-height: 154px;
  background: rgba(232, 244, 234, 0.72);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(142, 231, 176, 0.85), transparent);
  animation: scan 3.6s ease-in-out infinite;
}

.floating-message,
.local-status {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(16, 41, 27, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(16, 41, 27, 0.1);
  backdrop-filter: blur(18px);
}

.floating-message {
  padding: 12px 16px;
  color: var(--pine-900);
  font-weight: 800;
  animation: floaty 5.5s ease-in-out infinite;
}

.msg-a {
  top: 72px;
  left: -16px;
}

.msg-b {
  right: -12px;
  bottom: 120px;
  animation-delay: -2.3s;
}

.source-dot,
.local-status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.source-dot.wechat {
  background: #20b15a;
}

.source-dot.wecom {
  background: #3478f6;
}

.local-status {
  left: 42px;
  bottom: 34px;
  padding: 13px 17px;
  color: #415047;
  font-size: 14px;
  font-weight: 700;
}

.local-status span {
  background: var(--mint-300);
  box-shadow: 0 0 0 7px rgba(142, 231, 176, 0.24);
  animation: pulse-dot 1.8s ease-out infinite;
}

.split-head {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  align-items: end;
}

.split-head h2 {
  max-width: 13ch;
}

.outcome-grid,
.channel-panels,
.workflow-line,
.agent-grid {
  display: grid;
  gap: 18px;
}

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

.outcome-card,
.channel-card,
.workflow-line article,
.agent-console,
.closing-card {
  border: 1px solid rgba(16, 41, 27, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 52px rgba(16, 41, 27, 0.07);
  backdrop-filter: blur(18px);
}

.outcome-card {
  display: grid;
  gap: 14px;
  min-height: 270px;
  padding: 28px;
}

.outcome-card span {
  color: rgba(16, 41, 27, 0.32);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
}

.outcome-card h3,
.channel-card h3,
.workflow-line h3 {
  font-size: 24px;
  letter-spacing: 0;
}

.outcome-card p,
.channel-card p,
.workflow-line p,
.agent-grid p,
.closing-card p {
  color: #526056;
  line-height: 1.78;
}

.channel-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(142, 231, 176, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(16, 41, 27, 0.05), rgba(255, 255, 255, 0.28));
  border-top: 1px solid rgba(16, 41, 27, 0.08);
  border-bottom: 1px solid rgba(16, 41, 27, 0.08);
}

.channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
}

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

.channel-card {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.featured-channel {
  color: #f9f7ea;
  background:
    radial-gradient(circle at 86% 18%, rgba(142, 231, 176, 0.26), transparent 30%),
    linear-gradient(145deg, #10291b, #1f5b39);
}

.featured-channel p,
.featured-channel li {
  color: rgba(249, 247, 234, 0.78);
}

.channel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(33, 134, 79, 0.12);
  color: var(--pine-900);
  font-size: 22px;
  font-weight: 900;
}

.featured-channel .channel-icon {
  background: rgba(255,255,255,0.14);
  color: #f9f7ea;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.workflow-board {
  padding: 38px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.58), rgba(237,247,239,0.5));
  border: 1px solid rgba(16, 41, 27, 0.1);
}

.workflow-line {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-line::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 134, 79, 0.42), transparent);
}

.workflow-line article {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.workflow-line span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #163823, #21864f);
  box-shadow: 0 10px 24px rgba(33, 134, 79, 0.2);
  font-weight: 900;
}

.agent-section {
  padding: 74px 0;
}

.agent-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
}

.agent-grid h2 {
  max-width: 15ch;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.agent-grid p {
  max-width: 60ch;
  margin-top: 18px;
}

.agent-console {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(16, 41, 27, 0.96), rgba(31, 91, 57, 0.92)),
    var(--pine-900);
  color: #f9f7ea;
}

.agent-console::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 160px;
  background: rgba(142, 231, 176, 0.16);
  filter: blur(40px);
}

.console-line,
.console-output {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}

.console-line {
  padding: 15px 16px;
  font-family: "SF Mono", "Cascadia Mono", "Menlo", monospace;
  word-break: break-all;
}

.console-line span {
  display: inline-flex;
  margin-right: 8px;
  color: var(--mint-300);
  font-weight: 900;
}

.console-output {
  padding: 18px;
}

.console-output p {
  color: rgba(249, 247, 234, 0.72);
  margin-top: 6px;
}

.closing-cta {
  padding-bottom: 86px;
}

.closing-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 20%, rgba(142, 231, 176, 0.24), transparent 24%),
    rgba(255,255,255,0.76);
}

.closing-card h2 {
  max-width: 18ch;
  font-size: 38px;
  line-height: 1.05;
}

.reveal-up {
  animation: reveal-up 720ms ease both;
}

.delay-1 {
  animation-delay: 120ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(360px); opacity: 0; }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(142, 231, 176, 0.42); }
  100% { box-shadow: 0 0 0 13px rgba(142, 231, 176, 0); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.62; }
  50% { transform: scale(1.08); opacity: 0.84; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .landing-hero {
    padding: 46px 0 52px;
  }

  .landing-hero-grid,
  .channel-grid,
  .channel-panels,
  .outcome-grid,
  .workflow-line,
  .agent-grid,
  .split-head {
    grid-template-columns: 1fr;
  }

  .landing-copy h1,
  .split-head h2,
  .agent-grid h2 {
    max-width: none;
  }

  .product-orbit {
    min-height: auto;
  }

  .mock-content {
    grid-template-columns: 1fr;
  }

  .mock-card.highlight {
    min-height: 220px;
  }

  .floating-message,
  .local-status {
    position: relative;
    inset: auto;
    justify-self: start;
    margin-top: 12px;
  }

  .orbit-ring,
  .workflow-line::before {
    display: none;
  }

  .workflow-board {
    padding: 24px 18px;
  }

  .closing-card {
    display: grid;
  }
}

@media (max-width: 640px) {
  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell {
    padding: 0 16px;
  }

  .landing-copy h1 {
    font-size: 44px;
    letter-spacing: 0;
  }

  .landing-copy .lead {
    font-size: 16px;
  }

  .mock-titlebar strong {
    display: none;
  }

  .mock-content {
    padding: 16px;
  }

  .outcome-card,
  .channel-card,
  .agent-console,
  .closing-card {
    border-radius: 22px;
    padding: 22px;
  }
}

/* 2026-05-25 product-story redesign */
.story-page,
.product-story-page {
  --story-text: #121212;
  --story-muted: #63666a;
  --story-line: rgba(17, 17, 17, 0.11);
  --story-soft-line: rgba(17, 17, 17, 0.07);
  --story-surface: rgba(255, 255, 255, 0.86);
  --story-ink: #161616;
  --story-mint: #0fa66a;
  --story-blue: #2f6df6;
  --story-amber: #f0a31a;
  --story-shadow: 0 34px 90px rgba(15, 23, 42, 0.12);
  --story-soft-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  color: var(--story-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
}

.story-page::before,
.product-story-page::before {
  display: none;
}

.story-page .site-header,
.product-story-page .site-header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--story-soft-line);
  box-shadow: none;
}

.story-page .brand img,
.product-story-page .brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.story-page .brand small,
.product-story-page .brand small,
.story-page .nav-links a,
.product-story-page .nav-links a,
.story-page .footer-grid p,
.product-story-page .footer-grid p,
.story-page .footer-links a,
.product-story-page .footer-links a {
  color: var(--story-muted);
}

.story-page .nav-links a.active,
.story-page .nav-links a:hover,
.product-story-page .nav-links a.active,
.product-story-page .nav-links a:hover {
  color: var(--story-text);
  background: rgba(17, 17, 17, 0.055);
}

.story-page h1,
.story-page h2,
.story-page h3,
.product-story-page h1,
.product-story-page h2,
.product-story-page h3 {
  color: var(--story-text);
  letter-spacing: 0;
}

.story-page p,
.product-story-page p {
  color: var(--story-muted);
}

.story-page .button,
.product-story-page .button {
  min-height: 48px;
  border-color: var(--story-line);
  font-size: 15px;
}

.story-page .button.primary,
.product-story-page .button.primary {
  background: var(--story-ink);
  border-color: var(--story-ink);
  color: #fff;
}

.story-page .button.secondary,
.product-story-page .button.secondary {
  background: #fff;
  color: var(--story-text);
}

.gradient-text {
  display: inline-block;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(100deg, #111827 0%, #16a34a 28%, #2563eb 58%, #f59e0b 86%, #111827 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientText 8s ease-in-out infinite;
}

.gradient-text.alt {
  background-image: linear-gradient(100deg, #2563eb 0%, #111827 30%, #16a34a 62%, #f59e0b 100%);
}

.color-thread {
  width: min(360px, 72vw);
  height: 5px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #16a34a, #2563eb, #f59e0b);
  transform-origin: left center;
  animation: threadPulse 3.8s ease-in-out infinite;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes threadPulse {
  0%, 100% { transform: scaleX(.82); opacity: .72; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-text,
  .color-thread {
    animation: none;
  }
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.story-hero {
  min-height: calc(100svh - 138px);
  padding: clamp(42px, 6vw, 72px) 0 44px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--story-soft-line);
  background:
    linear-gradient(180deg, rgba(249, 250, 251, 0.7) 0%, #fff 42%, #f7f8fa 100%);
}

.story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.story-hero-copy {
  max-width: 650px;
}

.story-hero-copy h1 {
  max-width: none;
  font-size: clamp(64px, 7vw, 108px);
  line-height: 0.94;
}

.story-hero-copy p {
  margin-top: 24px;
  max-width: 35rem;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.62;
}

.story-hero-copy .hero-statement {
  max-width: 16ch;
  color: var(--story-text);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.story-hero-copy .hero-description {
  margin-top: 18px;
  max-width: 30rem;
}

.story-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.macbook-frame,
.settings-shot,
.product-hero-media,
.screenshot-visual {
  overflow: hidden;
  border: 1px solid var(--story-line);
  border-radius: 28px;
  background: #f8fafc;
  box-shadow: var(--story-shadow);
}

.macbook-frame {
  position: relative;
  padding-top: 36px;
}

.window-dots {
  position: absolute;
  top: 14px;
  left: 18px;
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7dbe0;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.macbook-frame img,
.settings-shot img,
.product-hero-media img,
.screenshot-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.iphone-frame {
  width: min(238px, 36vw);
  padding: 10px;
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(180deg, #111 0%, #303035 100%);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
}

.iphone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.story-hero-visual .iphone-frame {
  position: absolute;
  right: clamp(-18px, -1.4vw, 8px);
  bottom: 8px;
}

.story-flow {
  padding: clamp(56px, 8vw, 108px) 0;
  background: #fff;
}

.story-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.story-stage-wrap {
  position: sticky;
  top: 96px;
}

.story-stage {
  overflow: hidden;
  min-height: 640px;
  border: 1px solid var(--story-line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,248,250,0.95) 100%);
  box-shadow: var(--story-shadow);
  transition: background 260ms ease, transform 260ms ease;
}

.stage-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid var(--story-soft-line);
}

.stage-toolbar span {
  color: var(--story-muted);
  font-size: 14px;
  font-weight: 700;
}

.stage-canvas {
  position: relative;
  min-height: 436px;
  padding: 30px;
}

.source-stack {
  position: absolute;
  left: 30px;
  top: 34px;
  z-index: 2;
  display: grid;
  width: min(260px, 45%);
  gap: 14px;
  transition: opacity 260ms ease, transform 360ms ease;
}

.source-message,
.result-card,
.mobile-copy-card,
.privacy-items article,
.capability-visual,
.message-lane {
  border: 1px solid var(--story-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--story-soft-shadow);
}

.source-message {
  padding: 16px;
  border-radius: 18px;
}

.source-message span,
.capability-copy span {
  color: var(--story-muted);
  font-size: 13px;
  font-weight: 800;
}

.source-message strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.source-message p {
  margin-top: 8px;
  line-height: 1.52;
  font-size: 14px;
}

.wechat-message { border-left: 4px solid var(--story-mint); }
.wecom-message { border-left: 4px solid var(--story-blue); }

.desktop-result {
  position: absolute;
  left: min(250px, 36%);
  right: 30px;
  top: 72px;
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--story-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--story-soft-shadow);
  transition: transform 360ms ease, opacity 260ms ease;
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--story-soft-line);
}

.result-header span {
  color: var(--story-mint);
  font-size: 13px;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 16px;
}

.result-card {
  min-height: 116px;
  padding: 16px;
  border-radius: 18px;
}

.result-card.priority {
  grid-row: span 2;
  color: #fff;
  background: #151515;
}

.result-card.priority small,
.result-card.priority p {
  color: rgba(255,255,255,0.72);
}

.result-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--story-muted);
  font-weight: 800;
}

.result-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 38px;
  letter-spacing: 0;
}

.result-card p {
  line-height: 1.55;
  font-size: 14px;
}

.phone-result {
  position: absolute;
  right: 42px;
  bottom: 18px;
  width: 112px;
  padding: 6px;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transition: opacity 300ms ease, transform 360ms ease;
}

.phone-result img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.story-stage[data-active="1"] .source-stack {
  transform: translateX(18px);
}

.story-stage[data-active="2"] .desktop-result {
  transform: translateY(-8px) scale(1.02);
}

.story-stage[data-active="3"] .source-stack {
  opacity: 0.42;
  transform: translateX(-10px);
}

.story-stage[data-active="3"] .desktop-result {
  transform: translateX(-22px) scale(0.96);
}

.story-stage[data-active="3"] .phone-result {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stage-panels {
  display: grid;
  min-height: 138px;
  margin: 0 30px 30px;
}

.stage-panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms ease;
}

.stage-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stage-panel h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.stage-panel p {
  max-width: 40rem;
  margin-top: 12px;
  line-height: 1.68;
}

.story-steps {
  display: grid;
  gap: 22px;
}

.story-step {
  min-height: min(68svh, 560px);
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 0;
  opacity: 0.42;
  transition: opacity 220ms ease, transform 260ms ease;
}

.story-step.is-active {
  opacity: 1;
  transform: translateX(4px);
}

.story-step span {
  color: var(--story-muted);
  font-size: 14px;
  font-weight: 800;
}

.story-step h2 {
  max-width: 11ch;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 0.98;
}

.story-step p {
  max-width: 30rem;
  font-size: 18px;
  line-height: 1.72;
}

.story-step p,
.stage-panel p,
.showcase-copy p,
.setup-grid p,
.privacy-story p,
.story-final p,
.product-hero-copy p,
.capability-copy p {
  text-wrap: pretty;
}

.story-showcase,
.setup-section {
  padding: clamp(64px, 9vw, 116px) 0;
  background: #f7f8fa;
  border-top: 1px solid var(--story-soft-line);
  border-bottom: 1px solid var(--story-soft-line);
}

.story-showcase-grid,
.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.showcase-copy h2,
.setup-grid h2,
.privacy-story h2,
.story-final h2,
.product-hero-copy h1,
.capability-copy h2 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.96;
}

.showcase-copy p,
.setup-grid p,
.privacy-story p,
.story-final p,
.product-hero-copy p,
.capability-copy p {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.72;
}

.showcase-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.showcase-list span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--story-line);
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
}

.privacy-story {
  padding: clamp(64px, 9vw, 112px) 0;
  background: #111;
  color: #fff;
}

.privacy-story h2,
.privacy-story .privacy-items strong {
  color: #fff;
}

.privacy-story p,
.privacy-story .privacy-items span {
  color: rgba(255, 255, 255, 0.66);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.privacy-items {
  display: grid;
  gap: 14px;
}

.privacy-items article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.story-final {
  padding: clamp(64px, 9vw, 116px) 0;
  background: #fff;
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.story-page .site-footer,
.product-story-page .site-footer {
  background: #fff;
  border-top: 1px solid var(--story-soft-line);
}

.product-hero {
  padding: clamp(52px, 7vw, 94px) 0 clamp(46px, 7vw, 86px);
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
  border-bottom: 1px solid var(--story-soft-line);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(560px, 1.16fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.product-hero-media {
  padding-top: 0;
}

.product-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.04;
}

.product-hero-copy h1 span {
  display: inline-block;
}

.product-hero-media img {
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
  object-position: top center;
}

.capability-section {
  padding: clamp(60px, 9vw, 112px) 0;
  background: #fff;
}

.capability-section.alt {
  background: #f7f8fa;
  border-top: 1px solid var(--story-soft-line);
  border-bottom: 1px solid var(--story-soft-line);
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.capability-grid.reverse {
  grid-template-columns: minmax(500px, 1fr) minmax(0, 0.72fr);
}

.capability-grid.reverse .capability-copy {
  order: 2;
}

.capability-copy span {
  display: block;
  margin-bottom: 16px;
}

.capability-copy p {
  max-width: 35rem;
}

.capability-visual {
  min-height: 420px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
}

.source-visual {
  display: grid;
  gap: 18px;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(15, 166, 106, 0.08), rgba(47, 109, 246, 0.08)),
    #fff;
}

.message-lane {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 20px;
}

.message-lane strong {
  font-size: 18px;
}

.message-lane p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f8fa;
  line-height: 1.55;
}

.screenshot-visual {
  min-height: 0;
  padding: 0;
}

.screenshot-visual img {
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
  object-position: top center;
}

.mobile-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  background: #f7f8fa;
}

.product-phone {
  width: min(260px, 62vw);
}

.mobile-copy-card {
  position: absolute;
  right: 24px;
  bottom: 26px;
  max-width: 250px;
  padding: 18px;
  border-radius: 20px;
}

.mobile-copy-card p {
  margin-top: 8px;
  line-height: 1.62;
}

.setup-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(560px, 1.26fr);
}

.product-privacy {
  border-top: 0;
}

@media (max-width: 1080px) {
  .story-hero-grid,
  .story-flow-grid,
  .story-showcase-grid,
  .privacy-grid,
  .final-grid,
  .product-hero-grid,
  .capability-grid,
  .capability-grid.reverse,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .story-stage-wrap {
    position: relative;
    top: auto;
  }

  .story-step {
    min-height: auto;
    padding: 18px 0;
  }

  .capability-grid.reverse .capability-copy {
    order: 0;
  }
}

@media (max-width: 760px) {
  .story-page .nav,
  .product-story-page .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }

  .story-page .nav-links,
  .product-story-page .nav-links {
    width: calc(100vw - 32px);
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .story-page .nav-links::-webkit-scrollbar,
  .product-story-page .nav-links::-webkit-scrollbar {
    display: none;
  }

  .story-page .nav-links a,
  .product-story-page .nav-links a {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 14px;
  }

  .story-hero {
    min-height: 0;
    padding: 38px 0 34px;
  }

  .story-hero-copy h1 {
    max-width: none;
    font-size: 52px;
  }

  .product-hero-copy h1 {
    max-width: none;
    font-size: 42px;
  }

  .story-hero-copy p,
  .story-step p,
  .showcase-copy p,
  .setup-grid p,
  .privacy-story p,
  .story-final p,
  .product-hero-copy p,
  .capability-copy p {
    font-size: 16px;
  }

  .story-hero-visual {
    min-height: 390px;
  }

  .story-hero-visual .iphone-frame {
    right: 6px;
    width: 150px;
  }

  .story-stage {
    min-height: 0;
    border-radius: 24px;
  }

  .stage-canvas {
    display: grid;
    gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .source-stack,
  .desktop-result,
  .phone-result {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
  }

  .desktop-result {
    left: auto;
    right: auto;
    top: auto;
  }

  .phone-result {
    justify-self: center;
    width: 124px;
  }

  .result-grid,
  .showcase-list {
    grid-template-columns: 1fr;
  }

  .stage-panels {
    min-height: 210px;
    margin: 0 18px 22px;
  }

  .story-step h2,
  .showcase-copy h2,
  .setup-grid h2,
  .privacy-story h2,
  .story-final h2,
  .capability-copy h2 {
    max-width: none;
    font-size: 32px;
    line-height: 1.08;
  }

  .capability-visual,
  .mobile-visual {
    min-height: 0;
  }

  .mobile-copy-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 18px;
  }

  .iphone-frame {
    width: min(210px, 68vw);
  }
}
