@import url('/site-header.css');

:root {
  color-scheme:dark;
  --bg:#0f1117;
  --surface:#181b25;
  --soft:#131620;
  --text:#f2f4fa;
  --muted:#a4aec2;
  --border:#2b3142;
  --accent:#9a9dff;
  --button:#575bea;
  --button-hover:#666af0;
  --grid:rgba(150,160,200,.06);
}

:root[data-theme=light] {
  color-scheme:light;
  --bg:#f8fafc;
  --surface:#fff;
  --soft:#f0f3fa;
  --text:#171c2b;
  --muted:#536077;
  --border:#dbe1ed;
  --accent:#4f46e5;
  --button:#4f46e5;
  --button-hover:#4338ca;
  --grid:rgba(40,60,100,.06);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

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

button {
  font:inherit;
}

a,button,summary {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}

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

p {
  line-height:1.7;
}

h1,h2,h3,p {
  margin:0;
}

h1,h2,h3 {
  font-weight:650;
}

h2 {
  font-size:clamp(30px,3.3vw,44px);
  line-height:1.15;
  letter-spacing:-1.5px;
}

h3 {
  font-size:21px;
  letter-spacing:-.5px;
}

.on-light {
  display:none;
}

[data-theme=light] .on-light {
  display:block;
}

[data-theme=light] .on-dark {
  display:none;
}

.skip-link {
  position:absolute;
  z-index:5;
  top:-80px;
  left:20px;
  padding:12px;
  background:var(--surface);
}

.skip-link:focus {
  top:12px;
}

.brand {
  flex-shrink:0;
}

.brand img {
  object-fit:contain;
}

.text-link:hover,.site-footer a:hover {
  color:var(--accent);
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-height:52px;
  padding:13px 24px;
  border:1px solid transparent;
  border-radius:7px;
  background:var(--button);
  color:#fff;
  font-size:15px;
  font-weight:650;
  transition:background .15s,transform .15s;
}

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

.button-small {
  min-height:40px;
  padding:8px 16px;
  font-size:13px;
  gap:20px;
}

.button span {
  font-size:20px;
  font-weight:400;
}

.homepage .wrap {
  width:85%;
  max-width:1632px;
}

.homepage .hero {
  padding-top:24px;
  padding-bottom:60px;
}

.homepage h1 {
  margin-top:0;
}

.homepage .hero-copy {
  padding-top:0;
}

.hero {
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,1fr);
  align-items:center;
  gap:48px;
  padding-top:64px;
  padding-bottom:72px;
}

.eyebrow {
  color:var(--muted);
  font-size:16px;
  font-weight:650;
  letter-spacing:1.8px;
  display:flex;
  align-items:center;
  gap:9px;
}

h1 {
  font-size:clamp(56px,7vw,70px);
  line-height:1.08;
  letter-spacing:-3.6px;
  margin-top:22px;
  text-wrap:balance;
}

h1>span {
  color:var(--accent);
}

.hero-copy {
  justify-self:stretch;
  padding-top:28px;
}

.hero-copy .intro {
  font-size:23px;
  font-weight:550;
  margin-bottom:12px;
  color:var(--text);
  letter-spacing:-.5px;
}

.hero-copy>p {
  color:var(--muted);
  font-size:16px;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:26px;
  margin:30px 0 16px;
}

.text-link {
  font-size:14px;
  font-weight:550;
  display:inline-flex;
  gap:12px;
  align-items:center;
}

.preview-header {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 64px;
  margin-bottom:20px;
}

.preview-picker {
  display:flex;
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  gap:8px;
  border-bottom:1px solid var(--border);
  overflow-x:auto;
  scrollbar-width:none;
}

.preview-picker::-webkit-scrollbar {
  display:none;
}

.preview-picker button {
  flex:1 0 auto;
  min-height:48px;
  padding:12px 14px;
  border:0;
  border-bottom:2px solid transparent;
  background:transparent;
  color:var(--muted);
  font-size:16px;
  font-weight:550;
  white-space:nowrap;
  cursor:pointer;
}

.preview-picker button:hover {
  color:var(--text);
}

.preview-picker button:focus-visible {
  outline-offset:-4px;
}

