.ala-home {
  --home-ink: #0c2148;
  --home-blue: #1249dc;
  --home-blue-hover: #103bc0;
  --home-line: #d6e4f4;
  --home-ice: #eef7ff;
  --home-muted: #435872;
  background: #fff;
  color: var(--home-ink);
}
.ala-home a { color: inherit; }
.ala-home svg { width: 22px; height: 22px; flex: none; }
.home-shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.home-header { border-bottom: 1px solid #e6eef6; }
.home-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; min-height: 78px; }
.home-brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 25px; font-weight: 770; white-space: nowrap; letter-spacing: -.055em; }
.home-brand img { object-fit: contain; }
.home-brand:hover, .home-button:hover { text-decoration: none; }
.home-nav { gap: clamp(16px, 3vw, 35px); }
.home-nav a, .home-login { font-size: 14px; font-weight: 650; white-space: nowrap; }
.home-header-actions { justify-self: end; display: flex; align-items: center; gap: 21px; }
.home-button { min-height: 47px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; justify-content: center; align-items: center; padding: 10px 21px; font-weight: 680; font-size: 14px; line-height: 1.35; text-align: center; }
.home-header-actions .home-button { min-height: 42px; }
.ala-home .home-primary { color: #fff; background: var(--home-blue); }
.ala-home .home-primary:hover { background: var(--home-blue-hover); }
.ala-home .home-outline { color: #143eac; background: #fff9; border-color: #5b83e7; }
.ala-home .home-outline:hover { background: #fff; }
.ala-home .home-white { color: #143eac; background: #fff; }
.ala-home .home-white:hover { background: #eaf2ff; }
.ala-home a:focus-visible, .ala-home summary:focus-visible { outline: 3px solid #3975e4; outline-offset: 4px; }

.home-hero {
  padding: 72px 0 78px;
  background:
    radial-gradient(ellipse 54% 72% at 100% 95%, #cfe8fc 0%, #e0f1ff 73%, transparent 74%),
    radial-gradient(ellipse 48% 72% at -6% 67%, #e3f3ff 0%, #eaf6ff 76%, transparent 77%),
    linear-gradient(112deg, #f7fbff, #eaf5fe);
}
.home-hero-inner { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(24px, 4.2vw, 59px); align-items: center; }
.home-hero-copy { min-width: 0; }
.home-kicker { display: flex; align-items: center; gap: 9px; color: #1645b4; font-size: clamp(11px, 1.2vw, 13px); font-weight: 760; letter-spacing: .055em; }
.home-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--home-blue); flex: none; }
.home-hero h1 { margin: 20px 0 16px; font-size: clamp(37px, 3.9vw, 59px); font-weight: 790; letter-spacing: -.052em; line-height: 1.06; }
.home-hero h1 em { display: block; margin-top: 7px; color: #1347d4; font-style: normal; }
.home-intro { max-width: 35ch; color: #2f4766; font-size: clamp(16px, 1.55vw, 19px); }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.home-demo { min-width: 0; position: relative; padding: 0 14px 28px 0; }
.home-meeting, .home-share {
  border: 1px solid #2b4266; border-radius: 16px; background: linear-gradient(145deg, #182d4f, #071939);
  padding: 13px; box-shadow: 0 24px 50px #153c6a24; color: #fff;
}
.home-meeting-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; }
.home-meeting-head img { object-fit: contain; }
.home-meeting-head > span { margin-left: auto; color: #c7d8f1; font-size: 10px; }
.home-meeting-grid, .home-share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.home-tile { aspect-ratio: 173 / 97; border-radius: 8px; background: #b6c5cc url('/assets/home-people.webp') no-repeat 0 0 / 200% 200%; }
.home-tile.person-2 { background-position: 100% 0; }
.home-tile.person-3 { background-position: 0 100%; }
.home-tile.person-4 { background-position: 100% 100%; }
.home-speaking { outline: 2px solid #87dcc7; outline-offset: -2px; }
.home-controls { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 12px; }
.home-controls span { display: inline-grid; place-items: center; width: 38px; height: 34px; border-radius: 100px; background: #233957; color: #fff; }
.home-controls span svg { width: 16px; height: 16px; }
.home-controls .home-hangup { background: #d43944; }
.home-ticket {
  position: absolute; bottom: 0; right: 0; display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 17px; border: 1px solid #dfebf7; border-radius: 13px; color: var(--home-ink);
  background: #fff; box-shadow: 0 14px 28px #173b682b; font-size: 14px;
}
.home-ticket small, .home-agenda-row small { display: block; color: var(--home-muted); margin: 4px 0; white-space: nowrap; font-size: 11px; }
.home-ticket-icon { color: var(--home-blue); }
.home-confirmed { display: inline-flex; gap: 4px; align-items: center; border-radius: 100px; padding: 4px 7px; background: #ddf6e7; color: #136037; font-size: 10px; font-weight: 730; }
.home-confirmed svg { width: 12px; height: 12px; }

.home-benefits { border-bottom: 1px solid #e5edf6; background: #fff; }
.home-benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 24px; }
.home-benefits-grid > div { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding-inline: 14px; }
.home-benefits-grid > div + div { border-left: 1px solid var(--home-line); }
.home-benefits-grid svg { color: var(--home-blue); width: 28px; height: 28px; }
.home-benefits-grid strong { font-size: clamp(12px, 1.35vw, 16px); font-weight: 670; }
.home-section { padding: 60px 0; scroll-margin-top: 16px; }
.home-tinted { background: linear-gradient(123deg, #f0f8ff, #ecf6ff); }
.home-section-title { margin-bottom: 29px; text-align: center; font-size: clamp(26px, 3.15vw, 39px); font-weight: 760; letter-spacing: -.045em; }
.home-steps, .home-plans, .home-features { display: grid; gap: 20px; }
.home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.home-step, .home-plan { min-width: 0; border: 1px solid var(--home-line); border-radius: 15px; background: #fff; box-shadow: 0 4px 12px #1a4d7d0c; }
.home-step { padding: 17px; position: relative; min-height: 236px; }
.home-step + .home-step::before { content: '→'; position: absolute; left: -30px; top: 48%; color: var(--home-blue); font-size: 23px; }
.home-step h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(14px, 1.6vw, 18px); letter-spacing: -.02em; }
.home-step h3 > span { color: #1447cb; background: #e5f1ff; border-radius: 100px; padding: 5px 8px; font-size: 14px; font-weight: 780; }
.home-step-demo { margin-top: 15px; }
.home-step-demo small { display: block; font-size: 11px; font-weight: 650; margin: 10px 0 4px; }
.home-sample-field { display: flex; align-items: center; gap: 8px; padding: 8px 9px; min-height: 37px; font-size: 12px; border: 1px solid var(--home-line); border-radius: 8px; background: #f9fbfd; }
.home-sample-field b { min-width: 0; font-weight: 630; }
.home-sample-field svg { width: 15px; height: 15px; }
.home-sample-field > svg:last-child, .home-copy-icon { margin-left: auto; }
.home-copy-icon { display: inline-grid; place-items: center; padding: 4px; color: var(--home-blue); border-radius: 5px; background: #e7f2ff; }
.home-tile.home-camera-preview { margin-top: 7px; max-width: 186px; }

.home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-feature { min-width: 0; background: #eef7ff; border: 1px solid #deebf7; border-radius: 17px; padding: clamp(15px, 2vw, 25px); }
.home-feature-dark { background: #0d2143; color: #fff; border-color: #223960; }
.home-feature-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.home-feature-heading > svg { width: 29px; height: 29px; color: #1648d4; }
.home-feature-dark .home-feature-heading > svg { color: #e6efff; }
.home-feature h3 { font-size: clamp(18px, 2.1vw, 24px); }
.home-feature-heading p { font-size: 13px; margin-top: 4px; }
.home-agenda { padding: 13px; background: #fff; border: 1px solid var(--home-line); border-radius: 11px; }
.home-agenda > strong { display: block; margin-bottom: 7px; font-size: 15px; }
.home-agenda-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding-block: 9px; border-top: 1px solid #e5edf7; font-size: 12px; }
.home-agenda-row small { white-space: normal; }
.home-agenda-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; background: #f0f5fc; color: #244c83; }
.home-agenda-icon svg { width: 16px; height: 16px; }
.home-agenda-pill { border-radius: 100px; padding: 5px 7px; font-size: 10px; font-weight: 700; }
.home-green { color: #146037; background: #dff5e9; }
.home-blue { color: #1645b3; background: #e6efff; }
.home-gray { color: #455975; background: #eef1f5; }
.home-share { padding: 9px; border-radius: 12px; box-shadow: none; }
.home-share-grid { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: stretch; }
.home-share-grid .home-tile { aspect-ratio: auto; }
.home-slide { background: #fff; color: var(--home-ink); border-radius: 8px; padding: 9px; min-width: 0; }
.home-slide > strong { font-size: clamp(10px, 1.4vw, 15px); }
.home-slide-body { display: flex; gap: 8px; align-items: end; }
.home-slide-body ul { font-size: clamp(8px, 1.1vw, 11px); padding-left: 11px; margin: 6px 0 0; flex: none; }
.home-bars { display: flex; gap: 4px; align-items: flex-end; width: 100%; min-width: 0; height: 60px; border-bottom: 1px solid #e4ebf6; }
.home-bars i { width: 25%; height: 24%; background: #d3e5ff; border-radius: 2px 2px 0 0; }
.home-bars i:nth-child(2) { height: 43%; background: #a6caff; }
.home-bars i:nth-child(3) { height: 67%; background: #5b91fa; }
.home-bars i:nth-child(4) { height: 90%; background: #1249dc; }
.home-share .home-controls { margin-top: 8px; }
.home-share .home-controls span { width: 28px; height: 26px; }
.home-share .home-controls svg { width: 13px; height: 13px; }

.home-plans { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.home-plan { padding: 18px 11px 15px; text-align: center; }
.home-plan > svg { color: var(--home-blue); width: 28px; height: 28px; }
.home-plan h3 { margin: 5px 0 13px; font-size: 14px; }
.home-plan h3 b { display: block; font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.home-small { min-height: 36px; padding: 7px 11px; font-size: 12px; }
.home-faq { display: grid; grid-template-columns: minmax(160px, .62fr) minmax(0, 1.38fr); gap: 36px; }
.home-faq h2 { margin: 8px 0 0; text-align: left; max-width: 10ch; }
.home-questions { display: grid; gap: 8px; }
.home-questions details { border: 1px solid #dce6f0; border-radius: 10px; background: #fff; }
.home-questions summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; font-size: 14px; font-weight: 680; }
.home-questions summary::-webkit-details-marker { display: none; }
.home-questions summary svg { width: 16px; height: 16px; color: var(--home-blue); }
.home-questions details[open] summary svg { transform: rotate(45deg); }
.home-questions p { padding: 0 15px 13px; color: var(--home-muted); font-size: 14px; }
.home-closing { padding-bottom: 25px; }
.home-cta { text-align: center; background: linear-gradient(110deg, #1143cd, #174fe1); border-radius: 16px; color: #fff; padding: 31px 15px; }
.home-cta h2 { font-size: clamp(23px, 3.2vw, 36px); font-weight: 770; margin-bottom: 17px; }
.home-footer { border-top: 1px solid #e7eff6; }
.home-footer > div { min-height: 78px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.home-footer nav { gap: 18px; font-size: 13px; font-weight: 650; }

@media (prefers-reduced-motion: no-preference) {
  html:has(.ala-home) { scroll-behavior: smooth; }
  .ala-home [data-reveal] { transition: opacity .56s ease, transform .62s cubic-bezier(.2,.68,.2,1); }
  .ala-home .reveal-waiting:not(:focus-within) { opacity: 0; transform: translateY(16px); }
  .home-stagger > :nth-child(2) { transition-delay: 65ms; }
  .home-stagger > :nth-child(3) { transition-delay: 130ms; }
  .home-stagger > :nth-child(4) { transition-delay: 195ms; }
  .home-stagger > :nth-child(5) { transition-delay: 260ms; }
  .home-button { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
  .home-button:hover { transform: translateY(-2px); box-shadow: 0 6px 13px #183b6522; }
  .home-questions summary svg { transition: transform .2s ease; }
  .home-questions details[open] p { animation: home-fade .25s ease both; }
  .home-demo:not(.reveal-waiting) .home-ticket { animation: home-ticket-in .8s .13s cubic-bezier(.2,.68,.2,1) both; }
  @keyframes home-fade { from { opacity: 0; transform: translateY(-4px); } }
  @keyframes home-ticket-in { from { opacity: 0; transform: translateY(12px); } }
}
@media (max-width: 1030px) {
  .home-shell { width: calc(100% - 56px); }
  .home-header-inner { gap: 16px; }
  .home-nav { gap: 15px; }
  .home-header-actions { gap: 12px; }
  .home-hero { padding-block: 58px; }
  .home-ticket { padding: 10px 12px; }
}
@media (max-width: 800px) {
  .home-shell { width: calc(100% - 36px); }
  .home-header-inner { grid-template-columns: 1fr auto; gap: 6px 10px; padding-block: 8px; }
  .home-nav { grid-column: 1 / -1; grid-row: 2; padding: 7px 0 4px; }
  .home-header-actions { grid-column: 2; grid-row: 1; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .home-hero h1 { font-size: clamp(34px, 6.9vw, 51px); }
  .home-demo { max-width: 610px; width: 100%; }
  .home-section { padding-block: 42px; }
  .home-step { padding: 13px; }
  .home-steps { gap: 15px; }
  .home-step + .home-step::before { display: none; }
  .home-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .home-faq { grid-template-columns: 1fr; gap: 15px; }
  .home-faq h2 { max-width: none; }
}
@media (max-width: 545px) {
  .home-brand { font-size: 20px; gap: 5px; }
  .home-brand img { width: 35px; height: 35px; }
  .home-header-actions .home-button { padding-inline: 11px; min-height: 36px; }
  .home-header-actions { gap: 9px; }
  .home-login, .home-nav a { font-size: 12px; }
  .home-hero { padding-block: 36px 41px; }
  .home-ticket { padding: 8px 9px; gap: 5px; font-size: 11px; }
  .home-ticket small { font-size: 9px; }
  .home-ticket-icon svg { width: 17px; height: 17px; }
  .home-meeting { padding: 9px; }
  .home-controls span { width: 28px; height: 26px; }
  .home-controls span svg { width: 13px; height: 13px; }
  .home-demo { padding-bottom: 49px; }
  .home-benefits-grid { grid-template-columns: 1fr; gap: 6px; padding-block: 10px; }
  .home-benefits-grid > div { justify-content: flex-start; padding-inline: 0; min-height: 34px; }
  .home-benefits-grid > div + div { border: 0; }
  .home-benefits-grid svg { width: 20px; height: 20px; }
  .home-steps, .home-features { grid-template-columns: 1fr; gap: 13px; }
  .home-step { min-height: 0; padding: 15px; }
  .home-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-footer > div { padding-block: 13px; }
}
