/* The public product pages share the landing artboard's theme tokens. */
.platform .wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.platform h1, .platform h2, .platform h3 { text-wrap: balance; }
.platform .button { min-height: 48px; gap: 10px; white-space: nowrap; }
.platform .button:hover { opacity: 1; }
.platform .primary:hover { background: #ffd07a; border-color: #ffd07a; }
.platform .secondary:hover { background: var(--raised); }
.platform .primary > span { color: inherit; }
.platform :focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.platform [hidden] { display: none !important; }
.platform .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.platform a:not(.button) { text-underline-offset: 3px; }
.platform p { overflow-wrap: break-word; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-nav { position: relative; display: flex; align-items: center; gap: 32px; min-height: 76px; }
.site-nav .brand svg { width: 116px; height: auto; }
.site-nav-links, .site-nav-actions { display: flex; align-items: center; gap: 24px; }
.site-nav-links { margin-inline: auto; }
.site-nav-links a, .site-nav-actions .returning, .site-menu a {
  font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none;
}
.site-nav a[aria-current="page"], .site-nav-links a:hover { color: var(--accent-text); }
.site-nav-actions .button { min-height: 42px; padding: 8px 16px; }
.site-nav-actions .theme { display: grid; place-items: center; font-size: 18px; }
.site-menu { display: none; }

.platform-hero { padding: 42px 0 28px; text-align: center; }
.platform-hero h1 {
  margin: 0 auto 18px; max-width: 1200px; font-size: clamp(44px, 5.12vw, 74px);
  line-height: 1.02; letter-spacing: -.055em;
}
.platform-hero .hero-copy { margin: 0 auto 20px; max-width: 740px; font-size: clamp(16px, 1.45vw, 18px); }
.platform-hero .hero-actions { justify-content: center; }
.trial-note { margin: 12px 0 0; color: var(--label); font-size: 13px; }
.trial-note strong { color: var(--text-2); font-weight: 600; }

.showcase { scroll-margin-top: 24px; }
.showcase-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border);
  border-top: 2px solid var(--accent); border-radius: 14px; background: var(--panel); overflow: hidden;
}
.showcase-pane { display: flex; flex-direction: column; min-width: 0; padding: 28px; }
.showcase-pane + .showcase-pane { border-left: 1px solid var(--border); }
.showcase-intro { margin-bottom: 20px; }
.showcase-intro h2 { margin: 0 0 4px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.03em; }
.showcase-intro p { color: var(--text-2); margin: 0; font-size: 15px; max-width: 53ch; }
.dashboard-example { margin: 0 0 18px; }
.dashboard-example img, .product-proof img {
  display: block; width: 100%; height: auto; background: #101318; border-radius: 8px;
}
.capture-link { display: block; border-radius: 8px; }
.capture-link + .capture-link { margin-top: 6px; }
.dashboard-example figcaption, .example-caption, .product-proof figcaption {
  font-size: 13px; color: var(--label); margin: 10px 0 0;
}
.example-caption { margin-bottom: 18px; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: auto; }
.showcase-actions > a:not(.button) { font-size: 14px; color: var(--accent-text); }
.api-example {
  --example-surface: #11151b; --example-line: #313945; --example-text: #e7ebf1;
  --example-muted: #afb9c7; --example-accent: #f2b33d;
  background: var(--example-surface); color: var(--example-text); border: 1px solid var(--example-line);
  border-radius: 8px; overflow: hidden; font-size: 14px; text-align: left;
}
.example-head {
  padding: 11px 16px; min-height: 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; background: #191f28; border-bottom: 1px solid var(--example-line); font-weight: 600;
}
.api-example code, .api-example samp { font-family: "JetBrains Mono", monospace; font-size: .92em; overflow-wrap: anywhere; }
.platform .api-example pre { padding: 14px 16px; margin: 0; border-radius: 0; background: var(--example-surface);
  border: 0; color: var(--example-text); font: 13px/1.62 "JetBrains Mono", monospace; white-space: pre-wrap; }
