:root {
  --app-bg: #f6f7f9;
  --surface: #ffffff;
  --surface-muted: #f0f3f7;
  --surface-raised: #fbfcfe;
  --ink: #101828;
  --text: #1d2939;
  --muted: #667085;
  --border: #d8dee8;
  --border-soft: #e7ebf2;
  --brand: #090a1d;
  --accent: #2f7df6;
  --accent-soft: #e9f1ff;
  --green: #12b886;
  --orange: #f59f00;
  --cyan: #14b8c8;
  --violet: #8b5cf6;
  --red: #ef4444;
  --radius: 8px;
  --max-width: 1180px;
  --shadow: 0 18px 54px rgba(16, 24, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--app-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.94em;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(246, 247, 249, 0.9);
  border-bottom: 1px solid rgba(216, 222, 232, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--surface);
  outline: none;
}

.nav .nav-cta {
  margin-left: 8px;
  color: #ffffff;
  background: var(--brand);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  background: #171832;
}

.nav-toggle {
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 116px 32px 72px;
  color: #ffffff;
  background: var(--brand);
}

.page-hero {
  padding: 142px 32px 64px;
  background: var(--brand);
  color: #ffffff;
}

.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 47%;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.015);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 20, 0.86) 0%, rgba(5, 6, 20, 0.66) 36%, rgba(5, 6, 20, 0.24) 72%, rgba(5, 6, 20, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 6, 20, 0.15) 0%, rgba(5, 6, 20, 0.52) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(720px, calc(100vw - 64px));
  margin-left: max(0px, calc((100vw - var(--max-width)) / 2));
}

.hero-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-lockup img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

h1 {
  margin: 22px 0 0;
  font-size: clamp(58px, 9vw, 104px);
  line-height: 0.95;
  font-weight: 920;
  overflow-wrap: anywhere;
}

.hero-copy {
  width: 100%;
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
  font-weight: 540;
  overflow-wrap: break-word;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 850;
  font-size: 14px;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: #1f6ee8;
  border-color: #1f6ee8;
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.hero .button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(690px, 100%);
  gap: 12px;
  margin: 38px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  margin: 0 0 4px;
  color: #ffffff;
  font-weight: 850;
  font-size: 13px;
}

.hero-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.section {
  padding: 96px 32px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 850;
  text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.download h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.14;
  font-weight: 880;
  overflow-wrap: anywhere;
}

.section-copy p,
.section-heading p,
.download p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.product {
  background: var(--surface);
}

.product-grid,
.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.showcase-visual {
  margin: 0;
}

.showcase-visual img,
.screen-card img {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.showcase-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.canvas-section {
  background: #eef2f6;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 18px;
}

.screen-card {
  min-width: 0;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.screen-card.large {
  grid-row: span 2;
}

.screen-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.screen-card h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.28;
}

.screen-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-band {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.step {
  min-width: 0;
  padding: 24px;
  background: var(--surface-raised);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 850;
}

.feature-icon.blue {
  color: #1f6ee8;
  background: #e9f1ff;
}

.feature-icon.green {
  color: #087f5b;
  background: #dff8ef;
}

.feature-icon.orange {
  color: #b76a00;
  background: #fff2cc;
}

.feature-icon.cyan {
  color: #0e7490;
  background: #dcf7fb;
}

.feature-icon.violet {
  color: #6d28d9;
  background: #f0e9ff;
}

.feature-icon.red {
  color: #b42318;
  background: #ffe8e6;
}

.feature h3,
.step h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.28;
}

.feature p,
.step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.workflow {
  background: var(--app-bg);
}

.commerce-section {
  background: var(--surface);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

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

.detail-card,
.support-box,
.info-table {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.detail-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.detail-card p,
.support-box p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.detail-card a,
.support-box a:not(.button) {
  color: var(--accent);
  font-weight: 800;
}

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

.step {
  background: var(--surface);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.ai-section {
  background: #f1f5f4;
}

.ai-grid {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
}

.ai-console {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-soft);
}

.console-head span {
  padding: 4px 8px;
  border-radius: var(--radius);
  color: #087f5b;
  background: #dff8ef;
  font-size: 12px;
  font-weight: 850;
}

.console-message {
  margin: 16px;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  color: #344054;
  font-size: 14px;
}

.console-message.user {
  background: var(--accent-soft);
  border-color: #b8d1ff;
}

.action-stack {
  display: grid;
  gap: 10px;
  margin: 16px;
}

.action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  font-weight: 850;
  font-size: 14px;
}

.action-card small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.action-card.file {
  color: #087f5b;
  background: #edfdf6;
}

.action-card.code {
  color: #1f6ee8;
  background: #eff6ff;
}

.action-card.export {
  color: #b76a00;
  background: #fff7df;
}

.ai-console pre {
  margin: 16px;
  padding: 16px;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--brand);
  color: #edf4ff;
  font-size: 13px;
  line-height: 1.56;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list.compact {
  margin-top: 22px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #344054;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.download {
  background: var(--brand);
  color: #ffffff;
}

.download .eyebrow,
.download h2 {
  color: #ffffff;
}

.download p {
  color: rgba(255, 255, 255, 0.76);
}

.download-inner,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 36px;
  align-items: center;
}

.download-copy {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.download-copy > img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

.download-actions {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.download-actions span {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.contact {
  background: var(--surface);
}

.pricing-section {
  background: var(--surface);
}

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

.price-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.price-card.featured {
  border-color: #b8d1ff;
  background: #f5f9ff;
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.price {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.policy-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.policy-note a,
.legal-doc a {
  color: var(--accent);
  font-weight: 800;
}

.legal-section {
  background: var(--surface);
}

.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.legal-doc h2 {
  margin: 30px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 16px;
}

.legal-doc ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--text);
}

.legal-doc li {
  margin: 8px 0;
}

.info-table {
  display: grid;
  gap: 0;
  margin-top: 24px;
  padding: 0;
  overflow: hidden;
}

.info-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 15px 18px;
  border-top: 1px solid var(--border-soft);
}

.info-table div:first-child {
  border-top: 0;
}

.info-table strong {
  color: var(--ink);
}

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

.info-table a {
  color: var(--accent);
  font-weight: 800;
}

.support-box {
  display: grid;
  gap: 8px;
}

.support-box .button {
  justify-self: start;
  margin-top: 8px;
}

.site-footer {
  padding: 32px;
  background: var(--app-bg);
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    background: rgba(246, 247, 249, 0.98);
    border-bottom: 1px solid var(--border);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .nav .nav-cta {
    margin: 10px 0 0;
  }

  .hero {
    min-height: 84vh;
    padding: 108px 22px 56px;
  }

  .hero-media img {
    object-position: 64% 50%;
  }

  .hero-content {
    margin-left: 0;
  }

  .product-grid,
  .ai-grid,
  .download-inner,
  .contact-inner,
  .screen-grid,
  .pricing-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .screen-card.large {
    grid-row: auto;
  }

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

  .section {
    padding: 76px 22px;
  }
}

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

  .nav {
    top: 66px;
  }

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

  .hero {
    min-height: 86vh;
    padding-top: 96px;
  }

  .hero-lockup img {
    width: 42px;
    height: 42px;
  }

  .hero-facts,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature,
  .step,
  .screen-card,
  .price-card,
  .legal-doc,
  .download-actions {
    padding: 20px;
  }

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

  .download-copy > img {
    width: 78px;
    height: 78px;
  }

  .info-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .action-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .action-card small {
    text-align: left;
  }

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