[data-home-template-reference] {
  --shell-width: 1200px;
  --shell-gutter: 0px;
  --shell-header-height: 88px;
  --ink: #172443;
  --muted: #445373;
  --line: #dce5f6;
  --blue: #254edb;
  --blue-dark: #1938a3;
}
[data-home-template-reference] .p15-main {
  width: 100%;
  min-width: 0;
}
[data-home-template-reference] .article-story .p15-main {
  width: 100%;
}
[data-home-template-reference] .hero-copy .p15-action-note {
  color: inherit;
  margin-top: 1rem;
}
[data-home-template-reference] .p15-main .shell-button {
  padding: .65rem 1rem;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
}
[data-home-template-reference] #registration-dialog:not([open]) {
  display: none;
}
[data-home-template-reference] #registration_iframe {
  display: block;
  width: min(100%, 650px);
  height: var(--review-form-height, 420px) !important;
}

[data-home-template-reference] #registration-dialog[open] {
  height: auto;
  min-height: 0;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}

[data-home-template-reference] .review-form-entry {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

[data-home-template-reference] .review-form-entry .form-contact {
  margin: 0;
}
@media (max-width: 767px) {
  [data-home-template-reference] .hero-copy .p15-breadcrumbs { margin-block: 0 .75rem; }
}

[data-home-template-reference] .p15-main [hidden] { display: none !important; }

[data-home-template-reference] .hero .article-hero-figure img[src$="/app-map-v3.webp"] {
  display: block;
  width: clamp(142px, 28vw, 260px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 900 / 1289;
  object-fit: contain;
  margin-inline: auto;
}

body[data-home-template-reference] .site-header {
  position: sticky;
  z-index: 20;
  top: 0;
}

[data-home-template-reference] .header-cta,
[data-home-template-reference] .content-hero-actions .hero-cta {
  white-space: nowrap;
}

[data-home-template-reference] .footer .footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
  text-align: center;
}

[data-home-template-reference] .footer-main p {
  width: 100%;
  margin: 0;
  order: 1;
}

[data-home-template-reference] [data-catalog] > :is(.p15-catalog-intro, .p15-catalog-search, .p15-results) {
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-block: 0 clamp(16px, 3vw, 28px);
  padding: clamp(16px, 3vw, 28px);
  min-width: 0;
}

[data-home-template-reference] .p15-catalog-intro {
  background: #edf2ff;
}

[data-home-template-reference] .p15-catalog-intro p,
[data-home-template-reference] .p15-catalog-search h2 {
  margin: 0;
}

[data-home-template-reference] .p15-catalog-search:has(form[hidden]) {
  display: none;
}

[data-home-template-reference] .p15-catalog-search .p15-filter {
  margin-top: 16px;
}

[data-home-template-reference] .p15-catalog-search .p15-control .icon {
  width: 16px;
  height: 16px;
  margin-inline-end: 6px;
  vertical-align: middle;
}

[data-home-template-reference] .p15-results .p15-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 12px;
}

[data-home-template-reference] .p15-results .p15-item {
  min-width: 0;
  border-radius: 16px;
  background: #f7f9ff;
}

[data-home-template-reference] .p15-results .p15-item [data-app-cta] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
}

@media (max-width: 1119px) {
  body[data-home-template-reference] .site-header .menu-button:not([hidden]) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  [data-home-template-reference] .site-header .menu-button::before {
    content: "";
    width: 21px;
    height: 11px;
    border-block: 2px solid currentColor;
  }

  [data-home-template-reference] .site-header .menu-button > * {
    display: none;
  }

  [data-home-template-reference] .site-header .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 14px max(16px, calc((100% - var(--shell-width)) / 2));
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  [data-home-template-reference] .site-header .main-nav.is-open {
    display: flex;
  }
}

@media (max-width: 767px) {
  body[data-home-template-reference] {
    padding-block-end: calc(70px + env(safe-area-inset-bottom, 0px));
    --shell-header-height: 72px;
  }

  body[data-home-template-reference] nav.sticky-cta {
    display: grid;
    position: fixed;
    z-index: 15;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    inset: auto 0 0;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: #fff;
  }

  body[data-home-template-reference] nav.sticky-cta :is(.button, .mobile-contact) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 4px;
    font-size: clamp(12px, 3.2vw, 15px);
    line-height: 1.15;
    white-space: nowrap;
  }

  [data-home-template-reference] .mobile-contact .icon {
    display: none;
  }
}