.api-example pre code { font-size: inherit; overflow-wrap: anywhere; white-space: inherit; }
.example-response { padding: 0 16px; }
.example-response > p, .example-response details { border-top: 1px solid var(--example-line); margin: 0; padding: 9px 0; }
.example-response strong { color: #99e3ae; }
.example-response code { color: var(--example-muted); }
.example-response details summary { color: var(--example-accent); cursor: pointer; min-height: 27px; }
.example-response details p { margin: 8px 0; padding: 0; color: var(--example-muted); }
.platform .example-response details pre { padding: 9px 0; }
.example-result samp { margin-inline-start: 7px; color: var(--example-accent); }
.copy-action {
  background: transparent; color: var(--example-text); border: 1px solid #56616f; border-radius: 5px;
  padding: 6px 10px; min-height: 32px; cursor: pointer; font-size: 12px;
}
.copy-action:hover { background: #2a3340; }
.platform .api-example :focus-visible { outline-color: var(--example-accent); }
.copy-status { margin: 0; color: var(--example-muted); font-size: 12px; }
.copy-status:not(:empty) { padding: 0 16px 9px; }

.platform-section { padding-block: 76px; }
.platform-section h2, .platform-final h2, .product-proof h2 {
  font-size: clamp(28px, 3.4vw, 46px); margin: 0 0 14px; line-height: 1.12; letter-spacing: -.04em;
}
.platform-section p, .platform-final p { color: var(--text-2); }
.remote-work { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.remote-work-copy p { max-width: 54ch; }
.remote-flow {
  margin: 0; padding: 10px 18px 12px; background: var(--panel);
  border: 1px solid var(--border); border-radius: 12px;
}
.remote-flow-art { position: relative; }
.remote-flow-art img { display: block; width: 100%; height: auto; }
.remote-flow-track {
  position: absolute; inset: 58% auto auto 39%; width: 27%; height: 1px;
  background: var(--border-strong); pointer-events: none;
}
.remote-flow-pulse { display: block; width: 100%; height: 1px; opacity: 0; }
.remote-flow-pulse::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent); transform: translate(-50%, -45%);
}
.remote-flow figcaption { color: var(--text-2); font-size: 13px; text-align: center; }
.remote-flow-labels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  border-bottom: 1px solid var(--line); padding: 0 0 8px; font-weight: 600;
}
.remote-play {
  min-height: 44px; padding: 0 12px; color: var(--accent-text); background: transparent;
  border: 0; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.workflow { list-style-position: inside; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 30px 0 0; padding: 0; }
.workflow li { border-top: 1px solid var(--border-strong); padding: 18px 0 0; }
.workflow li::marker { color: var(--accent-text); font-family: "JetBrains Mono", monospace; }
.workflow h3 { display: inline; font-size: 20px; margin: 0; }
.workflow p { margin: 8px 0 0; font-size: 15px; max-width: 36ch; }
.workflow-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 24px 0 0; }
.workflow-links a { color: var(--accent-text); font-size: 14px; }

