:root {
  color-scheme: light dark;
  --background: #f0f9ff;
  --surface: #ffffff;
  --surface-soft: #e8f2f8;
  --surface-tint: #e0f2fe;
  --text: #0c4a6e;
  --text-strong: #082f49;
  --text-muted: #475569;
  --primary: #0369a1;
  --primary-bright: #0ea5e9;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --border: #bae6fd;
  --focus: #0284c7;
  --success: #047857;
  --shadow-soft: 0 12px 32px rgba(12, 74, 110, 0.08);
  --shadow-card: 0 22px 64px rgba(12, 74, 110, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --motion-fast: 160ms;
  --motion-standard: 240ms;
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #071b27;
    --surface: #0b2635;
    --surface-soft: #123748;
    --surface-tint: #0c3b51;
    --text: #d8f0fb;
    --text-strong: #f4fbff;
    --text-muted: #b8d0dc;
    --primary: #7dd3fc;
    --primary-bright: #38bdf8;
    --accent: #fb923c;
    --accent-hover: #fdba74;
    --border: #25556a;
    --focus: #7dd3fc;
    --success: #6ee7b7;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 22px 64px rgba(0, 0, 0, 0.32);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 7% 4%, color-mix(in srgb, var(--primary-bright) 18%, transparent), transparent 34rem),
    radial-gradient(circle at 96% 19%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 30rem),
    var(--background);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
}

button:not(:disabled),
a {
  cursor: pointer;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--surface);
  background: var(--text-strong);
  transform: translateY(-160%);
  transition: transform var(--motion-fast) ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner,
.hero,
.section,
.final-cta,
.site-footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 11px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text-strong);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(145deg, #0284c7, #0c4a6e);
  box-shadow: 0 8px 20px rgba(3, 105, 161, 0.22);
  font-size: 18px;
  font-weight: 850;
}

.header-actions,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 10px;
}

.language-switch {
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.language-switch button {
  min-width: 44px;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--text-muted);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  transition: color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.language-switch button:hover,
.language-switch button[aria-pressed="true"] {
  color: var(--text-strong);
  background: var(--surface-soft);
}

.header-login,
.primary-button,
.secondary-button,
.open-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 780;
  text-decoration: none;
  transition:
    color var(--motion-fast) ease,
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.header-login {
  padding: 8px 17px;
  color: #ffffff;
  background: #0c4a6e;
}

.header-login:hover {
  background: #0369a1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
  min-height: min(760px, calc(100dvh - 72px));
  padding: clamp(72px, 9vw, 116px) 20px;
}

.hero-copy {
  min-width: 0;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 26px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--success) 28%, var(--border));
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--success) 8%, var(--surface));
  font-size: 13px;
  font-weight: 750;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 14%, transparent);
}

.eyebrow,
.card-kicker,
.analysis-label {
  margin: 0 0 9px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.99;
  letter-spacing: -0.06em;
}

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

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

.primary-button,
.secondary-button {
  padding: 11px 21px;
  border: 1px solid transparent;
}

.primary-button {
  gap: 10px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 20%, transparent);
}

.primary-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 11px 26px color-mix(in srgb, var(--accent) 26%, transparent);
}

.primary-button svg,
.secondary-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.secondary-button {
  border-color: var(--border);
  color: var(--text-strong);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.secondary-button:hover {
  border-color: var(--primary);
  background: var(--surface-tint);
}

.availability-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.product-demo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 42px minmax(0, 1.2fr);
  align-items: center;
  min-width: 0;
  padding: 34px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 38px;
  background:
    radial-gradient(circle at 14% 20%, color-mix(in srgb, var(--primary-bright) 17%, transparent), transparent 15rem),
    color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.product-demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14px;
  border: 1px dashed color-mix(in srgb, var(--primary) 22%, transparent);
  border-radius: 28px;
  pointer-events: none;
}

.source-card,
.morrow-card {
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}

.source-card {
  padding: 16px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.source-card-top,
.morrow-card-top,
.fact-row,
.plan-row {
  display: flex;
  align-items: center;
}

.source-card-top,
.morrow-card-top {
  justify-content: space-between;
  gap: 10px;
}

.source-badge,
.source-platform,
.ready-badge {
  font-size: 11px;
  font-weight: 780;
}

.source-badge,
.ready-badge {
  padding: 4px 8px;
  border-radius: 999px;
}

.source-badge {
  color: var(--primary);
  background: var(--surface-tint);
}

.source-platform {
  color: var(--text-muted);
}

.source-thumbnail {
  display: grid;
  min-height: 150px;
  margin-top: 14px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.22), transparent 7rem),
    linear-gradient(145deg, #075985, #0ea5e9 64%, #fdba74);
}

.source-thumbnail svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.source-title {
  margin: 14px 0 12px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.4;
}

.source-action {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 780;
}

.source-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.flow-connector {
  display: flex;
  align-items: center;
  color: var(--primary);
}

.flow-connector span {
  width: 100%;
  border-top: 2px dashed color-mix(in srgb, var(--primary) 42%, transparent);
}

.flow-connector svg {
  width: 20px;
  height: 20px;
  margin-left: -5px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.morrow-card {
  padding: 20px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 850;
}

.mini-brand span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  color: #ffffff;
  background: var(--primary);
  font-size: 11px;
}

.ready-badge {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 10%, var(--surface));
}

.morrow-card .card-kicker {
  margin-top: 19px;
  font-size: 10px;
}

