/*
 * Chensi AI — Liquid glass homepage layer
 * Kept separate from the legacy homepage stylesheet so the visual system can
 * evolve without coupling the public landing page to workspace components.
 */

:root {
  --home-ink: #101b35;
  --home-muted: #56647d;
  --home-blue: #1769ff;
  --home-blue-dark: #0752d5;
  --home-teal: #1aa8b6;
  --home-coral: #8d6df4;
  --home-navy: #102b61;
  --home-line: rgba(73, 102, 156, 0.15);
  --home-surface: rgba(246, 249, 255, 0.68);
  --home-page: #eaf1ff;
  --home-white: #ffffff;
  --home-glass: rgba(255, 255, 255, 0.58);
  --home-glass-strong: rgba(255, 255, 255, 0.78);
  --home-glass-dark: rgba(10, 31, 71, 0.76);
  --home-glass-border: rgba(255, 255, 255, 0.78);
  --home-glass-line: rgba(73, 105, 166, 0.16);
  --home-shadow: 0 32px 80px rgba(37, 66, 122, 0.16);
  --home-shadow-soft: 0 16px 44px rgba(48, 77, 132, 0.11);
  --home-radius-sm: 12px;
  --home-radius-md: 18px;
  --home-radius-lg: 28px;
  --home-radius-xl: 38px;
  --home-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #eaf1ff;
}

body.home-page {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, #edf4ff 0%, #f7f9ff 42%, #eaf1fb 100%);
  font-feature-settings: "kern" 1, "tnum" 1;
}

.home-page::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0) 48%),
    linear-gradient(rgba(58, 95, 160, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 95, 160, 0.028) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  content: "";
  pointer-events: none;
}

.home-ambient {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.72;
}

.home-orb-one {
  top: -210px;
  right: -140px;
  width: min(48vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 32% 35%, rgba(93, 208, 255, 0.7), rgba(75, 110, 255, 0.23) 48%, transparent 72%);
}

.home-orb-two {
  top: 470px;
  left: -320px;
  width: min(58vw, 860px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 62% 50%, rgba(132, 102, 255, 0.28), rgba(59, 136, 255, 0.15) 45%, transparent 72%);
}

.home-orb-three {
  top: 2120px;
  right: -240px;
  width: min(56vw, 820px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 44% 42%, rgba(81, 219, 227, 0.33), rgba(48, 117, 255, 0.12) 52%, transparent 72%);
}

.home-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.home-header {
  top: 18px;
  padding-inline: 20px;
}

