/* Marketing homepage only. Console, API and browser tool styles remain unchanged. */
.marketing-home { background: #fff; color: #15213a; }
.marketing-home .site-shell { width: 100%; max-width: 1360px; padding-inline: 40px; }
.marketing-home .glass-nav { background: #fff; border-bottom: 1px solid #edf0f6; }
.home-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 90% 12%, #234098 0, transparent 48%), radial-gradient(ellipse at 30% 100%, #201e58 0, transparent 55%), #0a142b; }
.home-hero::after { content: ''; position: absolute; width: 680px; height: 680px; border: 1px solid #ffffff0c; border-radius: 50%; right: -230px; top: -220px; pointer-events: none; }
.home-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; padding-block: 106px 116px; }
.home-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .13em; color: #385de0; }
.home-hero .home-kicker { color: #a3b9ff; }
.home-hero h1 { margin: 27px 0 26px; font-size: clamp(46px,4.8vw,70px); line-height: 1.19; font-weight: 750; letter-spacing: -.045em; }
.home-hero h1 span { display: block; color: #9bbaff; }
.home-hero-copy > p { max-width: 550px; font-size: 17px; line-height: 1.95; color: #bdc8df; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.home-actions .primary-btn { gap: 16px; padding: 16px 24px; border-radius: 9px; font-size: 14px; }
.home-hero-link { display: inline-flex; align-items: center; gap: 15px; color: #e3eaff; font-size: 14px; font-weight: 650; }
.home-hero-link:hover { color: #fff; }
.home-preview { position: relative; padding: 23px; border-radius: 20px; border: 1px solid #ffffff2b; background: #f8faff; color: #172443; box-shadow: 0 28px 80px #030a2260, 0 0 0 10px #ffffff05; transform: rotate(-1.5deg); }
.home-preview-heading { padding: 5px 1px 21px; }
.home-preview-heading h2 { font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.home-preview-heading p { margin-top: 8px; color: #65748b; font-size: 12px; line-height: 1.6; }
.home-preview-rows { display: grid; gap: 10px; }
.home-preview-row { display: flex; gap: 12px; align-items: center; padding: 18px 13px; border: 1px solid #e5eaf4; border-radius: 10px; background: #fff; }
.home-category-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 12px; background: #eef2ff; color: #4265df; }
.home-category-icon svg { width: 25px; height: 25px; }
.home-preview-row:nth-child(2) .home-category-icon { background: #eaf8f7; color: #27857f; }
.home-preview-row:nth-child(3) .home-category-icon { background: #f2eefa; color: #865dcc; }
.home-preview-row > div { flex: 1; min-width: 0; }
.home-preview-row strong { font-size: 13px; font-weight: 700; }
.home-preview-row p { margin-top: 5px; color: #65748b; font-size: 11px; line-height: 1.65; }
.home-preview-row > small { max-width: 83px; text-align: right; color: #64718d; font-size: 10px; }
.home-preview-bottom { display: flex; align-items: center; gap: 7px; margin-top: 20px; color: #65748b; font-size: 11px; }
.home-dot { width: 6px; height: 6px; border-radius: 50%; background: #458f82; }
.home-benefits { background: #f8faff; border-bottom: 1px solid #edf0f6; padding-block: 34px 41px; }
.home-bridge-title { font-size: 12px; color: #65748b; text-align: center; letter-spacing: .04em; }
.home-benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 25px; }
.home-benefit-grid article { padding-inline: 25px; border-left: 1px solid #dfe5f2; }
.home-benefit-grid article:first-child { border-left: 0; }
.home-benefit-grid h2 { font-size: 16px; font-weight: 700; }
.home-benefit-grid p { font-size: 13px; line-height: 1.8; margin-top: 8px; color: #65748b; }
.home-section { padding-block: 91px; }
.home-section-heading { max-width: 770px; }
.home-section-heading h2 { margin-top: 17px; font-size: clamp(29px,3.3vw,42px); letter-spacing: -.035em; line-height: 1.4; font-weight: 750; }
.home-section-heading > p { margin-top: 17px; max-width: 680px; color: #65748b; font-size: 15px; line-height: 1.95; }
.home-featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 38px; }
.home-featured-item { display: flex; flex-direction: column; align-items: flex-start; padding: 29px; border: 1px solid #e1e7f3; border-radius: 14px; background: linear-gradient(150deg,#f6f8ff,#fff 70%); box-shadow: 0 8px 25px #16325a05; }
.home-featured-item:nth-child(3n+2) { background: linear-gradient(150deg,#f2fafb,#fff 70%); }
.home-featured-item:nth-child(3n+2) .home-category-icon { color: #248080; background: #e5f4f4; }
.home-featured-item:nth-child(3n) .home-category-icon { color: #7355be; background: #f1edfc; }
.home-featured-card { display: flex; flex: 1; flex-direction: column; margin-top: 23px; }
.home-featured-card h3 { font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.home-featured-card p { flex: 1; margin-top: 13px; font-size: 13px; line-height: 1.9; color: #68778e; }
.home-featured-card a { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 25px; padding-top: 17px; border-top: 1px solid #e6ebf4; color: #385bd7; font-size: 12px; font-weight: 650; }
.home-featured-card a:hover { color: #223a9b; }
.home-featured-section, .home-portfolio { scroll-margin-top: 105px; }
.home-portfolio { background: #f8faff; border-top: 1px solid #edf0f6; }
.marketing-home .site-domain-grid { gap: 15px; margin-top: 38px; }
.marketing-home .site-domain-card { min-height: 262px; padding: 25px 20px; box-shadow: none; border-radius: 12px; border-color: #e5eaf2; }
.site-domain-card .home-category-icon { margin-bottom: 23px; background: none; justify-content: flex-start; height: 31px; width: 32px; }
.marketing-home .site-domain-card strong { font-size: 15px; line-height: 1.6; }
.marketing-home .site-domain-card p { margin: 13px 0 24px; font-size: 12px; line-height: 1.9; }
.marketing-home .site-domain-card small { font-size: 11px; }
.marketing-home .site-domain-card:hover { transform: none; box-shadow: none; }
.home-catalog { margin-top: 45px; }
.home-catalog > h3 { color: #65748b; font-size: 12px; margin-bottom: 15px; font-weight: 550; }
.home-product-group { border-bottom: 1px solid #e7ebf3; scroll-margin-top: 105px; }
.home-product-group > summary { display: flex; align-items: center; gap: 17px; list-style: none; cursor: pointer; padding-block: 18px; }
.home-product-group > summary::-webkit-details-marker { display: none; }
.home-product-group > summary::marker { content: ''; }
.home-product-group summary .home-category-icon { width: 34px; height: 34px; border-radius: 8px; }
.home-product-group summary svg { width: 20px; height: 20px; }
.home-product-group summary strong { font-size: 15px; font-weight: 650; }
.home-group-count { color: #65748b; font-size: 12px; margin-left: auto; }
.home-chevron { color: #4664b0; font-size: 24px; width: 22px; text-align: center; transition: transform .15s; }
.home-product-group[open] .home-chevron { transform: rotate(45deg); }
.home-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 10px 0 28px; }
.marketing-home .home-product-grid .product-card { border: 1px solid #e5eaf2; padding: 24px; border-radius: 12px; background: #fafbfe; box-shadow: none; }
.marketing-home .home-product-grid h3 { font-size: 16px; line-height: 1.55; }
.marketing-home .home-product-grid p { font-size: 12px; line-height: 1.85; }
.marketing-home .home-product-grid a { font-size: 12px; }
.home-product-grid h3 { font-weight: 700; }
.home-product-grid p { flex: 1; margin-top: 12px; color: #68778e; }
.home-product-grid a { margin-top: 24px; color: #385bd7; font-weight: 650; }
.home-use-cases { background: #fff; }
.home-case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; margin-top: 44px; }
.home-case-grid article { display: flex; flex-direction: column; padding: 12px 0; }
.home-case-number { font-size: 42px; line-height: 1; letter-spacing: -.04em; color: #dbe3f6; font-weight: 600; }
.home-case-grid h3 { margin: 22px 0 14px; font-size: 21px; line-height: 1.6; font-weight: 650; letter-spacing: -.02em; }
.home-case-grid p { flex: 1; color: #65748b; font-size: 13px; line-height: 1.95; }
.home-case-grid a { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 29px; border-top: 1px solid #e0e6f2; padding-top: 16px; font-size: 12px; color: #385bd7; font-weight: 650; }
.home-free { display: grid; grid-template-columns: .95fr 1.05fr; gap: 85px; align-items: center; padding-block: 64px; }
.home-free .home-section-heading h2 { font-size: clamp(26px,2.6vw,34px); }
.home-free .secondary-btn { margin-top: 27px; font-size: 13px; border-radius: 8px; }
.home-free-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-free-grid a { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 80px; padding: 18px; border: 1px solid #e7ebf4; background: #fcfdff; border-radius: 10px; font-size: 12px; line-height: 1.6; font-weight: 600; }
.home-free-grid a span { color: #acb8cf; }
.home-free-grid a:hover { color: #345bde; border-color: #aabcf3; }
.home-audiences { background: linear-gradient(150deg,#f7f9ff,#f1f5fa); border-top: 1px solid #e9eef7; }
.home-audience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 38px; }
.home-audience-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px; border: 1px solid #e2e8f2; border-radius: 14px; background: #fff; }
.home-audience-card h3 { margin-top: 25px; font-size: 20px; font-weight: 700; line-height: 1.55; letter-spacing: -.02em; }
.home-audience-card p { flex: 1; margin-top: 15px; color: #68778e; font-size: 14px; line-height: 1.9; }
.home-audience-card a { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; margin-top: 28px; padding-top: 18px; border-top: 1px solid #e6ebf4; color: #385bd7; font-size: 13px; font-weight: 650; }
.home-audience-card a:hover { color: #223a9b; }
.home-audience-card:nth-child(2) .home-category-icon { color: #248080; background: #e5f4f4; }
.home-audience-card:last-child { border-color: #233b73; background: linear-gradient(135deg,#17274c,#243b78); color: #fff; }
.home-audience-card:last-child .home-category-icon { background: #ffffff14; color: #aec5ff; }
.home-audience-card:last-child p { color: #c0cee7; }
.home-audience-card:last-child a { border-color: #ffffff26; color: #d5e4ff; }
.home-audience-card:last-child a:hover { color: #fff; }
.home-cta { background: linear-gradient(110deg,#111f42,#1c2f69); color: #fff; padding-block: 67px; }
.home-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.home-cta h2 { font-size: 30px; line-height: 1.5; font-weight: 650; letter-spacing: -.03em; }
.home-cta p { max-width: 590px; margin-top: 14px; font-size: 13px; line-height: 1.9; color: #a9b8d6; }
.home-cta .home-actions { margin: 0; flex: 0 0 auto; flex-direction: column; align-items: flex-start; gap: 18px; }
.marketing-home .site-footer { border-top: 1px solid #ffffff0d; }
.home-launch-fallback { display: none; }
.home-launch-fallback:target { display: block; padding-block: 32px; }
.home-launch-fallback h2 { font-size: 24px; font-weight: 700; }
.home-launch-fallback p { margin-top: 12px; color: #526178; line-height: 1.8; }
.home-launch-dialog { position: fixed; inset: 0; margin: auto; width: min(420px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 30px; border: 1px solid #e2e8f2; border-radius: 18px; background: #fff; color: #15213a; box-shadow: 0 24px 80px #06112440; }
.home-launch-dialog::backdrop { background: #06112480; }
.home-launch-dialog h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.4; }
.home-launch-dialog p { margin-top: 14px; color: #526178; font-size: 14px; line-height: 1.8; }
.home-launch-actions { display: flex; justify-content: flex-end; margin-top: 26px; }
.home-launch-dialog button { min-height: 44px; cursor: pointer; }
.home-launch-dialog button:focus-visible { outline: 3px solid #7495ff; outline-offset: 4px; }
.marketing-home a:focus-visible,.marketing-home summary:focus-visible { outline: 3px solid #7495ff; outline-offset: 5px; }
/* Motion is limited to fine-pointer devices; keyboard focus has the same visual emphasis. */
.home-featured-item, .home-audience-card, .marketing-home .home-product-grid .product-card, .home-free-grid a, .marketing-home .site-domain-card { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.home-featured-item:focus-within, .home-audience-card:focus-within, .marketing-home .home-product-grid .product-card:focus-within, .home-free-grid a:focus-visible, .marketing-home .site-domain-card:focus-visible { border-color: #8da9ee; box-shadow: 0 12px 28px #193c7e14; }
.home-audience-card:last-child:focus-within { border-color: #8da9ee; box-shadow: 0 14px 32px #16357330; }
.home-featured-card a > span, .home-audience-card a > span, .home-free-grid a > span, .home-case-grid a > span, .home-actions a > span { display: inline-flex; transition: transform .18s ease; }
.home-category-icon { transition: transform .18s ease, background-color .18s ease; }
.home-product-group > summary { border-radius: 8px; transition: color .18s ease, background-color .18s ease; }
.home-product-group > summary:focus-visible { background: #edf2ff; }
.marketing-home .site-primary-nav a, .marketing-home .site-footer-links a, .home-hero-link { transition: color .18s ease; text-underline-offset: 6px; }
.marketing-home .site-primary-nav a:focus-visible, .marketing-home .site-footer-links a:focus-visible, .home-hero-link:focus-visible { text-decoration: underline; }
.marketing-home .primary-btn, .marketing-home .secondary-btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.marketing-home .home-product-grid .product-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .home-featured-item:hover, .home-audience-card:hover, .marketing-home .home-product-grid .product-card:hover, .home-free-grid a:hover, .marketing-home .site-domain-card:not(.is-coming):hover { transform: translateY(-3px); border-color: #8da9ee; box-shadow: 0 14px 30px #193c7e14; }
  .home-audience-card:last-child:hover { border-color: #8da9ee; box-shadow: 0 16px 35px #16357330; }
  .home-featured-item:hover .home-category-icon, .home-audience-card:hover .home-category-icon, .marketing-home .site-domain-card:hover .home-category-icon { transform: scale(1.05); }
  .home-featured-card a:hover > span, .home-audience-card a:hover > span, .home-free-grid a:hover > span, .home-case-grid a:hover > span, .home-actions a:hover > span { transform: translateX(3px); }
  .home-product-group > summary:hover { background: #edf2ff; color: #2e50b8; }
  .marketing-home .primary-btn:hover, .marketing-home .secondary-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #214eea25; }
  .marketing-home .site-primary-nav a:hover, .marketing-home .site-footer-links a:hover, .home-hero-link:hover { text-decoration: underline; }
}
@media (max-width: 1100px) {
  .home-hero-layout { gap: 35px; padding-block: 80px; }
  .home-preview { padding: 18px; transform: none; }
  .home-preview-row { flex-wrap: wrap; }
  .home-preview-row > small { margin-left: 57px; max-width: none; }
  .home-free { gap: 40px; }
}
@media (max-width: 767px) {
  .marketing-home .site-shell { padding-inline: 24px; }
  .home-hero-layout { grid-template-columns: 1fr; gap: 45px; padding-block: 55px 65px; }
  .home-hero h1 { font-size: 48px; }
  .home-hero-copy > p { font-size: 15px; line-height: 1.95; }
  .home-preview { max-width: 540px; width: 100%; }
  .home-preview-row { flex-wrap: nowrap; }
  .home-preview-row > small { margin-left: 0; max-width: 80px; }
  .home-benefit-grid,.home-case-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-benefit-grid article { padding: 0; border: 0; }
  .home-bridge-title { text-align: left; }
  .home-benefits { padding-block: 30px; }
  .home-section { padding-block: 58px; }
  .marketing-home .site-domain-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .marketing-home .site-domain-card { min-height: 225px; padding: 21px 17px; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-group { scroll-margin-top: 180px; }
  .home-featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-featured-item { padding: 25px; }
  .home-featured-section, .home-portfolio { scroll-margin-top: 180px; }
  .home-free { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .home-audience-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-audience-card { padding: 25px; }
  .home-free-grid a { min-height: 69px; padding: 12px; }
  .home-case-grid { gap: 30px; }
  .home-cta > div { flex-direction: column; align-items: flex-start; gap: 30px; }
  .home-cta .home-actions { flex-direction: row; align-items: center; }
}
@media (max-width: 400px) {
  .marketing-home .site-shell { padding-inline: 20px; }
  .home-hero h1 { font-size: 43px; }
  .home-preview-row > small { display: none; }
  .home-preview-heading h2 { font-size: 18px; }
  .home-preview-bottom { font-size: 10px; }
  .home-product-group > summary { gap: 10px; }
  .home-group-count { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .marketing-home *, .marketing-home *::before, .marketing-home *::after { transition: none !important; transform: none !important; } }