.platform-pricing { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-split { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.section-split p { margin: 0 0 4px; }
.platform-field { display: grid; gap: 5px; }
.platform-field label { color: var(--text-2); font-size: 14px; font-weight: 600; }
.platform-field select, .platform-field input {
  border: 1px solid var(--border-strong); color: var(--text); background: var(--panel);
  border-radius: 7px; padding: 10px 12px; min-height: 46px; width: 100%; font: inherit;
}
.platform .price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.platform .price-card { background: var(--panel); }
.platform .price-card .specs { font-size: 14px; }
.platform .price-card .price { line-height: 1.15; }
.platform .price-card .fine { margin-top: 8px; }
.price-next { font-size: 14px; margin: 12px 0 0; }
.price-next a, .platform-trust a { color: var(--accent-text); }

.platform-trust, .platform-faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.platform-trust { border-bottom: 1px solid var(--line); }
.platform-trust p { max-width: 49ch; }
.platform-trust dl { margin: 0; border-top: 1px solid var(--border-strong); }
.platform-trust dl > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.platform-trust dt { font-weight: 600; }
.platform-trust dd { margin: 3px 0 0; color: var(--text-2); font-size: 15px; }
.platform-faq details { margin: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.platform-faq summary { padding-inline: 0; font-size: 16px; }
.platform-faq details p { padding-inline: 0; }
.home-guides { border-top: 1px solid var(--line); }
.site-link-list { list-style: none; padding: 0; margin: 25px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.site-link-list a { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); text-decoration: none; }
.site-link-list a:hover { color: var(--accent-text); }
.platform-final { background: var(--bg-alt); border-block: 1px solid var(--border); }
.final-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 46px; }
.final-inner p, .final-inner h2 { margin: 0; }
.final-inner p { margin-top: 8px; }
.site-footer { padding-block: 44px; }
.footer-columns { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-about p { color: var(--label); margin: 8px 0 0; font-size: 14px; max-width: 29ch; }
.footer-brand { font: 700 22px "Space Grotesk", sans-serif; text-decoration: none; }
.footer-brand span { text-decoration: underline var(--accent) 2px; text-underline-offset: 4px; }
.site-footer nav { display: grid; align-content: start; gap: 8px; font-size: 14px; }
.site-footer nav b { margin-bottom: 4px; color: var(--text-2); }
.site-footer nav a { color: var(--label); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent-text); }
.share-link {
  min-height: 44px; padding: 0; margin-top: 4px; border: 0; background: transparent;
  color: var(--accent-text); cursor: pointer; font: 500 14px Inter, sans-serif;
  text-decoration: underline; text-underline-offset: 3px;
}
.share-link:disabled { color: var(--label); cursor: default; }
.share-status:empty { display: none; }

.platform .content-hero { padding: 28px 0 42px; }
.platform .breadcrumbs { margin-bottom: 32px; }
.platform .content-hero .hero-copy { max-width: 68ch; }
.platform .content-hero h1 { font-size: clamp(38px, 4.6vw, 64px); max-width: 1100px; }
.platform .content-layout { grid-template-columns: 215px minmax(0, 1fr); gap: clamp(34px, 5vw, 80px); padding-block: 42px; }
.platform .contents { border: 0; border-left: 1px solid var(--border); border-radius: 0; background: transparent; padding: 0 0 0 16px; }
.platform .prose { max-width: 910px; }
.platform .prose h2 { margin-bottom: 12px; }
.platform .prose section:last-of-type { margin-bottom: 28px; }
.product-proof { padding: 30px 0 42px; border-bottom: 1px solid var(--line); }
.product-proof > p { max-width: 68ch; color: var(--text-2); }
.proof-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.proof-pair figure { border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin: 0; background: var(--panel); }
.proof-pair h3 { margin: 0 0 8px; font-size: 17px; }
.proof-pair img { border: 1px solid #343d49; }
.api-quickstart { padding-block: 30px 36px; border-block: 1px solid var(--line); }
.api-quickstart h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 0 0 10px; }
.api-quickstart > p { max-width: 72ch; }
.api-quickstart .api-example { max-width: 940px; margin-top: 18px; }
.guide-index { border-block: 1px solid var(--line); padding-block: 27px 36px; }
.guide-index h2 { font-size: 26px; margin: 0 0 16px; }
.guide-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide-groups h3 { font-size: 18px; margin: 0 0 12px; }
.guide-groups ul { list-style: none; padding: 0; margin: 0; }
.guide-groups li a { display: block; border-top: 1px solid var(--line); padding: 11px 0; }
.hosting-choices { padding-block: 24px 36px; border-block: 1px solid var(--line); }
.hosting-choices h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 40px); }
.hosting-options { list-style: none; padding: 0; margin: 0; }
.hosting-options li {
  display: grid; grid-template-columns: minmax(170px, 1fr) 3fr; gap: 24px;
  border-top: 1px solid var(--border); padding: 22px 16px;
}
.hosting-options li:first-child { border-top-color: var(--accent); background: var(--panel); }
.hosting-options h3 { font-size: 18px; margin: 0; }
.hosting-options dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.hosting-options dt { font-size: 13px; font-weight: 600; color: var(--text); }
.hosting-options dd { margin: 4px 0 0; font-size: 14px; color: var(--text-2); }
.benefit-visual { padding-block: 30px 38px; border-block: 1px solid var(--line); scroll-margin-top: 24px; }
.benefit-visual h2 { margin: 0 0 12px; font-size: clamp(27px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.04em; }
.benefit-visual p { max-width: 72ch; color: var(--text-2); }
.diagram-steps {
  list-style-position: inside; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; padding: 0; margin: 22px 0 0;
}
.diagram-steps li, .parallel-origin, .parallel-branches > div {
  padding: 18px; border: 1px solid var(--border); border-top: 2px solid var(--accent);
  border-radius: 9px; background: var(--panel);
}
.diagram-steps li::marker { color: var(--accent-text); }
.diagram-steps h3, .parallel-diagram h3 { margin: 0; font-size: 18px; }
.diagram-steps h3 { display: inline; }
.diagram-steps p, .parallel-diagram p { margin: 7px 0 0; font-size: 14px; }
.diagram-note { margin-bottom: 0; font-size: 14px; }
.parallel-diagram { display: grid; grid-template-columns: 1fr 30px 2fr; gap: 12px; align-items: center; margin-top: 20px; }
.parallel-arrow { color: var(--accent-text); font-size: 24px; text-align: center; }
.parallel-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.platform .related-links { padding-block: 16px 54px; }
.platform .related-links h2 { font-size: 28px; }
.platform-privacy .policy-content { padding-block: 36px; max-width: 800px; }
.platform-privacy .policy-content p, .platform-privacy .policy-content li { color: var(--text-2); }

.estimate-band { padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); margin-top: 24px; }
.estimate-band h3 { margin: 0 0 6px; font-size: 30px; }
.estimate-band p { margin: 0; }
.estimate-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-top: 16px; }
.estimate-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.estimate-wide { grid-column: 1 / -1; }
.estimate-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.estimate-inputs small { color: var(--label); }
.estimate-total { border-left: 1px solid var(--border); padding-left: 30px; }
.estimate-total output { display: block; font: 650 clamp(32px, 4vw, 54px)/1.25 "Space Grotesk", sans-serif; }
.estimate-total p { font-size: 14px; }
.comparison-total output { font-size: clamp(24px, 2.9vw, 40px); line-height: 1.2; }
.compare-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0; }
.compare-amounts dt { color: var(--label); font-size: 13px; }
.compare-amounts dd { margin: 1px 0 0; font: 600 20px/1.35 "Space Grotesk", sans-serif; overflow-wrap: anywhere; }
.cost-bar { display: block; height: 4px; margin-top: 5px; border-radius: 4px; background: var(--border); overflow: hidden; }
.cost-bar > span { display: block; height: 100%; background: var(--accent-text); }
#compare-other-bar { background: var(--faint); }
.estimate-band > .fine { margin-top: 16px; }
.estimate-band .fine a { color: var(--accent-text); }
.platform .pricing-page { padding-block: 0 38px; }
.platform .pricing-page h2 { margin-top: 0; }

