/* Approved light marketing direction; scoped to the homepage. */
.smart-home {
  --smart-bg: #fff;
  --smart-ink: #091429;
  --smart-muted: #4e5c70;
  --smart-indigo: #005ec9;
  --smart-sky: #0067d4;
  --smart-line: #dce5ef;
  background: #fff;
  color: var(--smart-ink);
}
.smart-home .smart-shell { width: min(1190px, calc(100% - 48px)); }
.smart-home .smart-nav { background: #fff; border-color: #edf1f5; }
.smart-home .smart-nav__inner { min-height: 76px; }
.smart-home .smart-nav__links a, .smart-home .smart-login { color: #101d33; }
.smart-home .smart-button { background: #005ec9; border-color: #005ec9; color: #fff !important; }
.smart-home .smart-button:hover { background: #005fc9; }
.smart-home .smart-button--secondary { background: #fff; color: #173d69 !important; border-color: #9fb9d2; }
.smart-home .smart-button--secondary:hover { background: #edf5ff; }
.smart-home :is(a, button, summary):focus-visible { outline: 3px solid #006bdc; outline-offset: 3px; }
.smart-home .smart-hero { padding: 0; background: #fff; }
.smart-hero__stage { position: relative; overflow: hidden; min-height: 630px; }
.smart-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.smart-home .smart-hero__grid { min-height: 630px; position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.smart-home .smart-hero__copy { position: relative; z-index: 1; padding-top: 75px; width: min(690px, 59%); }
.smart-home .smart-hero h1 { color: #071225; max-width: 620px; font-family: Inter, Arial, sans-serif; font-size: clamp(3rem, 5.15vw, 5rem); line-height: 1.04; letter-spacing: -.055em; }
.smart-home .smart-hero__copy > p:not(.smart-hero__note) { color: #4e5c70; margin-top: 18px; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.25; }
.smart-home .smart-actions { gap: 12px; margin-top: 26px; }
.smart-home .smart-actions .smart-button:first-child span { font-size: 1.4rem; margin-left: 16px; }
.smart-home .smart-hero__note { max-width: 430px; width: fit-content; margin-top: 15px; padding: 5px 8px; border-radius: 4px; background: #fff; color: #405168; line-height: 1.45; }
.smart-hero__phone { align-self: flex-end; position: relative; z-index: 1; width: 210px; min-height: 430px; margin: 95px 0 -3px 0; padding: 31px 14px 16px; border: 7px solid #1b1e23; border-radius: 32px; background: #fff; text-align: center; box-shadow: 0 16px 45px rgba(11,25,42,.28); }
.smart-hero__phone-notch { position: absolute; top: 0; left: 50%; width: 76px; height: 13px; transform: translateX(-50%); border-radius: 0 0 11px 11px; background: #1b1e23; }
.smart-hero__phone-brand { text-align: left; color: #005ec9; font-size: 19px; font-weight: 800; letter-spacing: -.07em; }
.smart-hero__phone-brand span { color: #858b95; }
/* Reuse the example person already shown in the hero; initials remain the image-failure fallback. */
.smart-hero__phone-avatar { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 18px auto 9px; overflow: hidden; border-radius: 50%; background: #dceeff; color: #005cc6; font-size: 22px; font-weight: 700; }
.smart-hero__phone-avatar::after { content: ''; position: absolute; inset: 0; background: url('/assets/introductions-hero.webp') 78% 12% / 520% auto no-repeat; }
.smart-hero__phone strong, .smart-hero__phone > span { display: block; color: #15233b; }
.smart-hero__phone > span { margin: 4px 0 12px; color: #516077; font-size: 11px; line-height: 1.4; }
.smart-hero__phone-action { padding: 10px; margin-top: 5px; border-radius: 7px; background: #edf2f8; color: #15233b; font-size: 11px; text-align: left; }
.smart-hero__phone-action--primary { background: #005ec9; color: #fff; font-weight: 700; text-align: center; }
.smart-hero__phone p { margin: 11px 0 0; color: #506078; font-size: 10px; }
.smart-home .smart-steps { padding: 38px 0 54px; background: #fff; }
.smart-home .smart-steps h2 { color: #526078; font: 500 1rem/1.3 Inter, sans-serif; letter-spacing: 0; margin-bottom: 32px; }
.smart-home .smart-steps__list li { border-color: #dce5ef; }
.smart-home .smart-steps__list span { width: 54px; height: 54px; flex-basis: 54px; background: #e1f0ff; border: 0; color: #006bdc; font-size: 1.15rem; }
.smart-home .smart-steps .smart-step-icon svg { width: 28px; height: 28px; }
.smart-home .smart-steps h3 { color: #0c1930; font-size: 1.28rem; }
.smart-home .smart-steps p { color: #4e5c70; }
.smart-demo { padding: 80px 0; background: #f4f8fc; }
.smart-demo__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 64px; }
.smart-demo h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.05em; }
.smart-demo p { color: #506078; max-width: 430px; line-height: 1.6; }
.smart-home .smart-video-frame { border-color: #d1ddea; box-shadow: 0 18px 40px rgba(20,45,70,.14); }
.smart-home .smart-video { color: #fff; }
.smart-home .smart-video-controls { position: absolute; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.smart-home .smart-video-controls[hidden] { display: none; }
.smart-home .smart-video-controls button {
  position: static; min-height: 44px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.65);
  border-radius: 7px; background: rgba(0,0,0,.8); color: #fff; font: 600 .82rem/1 Inter, sans-serif; cursor: pointer;
}
.smart-home .smart-video-controls button:hover { background: #10213a; }
@media (max-width: 480px) {
  .smart-home .smart-video-frame { aspect-ratio: auto; }
  .smart-home .smart-video { height: auto; aspect-ratio: 16 / 10; }
  .smart-home .smart-video-controls { position: static; justify-content: flex-start; padding: 8px; background: #10213a; }
}
.smart-home .smart-profile { background: #fff; }
.smart-home .smart-profile__visual { background: #edf5fc; }
.smart-home .smart-phone-preview { background: #fff; color: #10213a; }
.smart-home .smart-phone-preview > div:not(.smart-phone-preview__notch) { color: #203b5c; border-color: #d4e1ef; }
.smart-home .smart-questions { background: #f5f8fc; }
.smart-home .smart-closing { background: #0b2446; }
.smart-home .smart-closing h2, .smart-home .smart-closing p { color: #fff; }
.smart-home .smart-closing .smart-button { background: #fff; border-color: #fff; color: #0b2446 !important; }
.smart-home .smart-footer { background: #fff; }
.smart-home .smart-footer strong { color: #10213a; }
.smart-home .smart-footer a { color: #435a74; }
/* Keep the approved headline legible without fading the card being shared. */
@media (min-width: 801px) {
  .smart-hero__stage::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 400px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.86) 35%, rgba(255,255,255,.48) 53%, transparent 68%);
    -webkit-mask-image: linear-gradient(#000 0%, #000 70%, transparent 100%);
    mask-image: linear-gradient(#000 0%, #000 70%, transparent 100%);
  }
}
@media (min-width: 901px) {
  .smart-home .smart-hero__copy { width: min(760px, 64%); }
  .smart-home .smart-hero h1 { max-width: min(740px, 50vw); }
}
@media (max-width: 900px) {
  .smart-home .smart-hero__grid { min-height: 560px; }
  .smart-hero__stage { min-height: 560px; }
  .smart-home .smart-hero__copy { width: 58%; padding-top: 55px; }
  .smart-hero__phone { width: 180px; min-height: 390px; margin-top: 110px; }
}
@media (max-width: 800px) {
  .smart-home .smart-shell { width: calc(100% - 36px); }
  .smart-home .smart-hero__grid { display: block; position: static; min-height: 0; width: 100%; }
  .smart-hero__stage { min-height: 0; display: flex; flex-direction: column; }
  .smart-home .smart-hero__copy { width: auto; padding: 42px 18px 32px; background: #fff; }
  .smart-home .smart-hero h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .smart-home .smart-hero__copy > p:not(.smart-hero__note) { font-size: 1.35rem; }
  .smart-hero__photo { position: static; order: 2; width: 100%; height: 300px; object-position: 58% center; }
  .smart-hero__phone { position: absolute; bottom: 10px; left: 10px; right: auto; width: 112px; min-height: 205px; padding: 19px 7px 8px; margin: 0; border-width: 5px; border-radius: 23px; }
  .smart-hero__phone-brand { font-size: 13px; }
  .smart-hero__phone-avatar { width: 34px; height: 34px; margin: 6px auto 4px; font-size: 12px; }
  .smart-hero__phone strong { font-size: 11px; }
  .smart-hero__phone > span { font-size: 8px; margin: 2px 0 5px; }
  .smart-hero__phone-action { font-size: 7px; padding: 4px; margin-top: 3px; }
  .smart-hero__phone p { font-size: 8px; margin-top: 5px; }
  .smart-home .smart-steps { padding: 42px 0; }
  .smart-demo { padding: 60px 0; }
  .smart-demo__grid { grid-template-columns: 1fr; gap: 24px; }
  .smart-home .smart-profile, .smart-home .smart-questions { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .smart-home .smart-button { transition: none; }
  .smart-home .smart-button:hover { transform: none; }
}

.smart-home .brand-wordmark__ink, .smart-hero__phone-brand span { color: #626b78; }
.smart-home .brand-wordmark__tap, .smart-hero__phone-brand { color: #005ec9; }
.smart-home .smart-questions p a { text-decoration: underline; text-underline-offset: 3px; }

/* The second illustration uses a personalized card and matching sample page. */
.smart-home .smart-card-preview { position:relative; overflow:hidden; justify-content:space-between; background:linear-gradient(135deg,#0b2443,#06152b); border-color:#355678; }
.smart-home .smart-card-preview::after { content:""; position:absolute; width:75%; height:100%; right:-30%; bottom:-50%; border:1px solid #5e9ed5; border-radius:50%; box-shadow:0 0 0 8px #102f50,0 0 0 9px #4379a8,0 0 0 18px #102f50,0 0 0 19px #386b9a; transform:rotate(-25deg); opacity:.7; }
.smart-home .smart-card-preview__identity { position:relative; z-index:1; display:grid; gap:6px; }
.smart-home .smart-card-preview__identity strong { font:600 clamp(.85rem,1.6vw,1.35rem)/1.1 Georgia,serif; letter-spacing:0; }
.smart-home .smart-card-preview__identity span { color:#e4edf8; font-size:clamp(.58rem,.85vw,.8rem); line-height:1.2; }
.smart-home .smart-card-preview__identity span:last-child { border-top:1px solid #d7b36c; padding-top:6px; margin-top:2px; }
.smart-home .smart-card-preview__brand { position:relative; z-index:1; align-self:flex-end; color:#1c91ff; font-weight:800; font-size:.9rem; letter-spacing:-.06em; }
.smart-home .smart-card-preview__brand span { color:#fff; }
.smart-home .smart-phone-preview small { display:block; margin-top:8px; color:#526684; font-size:.6rem; }

@media (max-width:480px) {
  .smart-home .smart-profile__visual { flex-direction:column; gap:20px; padding:24px; }
  .smart-home .smart-card-preview { width:min(270px,100%); }
  .smart-home .smart-card-preview__identity strong { font-size:1.1rem; }
  .smart-home .smart-card-preview__identity span { font-size:.72rem; }
  .smart-home .smart-phone-preview { width:min(220px,100%); }
}

/* Keep the full primary navigation available at mobile widths. */
.smart-mobile-menu { display:none; }
@media (max-width:640px) {
  .smart-home .smart-nav__inner { position:relative; gap:8px; }
  .smart-home .smart-nav__actions { gap:0; }
  .smart-home .smart-nav__actions .smart-button { padding:0 11px; font-size:.82rem; white-space:nowrap; }
  .smart-mobile-menu { display:block; flex:none; padding:0; border:0; background:transparent; }
  .smart-mobile-menu summary { display:grid; place-items:center; width:44px; height:44px; border:1px solid #b8cce1; border-radius:9px; color:#132a49; background:#fff; font-size:1.25rem; line-height:1; list-style:none; cursor:pointer; }
  .smart-mobile-menu summary::-webkit-details-marker { display:none; }
  .smart-mobile-menu[open] summary { border-color:#0067d4; background:#edf5ff; }
  .smart-mobile-menu__links { position:absolute; z-index:5; top:calc(100% - 1px); right:0; width:min(240px,100%); display:grid; padding:8px; border:1px solid #d1dfed; border-radius:10px; background:#fff; box-shadow:0 14px 32px rgba(16,40,68,.16); }
  .smart-mobile-menu__links a { display:block; padding:12px 14px; border-radius:6px; color:#10213a; font-size:.94rem; font-weight:600; text-decoration:none; }
  .smart-mobile-menu__links a:hover { background:#edf5ff; color:#005ec9; }
}

.smart-home .smart-skip { position:absolute; top:-100px; left:12px; z-index:100; padding:12px; background:#fff; color:#005ec9; }
.smart-home .smart-skip:focus { top:12px; }