.home-nav-shell {
  width: min(1240px, 100%);
  min-height: 68px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(244, 249, 255, 0.54)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 18px 50px rgba(47, 76, 133, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(88, 121, 180, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  transition: min-height 220ms var(--home-ease), background 220ms ease, box-shadow 220ms ease;
}

.home-header.is-scrolled .home-nav-shell {
  min-height: 60px;
  background: rgba(248, 251, 255, 0.8);
  box-shadow: 0 12px 36px rgba(42, 69, 121, 0.16), inset 0 1px rgba(255, 255, 255, 0.95);
}

.home-brand {
  gap: 11px;
}

.home-brand-symbol {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  filter: drop-shadow(0 7px 15px rgba(27, 102, 224, .2));
}

.home-footer-brand .home-brand-symbol { width: 38px; height: 38px; flex-basis: 38px; }

.home-brand-mark {
  position: relative;
  overflow: hidden;
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-color: rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(145deg, #2b7bff 0%, #0755da 58%, #553bd5 122%);
  box-shadow:
    0 9px 22px rgba(18, 91, 225, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -8px 14px rgba(13, 47, 135, 0.18);
  font-size: 15px;
}

.home-brand-mark::after {
  position: absolute;
  top: -30%;
  left: -70%;
  width: 42%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  content: "";
  transform: rotate(22deg);
}

.home-brand:hover .home-brand-mark::after {
  animation: home-logo-sheen 680ms var(--home-ease);
}

@keyframes home-logo-sheen {
  to { left: 135%; }
}

.home-brand-copy strong {
  color: #13213b;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.home-brand-copy small {
  color: #71809a;
  font-size: 8px;
  letter-spacing: 0.09em;
}

.home-nav-links {
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(91, 119, 169, 0.09);
  border-radius: 14px;
  background: rgba(225, 234, 249, 0.34);
}

.home-nav-links a,
.home-login-link {
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 11px;
  color: #5c6a82;
  font-size: 12px;
  line-height: 38px;
}

.home-nav-links a:hover,
.home-nav-links a.is-active,
.home-login-link:hover {
  color: #142543;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 12px rgba(49, 76, 126, 0.08), inset 0 1px rgba(255, 255, 255, 0.92);
}

.home-button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  gap: 10px;
  padding-inline: 20px;
  border-radius: 14px;
  font-size: 13px;
  transition:
    transform 160ms var(--home-ease),
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.23) 44%, transparent 65%);
  content: "";
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 180ms ease, transform 500ms var(--home-ease);
}

.home-button:hover::before {
  opacity: 1;
  transform: translateX(65%);
}

.home-button-primary {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 18% 0, rgba(115, 202, 255, 0.6), transparent 38%),
    linear-gradient(135deg, #1978ff, #0757de 72%, #4038c9 130%);
  box-shadow:
    0 13px 28px rgba(24, 101, 231, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px rgba(8, 52, 150, 0.32);
}

.home-button-primary:hover {
  background:
    radial-gradient(circle at 18% 0, rgba(133, 215, 255, 0.7), transparent 42%),
    linear-gradient(135deg, #2681ff, #0757de 72%, #4038c9 130%);
  box-shadow: 0 17px 36px rgba(24, 101, 231, 0.34), inset 0 1px rgba(255, 255, 255, 0.46);
}

.home-button-secondary {
  border-color: rgba(96, 124, 178, 0.18);
  color: #1e2c47;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 22px rgba(44, 72, 127, 0.08), inset 0 1px rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}

.home-button-secondary:hover {
  border-color: rgba(40, 103, 226, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.home-nav-cta {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 13px;
  font-size: 12px;
}

.home-hero {
  height: auto;
  min-height: 1130px;
  max-height: none;
  overflow: hidden;
  border-bottom: 0;
  background: transparent;
}

.home-hero-overlay {
  background:
    radial-gradient(ellipse 65% 42% at 50% 10%, rgba(255, 255, 255, 0.96), transparent),
    linear-gradient(180deg, rgba(233, 242, 255, 0.08), rgba(237, 244, 255, 0.8) 94%, #f6f9ff 100%);
}

.home-hero-inner {
  width: min(1280px, calc(100% - 64px));
  height: auto;
  min-height: 1130px;
  padding-top: 152px;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(850px, 100%);
  margin-inline: auto;
  padding-top: 0;
  text-align: center;
}

.home-availability {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #3a5b87;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 24px rgba(43, 81, 140, 0.08), inset 0 1px rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 680;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.home-availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27b9a7;
  box-shadow: 0 0 0 4px rgba(39, 185, 167, 0.13), 0 0 18px rgba(39, 185, 167, 0.48);
}

.home-kicker {
  margin-bottom: 15px;
  color: #336ec9;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

.home-hero h1 {
  background: linear-gradient(105deg, #101c36 8%, #101c36 50%, #1769ee 72%, #6851e6 105%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(58px, 6.8vw, 92px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.56);
}

.home-hero-lead {
  max-width: 820px;
  margin: 25px auto 0;
  color: #182b4c;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 690;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.home-hero-description {
  max-width: 680px;
  margin: 18px auto 0;
  color: #586983;
  font-size: 15px;
  line-height: 1.8;
}

.home-hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.home-proof-list {
  width: fit-content;
  margin: 34px auto 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home-proof-list li {
  min-height: 28px;
  padding: 0 18px;
  border-left-color: rgba(73, 102, 156, 0.16);
}

.home-proof-list strong {
  color: #1769e8;
  font-size: 10px;
}

.home-proof-list span {
  color: #53637c;
  font-size: 11px;
}

.home-preview-scene {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 24px));
  margin: 66px auto 0;
  perspective: 1600px;
}

.home-preview-aura {
  position: absolute;
  z-index: -1;
  top: -20%;
  left: 50%;
  width: 80%;
  height: 105%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(61, 137, 255, 0.27), rgba(113, 89, 230, 0.11) 48%, transparent 72%);
  filter: blur(30px);
  transform: translateX(-50%);
}

.home-product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 52px 100px rgba(36, 64, 116, 0.22),
    0 12px 36px rgba(35, 83, 166, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.96);
  transform: rotateX(2deg);
  transform-origin: center top;
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  backdrop-filter: blur(20px) saturate(155%);
}

.home-window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 48px;
  align-items: center;
  padding-inline: 17px;
  border-bottom: 1px solid rgba(80, 106, 158, 0.12);
  color: #6b7990;
  background: rgba(250, 252, 255, 0.66);
  font-size: 10px;
}

.home-window-bar > span {
  font-weight: 680;
}

.home-window-bar > b {
  justify-self: end;
  color: #31927e;
  font-size: 9px;
  font-weight: 700;
}

.home-window-bar > b::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #33b498;
  box-shadow: 0 0 0 3px rgba(51, 180, 152, 0.12);
  content: "";
  vertical-align: 1px;
}

.home-window-dots {
  display: flex;
  gap: 6px;
}

.home-window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7c7de;
}

.home-window-dots i:nth-child(1) { background: #ff9c99; }
.home-window-dots i:nth-child(2) { background: #f3c66b; }
.home-window-dots i:nth-child(3) { background: #6dd3b4; }

.home-window-media {
  position: relative;
  /* The preview asset is a 16:10 workspace capture. Keep the frame in the
     same ratio so the sidebar and lower workflow rows are not cropped. */
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf3fb;
}

.home-window-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-window-sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.26), transparent 24%, transparent 65%, rgba(125, 172, 255, 0.09)),
    linear-gradient(180deg, transparent 75%, rgba(15, 38, 82, 0.05));
  pointer-events: none;
}

.home-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 18px;
  background: rgba(250, 253, 255, 0.68);
  box-shadow: 0 18px 42px rgba(31, 64, 123, 0.18), inset 0 1px rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}

.home-floating-card div {
  display: grid;
  gap: 3px;
}

.home-floating-card small {
  color: #71819a;
  font-size: 9px;
}

.home-floating-card strong {
  color: #192b48;
  font-size: 12px;
  white-space: nowrap;
}

.home-floating-task {
  top: 17%;
  right: -42px;
}

.home-floating-task > b {
  margin-left: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #16745f;
  background: rgba(49, 193, 155, 0.14);
  font-size: 9px;
}

.home-floating-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #4e94ff, #5546dc);
  box-shadow: 0 8px 18px rgba(50, 91, 211, 0.24), inset 0 1px rgba(255, 255, 255, 0.4);
}

.home-floating-assets {
  bottom: 10%;
  left: -38px;
}

.home-assets-stack {
  position: relative;
  width: 48px;
  height: 40px;
}

.home-assets-stack i {
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  background: linear-gradient(145deg, #8bd4ee, #376ddd);
  box-shadow: 0 5px 12px rgba(29, 71, 150, 0.14);
}

.home-assets-stack i:nth-child(1) { left: 0; transform: rotate(-8deg); }
.home-assets-stack i:nth-child(2) { left: 9px; background: linear-gradient(145deg, #b39af7, #5d52d9); transform: rotate(1deg); }
.home-assets-stack i:nth-child(3) { left: 18px; background: linear-gradient(145deg, #79decd, #2d89a8); transform: rotate(8deg); }

.home-product-caption {
  right: 8px;
  bottom: -31px;
  color: #718099;
  font-size: 8px;
  letter-spacing: 0.09em;
}

.home-product-caption span {
  background: linear-gradient(90deg, transparent, #4d82d8);
}

.home-section {
  position: relative;
  background: transparent;
}

.home-section-inner {
  width: min(1180px, calc(100% - 64px));
}

.home-capabilities {
  overflow: hidden;
  padding: 128px 0 136px;
  background:
    radial-gradient(circle at 15% 30%, rgba(86, 150, 255, 0.09), transparent 32%),
    linear-gradient(180deg, #f6f9ff 0%, rgba(249, 251, 255, 0.8) 100%);
}

.home-capabilities::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 125, 180, 0.22), transparent);
  content: "";
}

.home-section-heading {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: 84px;
}

.home-section-heading h2,
.home-teams h2,
.home-final-cta h2,
.home-workflow h2 {
  color: #13203b;
  font-size: clamp(32px, 3.2vw, 45px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.home-section-heading > p,
.home-teams-copy > p:not(.home-kicker),
.home-final-cta p:not(.home-kicker),
.home-workflow-heading > p:last-child {
  color: #62708a;
  font-size: 14px;
  line-height: 1.85;
}

.home-capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
  border: 0;
}

.home-capability-item,
.home-capability-item:first-child,
.home-capability-item:nth-child(2),
.home-capability-item:nth-child(3) {
  min-height: 300px;
  overflow: hidden;
  padding: 26px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(101, 166, 255, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 17px 42px rgba(48, 75, 127, 0.09), inset 0 1px rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform 220ms var(--home-ease), box-shadow 220ms ease, border-color 220ms ease;
}

.home-capability-item::before {
  position: absolute;
  top: 0;
  right: 22%;
  left: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(48, 120, 255, 0.74), transparent);
  content: "";
}

.home-capability-item::after {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 146, 255, 0.12), transparent 68%);
  content: "";
  transition: transform 320ms var(--home-ease);
}

.home-capability-item:hover {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 60px rgba(47, 76, 130, 0.15), inset 0 1px rgba(255, 255, 255, 0.98);
  transform: translateY(-5px);
}

.home-capability-item:hover::after {
  transform: scale(1.22) translate(-10px, 8px);
}

.home-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  color: #1769e8;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(209, 228, 255, 0.66));
  box-shadow: 0 10px 24px rgba(40, 96, 187, 0.13), inset 0 1px white;
  font-size: 13px;
  font-weight: 760;
}

/* Homepage capability marks are intentionally separate from the workspace
   sidebar icon set. The compact Chinese glyphs keep the original homepage
   visual language while remaining crisp at every scale. */
.home-feature-icon::before {
  content: attr(data-icon);
  display: block;
  line-height: 1;
  transform: translateY(-.02em);
}

.home-feature-number {
  color: rgba(40, 83, 151, 0.42);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.home-capability-item h3 {
  margin: 34px 0 12px;
  color: #172641;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.home-capability-item p {
  max-width: 440px;
  color: #62718a;
  font-size: 13px;
  line-height: 1.82;
}

.home-capability-item a {
  right: 28px;
  bottom: 27px;
  left: 28px;
  align-items: center;
  color: #1769e8;
  font-size: 12px;
}

.home-capability-item a span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 107, 230, 0.09);
  transition: transform 180ms var(--home-ease), background 180ms ease;
}

.home-capability-item:hover a span {
  background: rgba(37, 107, 230, 0.15);
  transform: translateX(3px);
}

.home-accent-teal::before { background: linear-gradient(90deg, transparent, rgba(26, 168, 182, 0.7), transparent); }
.home-accent-teal .home-feature-icon { color: #167f8e; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(204,241,242,.7)); }
.home-accent-teal .home-feature-number,
.home-accent-teal a { color: #167f8e; }
.home-accent-coral::before { background: linear-gradient(90deg, transparent, rgba(141, 109, 244, 0.7), transparent); }
.home-accent-coral .home-feature-icon { color: #7352dd; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(229,220,255,.72)); }
.home-accent-coral .home-feature-number,
.home-accent-coral a { color: #7352dd; }
.home-accent-navy::before { background: linear-gradient(90deg, transparent, rgba(29, 75, 154, 0.68), transparent); }
.home-accent-navy .home-feature-icon { color: #254f98; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(211,226,251,.72)); }
.home-accent-navy .home-feature-number,
.home-accent-navy a { color: #254f98; }

.home-workflow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 116px 0 108px;
  background:
    radial-gradient(circle at 84% 3%, rgba(65, 155, 255, 0.32), transparent 32%),
    radial-gradient(circle at 4% 100%, rgba(100, 74, 226, 0.22), transparent 35%),
    linear-gradient(135deg, #0d2148 0%, #102d62 52%, #0a204d 100%);
}

.home-workflow::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(182, 210, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 210, 255, 0.035) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.home-workflow .home-kicker { color: #8dc5ff; }
.home-workflow h2 { max-width: 680px; color: #fff; }
.home-workflow-heading > p:last-child { color: #b6c5dc; }

.home-workflow-steps {
  position: relative;
  gap: 10px;
  margin: 64px 0 32px;
  border: 0;
}

.home-workflow-steps::before {
  position: absolute;
  top: 26px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(94, 165, 255, 0.2), rgba(113, 187, 255, 0.74), rgba(94, 165, 255, 0.2));
  content: "";
}

.home-workflow-steps li,
.home-workflow-steps li:last-child,
.home-workflow-steps li:not(:first-child):not(:last-child) {
  min-height: 184px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--home-ease);
}

.home-workflow-steps li:hover {
  border-color: rgba(143, 198, 255, 0.25);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-3px);
}

.home-workflow-steps span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 35px;
  place-items: center;
  border: 1px solid rgba(163, 207, 255, 0.35);
  border-radius: 50%;
  color: #c9e4ff;
  background: rgba(21, 65, 127, 0.76);
  box-shadow: 0 0 0 5px rgba(16, 45, 98, 0.86), 0 0 24px rgba(82, 166, 255, 0.25);
  font-size: 9px;
}

.home-workflow-steps strong {
  color: #f4f8ff;
  font-size: 14px;
  font-weight: 680;
}

.home-workflow-steps small {
  color: #9eafca;
  font-size: 11px;
  line-height: 1.6;
}

.home-workflow-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-workflow-action p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #9eb1cd;
  font-size: 11px;
}

.home-workflow-action p span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69c8db;
  box-shadow: 0 0 0 5px rgba(105, 200, 219, 0.1), 0 0 18px rgba(105, 200, 219, 0.35);
}

.home-button-light {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #163464;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 12, 40, 0.25), inset 0 1px white;
}

.home-teams {
  overflow: hidden;
  padding: 132px 0;
  background:
    radial-gradient(circle at 82% 45%, rgba(69, 139, 255, 0.11), transparent 34%),
    linear-gradient(180deg, #f4f8ff, #edf3fd);
}

.home-teams-layout {
  grid-template-columns: minmax(0, 0.83fr) minmax(500px, 1.17fr);
  gap: 100px;
}

.home-teams-copy {
  position: sticky;
  top: 130px;
}

.home-teams-copy > p:not(.home-kicker) {
  margin: 22px 0 30px;
}

.home-team-features {
  display: grid;
  gap: 12px;
  border: 0;
}

.home-team-features article {
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 23px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(45, 75, 132, 0.07), inset 0 1px rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.home-team-features article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #2767cf;
  background: rgba(55, 123, 235, 0.09);
}

.home-team-features h3 {
  color: #1a2a46;
  font-size: 15px;
  font-weight: 690;
}

.home-team-features p {
  color: #697891;
  line-height: 1.75;
}

.home-team-status {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 21px;
  background:
    radial-gradient(circle at 10% 0, rgba(113, 188, 255, 0.19), transparent 36%),
    rgba(245, 250, 255, 0.7);
  box-shadow: 0 20px 48px rgba(42, 75, 137, 0.12), inset 0 1px white;
}

.home-team-avatars {
  display: flex;
  padding-left: 8px;
}

.home-team-avatars i {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid rgba(250, 253, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #7ea7ee, #3566be);
  box-shadow: 0 5px 12px rgba(40, 75, 140, 0.16);
  font-size: 9px;
  font-style: normal;
}

.home-team-avatars i:nth-child(2) { background: linear-gradient(145deg, #65cfc1, #278396); }
.home-team-avatars i:nth-child(3) { background: linear-gradient(145deg, #a997ee, #6651c2); }
.home-team-avatars i:nth-child(4) { color: #53647e; background: #e5edf9; }

.home-team-status > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.home-team-status strong { color: #1a2c49; font-size: 12px; }
.home-team-status small { color: #74829a; font-size: 9px; }
.home-team-status > span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #17806b;
  background: rgba(44, 184, 150, 0.12);
  font-size: 9px;
  font-weight: 720;
}

.home-final-cta {
  position: relative;
  overflow: hidden;
  padding: 118px 0 124px;
  background:
    radial-gradient(circle at 50% 115%, rgba(49, 125, 255, 0.25), transparent 44%),
    radial-gradient(circle at 12% 10%, rgba(140, 102, 241, 0.12), transparent 30%),
    linear-gradient(180deg, #edf3fd, #e7effc);
}

.home-final-cta .home-section-inner {
  position: relative;
  z-index: 1;
}

.home-final-cta h2 {
  max-width: 780px;
  font-size: clamp(35px, 4vw, 52px);
}

.home-final-cta p:not(.home-kicker) {
  margin: 18px 0 28px;
}

.home-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(84, 112, 163, 0.12);
  background: rgba(239, 245, 254, 0.82);
}

.home-footer .home-brand-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 12px;
}

.home-footer-links {
  color: #6b7890;
}

.home-footer-links a {
  transition: color 160ms ease;
}

@media (max-width: 1240px) {
  .home-floating-task { right: -8px; }
  .home-floating-assets { left: -8px; }
}

@media (max-width: 1040px) {
  .home-nav-shell { grid-template-columns: 1fr auto; }
  .home-nav-links { display: none; }
  .home-hero { min-height: 1010px; }
  .home-hero-inner { min-height: 1010px; }
  .home-floating-card { transform: scale(0.9); }
  .home-teams-layout { grid-template-columns: minmax(0, .85fr) minmax(430px, 1.15fr); gap: 54px; }
  .home-workflow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-workflow-steps::before { display: none; }
}

@media (max-width: 780px) {
  .home-header { top: 9px; padding-inline: 9px; }
  .home-nav-shell { min-height: 58px; padding: 7px 8px 7px 10px; border-radius: 18px; }
  .home-brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; }
  .home-brand-copy strong { font-size: 14px; }
  .home-brand-copy small { display: none; }
  .home-brand-symbol { width: 38px; height: 38px; flex-basis: 38px; }
  .home-login-link { display: none; }
  .home-nav-cta { min-height: 40px; }
  .home-hero { min-height: 780px; }
  .home-hero-inner { width: min(100% - 28px, 1280px); min-height: 780px; padding-top: 112px; }
  .home-availability { margin-bottom: 15px; }
  .home-kicker { margin-bottom: 12px; font-size: 9px; }
  .home-hero h1 { font-size: clamp(50px, 18vw, 70px); }
  .home-hero-lead { max-width: 580px; margin-top: 18px; font-size: clamp(22px, 7vw, 29px); }
  .home-hero-description { max-width: 560px; margin-top: 13px; font-size: 13px; line-height: 1.7; }
  .home-hero-actions { display: flex; margin-top: 22px; }
  .home-hero-actions .home-button { min-width: 0; }
  .home-proof-list { margin-top: 24px; }
  .home-proof-list li { padding-inline: 10px; }
  .home-preview-scene { width: calc(100% + 120px); margin-top: 47px; margin-left: -60px; }
  .home-product-window { border-radius: 19px; transform: rotateX(1deg); }
  .home-window-bar { min-height: 37px; padding-inline: 12px; }
  .home-window-media { aspect-ratio: 16 / 9.2; }
  .home-window-media img { object-position: top center; }
  .home-floating-card { display: none; }
  .home-product-caption { display: none; }
  .home-section-inner { width: min(100% - 32px, 1180px); }
  .home-capabilities { padding: 90px 0 96px; }
  .home-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .home-section-heading h2,
  .home-teams h2,
  .home-workflow h2 { font-size: 32px; }
  .home-capability-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 38px; }
  .home-capability-item,
  .home-capability-item:first-child,
  .home-capability-item:nth-child(2),
  .home-capability-item:nth-child(3) { min-height: 260px; padding: 22px; border-radius: 21px; }
  .home-capability-item a { right: 22px; bottom: 22px; left: 22px; }
  .home-capability-item h3 { margin-top: 25px; }
  .home-workflow { padding: 88px 0 84px; }
  .home-workflow-steps { grid-template-columns: 1fr; gap: 9px; margin: 42px 0 30px; }
  .home-workflow-steps li,
  .home-workflow-steps li:last-child,
  .home-workflow-steps li:not(:first-child):not(:last-child) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    column-gap: 13px;
    padding: 15px;
  }
  .home-workflow-steps span { grid-row: 1 / 3; margin: 0; }
  .home-workflow-steps strong { align-self: end; }
  .home-workflow-steps small { margin-top: 2px; }
  .home-workflow-action { align-items: stretch; flex-direction: column; }
  .home-workflow-action .home-button { align-self: flex-start; }
  .home-teams { padding: 90px 0 96px; }
  .home-teams-layout { grid-template-columns: 1fr; gap: 42px; }
  .home-teams-copy { position: static; }
  .home-team-features article { padding: 18px; }
  .home-final-cta { padding: 92px 0 100px; }
  .home-footer .home-section-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .home-brand-symbol { width: 36px; height: 36px; flex-basis: 36px; }
}

@media (max-width: 480px) {
  .home-nav-cta-label { display: none; }
  .home-nav-cta { width: 40px; padding: 0; }
  .home-hero { min-height: 745px; }
  .home-hero-inner { min-height: 745px; padding-top: 102px; }
  .home-availability { min-height: 28px; margin-bottom: 12px; font-size: 10px; }
  .home-hero h1 { font-size: 52px; }
  .home-hero-lead { font-size: 23px; }
  .home-hero-description { font-size: 12px; }
  .home-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .home-hero-actions .home-button { min-height: 46px; padding-inline: 9px; font-size: 12px; }
  .home-proof-list { width: 100%; justify-content: center; padding: 6px; }
  .home-proof-list li { padding-inline: 7px; }
  .home-proof-list span { font-size: 9px; }
  .home-preview-scene { width: calc(100% + 150px); margin-top: 38px; margin-left: -75px; }
  .home-window-bar > span { font-size: 8px; }
  .home-window-bar > b { display: none; }
  .home-window-bar { grid-template-columns: 1fr auto; }
  .home-section-heading h2,
  .home-teams h2,
  .home-workflow h2 { font-size: 29px; }
  .home-team-features article { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .home-team-features article > span { width: 32px; height: 32px; }
  .home-team-status { grid-template-columns: auto 1fr; padding: 16px; }
  .home-team-status > span { display: none; }
  .home-team-avatars i { width: 29px; height: 29px; }
  .home-final-cta h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-brand:hover .home-brand-mark::after { animation: none; }
  .home-capability-item,
  .home-capability-item::after,
  .home-workflow-steps li,
  .home-button,
  .home-button::before { transition: none; }
  .home-capability-item:hover,
  .home-workflow-steps li:hover,
  .home-button:hover,
  .home-button:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .home-nav-shell,
  .home-proof-list,
  .home-product-window,
  .home-floating-card,
  .home-capability-item,
  .home-workflow-steps li,
  .home-team-features article,
  .home-button-secondary {
    background-color: #f7faff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .home-workflow-steps li { background-color: #193766; }
}

@media (prefers-contrast: more) {
  .home-nav-shell,
  .home-capability-item,
  .home-team-features article,
  .home-team-status,
  .home-button-secondary { border-color: #61769a; }
  .home-hero-description,
  .home-section-heading > p,
  .home-capability-item p,
  .home-team-features p { color: #354562; }
}
