/* A platform-led download layout, with the existing white and blue branding. */
.v380-home-hero {
  --home-blue: #3288ea;
  --home-link: #1e73be;
  --home-ink: #23344b;
  --home-muted: #6b7787;
  color: var(--home-ink);
  background: #fff;
  border-bottom: 1px solid #edf0f4;
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}
.v380-home-hero *, .v380-home-hero *::before, .v380-home-hero *::after { box-sizing: border-box; }
.v380-home-hero-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: center; gap: 40px; width: min(1160px, calc(100% - 64px)); margin-inline: auto; padding-block: 38px 36px; }
.v380-home-visual { display: flex; justify-content: center; }
.v380-home-visual img { display: block; width: 248px; max-width: 100%; height: auto; }
.v380-download-content { min-width: 0; }
.v380-download-heading { text-align: center; }
.v380-home-app-icon { display: block; width: 64px; height: 64px; margin: 0 auto 14px; }
.v380-download-heading h1 { margin: 0; color: var(--home-blue); font: 500 34px/1.25 Arial, Helvetica, sans-serif; letter-spacing: -.5px; }
.v380-home-intro { margin: 16px 0 0; color: var(--home-muted); font-size: 16px; }
.v380-app-tabs { display: flex; justify-content: center; width: fit-content; max-width: 100%; padding: 4px; margin: 26px auto 34px; border: 1px solid #e5eaf1; border-radius: 10px; background: #f5f7fa; }
.v380-app-tabs button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 130px; min-height: 42px; padding: 10px 20px; border: 0; border-radius: 7px; color: #617087; background: transparent; cursor: pointer; font: 500 14px/1.5 Arial, Helvetica, sans-serif; white-space: nowrap; transition: color .16s ease, background-color .16s ease; }
.v380-app-tabs .v380-preferred-label { position: absolute; top: -9px; right: 4px; z-index: 1; padding: 2px 6px; border: 1px solid #f4d993; border-radius: 4px; color: #875805; background: #fff2d2; font: 600 10px/1.4 Arial, Helvetica, sans-serif; }
.v380-app-tabs button[aria-selected="true"] { color: #fff; background: var(--home-blue); box-shadow: 0 2px 5px rgb(38 102 178 / .14); }
.v380-app-tabs button:not([aria-selected="true"]):hover { color: var(--home-link); }
.v380-app-panel + .v380-app-panel { margin-top: 34px; }
.v380-app-tabs:not([hidden]) ~ .v380-app-panel { margin-top: 0; }
.v380-app-heading { margin: 30px 0 20px; color: var(--home-ink); font: 600 22px/1.4 Arial, Helvetica, sans-serif; text-align: center; }
.v380-platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.v380-platform-card { position: relative; min-width: 0; border: 1px solid #dfe6ef; border-radius: 20px; background: #fff; box-shadow: 0 4px 18px rgb(32 57 90 / .025); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.v380-platform-card:hover { border-color: #a9c9f0; box-shadow: 0 10px 28px rgb(32 83 146 / .07); transform: translateY(-3px); }
.v380-home-hero .v380-platform-link { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 332px; padding: 38px 24px 32px; border-radius: 20px; color: inherit; text-align: center; text-decoration: none; }
.v380-platform-icon { display: block; height: 68px; color: var(--home-blue); font-size: 68px; line-height: 1; }
.v380-home-hero .v380-android-icon { width: 68px; height: 68px; fill: currentColor; stroke: none; }
.v380-home-hero .v380-android-icon circle { fill: #fff; }
.v380-home-hero .v380-android-antenna { fill: none; stroke: currentColor; stroke-width: 2; }
.v380-platform-link .fa-windows { font-size: 62px; padding-top: 4px; }
.v380-platform-link h3 { margin: 26px 0 0; color: var(--home-link); font: 500 23px/1.35 Arial, Helvetica, sans-serif; letter-spacing: -.3px; }
.v380-platform-app { margin-top: 10px; color: #52647a; font-size: 14px; }
.v380-platform-store { color: var(--home-muted); font-size: 13px; }
.v380-platform-action { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--home-link); font-size: 13px; font-weight: 600; }
.v380-home-hero svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v380-platform-action svg { width: 16px; height: 16px; transition: transform .18s ease; }
.v380-platform-link:hover .v380-platform-action svg { transform: translateX(3px); }
.v380-qr-trigger { position: absolute; top: -1px; right: -1px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 0 20px 0 20px; color: #fff; background: var(--home-blue); cursor: pointer; }
.v380-qr-trigger:hover { background: var(--home-link); }
.v380-qr-trigger svg { width: 22px; height: 22px; stroke-width: 1.5; }
.v380-home-help { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 28px 0 0; color: var(--home-muted); font-size: 13px; }
.v380-home-hero .v380-home-help a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--home-link); text-decoration: none; }
.v380-home-help svg { width: 15px; height: 15px; }
.v380-home-hero .v380-home-help a:hover { text-decoration: underline; text-underline-offset: 4px; }
.v380-home-hero :is(a, button):focus-visible { outline: 2px solid var(--home-link); outline-offset: 4px; }
.v380-home-ad { min-width: 0; }
.v380-qr-dialog { position: fixed; width: min(360px, calc(100% - 32px)); max-width: none; padding: 32px; border: 1px solid #e0e7ef; border-radius: 16px; color: var(--home-ink); background: #fff; text-align: center; font: 14px/1.6 Arial, Helvetica, sans-serif; box-shadow: 0 20px 80px rgb(20 44 78 / .16); }
.v380-qr-dialog::backdrop { background: rgb(26 42 64 / .38); }
.v380-qr-dialog h2 { margin: 14px 0 8px; color: var(--home-ink); font: 600 20px/1.4 Arial, Helvetica, sans-serif; }
.v380-qr-dialog p { margin: 0; color: var(--home-muted); font-size: 13px; }
.v380-qr-dialog img { display: block; width: 216px; max-width: 100%; height: auto; margin: 18px auto; }
.v380-qr-close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #5e6e81; cursor: pointer; }
.v380-qr-close svg { width: 18px; height: 18px; }
.v380-home-hero .v380-qr-store-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-link); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .v380-home-hero-inner { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 960px) {
  .v380-home-hero-inner { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .v380-platform-grid { gap: 18px; }
  .v380-home-hero .v380-platform-link { min-height: 310px; padding-inline: 12px; }
  .v380-platform-link h3 { font-size: 20px; }
  .v380-platform-app { font-size: 13px; }
}
@media (max-width: 767px) {
  .v380-home-hero-inner { display: block; }
  .v380-home-visual { display: none; }
}
@media (max-width: 640px) {
  .v380-home-hero-inner { width: calc(100% - 40px); padding-block: 34px 26px; }
  .v380-download-heading h1 { font-size: 30px; line-height: 1.25; }
  .v380-home-intro { max-width: 340px; margin: 14px auto 0; font-size: 14px; }
  .v380-app-tabs { margin-block: 22px 26px; }
  .v380-platform-grid { grid-template-columns: 1fr; gap: 14px; }
  .v380-platform-card { border-radius: 16px; }
  .v380-home-hero .v380-platform-link { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: center; justify-items: start; column-gap: 18px; min-height: 168px; padding: 24px; border-radius: 16px; text-align: left; }
  .v380-platform-icon { grid-row: 1 / 5; align-self: center; height: auto; font-size: 50px; }
  .v380-home-hero .v380-android-icon { width: 50px; height: 56px; }
  .v380-platform-link .fa-windows { font-size: 46px; padding: 0; }
  .v380-platform-link h3 { margin: 0; padding-right: 12px; font-size: 21px; }
  .v380-platform-app { margin-top: 5px; }
  .v380-platform-store { font-size: 12px; }
  .v380-platform-action { margin-top: 12px; }
  .v380-qr-trigger { width: 44px; height: 44px; border-radius: 0 16px 0 16px; }
  .v380-home-help { margin-top: 20px; }
}
@media (max-width: 360px) {
  .v380-home-hero-inner { width: calc(100% - 32px); }
  .v380-download-heading h1 { font-size: 27px; }
  .v380-home-hero .v380-platform-link { column-gap: 14px; padding-inline: 20px; }
  .v380-platform-link h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .v380-platform-card, .v380-app-tabs button, .v380-platform-action svg { transition: none; }
  .v380-platform-card:hover, .v380-platform-link:hover .v380-platform-action svg { transform: none; }
}