.preview-picker button[aria-selected=true] {
  color:var(--accent);
  border-bottom-color:var(--accent);
}

.preview-slide[hidden] {
  display:none;
}

/* Retain the frame and its dimensions, but never restore a visited poster. */
.preview-slide[data-inline-loaded=true] .preview { pointer-events:none; }
.preview-slide[data-inline-loaded=true] .preview img { visibility:hidden; }

/* Reserve the tabs' dimensions before the preview module loads. */
.preview-picker[hidden] {
  visibility:hidden;
}

.preview {
  display:block;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 28px 60px -28px rgba(0,0,0,.35);
  background:var(--surface);
}

.preview img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.preview-slides { position:relative; }
.inline-app-host {
  position:absolute;
  inset:1px;
  overflow:hidden;
  border-radius:9px;
  background:var(--surface);
  opacity:0;
  pointer-events:none;
}
.inline-app-host[data-state=ready] {
  opacity:1;
  pointer-events:auto;
  transition:opacity 180ms ease-out;
}
.inline-app-host[data-state=ready][data-restored=true] { transition:none; }
.inline-app-host[data-state=restoring] { opacity:1; transition:none; }
.inline-app-host iframe {
  position:absolute;
  inset:0 auto auto 0;
  width:1600px;
  height:900px;
  max-width:none;
  border:0;
  transform-origin:0 0;
}
.inline-preview-status {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
[data-inline-retry] {
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  padding:7px 11px;
  border:1px solid var(--border);
  border-radius:7px;
  background:var(--surface);
  color:var(--text);
  font:inherit;
  cursor:pointer;
}
@media (prefers-reduced-motion:reduce) {
  .inline-app-host[data-state=ready] { transition:none; }
}

.preview-caption {
  display:flex;
  /* Take the spare width on a shared row; wrapped tabs fill their own row. */
  flex:999 1 600px;
  min-width:0;
  justify-content:space-between;
  color:var(--muted);
  font-size:15px;
  gap:24px;
  align-items:center;
}

.preview-caption a {
  margin-left:auto;
  flex-shrink:0;
  white-space:nowrap;
}

.preview-caption a[data-model-link-state=pending] {
  cursor:progress;
}

.section {
  padding-top:110px;
  padding-bottom:100px;
}

.section-heading {
  max-width:630px;
}

.section-heading h2 {
  margin-top:18px;
}

.section-heading>p:last-child {
  margin-top:18px;
  max-width:420px;
  color:var(--muted);
  font-size:15px;
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin-top:55px;
}

.feature-grid article {
  padding-top:24px;
  border-top:1px solid var(--border);
}

.feature-number {
  font-family:ui-monospace,monospace;
  font-size:11px;
  color:var(--accent);
  letter-spacing:1px;
}

.feature-grid h3 {
  margin-top:25px;
  margin-bottom:13px;
}

.feature-grid p {
  color:var(--muted);
  font-size:14px;
}

.feature-detail {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:24px;
  line-height:1.6;
}

.features-section {
  margin-top:80px;
  background:var(--soft);
  border-block:1px solid var(--border);
  padding-block:76px 82px;
}

.section-heading-row {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
}

.section-heading-row h2 {
  margin-top:18px;
}

.section-heading-row>p {
  max-width:420px;
  font-size:14px;
  color:var(--muted);
}

@font-face {
  font-family:InterVariable;
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
  src:url('/fonts/inter/InterVariable.woff2') format('woff2');
}

.pricing {
  --plan-accent:#948dff;
  --plan-highlight:#1b1c2d;
  --plan-disabled:#242837;
}

[data-theme=light] .pricing {
  --plan-accent:#4f46e5;
  --plan-highlight:#f1f0ff;
  --plan-disabled:#e9edf5;
}

.pricing h2 span {
  color:var(--plan-accent);
}

.billing-selector {
  display:flex;
  flex-shrink:0;
  width:fit-content;
  gap:4px;
  margin:0;
  padding:5px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--soft);
}

.billing-selector[hidden] {
  display:none;
}

.billing-selector legend,.billing-selector input {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}

.billing-selector label {
  position:relative;
  cursor:pointer;
}

.billing-selector span {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:112px;
  min-height:44px;
  padding:10px 20px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
}