.morrow-card h2 {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.fact-row {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.fact-row span {
  padding: 4px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--surface-soft);
  font-size: 9px;
  font-weight: 750;
}

.analysis-label {
  margin-top: 18px;
  font-size: 9px;
}

.analysis-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.plan-row {
  gap: 9px;
  margin-top: 18px;
  padding: 10px;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-tint);
}

.plan-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--primary);
  background: var(--surface);
}

.plan-icon svg,
.plan-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.plan-row > span:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
}

.plan-row strong {
  color: var(--text-strong);
  font-size: 11px;
}

.plan-row small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: clamp(72px, 9vw, 112px) 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 800px;
}

.section-heading h2,
.trust-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child,
.trust-copy > p:last-child,
.final-cta > div > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.how-section {
  border-top: 1px solid color-mix(in srgb, var(--border) 62%, transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  transition: border-color var(--motion-standard) ease, background var(--motion-standard) ease;
}

.steps li:hover {
  border-color: var(--primary);
  background: var(--surface);
}

.step-number {
  position: absolute;
  top: 21px;
  right: 22px;
  color: color-mix(in srgb, var(--primary) 48%, var(--text-muted));
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.step-icon,
.use-case-icon svg,
.trust-points svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.step-icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.steps h3,
.use-case-card h3 {
  margin: 24px 0 0;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.steps p,
.use-case-card > div > p:last-child {
  margin: 11px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.use-cases {
  padding-top: 48px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.use-case-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  min-height: 272px;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.places-card {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--primary-bright) 13%, transparent), transparent 21rem),
    var(--surface);
}

.ideas-card {
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 21rem),
    var(--surface);
}

.use-case-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 17px;
  color: var(--primary);
  background: var(--surface-tint);
}

.use-case-icon svg {
  width: 27px;
  height: 27px;
}

.use-case-card .card-kicker {
  margin-top: 4px;
}

.use-case-card h3 {
  margin-top: 0;
  font-size: clamp(25px, 2.7vw, 34px);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 1.05fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: center;
}

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

.trust-points li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.trust-points svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--primary);
}

.trust-points span {
  display: grid;
}

.trust-points strong {
  color: var(--text-strong);
  font-size: 15px;
}

.trust-points small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 13px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-top: 32px;
  margin-bottom: 88px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 34px;
  color: #d8f0fb;
  background:
    radial-gradient(circle at 94% 10%, rgba(56, 189, 248, 0.23), transparent 24rem),
    #082f49;
  box-shadow: 0 24px 64px rgba(8, 47, 73, 0.2);
}

.final-cta .eyebrow {
  color: #7dd3fc;
}

.final-cta h2 {
  max-width: 730px;
  color: #ffffff;
}

.final-cta > div > p:last-child {
  color: #c5e2ee;
}

.primary-button.inverse {
  flex: 0 0 auto;
  color: #082f49;
  background: #ffffff;
  box-shadow: none;
}

.primary-button.inverse:hover {
  color: #ffffff;
  background: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 20px max(34px, env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, var(--border) 62%, transparent);
}

.footer-brand {
  min-height: 40px;
  font-size: 17px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 14px;
}

.site-footer p {
  margin: 2px 0 0 42px;
  color: var(--text-muted);
  font-size: 12px;
}

.open-app-link {
  padding: 8px 16px;
  border: 1px solid var(--border);
  color: var(--text-strong);
  background: var(--surface);
}

.open-app-link:hover {
  border-color: var(--primary);
  background: var(--surface-tint);
}

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

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

  .product-demo {
    width: min(720px, 100%);
  }

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

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

  .trust-points li {
    align-items: flex-start;
    min-height: 164px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding-inline: 16px;
  }

  .brand {
    font-size: 18px;
  }

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

  .header-actions {
    gap: 6px;
  }

  .language-switch button {
    min-width: 40px;
    padding-inline: 8px;
  }

  .header-login {
    padding-inline: 14px;
  }

  .hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .product-demo {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px;
    border-radius: 30px;
  }

  .product-demo::before {
    inset: 11px;
    border-radius: 22px;
  }

  .source-card {
    width: min(320px, 100%);
    justify-self: start;
  }

  .morrow-card {
    width: min(390px, 100%);
    justify-self: end;
  }

  .flow-connector {
    width: 44px;
    margin-left: 32%;
    transform: rotate(90deg);
  }

  .steps,
  .use-case-grid,
  .trust-points {
    grid-template-columns: 1fr;
  }

  .trust-points li {
    align-items: center;
    min-height: 88px;
  }

  .final-cta {
    width: auto;
    align-items: flex-start;
    flex-direction: column;
    margin-inline: 16px;
    margin-bottom: 64px;
    border-radius: 28px;
  }
}

@media (max-width: 440px) {
  .header-inner {
    min-height: 66px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 16px;
  }

  .language-switch button {
    min-width: 38px;
    min-height: 44px;
    padding-inline: 6px;
    font-size: 12px;
  }

  .header-login {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    gap: 46px;
    padding-top: 48px;
  }

  .preview-pill {
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(40px, 13.8vw, 54px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 26px;
  }

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

  .product-demo {
    margin-inline: -2px;
    padding: 22px;
  }

  .source-thumbnail {
    min-height: 120px;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

  .section-heading h2,
  .trust-copy h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .use-case-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .use-case-icon {
    width: 48px;
    height: 48px;
  }

  .final-cta {
    gap: 28px;
    padding: 30px 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 16px;
  }

  .site-footer p {
    margin-left: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
