@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-cyrillic.woff2?v=e30bf6a6) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/unbounded-latin.woff2?v=22f9b928) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

.home-page .home-header {
  position: absolute;
  inset: 0 0 auto;
  background: rgb(255 255 255 / 88%);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}
.home-header .header-row {
  min-height: 59px;
  width: min(calc(100% - 40px), 1080px);
  gap: 16px;
}
.home-header .brand, .home-header .nav-links a {
  color: var(--ink);
}
.home-header .brand {
  font-size: 19px;
  gap: 7px;
}
.home-header .brand .capy-mascot {
  width: 34px;
  height: 28px;
}
.home-header .nav-links {
  flex: 1;
  margin: 0;
  gap: clamp(14px, 2vw, 26px);
}
.home-header .nav-links a {
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.home-header .header-cta {
  display: flex;
  flex: none;
  gap: 8px;
}
.home-page .home-header .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 13px;
}
.home-page .home-header .button-primary {
  color: white !important;
  background: var(--forest);
  border: 1px solid var(--forest);
}
.home-header .home-login {
  color: var(--forest);
  background: var(--surface);
  border: 1px solid #aebdcb;
}
.home-header .menu-toggle {
  background: var(--surface);
  border-color: var(--line);
  margin: 0;
  width: 42px;
  height: 42px;
  border-radius: 9px;
}
.home-header .menu-toggle span { background: var(--ink); }
.home-header #mobile-menu {
  top: calc(100% + 8px);
  inset-inline: 16px;
  width: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgb(19 37 52 / 14%);
}

.home-page .home-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 240px 0 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 93% 39%, rgb(156 179 255 / 20%), transparent 48%),
    radial-gradient(ellipse at 2% 75%, rgb(37 76 211 / 21%), transparent 50%),
    linear-gradient(170deg, var(--surface), var(--paper) 56%, var(--wash));
}
.home-mobile-break { display: none; }
.home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 810px;
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}
.home-hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #c3cfd9;
  border-radius: 99px;
  background: var(--surface);
  color: var(--forest);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
}
.home-hero-label::before {
  content: '';
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
}
.home-page .home-hero .hero-title {
  margin: 27px auto 0;
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 680;
  letter-spacing: -.038em;
  line-height: 1.02;
}
.home-page .home-hero .hero-lead {
  max-width: 580px;
  margin: 16px auto 0;
  color: #47596A;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.home-hero .actions {
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.home-page .home-hero .button {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: .9375rem;
  font-weight: 620;
}
.home-page .home-hero .button-primary {
  color: white !important;
  background: var(--forest);
  border: 1px solid var(--forest);
  box-shadow: 0 2px 5px rgb(37 76 211 / 16%);
}
.home-page .home-hero .button-secondary {
  color: var(--forest) !important;
  background: var(--surface);
  border-color: #aebdcb;
}
.home-page .home-hero .button:hover, .home-page .home-header .button:hover {
  filter: brightness(.93);
}
.home-hero .starter-credit {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}
.home-hero .fineprint {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.35;
}
.home-hero-preview {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 920px);
  margin: 72px auto 0;
  padding: 40px 40px 0;
  border: 1px solid #CED6DD;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: rgb(255 255 255 / 65%);
  box-shadow: 0 16px 43px rgb(28 47 62 / 12%);
}
.home-hero-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
}
.home-hero-tiles {
  position: absolute;
  z-index: 1;
  inset: 72px 0 auto;
  height: 660px;
  pointer-events: none;
}
.home-hero-tiles span {
  position: absolute;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 2px;
  width: 67px;
  height: 65px;
  color: var(--forest);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 7px 20px rgb(36 55 70 / 12%);
}
.home-hero-tiles span:nth-child(even) { color: var(--accent); }
.home-hero-tiles b { font-size: 22px; line-height: 1; }
.home-hero-tiles small { font-size: 9px; font-weight: 650; }
.home-hero-tiles span:nth-child(1) { left: 12%; top: 4%; rotate: -5deg; }
.home-hero-tiles span:nth-child(2) { left: 3%; top: 35%; rotate: -9deg; }
.home-hero-tiles span:nth-child(3) { left: 13%; top: 67%; rotate: -7deg; }
.home-hero-tiles span:nth-child(4) { right: 12%; top: 11%; rotate: 7deg; }
.home-hero-tiles span:nth-child(5) { right: 3%; top: 44%; rotate: 4deg; }
.home-hero-tiles span:nth-child(6) { right: 13%; top: 73%; rotate: 9deg; }