.billing-selector input:checked + span {
  background:var(--button);
  color:#fff;
}

.billing-selector input:focus-visible + span {
  outline:3px solid var(--plan-accent);
  outline-offset:3px;
}

.pricing-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:44px;
  font-family:InterVariable,Inter,ui-sans-serif,system-ui,sans-serif;
}

.pricing-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:610px;
  padding:30px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--soft);
}

.pricing-card[data-highlighted] {
  background:var(--plan-highlight);
  border-color:var(--plan-accent);
}

.plan-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

.pricing-card h3 {
  font-size:32px;
  line-height:1.2;
}

.plan-badge {
  padding:6px 13px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--plan-disabled);
  color:var(--text);
  font-size:13px;
  line-height:1.3;
  white-space:nowrap;
}

.plan-description {
  margin-bottom:28px;
  padding-bottom:24px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  font-size:20px;
}

.plan-price {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:20px;
  margin:24px 0 16px;
  color:var(--muted);
  font-size:20px;
}

.plan-amount {
  color:var(--text);
  font-size:72px;
  font-weight:750;
  letter-spacing:-3px;
  line-height:1.1;
}

.plan-features {
  display:grid;
  gap:16px;
  margin:0 0 46px;
  padding:0;
  list-style:none;
  font-size:16px;
  line-height:1.6;
}

.plan-features li {
  position:relative;
  padding-left:40px;
}

.plan-features li::before {
  content:'';
  position:absolute;
  top:1px;
  left:0;
  width:24px;
  height:24px;
  background:var(--plan-accent);
  mask:url('/icons/check.svg') center / contain no-repeat;
}

.plan-actions {
  min-height:102px;
  margin-top:auto;
}

.plan-actions p {
  margin-top:16px;
  color:var(--muted);
  text-align:center;
  font-size:14px;
}

.pricing-card .button {
  width:100%;
  min-height:58px;
  font-size:17px;
}

.pricing-card-free .button {
  background:transparent;
  border-color:var(--muted);
  color:var(--text);
}

.pricing-card-free .button:hover {
  background:var(--surface);
  border-color:var(--text);
}

.pricing-card .button:disabled {
  background:var(--plan-disabled);
  border-color:var(--border);
  color:var(--muted);
  cursor:not-allowed;
  transform:none;
}

.pricing-card-desktop .button:disabled {
  background:var(--button);
  border-color:var(--plan-accent);
  color:#fff;
}

.pricing-card-enterprise {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:30px;
  min-height:0;
}

.pricing-card-enterprise .plan-heading {
  grid-column:1 / -1;
  justify-content:flex-start;
  gap:24px;
}

.pricing-card-enterprise .plan-features {
  margin:0;
}

.pricing-card-enterprise .plan-actions {
  min-height:0;
  margin-top:0;
}

.pricing-card-enterprise .button {
  min-width:160px;
}

.pricing-note {
  margin-top:24px;
  color:var(--muted);
  text-align:center;
  font-size:13px;
}

.questions {
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:80px;
}

.questions .text-link {
  margin-top:16px;
  color:var(--text);
}

.faq-list details {
  border-bottom:1px solid var(--border);
  padding:23px 0;
}

.faq-list details:first-child {
  padding-top:0;
}

.faq-list summary {
  cursor:pointer;
  font-size:16px;
  font-weight:550;
  line-height:1.5;
  list-style:none;
  padding-right:30px;
  position:relative;
}

.faq-list summary::-webkit-details-marker {
  display:none;
}

.faq-list summary:after {
  content:'+';
  position:absolute;
  right:3px;
  top:0;
  color:var(--muted);
  font-weight:400;
  font-size:22px;
}

.faq-list details[open] summary:after {
  content:'−';
}

.faq-list p {
  font-size:14px;
  color:var(--muted);
  margin-top:14px;
}

.faq-list details>a {
  font-size:13px;
  color:var(--accent);
  display:inline-block;
  margin-top:12px;
}

.compatibility {
  padding-block:70px;
  border-top:1px solid var(--border);
}

.compatibility-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
  margin-top:32px;
}

.compatibility-grid h3 {
  color:var(--accent);
  font-size:18px;
}