.article-motion-guide { margin-block: clamp(24px, 5vw, 48px); min-width: 0; }
.article-motion-guide video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #172f6b; border-radius: 18px; }
.article-motion-transcript { margin-block-start: 1rem; }
.article-motion-transcript summary { cursor: pointer; min-height: 44px; padding-block: .5rem; }
.article-motion-transcript li { padding-block: .25rem; }

[data-home-template-reference] .article-primary-hero {
  background: linear-gradient(115deg, #f6f9ff 25%, #e9f0ff 100%);
  padding-block: clamp(2rem, 5vw, 4.75rem);
}

[data-home-template-reference] .article-primary-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 4vw, 3.125rem);
  align-items: center;
}

[data-home-template-reference] .article-primary-hero h1 {
  margin-block: .35em .3em;
  font-size: clamp(2.375rem, 4.2vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.042em;
  overflow-wrap: anywhere;
}

[data-home-template-reference] .article-primary-hero .hero-lead {
  max-width: 47ch;
  line-height: 1.5;
}

[data-home-template-reference] .article-primary-hero .article-hero-figure {
  align-self: center;
  width: 100%;
}

[data-home-template-reference] .article-hero-artwork {
  position: relative;
  padding: clamp(.625rem, 2.2vw, 1.5rem);
  border: 1px solid #d5e2fc;
  border-radius: clamp(1.125rem, 2.8vw, 2rem);
  background: radial-gradient(ellipse at 87% 12%, #f9fbff 0, transparent 70%),
    linear-gradient(153deg, #eaf0ff, #dce8ff);
}

[data-home-template-reference] .article-hero-artwork img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: clamp(.75rem, 1.7vw, 1.25rem);
  box-shadow: 0 .6rem 1.35rem #29467829;
}

[data-home-template-reference] .article-primary-hero .article-hero-figure figcaption {
  max-width: 62ch;
  line-height: 1.45;
}

@media (max-width: 900px) {
  [data-home-template-reference] .article-primary-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.375rem, 4vw, 2rem);
  }

  [data-home-template-reference] .article-primary-hero .article-hero-figure {
    max-width: min(100%, 40rem);
  }
}

@media (max-width: 650px) {
  [data-home-template-reference] .article-primary-hero {
    padding-block: 1.5rem 1.75rem;
  }

  [data-home-template-reference] .article-primary-hero h1 {
    font-size: clamp(1.875rem, 7.8vw, 2.625rem);
    line-height: 1.1;
  }

  [data-home-template-reference] .article-primary-hero .hero-lead {
    font-size: 1.0625rem;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  [data-home-template-reference] .article-primary-hero {
    padding-block-start: .5rem;
  }

  [data-home-template-reference] .article-primary-hero .hero-grid {
    width: calc(100% - 1.5rem);
  }

  [data-home-template-reference] .article-primary-hero .p15-breadcrumbs [aria-current="page"] {
    display: none;
  }

  [data-home-template-reference] .article-primary-hero :is(.p15-breadcrumbs, h1, .hero-lead) {
    margin-block: 0 .25rem;
  }

  [data-home-template-reference] .article-primary-hero h1 {
    font-size: clamp(1.5rem, 7.8vw, 1.875rem);
    line-height: 1.08;
  }

  [data-home-template-reference] .article-primary-hero .hero-lead {
    font-size: 1rem;
    line-height: 1.35;
  }

  [data-home-template-reference] .article-primary-hero .content-hero-actions {
    margin-block-start: 0;
  }

  [data-home-template-reference] .article-primary-hero .hero-cta {
    scroll-margin-block-end: 4.5rem;
  }
}

/* Small screens: keep actions together after the heading and retain the full introduction. */
@media (max-width: 430px) {
  main .payment-section .conditions-grid { grid-template-columns: minmax(0, 1fr); }
  main .payment-section .condition { min-inline-size: 0; overflow-wrap: anywhere; }
  main .payment-section .condition h3 { white-space: normal; }
}
@media (max-width: 420px) and (max-height: 700px) {
  main .hero .hero-copy:has(> .content-hero-actions),
  main .hero .article-hero-copy:has(> .article-hero-actions) {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    text-align: inherit;
  }
  main .hero :is(.hero-copy, .article-hero-copy) > :is(.hero-lead, .article-hero-summary) { order: 2; }
  main .hero :is(.hero-copy, .article-hero-copy) > .article-hero-note { order: 3; }
}
@media (min-width: 651px) and (max-width: 990px) {
  main .hero :is(.hero-copy, .article-hero-copy) { position: relative; z-index: 1; min-width: 0; }
}
