.public-home { background: #fff; }
.public-home .wrap { width: min(1160px, calc(100% - 48px)); }
.public-home .topbar-in { min-height: 72px; }
.public-home .home-logo { font-size: 20px; letter-spacing: 0; gap: 10px; }
.public-home .topnav { gap: 28px; }
.public-home .topnav .btn { min-height: 36px; border-radius: 4px; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 200; padding: 10px 16px; color: #fff; background: #165dff; }
.skip-link:focus { top: 12px; }
.home-hero { border-bottom: 0; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 76px 0 64px; }
.home-eyebrow { margin: 0 0 18px; color: #4e5969; font-size: 14px; font-weight: 500; }
.home-intro h1 { margin: 0; color: #1d2129; font-size: clamp(38px, 4.3vw, 56px); line-height: 1.23; letter-spacing: -.025em; font-weight: 650; }
.home-intro h1 span { color: #165dff; }
.home-description { margin: 24px 0 0; color: #4e5969; font-size: 16px; line-height: 1.95; }
.home-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.home-intro .home-actions { margin-top: 30px; }
.home-actions .btn { min-height: 44px; padding: 0 22px; border-radius: 4px; gap: 16px; }
.home-actions .btn-2 { background: #fff; color: #1d2129; border-color: #c9cdd4; }
.home-actions .btn-2:hover { background: #f2f3f5; }
.home-access-note { margin: 14px 0 0; color: #86909c; font-size: 12px; }
.home-preview { margin: 0; overflow: hidden; background: #fff; border: 1px solid #d9e2f0; border-radius: 10px; box-shadow: 0 16px 48px rgb(22 50 93 / 8%); transform: translateY(6px); }
.preview-topline { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #e5e6eb; font-size: 13px; }
.preview-topline > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.preview-topline i { width: 8px; height: 8px; background: #165dff; border-radius: 2px; }
.preview-label { color: #86909c; font-size: 11px; }
.preview-content { padding: 4px 22px 10px; }
.preview-tabs { display: flex; gap: 26px; align-items: center; height: 48px; font-size: 12px; color: #86909c; }
.preview-tabs .is-current { color: #165dff; font-weight: 600; position: relative; }
.preview-tabs .is-current::after { position: absolute; content: ""; height: 2px; background: #165dff; left: 0; right: 0; bottom: -13px; }
.preview-search { display: flex; align-items: center; gap: 9px; border: 1px solid #c5d7fa; background: #f7faff; border-radius: 4px; height: 40px; padding-left: 12px; margin-top: 8px; font-size: 12px; color: #86909c; }
.preview-search svg { width: 16px; height: 16px; fill: none; stroke: #86909c; stroke-width: 1.6; flex: none; }
.preview-search-action { margin-left: auto; display: grid; align-items: center; height: 100%; padding: 0 16px; background: #165dff; color: #fff; }
.preview-filters { display: flex; gap: 8px; padding: 12px 0 6px; color: #4e5969; font-size: 11px; }
.preview-filters > span { padding: 3px 9px; background: #f2f3f5; border-radius: 3px; }
.preview-filters b { margin-left: 12px; color: #86909c; font-weight: 400; }
.preview-result { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #f2f3f5; }
.preview-result:last-child { border: 0; }
.preview-document { display: grid; place-items: center; width: 30px; height: 34px; flex: none; color: #165dff; background: #e8f3ff; border: 1px solid #dbeaff; border-radius: 4px; font-size: 11px; font-weight: 600; }
.preview-result strong { display: block; color: #1d2129; font-size: 13px; font-weight: 500; }
.preview-result p { margin: 4px 0 0; color: #86909c; font-size: 11px; }
.preview-result > span:last-child { margin-left: auto; color: #86909c; font-size: 12px; }
.home-preview figcaption { border-top: 1px solid #e5e6eb; padding: 11px 20px; color: #86909c; background: #fafbfc; font-size: 11px; }
.home-databases { padding: 28px 0 32px; border-bottom: 1px solid #e5e6eb; }
.home-databases > p { margin: 0 0 16px; color: #86909c; font-size: 12px; }
.database-names { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.database-names span { color: #4e5969; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.home-section { padding: 62px 0 68px; scroll-margin-top: 88px; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-kicker { margin: 0 0 8px; color: #165dff; font-size: 12px; font-weight: 500; }
.home-section-heading h2, .home-join h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.home-section-heading > p { margin: 0 0 4px; color: #86909c; font-size: 13px; }
.home-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-feature { padding: 24px 22px 20px; border: 1px solid #e5e6eb; border-radius: 6px; background: #fff; }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; background: #e8f3ff; color: #165dff; border-radius: 6px; }
.feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.feature-icon.teal { background: #e8fffb; color: #0e918a; }
.feature-icon.violet { background: #f5e8ff; color: #722ed1; }
.feature-icon.orange { background: #fff7e8; color: #d25f00; }
.home-feature h3 { margin: 18px 0 10px; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.home-feature > p { margin: 0; color: #4e5969; font-size: 13px; line-height: 1.85; min-height: 96px; }
.feature-detail { margin-top: 18px; padding-top: 14px; border-top: 1px solid #f2f3f5; font-size: 12px; color: #86909c; }
.home-workflow { padding: 50px 0 56px; background: #f7f8fa; border-block: 1px solid #edf0f5; scroll-margin-top: 88px; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; padding: 0; margin: 32px 0 0; list-style: none; }
.workflow-steps li { display: flex; gap: 15px; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; flex: none; color: #165dff; background: #e8f3ff; border: 1px solid #bedaff; border-radius: 50%; font-size: 13px; font-weight: 600; }
.workflow-steps h3 { margin: 2px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.workflow-steps p { margin: 0; font-size: 13px; line-height: 1.85; color: #4e5969; }
.home-join { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px 0 62px; }
.home-join p { margin: 14px 0 0; font-size: 14px; line-height: 1.9; color: #4e5969; }
.home-join .home-actions { flex-direction: column; gap: 14px; align-items: flex-start; }
.join-login { font-size: 13px; }
.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.home-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1000px) {
  .home-hero-grid { gap: 32px; }
  .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-feature > p { min-height: 48px; }
  .database-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 640px) {
  .public-home .wrap { width: calc(100% - 36px); }
  .public-home .topbar-in { min-height: 64px; gap: 12px; flex-wrap: nowrap; }
  .public-home .home-logo { font-size: 17px; gap: 7px; }
  .home-logo img { width: 25px; height: 25px; }
  .public-home .topnav { gap: 15px; flex-wrap: nowrap; font-size: 13px; }
  .public-home .topnav .section-link { display: none; }
  .public-home .topnav .btn { padding: 0 11px; min-height: 32px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 38px 0 34px; }
  .home-eyebrow { font-size: 13px; margin-bottom: 14px; }
  .home-intro h1 { font-size: 40px; }
  .home-description { margin-top: 20px; font-size: 14px; }
  .desktop-break { display: none; }
  .home-intro .home-actions { margin-top: 24px; }
  .home-actions .btn { min-height: 42px; padding: 0 18px; }
  .home-preview { transform: none; }
  .preview-content { padding-inline: 16px; }
  .preview-topline { padding: 13px 16px; }
  .preview-search { font-size: 11px; gap: 6px; }
  .preview-search-action { padding-inline: 12px; }
  .home-databases { padding: 22px 0 26px; }
  .database-names { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .database-names span { font-size: 15px; }
  .home-section { padding: 38px 0 40px; }
  .home-section-heading { display: block; margin-bottom: 22px; }
  .home-section-heading h2, .home-join h2 { font-size: 24px; }
  .home-section-heading > p { margin-top: 12px; }
  .home-feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-feature { padding: 22px; }
  .home-feature > p { min-height: 0; }
  .home-feature h3 { margin-top: 14px; }
  .home-workflow { padding: 36px 0 40px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .home-join { display: block; padding: 38px 0 42px; }
  .home-join .home-actions { margin-top: 24px; }
  .home-footer { gap: 14px; font-size: 12px; }
  .home-footer nav { gap: 16px; }
}