.compatibility-grid p {
  margin-top:12px;
  color:var(--muted);
  font-size:14px;
}

.compatibility-note {
  margin-top:28px;
  color:var(--muted);
  font-size:12px;
}

.site-footer {
  display:flex;
  align-items:center;
  gap:30px;
  min-height:125px;
  border-top:1px solid var(--border);
}

.site-footer p {
  font-size:11px;
  color:var(--muted);
}

.site-footer>a:last-child {
  margin-left:auto;
  font-size:13px;
  color:var(--muted);
}

@media(min-width:1800px) {
  h1 {
    font-size:80px;
  }
}

@media(max-width:1100px) {
  .homepage .wrap {
    width:auto;
  }
  .pricing-card {
    padding:24px;
  }
  .pricing-card h3 {
    font-size:26px;
  }
  .plan-badge {
    padding:5px 9px;
    font-size:11px;
  }
  .plan-amount {
    font-size:56px;
  }
  .plan-price {
    gap:10px;
  }
  .plan-price,.plan-description {
    font-size:16px;
  }
  .plan-features {
    font-size:14px;
  }
  .plan-features li {
    padding-left:30px;
  }
  .pricing-card .button {
    font-size:15px;
  }
}

@media(min-width:761px) and (max-width:1000px) {
  .homepage .site-header {
    --header-gap:16px;
  }
}

@media(max-width:1000px) {
  .hero {
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    gap:40px;
  }
  .hero-actions {
    gap:18px;
  }
  .button {
    gap:16px;
  }
  .feature-grid {
    gap:24px;
  }
  .pricing-grid {
    gap:14px;
  }
  .questions {
    gap:50px;
  }
}

@media(max-width:900px) {
  .pricing-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .pricing-card {
    min-height:0;
  }
  .pricing-card-enterprise {
    grid-template-columns:1fr;
    gap:24px;
  }
  .plan-actions {
    min-height:0;
  }
}

@media(max-width:760px) {
  .button-small {
    padding:8px 11px;
    gap:10px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:28px;
    padding-top:42px;
    padding-bottom:44px;
  }
  .homepage .hero {
    gap:24px;
    padding-top:28px;
    padding-bottom:32px;
  }
  h1 {
    font-size:clamp(40px,8.6vw,62px);
    letter-spacing:-2.2px;
    margin-top:20px;
  }
  .hero-copy {
    padding-top:0;
    max-width:520px;
    justify-self:start;
  }
  .hero-copy .intro {
    font-size:20px;
    margin-bottom:8px;
  }
  .hero-copy>p {
    font-size:15px;
  }
  .hero-actions {
    margin-top:23px;
  }
  .preview-caption {
    flex-wrap:wrap;
    gap:12px;
  }
  .preview-header {
    margin-bottom:16px;
  }
  .section {
    padding-top:70px;
    padding-bottom:65px;
  }
  .features-section {
    margin-top:48px;
  }
  .feature-grid,.pricing-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .feature-grid {
    margin-top:34px;
  }
  .feature-grid h3 {
    margin-top:18px;
  }
  .feature-detail {
    margin-top:14px;
  }
  .section-heading-row {
    display:block;
  }
  .section-heading-row>p {
    margin-top:16px;
  }
  .billing-selector {
    margin:20px 0 0 auto;
  }
  .pricing-grid {
    margin-top:30px;
  }
  .questions {
    grid-template-columns:1fr;
    gap:35px;
  }
  .compatibility {
    padding-block:50px;
  }
  .compatibility-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .site-footer {
    flex-wrap:wrap;
    gap:18px;
    padding-block:30px;
    min-height:120px;
  }
  .site-footer .brand img {
    width:118px;
  }
  .site-footer p {
    order:3;
    width:100%;
    font-size:10px;
  }
  .site-footer>a:last-child {
    margin-left:auto;
  }
  .faq-list summary {
    font-size:15px;
  }
}

@media(max-width:360px) {
  .preview-picker button {
    padding-inline:10px;
  }
  .pricing-card-enterprise .plan-heading {
    gap:10px;
  }
  .pricing-card-enterprise h3 {
    font-size:24px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    transition:none!important;
  }
}
