/* Homepage presentation. Product-preview tokens remain owned by the product. */
@font-face {
  font-family: "Dominir Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

:root:has(> .marketing-home) { background: #000; }

.marketing-home {
  --entry-ink: #f0efeb;
  --entry-secondary: #aaa9a5;
  --entry-line: #ffffff14;
  --entry-font: "Dominir Sans", system-ui, sans-serif;
  --entry-accent: #a8b8ac;
  --entry-surface: #000;
  background: var(--entry-surface);
}
.marketing-home :is(.landing-nav, .landing-hero, .button) {
  font-family: var(--entry-font);
  font-optical-sizing: auto;
  font-feature-settings: "liga" 1, "calt" 1;
}

/* Shared action hierarchy, including the closing invitation. */
.marketing-home .button {
  --radius: 10px;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 550;
  line-height: 20px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.marketing-home .button svg { flex: none; }
.marketing-home .button-primary {
  background: var(--entry-ink);
  color: #1b1b1a;
  border-color: #ffffff80;
  box-shadow: 0 1px 2px #0003, inset 0 1px 0 #ffffff40;
}
.marketing-home .button-primary:hover { background: #fff; border-color: #fff; }
.marketing-home .button-primary:active { background: #d9d8d4; box-shadow: none; }
.marketing-home .button-secondary {
  color: #dfdedb;
  background: #ffffff04;
  border-color: #ffffff24;
  box-shadow: inset 0 1px 0 #ffffff04;
}
.marketing-home .button-secondary:hover { background: #ffffff0b; border-color: #ffffff40; }
.marketing-home .button-secondary:active { background: #ffffff12; }
.marketing-home :is(.button, .nav-link, .mobile-navigation summary, .mobile-navigation-panel a):focus-visible {
  outline: 2px solid #b8cbdc;
  outline-offset: 4px;
}

.marketing-home .landing-nav { background: transparent; }
.marketing-home .landing-nav .site-header {
  min-height: 76px;
  gap: 56px;
  border-bottom: 1px solid var(--entry-line);
}
.marketing-home .landing-nav .wordmark { color: var(--entry-ink); gap: 8px; font-size: 21px; letter-spacing: -.8px; }
.marketing-home .landing-nav .site-header nav { flex: 1; justify-content: space-between; }
.marketing-home .landing-links { position: static; transform: none; gap: 28px; }
.marketing-home .nav-link { color: #afafad; font-size: 13px; font-weight: 450; }
.marketing-home .nav-link:hover { color: var(--entry-ink); }
.marketing-home .landing-account { gap: 18px; margin-left: auto; }
.marketing-home .landing-nav .button { min-height: 40px; padding: 9px 14px; font-size: 12px; line-height: 20px; }
.mobile-navigation { display: none; }

.stream-lens-definitions {
  position: absolute;
  pointer-events: none;
}
.landing-event-visual {
  --stream-exposure: radial-gradient(ellipse 47% 43% at 50% 49%, #0009 28%, #0005 64%, transparent 100%);
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 6px, #000 calc(100% - 6px), transparent);
}
.landing-event-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--stream-exposure);
}
.landing-event-stream {
  --stream-opacity: .58;
  --stream-font-size: 13.5px;
  --stream-row-height: 19px;
  --stream-gutter: 3px;
  --stream-end-fade: 23px;
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  mask-image: linear-gradient(transparent, #000 var(--stream-end-fade), #000 calc(100% - var(--stream-end-fade)), transparent);
}
.marketing-home .landing-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-block: clamp(56px, 6.2vw, 88px) clamp(48px, 5.4vw, 76px);
  text-align: center;
}
.marketing-home .landing-hero .hero-title {
  max-width: 880px;
}
.marketing-home .landing-hero :is(.hero-title, .hero-copy) {
  /* Leave the translated glyphs, button edges, and focus rings room to paint. */
  --hero-crt-bleed: 16px;
  --hero-scanline-origin: 0px;
  --hero-scanline-ink: #000000e6;
  box-sizing: content-box;
  padding: var(--hero-crt-bleed);
  margin: calc(-1 * var(--hero-crt-bleed));
  -webkit-mask-image: var(--hero-scanlines);
  mask-image: var(--hero-scanlines);
  --hero-scanlines: repeating-linear-gradient(
    to bottom,
    #000 var(--hero-scanline-origin) calc(var(--hero-scanline-origin) + 2px),
    var(--hero-scanline-ink) calc(var(--hero-scanline-origin) + 2px) calc(var(--hero-scanline-origin) + 3px)
  );
}
.marketing-home .landing-hero .eyebrow {
  justify-content: center;
  color: #b5bdb6;
  font-size: 13px;
  font-weight: 450;
  line-height: 20px;
  letter-spacing: .015em;
}
.marketing-home .landing-hero h1 {
  margin-top: 17px;
  font-size: clamp(45px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.055em;
  color: var(--entry-ink);
}
.marketing-home .landing-hero h1 > span { text-wrap: balance; }
.marketing-home .landing-hero h1 > span + span { color: var(--entry-accent); font-size: .86em; margin-top: 6px; }
.hero-lens-word { display: inline-block; }
.landing-hero [data-hero-lens] {
  --hero-fringe-offset: 0px;
  --hero-red-fringe: #f0584980;
  --hero-cyan-fringe: #39c7d673;
  text-shadow:
    var(--hero-fringe-offset) 0 var(--hero-red-fringe),
    calc(-1 * var(--hero-fringe-offset)) 0 var(--hero-cyan-fringe),
    0 0 .13em #f0efeb14;
}
.landing-hero [data-hero-lens]:not(.hero-lens-word) {
  --hero-red-fringe: #f0584959;
  --hero-cyan-fringe: #39c7d64d;
}
.landing-hero .hero-actions .button { position: relative; }
.landing-hero .hero-actions .button::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  corner-shape: inherit;
  pointer-events: none;
  box-shadow:
    var(--hero-fringe-offset) 0 #f0584936,
    calc(-1 * var(--hero-fringe-offset)) 0 #39c7d636;
}
.hero-phone-break { display: none; }
.hero-ai-logos {
  display: inline-grid;
  place-items: center;
  inline-size: .96em;
  block-size: .91em;
  vertical-align: -.105em;
  color-scheme: dark;
}
.hero-ai-logo {
  grid-area: 1 / 1;
  inline-size: .82em;
  block-size: .82em;
  object-fit: contain;
  opacity: 0;
}
.hero-ai-logo:first-child { opacity: 1; }
.hero-ai-logo-chatgpt { filter: brightness(0) invert(1); }
.hero-ai-logo-avatar { border-radius: .14em; }

@media (prefers-reduced-motion: no-preference) {
  .hero-ai-logo { animation: hero-ai-logo-cycle 10.4s cubic-bezier(.4, 0, .2, 1) infinite both; }
  .hero-ai-logo:nth-child(1) { animation-delay: -.55s; }
  .hero-ai-logo:nth-child(2) { animation-delay: 2.05s; }
  .hero-ai-logo:nth-child(3) { animation-delay: 4.65s; }
  .hero-ai-logo:nth-child(4) { animation-delay: 7.25s; }
}
@keyframes hero-ai-logo-cycle {
  0% { opacity: 0; transform: translateY(.22em) scale(.96); }
  4.5%, 24% { opacity: 1; transform: translateY(0) scale(1); }
  29.5%, 100% { opacity: 0; transform: translateY(-.22em) scale(.96); }
}
.marketing-home .landing-hero .hero-copy {
  max-width: 56ch;
  --hero-scanline-ink: #000000ed;
}
.marketing-home .landing-hero .intro {
  color: var(--entry-secondary);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.015em;
  max-width: none;
  text-wrap: pretty;
}
.marketing-home .landing-hero .intro > span { display: inline; }
.marketing-home .landing-hero .hero-actions { justify-content: center; gap: 12px; margin-top: 26px; }
.marketing-home .landing-showcase .product-shell {
  --radius: 18px;
  border-color: #ffffff24;
  border-top-color: #9aaa9e52;
  box-shadow: 0 0 0 5px #ffffff02, 0 24px 64px -32px #000c;
}
.marketing-home #product-preview {
  block-size: 700px;
}
.marketing-home #product-preview[data-theme="dark"] .workspace-sidebar {
  --nav-bg: var(--entry-surface);
}
.marketing-home #product-preview .product-native-shell {
  display: flex;
  block-size: 100%;
  min-block-size: 0;
  max-block-size: none;
}
.marketing-home #product-preview .product-viewport {
  min-block-size: 0;
  max-block-size: none;
}
@container product (max-width: 600px) {
  .marketing-home #product-preview .product-native-shell { flex-direction: column; }
  .marketing-home #product-preview .workspace-sidebar { flex: 0 0 auto; }
}

@media (max-width: 1000px) {
  .marketing-home .landing-nav .site-header { gap: 32px; }
  .marketing-home .landing-links { gap: 20px; }
  .marketing-home .landing-hero .intro { font-size: 16px; }
}
@media (max-width: 760px) {
  .marketing-home .landing-nav .site-header,
  .marketing-home .landing-hero,
  .marketing-home .landing-showcase { width: calc(100% - 40px); }
  .marketing-home .landing-nav .site-header { min-height: 68px; gap: 12px; }
  .marketing-home .landing-nav .site-header nav { justify-content: flex-end; }
  .marketing-home .landing-links,
  .marketing-home .landing-account .nav-signin { display: none; }
  .marketing-home .landing-account { gap: 8px; }
  .marketing-home .landing-nav .button { min-height: 44px; padding-inline: 12px; font-size: 13px; }
  .marketing-home .landing-nav .wordmark { font-size: 19px; gap: 6px; }
  .marketing-home .landing-nav .wordmark img { width: 23px; height: 23px; }
  .mobile-navigation { display: block; }
  .mobile-navigation summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    list-style: none;
    cursor: pointer;
    color: #c9c9c5;
    border-radius: 10px;
  }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .mobile-navigation summary:hover,
  .mobile-navigation[open] summary { background: #ffffff09; color: #fff; }
  .mobile-navigation-panel {
    --radius: 14px;
    position: absolute;
    z-index: 10;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px;
    background: #1c1c1c;
    border: 1px solid #ffffff1a;
    box-shadow: 0 12px 28px #0006;
  }
  .mobile-navigation-panel a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 14px; border-radius: 8px; }
  .mobile-navigation-panel a:hover { background: #ffffff08; }
}
@media (max-width: 850px) {
  .landing-event-visual {
    --stream-exposure: radial-gradient(ellipse 59% 40% at 50% 49%, #000a 26%, #0005 65%, transparent 100%);
  }
  .landing-event-stream {
    --stream-opacity: .48;
    --stream-speed: 2.5;
    --stream-font-size: 12px;
    --stream-row-height: 17px;
    --stream-end-fade: 18px;
    --stream-defocus: 1.15px;
    --focus-aperture: ellipse 59% 40% at 50% 49%;
  }
  .marketing-home .landing-hero {
    gap: 18px;
    padding-block: clamp(48px, 8vw, 64px) 52px;
  }
  .marketing-home .landing-hero h1 { font-size: clamp(39px, 7vw, 56px); line-height: 1.04; margin-top: 14px; }
  .marketing-home .landing-hero h1 > span + span { font-size: .82em; margin-top: 8px; }
  .marketing-home .landing-hero .eyebrow { font-size: 12px; letter-spacing: 0; }
  .marketing-home .landing-hero .intro { max-width: 42ch; font-size: 15px; line-height: 1.6; }
  .marketing-home .landing-hero .hero-actions { justify-content: center; margin-top: 24px; gap: 10px; }
  .marketing-home .landing-hero .button { padding-inline: 14px; font-size: 12px; }
}
@media (max-width: 640px) {
  .marketing-home { -webkit-text-size-adjust: 100%; }
  .marketing-home .landing-hero {
    gap: 16px;
    padding-block: 34px 30px;
  }
  .hero-phone-break { display: initial; }
  .marketing-home .landing-hero h1 { font-size: clamp(39px, 11.4vw, 53px); }
  .marketing-home .landing-hero :is(.hero-title, .hero-copy) {
    --hero-scanline-ink: #000000f0;
  }
  .marketing-home .landing-hero h1 > span + span { margin-top: 10px; }
  .marketing-home .landing-hero .eyebrow { font-size: 13px; }
  .marketing-home .landing-hero .intro { max-width: 35ch; font-size: 16px; line-height: 1.5; }
  .marketing-home .landing-hero .hero-actions { margin-top: 20px; }
  .marketing-home .landing-hero .button { gap: 8px; padding-inline: 12px; font-size: 14px; }

  .marketing-home #product-preview {
    min-block-size: 0;
    block-size: 510px;
    block-size: clamp(400px, 66svh, 510px);
  }
  .marketing-home #product-preview .product-native-shell .product-viewport > .workspace-page { min-block-size: 100%; }
  .marketing-home #product-preview .workspace-sidebar nav button { font-size: 13px; }
  .marketing-home #product-preview .workspace-page .product-page-title { font-size: 27px; }
  .marketing-home #product-preview .home-tabs button { font-size: 12px; }
  .marketing-home #product-preview .objective-card-main {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    column-gap: 8px;
  }
  .marketing-home #product-preview .objective-card-copy { min-width: 0; }
  .marketing-home #product-preview .objective-card h3 { font-size: 14px; }
  .marketing-home #product-preview .objective-status { font-size: 11px; }
  .marketing-home #product-preview .objective-card-result p { font-size: 12px; }
}
@media (max-width: 370px) {
  .landing-event-stream { --stream-font-size: 11.5px; }
  .marketing-home .landing-nav .site-header,
  .marketing-home .landing-hero,
  .marketing-home .landing-showcase { width: calc(100% - 32px); }
  .marketing-home .landing-nav .site-header { gap: 8px; }
  .marketing-home .landing-account { gap: 4px; }
  .marketing-home .landing-nav .button { padding-inline: 9px; font-size: 12px; }
}
@media (max-width: 355px) {
  .marketing-home .landing-hero .hero-actions { flex-direction: column; align-items: stretch; }
}