@media (max-width: 1050px) {
  .home-hero-tiles span:nth-child(3) { left: 6%; }
  .home-hero-tiles span:nth-child(6) { right: 6%; }
}
@media (min-width: 901px) {
  .home-header #mobile-menu { display: none; }
}
@media (901px <= width <= 1050px) {
  .home-header .header-row { gap: 10px; }
  .home-header .nav-links { gap: 11px; }
  .home-page .home-header .button { padding-inline: 8px; font-size: 12px; }
}
@media (max-width: 900px) {
  .home-header .header-row { min-height: 55px; width: calc(100% - 32px); gap: 6px; }
  .home-header .nav-links, .home-header .header-cta .button-primary { display: none; }
  .home-header .menu-toggle { display: inline-flex; margin-left: auto; border-color: transparent; background: transparent; }
  .home-header .header-cta { order: 1; margin: 0; }
  .home-header #mobile-menu:not([hidden]) {
    display: block;
    max-block-size: calc(100dvh - 66px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .home-header #mobile-menu a { min-block-size: 44px; }
  .home-page .home-hero { padding-top: 144px; }
  .home-mobile-break { display: initial; }
  .home-hero-copy { width: min(calc(100% - 32px), 580px); }
  .home-hero-label { width: 100%; min-height: 51px; padding-block: 8px; }
  .home-page .home-hero .hero-title {
    margin-top: 16px;
    font-size: clamp(1.875rem, 8.8vw, 2.75rem);
    line-height: 1.05;
  }
  .home-page .home-hero .hero-lead { margin-top: 14px; font-size: .9375rem; line-height: 1.55; }
  .home-hero .actions { flex-direction: column; gap: 10px; margin-top: 18px; }
  .home-page .home-hero .button { width: 100%; min-height: 52px; padding-block: 10px; }
  .home-hero .starter-credit { margin-top: 11px; font-size: .875rem; }
  .home-hero .fineprint { font-size: .75rem; }
  .home-hero-preview {
    width: min(100%, 580px);
    margin-top: 21px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .home-hero-preview img { border-radius: 0; }
  .home-hero-tiles { display: none; }
}
@media (forced-colors: active) {
  .home-hero-label, .home-hero .button, .home-header .button { border: 1px solid ButtonText; }
}

.home-hero-play {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 54%;
  display: grid;
  width: clamp(52px, 8vw, 78px);
  aspect-ratio: 1;
  place-items: center;
  translate: -50% -50%;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  color: #ffffff;
  background: var(--forest);
  box-shadow: 0 4px 16px rgb(19 37 52 / 24%);
}
.home-hero-play span {
  width: 0;
  height: 0;
  margin-inline-start: 3px;
  border-block: 10px solid transparent;
  border-inline-start: 16px solid currentColor;
}
.home-hero-play:hover { background: var(--forest-dark); }
.home-page :focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}
.home-hero-play:focus-visible, .home-demo-bar button:focus-visible {
  outline: 3px solid var(--sun-soft);
  outline-offset: 3px;
}
.home-demo-dialog {
  width: min(calc(100% - 28px), 920px);
  max-height: calc(100% - 28px);
  padding: 12px;
  border: 1px solid #455768;
  border-radius: 16px;
  color: #ffffff;
  background: var(--ink);
  overscroll-behavior: contain;
}
.home-demo-dialog::backdrop { background: rgb(19 37 52 / 78%); }
.home-demo-dialog video {
  display: block;
  width: 100%;
  max-height: 76svh;
  background: #152432;
  border-radius: 8px;
}
.home-demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.home-demo-bar h2 { margin: 0; font-size: 1rem; }
.home-demo-bar button {
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 9px;
  color: inherit;
  background: var(--forest);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Homepage editorial sections use the same water, sun and sage as the product. */
.home-page [hidden] { display: none !important; }
.home-page .section-workflow .feature-row { display: block; }
.home-page .section-workflow h3 { color: var(--forest); }
.home-page .section-connections {
  background-color: var(--surface);
  border-block: 1px solid var(--line);
}
.section-connections .triple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.section-connections .card { background: var(--surface); border-top: 3px solid var(--water-soft); }
.section-connections .card:nth-child(2) { border-top-color: var(--sun); }
.section-connections .card:nth-child(3) { border-top-color: #465869; }
.section-starter .cta-band {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(220px,.85fr);
  background: var(--forest);
}
.section-starter .cta-actions { align-content: center; justify-content: flex-start; }
.section-starter .cta-band p { color: var(--surface); }
.section-starter .fineprint { font-size: .875rem; }
.section-pilot .quad { gap: 0; border-block: 1px solid var(--line); }
.section-pilot .quad .card {
  border: 0;
  border-radius: 0;
  padding: 20px clamp(16px,2vw,26px);
  background: transparent;
}
.section-pilot .quad .card + .card { border-left: 1px solid var(--line); }
@media (min-width: 760px) {
  .section-pilot .quad { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 759px) {
  .section-pilot .quad { grid-template-columns: 1fr; }
  .section-pilot .quad .card { padding-inline: 0; }
  .section-pilot .quad .card + .card { border-left: 0; border-top: 1px solid var(--line); }
  .section-starter .cta-band { grid-template-columns: 1fr; gap: 18px; }
}
.home-page .home-hero-label {
  width: auto;
  min-height: 0;
  max-width: 100%;
}
.home-page .home-hero .hero-title { text-wrap: balance; }
.home-page .home-hero .hero-lead { max-width: 550px; }

.home-page .home-hero .hero-title {
  font-family: Unbounded, Onest, sans-serif;
  font-size: clamp(2.5rem, 4.25vw, 3.625rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.08;
}
.home-page .home-hero-play { color: white; }
.home-hero .fineprint { color: #3e5162; }
.home-page #examples .artifact-preview { overflow-x: auto; }
.home-page #examples .artifact-preview table { min-width: 410px; font-size: .8125rem; }
@media (max-width: 720px) {
  .home-page .home-hero .hero-title { font-size: clamp(1.55rem, 7.05vw, 2.75rem); }
}
