/* Homepage opening section. Product screens are captured from the actual web app.
   Keep these display sizes local: application and lower-page styles are separate. */
.site-header .brand { font-size: 24px; letter-spacing: -.035em; }
.site-header .nav-menu > summary { font-size: 15px; padding-inline: 8px; }
.site-header .nav-actions { font-size: 15px; }
.site-header .nav-actions .btn { font-size: 14px; min-height: 44px; }
.site-header .menu-links strong { font-size: 17px; }
.site-header .menu-links small { font-size: 15px; }

.hero {
  width: min(1320px, calc(100% - 64px));
  padding-block: 58px 48px;
}
.hero h1 {
  max-width: 1200px;
  font-size: clamp(44px, 6.1vw, 88px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: -.04em;
  margin-bottom: 28px;
}
.hero-sub {
  max-width: 900px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.5;
}
.hero-audience { max-width: 900px; margin-top: 12px; font-size: 18px; line-height: 1.6; }
.hero-cta { gap: 16px; margin-block: 28px 16px; }
.hero-cta .btn { min-width: 180px; min-height: 56px; padding: 14px 28px; font-size: 18px; font-weight: 650; }
.hero-cta .btn-ghost { border-color: var(--text-mid); }
.hero-trial { font-size: 16px; line-height: 1.6; }
.connection-line { gap: 14px 24px; margin-top: 36px; font-size: 18px; }
.connection-line strong { color: var(--text-hi); font-size: 20px; font-weight: 600; }
.connection-line a { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.hero-guardrail { max-width: 1040px; margin-top: 22px; font-size: 16px; line-height: 1.65; }
.hero .link-arrow, .nav-mobile-connect .link-arrow { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; }

/* Native dashboard component captures use authorized illustrative records.
   Device geometry stays in CSS; the floating assistant is hidden only for capture. */
.product-device-showcase { margin: 48px 0 0; }
.product-device-stage { position: relative; display: grid; align-items: end; min-height: 620px; margin: 0 auto; padding: 0 248px 80px 30px; text-align: left; }
.product-laptop { position: relative; padding: 23px 12px 18px; border: 2px solid #68707d; border-radius: 22px 22px 7px 7px; background: #202630; box-shadow: 0 24px 56px -24px rgb(0 0 0 / .55); }
.product-laptop::before { content: ""; position: absolute; width: 6px; height: 6px; border: 1px solid #46566d; border-radius: 50%; top: 8px; left: calc(50% - 3px); background: #090e16; }
.product-laptop-base { position: absolute; left: -30px; right: -30px; bottom: -45px; height: 44px; border: 1px solid #707986; border-bottom: 6px solid #606976; border-radius: 3px 3px 24px 24px; background: linear-gradient(#c8cdd4, #939da9); box-shadow: 0 18px 26px -16px rgb(0 0 0 / .7); }
.product-laptop-base::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 6px; border-radius: 0 0 6px 6px; background: #454d58; }
.product-laptop-base::after { content: ""; position: absolute; left: 40%; right: 40%; top: 10px; height: 19px; border: 1px solid #7d8793; border-radius: 2px 2px 6px 6px; background: #b6bdc7; }
.product-laptop-screen { overflow: hidden; border-radius: 6px; background: var(--bg-0); }
.product-laptop-screen img, .product-phone-screen img { display: block; width: 100%; height: auto; }
.product-phone { position: absolute; right: 0; bottom: 35px; width: 236px; padding: 31px 7px 25px; border: 2px solid #828995; border-radius: 37px; background: #202630; box-shadow: 0 18px 36px -14px rgb(0 0 0 / .65); }
.product-phone::before { content: ""; position: absolute; top: 13px; left: calc(50% - 22px); width: 44px; height: 5px; border-radius: 5px; background: #080d14; }
.product-phone::after { content: ""; position: absolute; bottom: 10px; left: 36%; right: 36%; height: 4px; border-radius: 4px; background: #abb4bf; }
.product-phone-camera { position: absolute; top: 11px; left: calc(50% + 34px); width: 8px; height: 8px; border: 1px solid #52657c; border-radius: 50%; background: #080d14; }
.product-phone-buttons { position: absolute; right: -5px; top: 82px; width: 3px; height: 43px; border-radius: 0 2px 2px 0; background: #87929f; }
.product-phone-screen { overflow: hidden; border-radius: 14px; background: var(--bg-0); }
picture[data-dashboard-capture] { display: block; }
html[data-capture-script] picture[data-dashboard-capture]:not([data-capture-ready]) { visibility: hidden; }
.product-device-caption { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 20px 0 0; font-size: 16px; color: var(--text-mid); line-height: 1.5; }
.product-device-caption a { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.product-device-caption a:hover { color: var(--link-hover); }
.product-device-caption a:focus-visible { border-radius: 3px; }

@media (max-width: 1240px) and (min-width: 1181px) {
  .site-header .brand { font-size: 21px; }
  .site-header .nav-inner { gap: 12px; padding-inline: 20px; }
  .site-header .nav-menu > summary { font-size: 14px; padding-inline: 5px; }
  .site-header .nav-actions { gap: 10px; }
}
@media (max-width: 800px) {
  .hero { width: calc(100% - 40px); padding-top: 48px; }
  .hero h1 { font-size: clamp(42px, 7.5vw, 64px); }
  .hero-sub { font-size: 20px; }
  .hero-audience { font-size: 18px; }
  .product-device-showcase { margin-top: 36px; }
  .product-device-stage { min-height: 460px; padding-right: 192px; padding-left: 18px; padding-bottom: 64px; }
  .product-laptop { padding: 18px 7px 12px; border-radius: 15px 15px 6px 6px; }
  .product-laptop::before { top: 5px; }
  .product-laptop-base { left: -18px; right: -18px; bottom: -33px; height: 32px; border-bottom-width: 4px; border-radius: 2px 2px 17px 17px; }
  .product-laptop-base::after { top: 9px; height: 13px; }
  .product-phone { width: 180px; padding: 28px 5px 23px; border-radius: 28px; }
  .product-phone-screen { border-radius: 11px; }
  .product-device-caption { flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
}
@media (min-width: 561px) and (max-width: 1100px) {
  .product-device-stage { min-height: 0; padding-right: calc(22% + 18px); }
  .product-phone { width: 22%; padding: 24px 5px 20px; border-radius: 28px; }
}
@media (max-width: 560px) {
  .site-header .brand { font-size: 20px; }
  .site-header .nav-actions .sign-in { font-size: 15px; }
  .hero { width: calc(100% - 32px); padding-block: 40px 44px; }
  .hero h1 { font-size: clamp(40px, 10vw, 52px); line-height: 1.1; margin-bottom: 24px; }
  .hero-sub { font-size: 20px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; min-width: 0; }
  .connection-line { gap: 14px 20px; }
  .connection-line > span, .connection-line > a { flex-basis: 100%; }
  .hero-guardrail { text-align: left; }
  .product-device-stage { display: block; min-height: 0; padding: 0 0 20px; }
  .product-laptop { display: none; }
  .product-phone { position: relative; width: min(calc(100% - 8px), 360px); right: auto; bottom: auto; margin-inline: auto; padding: 32px 7px 26px; border-radius: 36px; }
  .product-phone-screen { border-radius: 14px; }
  .product-device-caption { flex-direction: column; }
}
