@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 150ms; }
::view-transition-new(root) { animation-duration: 220ms; }
.story-link { margin-top: 1rem; }
.story h1, .story h2 { font-family: var(--display); font-weight: 800; line-height: .98; text-transform: uppercase; letter-spacing: -.035em; }
.story h1 { font-size: clamp(3.55rem, 6.8vw, 7.6rem); margin: 2rem 0 1.4rem; font-style: italic; }
.story h1 em { color: var(--accent); }
.story .eyebrow, .story [aria-current="page"] { color: var(--accent); }
.story-hero { overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 52%, #13254b, transparent 55%), var(--bg); }
.story-grid, .story-row { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); }
.story-grid { min-height: clamp(29rem, 42vw, 42rem); padding-block: 3rem; }
.story-hero-art { display: grid; min-width: 0; place-items: center; }
.story-hero-art img { width: 100%; max-height: 540px; object-fit: contain; }
.story-compteur .story-hero-art img { mask-image: radial-gradient(ellipse closest-side,#000 77%,transparent 137%); }
.story-hero-art .app-device { width: clamp(180px,19vw,260px); border: 7px solid #323942; border-radius: 2rem; box-shadow: 0 1.3rem 4rem #0009; transform: rotate(4deg); }
.story-lead, .story-row p:not(.eyebrow), .records-grid p { color: #c2c8d2; max-width: 52ch; font-size: clamp(.94rem,1.3vw,1.1rem); line-height: 1.68; }
.story-copy .button, .story-row .text-link { margin-top: 1.5rem; }
.story h2 { font-size: clamp(2.8rem,4.5vw,5rem); margin: 1.2rem 0; }
.story-row, .app-records { padding-block: clamp(3rem,7vw,7rem); border-bottom: 1px solid var(--line); }
.story-row .scene { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 4px; }
.story-row .scene-duo { height: auto; object-fit: contain; background: #0c141e; }
.story-row:nth-child(odd) .scene { order: 1; }
.records-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.5rem,3vw,3rem); margin-top: 2rem; }
.screen-stage { display: grid; place-items:center; padding: 1.6rem; background: radial-gradient(at 80% 30%,#182c50,#0c111a 75%); border: 1px solid var(--line); border-radius: 4px; }
.screen-stage img { width: min(100%,194px); height: auto; border: 4px solid #303743; border-radius: 18px; }
.records-grid h3 { margin: 1.3rem 0 .5rem; font-size: 1.22rem; }
.app-download,.story-footer,.story-footer nav { display: flex; align-items:center; justify-content:space-between; gap: 1.5rem; flex-wrap:wrap; }
.app-download { gap: .75rem 1.5rem; padding-block: clamp(1rem, 2vw, 1.75rem); }
.app-download > h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.75rem); }
.story-footer { padding-block: 2.5rem; }
.story-footer nav { font-size: .85rem; }
.story a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story-row .scene,.screen-stage,.detail-image img { animation: mx-enter linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    @keyframes mx-enter { from { transform: translateY(12px); opacity: .85; } to { transform: none; opacity: 1; } }
  }
}
@media (max-width:760px) {
  .story-grid,.story-row,.records-grid { grid-template-columns: 1fr; }
  .story-grid { padding-block: 2rem; gap: 1.8rem; }
  .story h1 { margin-top: 1.4rem; }
  .story-row .scene,.story-row:nth-child(odd) .scene { order: 0; }
  .story-hero-art img { max-height: 330px; }
  .story-hero-art .app-device { width: 158px; }
  .story .header-cta { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),::view-transition-new(*),::view-transition-old(*) { animation-duration: 0s !important; }
}

/* Application access comparison */
.access-jump { display: inline-flex; align-items: center; gap: .7rem; margin: 1rem 0 0 1.3rem; padding-block: .65rem; font-size: .85rem; }
.access-jump span { color: var(--accent); }
.access-section, .access-section + .app-records { padding-top: clamp(1.5rem,3vw,3rem); }
/* Catalogue ribbon. The unenhanced and reduced-motion versions show a static list. */
.brand-band {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0d0f15;
}
.brand-band-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); padding-block: .85rem; }
.brand-band-title { flex: none; max-width: 14ch; margin: 0; color: #bec5d0; font-size: .85rem; line-height: 1.4; }
.brand-window { flex: 1; min-width: 0; overflow: hidden; }
.brand-set { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: 1rem 2.6rem; }
.brand-set li { flex: none; display: flex; align-items: center; gap: .55rem; color: #dbdee7; font-weight: 750; font-size: .93rem; }
.brand-set img { width: auto; height: auto; max-height: 2rem; max-width: 5.5rem; }
.brand-set li:has(span) img { max-width: 2.75rem; max-height: 1.55rem; }
.brand-play { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid #40444f; border-radius: 50%; background: transparent; color: #e5eaf2; }
.brand-play::before { content: ""; width: 8px; height: 12px; border-inline: 2px solid; }
.brand-band.is-paused .brand-play::before { width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 9px; border-left-color: currentColor; margin-left: 2px; }
.brand-play[hidden], .offer-switch[hidden], .offer-card[hidden], .offer-price[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .brand-band.is-moving .brand-window { mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent); }
  .brand-band.is-moving .brand-track { display: flex; width: max-content; animation: mx-brands 45s linear infinite; }
  .brand-band.is-moving .brand-set { flex: none; flex-wrap: nowrap; width: max-content; padding-right: 2.6rem; }
  .brand-band.is-paused .brand-track { animation-play-state: paused; }
  @keyframes mx-brands { to { transform: translateX(-50%); } }
}
.offer-legend, .offer-legend > span { display: flex; align-items: center; }
.offer-legend { justify-content: flex-end; gap: 1.25rem; margin-bottom: 1rem; color: #c4c9d3; font-size: .875rem; }
.offer-legend > span { gap: .45rem; }
/* Two offer panels share their reading order and feature labels. */
.access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(1rem, 2vw, 2rem); }
.offer-card {
  --offer-line: #ffffff15;
  min-width: 0; isolation: isolate; overflow: hidden;
  border: 1px solid transparent; border-radius: 1.15rem;
  background: linear-gradient(#14151b, #101116 27%, #101116) padding-box,
              linear-gradient(140deg, #958071, #484b59 22%, #292c36 62%) border-box;
}
.offer-card.access-connected {
  --offer-line: #989bc72b;
  background: linear-gradient(156deg, #19182d, #101627 30%, #101420 70%) padding-box,
              linear-gradient(113deg, #979fcc, #607197 28%, #585889 59%, #dfccff 83%, #8875c2 88%, #475781) border-box;
  box-shadow: 0 0 30px #606bff13, 0 16px 44px #0005;
}
.offer-intro {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto; align-items: center; column-gap: .9rem; row-gap: 1.25rem;
  padding: clamp(1.25rem,2.5vw,2.35rem); min-height: 21rem;
  border-bottom: 1px solid var(--offer-line);
  background: radial-gradient(ellipse at 9% -20%, #9c6b4644, transparent 50%), radial-gradient(ellipse at 92% 47%, #49596a38, transparent 58%);
}
.access-connected .offer-intro {
  background: radial-gradient(ellipse 24% 15% at 84% -5%, #c3aaff6b, transparent),
              radial-gradient(ellipse at 88% -16%, #8a70eaa1, transparent 49%),
              radial-gradient(ellipse at 82% 64%, #364e9b77, transparent 58%),
              radial-gradient(ellipse at -12% 75%, #87613d30, transparent 54%), #101324;
}
.offer-intro::before, .offer-intro::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.offer-intro::before { top: -51%; right: -20%; width: 68%; height: 124%; border: 1px solid #a4b1c71c; border-radius: 50%; transform: rotate(-29deg); box-shadow: 4px 3px 11px #8b9aaf13; }
.access-connected .offer-intro::before { border-color: #b9beff54; box-shadow: 3px 0 9px #aca0ff46, 13px 0 25px #7c6fff30; }
.offer-intro::after { width: 45%; height: 45%; top: 0; right: 0; background: radial-gradient(#ded8ff55 .7px, transparent 1px) 0 0 / 8px 8px; mask-image: radial-gradient(ellipse at 85% 0, black, transparent 73%); }
.offer-kind { margin: 0 0 .55rem; color: #c2b6ad; font-size: .85rem; font-weight: 650; }
.access-connected .offer-kind { color: #c9c9f9; }
.offer-heading h3 { margin: 0; font: italic 800 clamp(2.35rem,3.6vw,4rem)/.98 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.access-connected .offer-heading h3 { color: var(--accent); }
.offer-description { margin: .85rem 0 0; max-width: 35ch; color: #d0d3dc; font-size: 1rem; line-height: 1.53; }
.offer-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.2rem; }
.offer-action { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.15rem; border: 1px solid #626773; border-radius: .55rem; font-weight: 750; font-size: .95rem; color: #fafbff; background: #1c2029; }
.offer-action:hover, .offer-action:focus-visible { border-color: #d5dbe9; }
.access-connected .offer-action { border-color: #e4ff8b; background: linear-gradient(115deg,#e7ff89,#cefa39); color: #161b08; box-shadow: 0 3px 17px #ceff3420; }
.access-connected .offer-action:hover, .access-connected .offer-action:focus-visible { background: #ecff9b; }
.offer-price { color: #c1c6d2; font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.access-connected .offer-price { color: #f4f5f9; }
.offer-terms { display: grid; gap: .2rem; }
.offer-subscription { color: var(--ink); font: 800 clamp(1.2rem, 1.5vw, 1.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.offer-subscription span { color: var(--accent); }
.access-product {
  display: block;
  place-self: center;
  width: min(100%, 19rem);
  height: auto;
}

.offer-functions { padding: .2rem clamp(1.25rem,2.5vw,2.35rem) 1.45rem; }
.offer-group { padding-top: 1.45rem; }
.offer-group h4 { margin: 0 0 .55rem; color: #f5f6fb; font-size: 1.03rem; line-height: 1.4; }
.offer-group ul { margin: 0; padding: 0; list-style: none; }
.offer-group li { display: grid; grid-template-columns: 1.1rem 1fr; align-items: start; gap: .7rem; margin: 0; padding: .58rem 0; border-bottom: 1px solid var(--offer-line); color: #d9dce6; font-size: .96rem; line-height: 1.45; }
.offer-group .unavailable { color: #aaadba; }
.offer-mark { position: relative; top: .16rem; display: inline-grid; width: 1rem; height: 1rem; place-items: center; flex: none; color: #d0deaa; }
.included .offer-mark::before { content: ""; width: .39rem; height: .66rem; margin-top: -.22rem; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(40deg); }
.access-connected .offer-mark, .offer-legend .included .offer-mark { color: var(--accent); }
.unavailable .offer-mark::before { content: ""; width: .58rem; height: 1.5px; background: #9197aa; }
.offer-legend .offer-mark { top: 0; }
.offer-note { margin: 1.15rem 0 0; font-size: .875rem; line-height: 1.5; color: #b6bdca; }
.offer-switch { display: flex; gap: .3rem; padding: .3rem; margin: 0 0 1rem; background: #151821; border: 1px solid #353948; border-radius: .75rem; }
.offer-switch button { flex: 1; padding: .65rem .4rem; min-height: 44px; font: 700 .94rem var(--body); border: 1px solid transparent; border-radius: .48rem; color: #c2c7d3; background: transparent; }
.offer-switch button[aria-selected="true"] { background: #343846; color: white; border-color: #545966; }
.offer-switch #tab-connected[aria-selected="true"] { background: #282e19; border-color: #5c7030; color: var(--accent); }
@media (min-width: 901px) {
  .access-options { row-gap: 0; }
  .offer-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
}
@media (max-width: 900px) {
  .offer-switch { position: sticky; z-index: 3; top: 90px; }
  .offer-card { scroll-margin-top: 4rem; }
  .access-options { grid-template-columns: minmax(0,1fr); }
  .brand-band-inner { gap: 1rem; }
}
@media (max-width: 510px), (min-width: 901px) and (max-width: 1170px) {
  .offer-intro { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); grid-template-rows: auto auto auto auto; grid-template-areas: "kind art" "name art" "description description" "actions actions"; gap: .55rem .45rem; min-height: auto; }
  .offer-heading { display: contents; }
  .offer-kind { grid-area: kind; margin: 0; align-self: end; }
  .offer-heading h3 { grid-area: name; align-self: start; }
  .offer-description { grid-area: description; margin: .35rem 0 .65rem; max-width: none; }
  .offer-intro .access-product { grid-area: art; min-height: 0; }
  .offer-actions { grid-area: actions; }
}
@media (max-width: 550px) {
  .brand-band-inner { flex-wrap: wrap; gap: .45rem .65rem; }
  .brand-band-title { max-width: none; width: 100%; }
  .brand-window { min-width: 0; }
  .brand-set { gap: .85rem 1.8rem; }
  .brand-band.is-moving .brand-set { padding-right: 1.8rem; }
}
.access-explorer { padding-top: clamp(3rem,6vw,6rem); }
.access-explorer > h2 { margin: 0 0 1.2rem; }
.access-detail { border-top: 1px solid var(--line); }
.access-detail:last-child { border-bottom: 1px solid var(--line); }
.access-detail > summary { display: flex; gap: .9rem; align-items: center; list-style: none; cursor: pointer; padding: 1rem .2rem; font: 600 1rem/1.4 var(--body); }
.access-detail > summary::-webkit-details-marker { display: none; }
.access-detail > summary .access-icon {
  display: block;
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  color: var(--accent);
}
.access-detail > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.access-toggle { flex: none; margin-left: auto; position: relative; width: 24px; height: 24px; border-radius: 50%; background: #ffffff0d; }
.access-toggle::before,.access-toggle::after { content: ''; background: #d0d7e0; position: absolute; inset: 11px 7px auto; height: 2px; }
.access-toggle::after { transform: rotate(90deg); }
.access-detail[open] .access-toggle::after { display: none; }
.access-detail[open] summary span, .access-detail summary:hover { color: var(--accent); }
.access-detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 2.25rem; padding: .3rem 0 1.65rem 2.4rem; }
.access-detail-body h4 { margin: 0 0 .45rem; font: 700 .85rem var(--body); }
.access-detail-body p { margin: 0; color: #c1c8d4; line-height: 1.6; font-size: .92rem; max-width: 57ch; }
@media (max-width:760px) {
  .access-detail-body { grid-template-columns: 1fr; }
  .access-detail-body { padding-left: .2rem; }
  .access-jump { margin-left: 0; margin-right: 1rem; display: flex; width: fit-content; }
}

/* Primary download and order actions. */
.button.app-hero-download,
.button.order-cta:enabled {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: clamp(.75rem, 2.4vw, 1.5rem);
  max-width: 100%;
  min-height: 61px;
  padding: .58rem .62rem .58rem clamp(.85rem, 2.2vw, 1.25rem);
  border: 1px solid #e5ff8e;
  border-radius: 7px;
  background: linear-gradient(110deg, #e3ff77, var(--accent) 58%, #c3ed2e);
  color: var(--accent-ink);
  box-shadow: 0 8px 22px #0005, 0 3px 14px #d4ff3f1f;
  font-size: clamp(.86rem, 1.05vw, .98rem);
}
.button.app-hero-download strong,
.order-cta > [data-sale-open] { position: relative; font-weight: 800; }
.button.app-hero-download:hover:not(:disabled),
.button.app-hero-download:focus-visible,
.button.order-cta:enabled:is(:hover, :focus-visible) {
  background: linear-gradient(110deg, #ebff98, #deff64 58%, #d3f74d);
  box-shadow: 0 8px 24px #0005, 0 3px 19px #d4ff3f33;
}
.app-hero-download-badge,
.order-cta-arrow {
  position: relative;
  display: grid;
  flex: none;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #384719;
  border-radius: 5px;
  background: var(--accent-ink);
}
.app-hero-download-badge .site-menu-download-icon { margin-inline-start: 0; }
.order-cta { min-width: min-content; text-align: left; }
.hero-actions > .hero-price {
  flex: 1 1 8rem;
  min-width: min-content;
  white-space: normal;
}
.hero-actions > .hero-price > [data-price] { white-space: nowrap; }
.order-cta-arrow { color: var(--accent); }
.order-arrow-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}
.mobile-buy .order-arrow-icon { width: 1rem; height: 1rem; }
.order-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.mobile-buy > .order-cta:enabled {
  flex: none;
  min-height: 46px;
  gap: .65rem;
  padding: .375rem .4rem .375rem .85rem;
  font-size: .78rem;
}
.mobile-buy .order-cta-arrow { width: 30px; height: 30px; }
@media (max-width: 480px) {
  .hero-actions > .order-cta:enabled {
    gap: .65rem;
    padding: .5rem .5rem .5rem .85rem;
    font-size: .8rem;
  }
  .order-cta-arrow { width: 30px; height: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .app-hero-download::before,
  .order-cta:enabled::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -10% auto -10% 0;
    width: 32%;
    background: linear-gradient(100deg, transparent, #fff8, transparent);
    transform: translateX(-135%) skewX(-18deg);
    transition: transform 540ms cubic-bezier(.22,.61,.36,1);
  }
  .app-hero-download:is(:hover, :focus-visible)::before,
  .order-cta:enabled:is(:hover, :focus-visible)::before { transform: translateX(430%) skewX(-18deg); }
  .app-hero-download .site-menu-download-icon { transition: transform 220ms ease-out; }
  .app-hero-download:is(:hover, :focus-visible) .site-menu-download-icon { transform: translateY(2px); }
}

/* Feature selection keeps one underline attached to the current tab. */
.app-tabs button { position: relative; }
.app-tabs button:has(> .tab-underline) { border-bottom-color: transparent; }
.tab-underline {
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art > img, .story-compteur .story-hero-art img {
    animation: product-arrival 760ms cubic-bezier(.2,.75,.22,1) backwards;
  }
  .hero .small-line {
    transform-origin: left;
    animation: accent-arrival 440ms cubic-bezier(.2,.75,.22,1) backwards;
  }
  .gallery-photo-entering {
    animation: photo-change 320ms cubic-bezier(.18,.72,.22,1);
  }
  .order-cta .order-arrow-icon, .app-hero-download-badge {
    transition: transform 180ms cubic-bezier(.2,.75,.22,1);
  }
  .order-cta:enabled:active .order-arrow-icon { transform: scale(.86); }
  .app-hero-download:active .app-hero-download-badge { transform: translateY(1px) scale(.94); }
  @media (hover: hover) and (pointer: fine) {
    .order-cta:enabled:hover:not(:active) .order-arrow-icon { transform: translate(2px,-2px); }
  }
  .benefits-in-view .benefit-detail {
    stroke-dasharray: 1;
    animation: benefit-trace 540ms cubic-bezier(.22,.68,.25,1) backwards;
  }
  .benefits-in-view > :nth-child(2) .benefit-detail { animation-delay: 60ms; }
  .benefits-in-view > :nth-child(3) .benefit-detail { animation-delay: 120ms; }
  .benefits-in-view > :nth-child(4) .benefit-detail { animation-delay: 180ms; }
  .benefits-in-view > :nth-child(5) .benefit-detail { animation-delay: 240ms; }
  @keyframes benefit-trace {
    from { stroke-dashoffset: 1; opacity: .3; }
    to   { stroke-dashoffset: 0; opacity: .72; }
  }
  @keyframes product-arrival {
    from { opacity: .78; translate: 0 9px; scale: .98; }
    to   { opacity: 1; translate: 0; scale: 1; }
  }
  @keyframes accent-arrival {
    from { transform: scaleX(.2); }
    to   { transform: scaleX(1); }
  }
  @keyframes photo-change {
    from { opacity: .72; scale: 1.018; }
    to   { opacity: 1; scale: 1; }
  }
}