@media (max-width: 1120px) {
  .platform .wrap { width: calc(100% - 56px); }
  .site-nav { gap: 20px; }
  .site-nav-links, .site-nav-actions { gap: 16px; }
  .showcase-pane { padding: 22px; }
}
@media (max-width: 900px) {
  .site-nav-links, .site-nav-actions .returning { display: none; }
  .site-nav-actions { margin-left: auto; }
  .site-menu { display: block; border: 0; padding: 0; margin: 0; background: transparent; }
  .site-menu summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--border-strong); font-size: 14px; }
  .site-menu summary::-webkit-details-marker { display: none; }
  .site-menu summary::before, .site-menu summary::after { content: none; }
  .site-menu nav { position: absolute; inset: calc(100% + 6px) 0 auto; z-index: 5; display: grid; padding: 8px 14px; background: var(--panel); border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: 0 8px 24px #0002; }
  .site-menu nav a { display: flex; align-items: center; min-height: 44px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-pane + .showcase-pane { border-left: 0; border-top: 1px solid var(--border); }
  .platform .content-layout { grid-template-columns: 1fr; }
  .platform .contents { position: static; }
  .hosting-options li { grid-template-columns: 1fr; gap: 10px; }
  .platform-section { padding-block: 52px; }
  .platform .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .platform .wrap { width: calc(100% - 32px); }
  .site-nav { gap: 8px; min-height: 66px; }
  .site-nav .brand svg { width: 94px; }
  .site-nav-actions { gap: 8px; }
  .site-nav-actions .theme { width: 44px; height: 44px; }
  .site-nav-actions .button { padding-inline: 10px; font-size: 13px; min-height: 44px; }
  .site-menu summary { padding-inline: 8px; }
  .site-menu summary span { display: none; }
  .platform-hero { padding: 36px 0 26px; text-align: left; }
  .platform-hero h1 { font-size: clamp(36px, 9.5vw, 51px); }
  .platform-hero .hero-copy { font-size: 16px; margin-bottom: 18px; }
  .platform-hero .hero-actions { justify-content: start; }
  .showcase-pane { padding: 16px; }
  .showcase-intro { margin-bottom: 14px; }
  .showcase-actions .button { padding-inline: 14px; }
  .platform .api-example pre { font-size: 12px; padding-inline: 11px; }
  .example-head, .example-response { padding-inline: 11px; }
  .platform-section, .platform .content-layout { padding-block: 38px; }
  .remote-work, .workflow, .platform-trust, .platform-faq, .site-link-list, .proof-pair, .guide-groups, .estimate-body, .hosting-options dl, .diagram-steps, .parallel-diagram {
    grid-template-columns: 1fr;
  }
  .parallel-arrow { transform: rotate(90deg); }
  .platform-trust, .platform-faq { gap: 20px; }
  .workflow { gap: 16px; }
  .platform .price-grid { grid-template-columns: 1fr; }
  .section-split, .final-inner { align-items: start; flex-direction: column; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .estimate-band { padding: 18px; }
  .estimate-total { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 359px) {
  .platform .wrap { width: calc(100% - 24px); }
  .site-nav .brand svg { width: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .remote-play { display: none; }
}

.platform-privacy .policy-content .table { overflow-x: auto; }
.platform-privacy table { width: 100%; border-collapse: collapse; min-width: 440px; font-size: 14px; }
.platform-privacy th, .platform-privacy td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
.platform-privacy code { overflow-wrap: anywhere; }
