@font-face {
  font-family: "Instrument Sans";
  src: url("../assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #fff8e8;
  --card: #f3e8d5;
  --white: #fffdf7;
  --primary: #651f33;
  --ink: #38241f;
  --quiet: #6d5147;
  --accent: #f4c46d;
  --line: #cfb9a2;
  --logo-color: var(--primary);
  --logo-detail-color: var(--paper);
  --radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", "Helvetica Neue", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 5.2vw, 4.7rem); letter-spacing: -.038em; font-weight: 600; }
h2 { font-size: clamp(2.55rem, 5vw, 4.35rem); letter-spacing: -.038em; font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); letter-spacing: -.025em; font-weight: 600; }
p { max-width: 65ch; }
.wrap { width: min(calc(100% - 72px), 1160px); margin-inline: auto; }
.block { padding-block: clamp(3.6rem, 8vw, 7.2rem); }
.icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo { display: block; width: 132px; height: auto; }
.skip { position: absolute; z-index: 30; top: .75rem; left: .75rem; padding: .7rem 1rem; color: var(--ink); background: var(--accent); }
.skip:not(:focus) { clip-path: inset(50%); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 10px; font-size: .96rem; font-weight: 650; text-decoration: none; text-align: center; cursor: pointer; }
.honey { background: var(--accent); color: var(--ink); }
.honey:hover { background: #ffda91; }
.cocoa, .button.dark { background: var(--ink); color: var(--white); }
.cocoa:hover, .button.dark:hover { background: var(--primary); }
.outline { border-color: #ffedd4; color: var(--white); }
.outline:hover { background: #38241fd9; }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; }

.hero { position: relative; isolation: isolate; min-height: clamp(680px, calc(100svh - 40px), 960px); margin: 20px; border-radius: 20px; background: #3b211a; color: var(--white); }
.hero::after, .hero-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.hero-photo { object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; background: linear-gradient(180deg, #221208c9 0%, #2212089e 30%, #22120845 56%, transparent 78%); }
.hero :focus-visible, .topbar :focus-visible, .shift-list :focus-visible, .sector :focus-visible { outline-color: var(--accent); }
.topbar { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.5rem); min-height: 76px; padding: .75rem 1.4rem; border-bottom: 1px solid #fff8e84d; }
.desktop-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .96rem; }
.desktop-nav a, .footer nav a { text-decoration: none; }
.desktop-nav a:hover, .footer a:hover { text-decoration: underline; }
.top-cta { margin-left: auto; }
.mobile-nav { display: none; }
.hero-content { position: relative; display: grid; justify-items: center; gap: 1.25rem; padding: clamp(2.8rem, 6.5vh, 5rem) 1.25rem 0; text-align: center; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-content p { color: var(--white); max-width: 53ch; font-size: clamp(1.05rem, 1.6vw, 1.23rem); }
.hero-content .actions { margin-top: .35rem; }

.facts { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 2.1rem; padding-block: clamp(1.4rem, 4vw, 3rem); color: var(--quiet); font-size: .96rem; font-weight: 650; text-align: center; }
.facts span + span { position: relative; }
.facts span + span::before { content: ""; position: absolute; top: .65em; left: -1.15rem; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }

.intro { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.2rem); background: var(--card); padding: clamp(1.6rem, 5vw, 4.25rem); border-radius: var(--radius); }
.intro p, .hardware p, .faq p, .demo p { margin-top: 1.15rem; }
.intro .button, .hardware .button { margin-top: 1.25rem; }
.intro-visual { display: grid; align-content: center; padding: .6rem; border-radius: 13px; background: #3c281f; color: var(--paper); }
.intro-visual img { border-radius: 8px; width: 100%; }
.intro-visual figcaption { padding: .55rem .4rem .15rem; font-size: .84rem; }
.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(1rem, 3vw, 2rem); }
.shift-media, .shift-list { border-radius: var(--radius); }
.shift-media { display: grid; align-items: center; min-height: 460px; padding: clamp(1.25rem, 3vw, 2.5rem); background: #b18360; }
.step-media { display: none; }
.step-media img { width: 100%; border-radius: 10px; box-shadow: 0 12px 26px #2c170f56; }
.service-media { display: block; }
.shift:has(.step:nth-of-type(2)[data-active]) .service-media, .shift:has(.step:nth-of-type(3)[data-active]) .service-media { display: none; }
.shift:has(.step:nth-of-type(2)[data-active]) .shift-media { background: #e4ccb2; }
.shift:has(.step:nth-of-type(3)[data-active]) .shift-media { background: #f1dbb1; }
.shift:has(.step:nth-of-type(2)[data-active]) .kitchen-media, .shift:has(.step:nth-of-type(3)[data-active]) .payment-media { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .step-media { animation: step-reveal .32s ease-out both; }
  @keyframes step-reveal { from { opacity: .35; } to { opacity: 1; } }
}
.payment-media img { width: min(65%, 250px); margin-inline: auto; box-shadow: none; }
.shift-list { display: flex; flex-direction: column; gap: .4rem; padding: clamp(1.4rem, 4vw, 2.8rem); background: var(--primary); color: var(--paper); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.step-trigger { display: flex; align-items: center; gap: .95rem; padding-block: .55rem; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 650; line-height: 1.15; }
.step-number { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #d294a3; border-radius: 9px; font-size: 1.05rem; }
.step[data-active] .step-number { background: var(--paper); color: var(--primary); }
.step p { margin-left: 59px; padding: .15rem 0 .85rem; color: #ffe5e3; }
.shift-list > .button { margin-top: auto; align-self: end; }

.sectors h2, .features h2 { text-align: center; }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.sector { display: grid; align-items: end; position: relative; isolation: isolate; overflow: hidden; min-height: clamp(320px, 32vw, 445px); padding: clamp(1.1rem, 2.6vw, 1.8rem); border-radius: var(--radius); background: #50362e; color: var(--white); }
.sector img, .sector::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.sector img { object-fit: cover; }
.sector::after { content: ""; background: linear-gradient(180deg, transparent 30%, #1b0d08ee 83%); }
.sector p { margin-top: .5rem; }
.sector a { display: inline-flex; gap: .35rem; align-items: center; margin-top: .85rem; font-weight: 650; }

.features { background: #efe1cf; }
.feature-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(1.25rem, 4vw, 3.2rem); margin-top: clamp(2rem, 5vw, 4rem); }
.accordions { border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { position: relative; padding: .95rem 2rem .95rem 0; font-weight: 650; }
.accordions summary .icon { position: absolute; right: .15rem; top: 1.12rem; }
.accordions details[open] summary .icon { transform: rotate(180deg); }
.accordions p { margin: 0; padding: 0 1rem 1rem 0; color: var(--quiet); }
.feature-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.feature-card { display: flex; flex-direction: column; align-items: center; padding: clamp(.85rem, 2vw, 1.25rem); border-radius: var(--radius); background: #f8e5c2; }
.feature-card.kitchen { background: #efd1cd; }
.feature-card.qr { background: #e1e4d1; }
.feature-card.pay { background: #eadbcf; }
.feature-card img { width: 100%; height: clamp(105px, 12vw, 170px); object-fit: contain; }
.feature-card div { align-self: stretch; margin-top: .85rem; }
.feature-card h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.feature-card p { margin-top: .42rem; font-size: .93rem; }

.hardware { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.hardware ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.hardware li { padding-block: .2rem; }
.hardware li::marker { color: var(--primary); }
.hardware-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.hardware-grid div { display: grid; align-items: center; justify-items: center; height: clamp(130px, 18vw, 225px); background: #efd8be; padding: .8rem; overflow: hidden; border-radius: var(--radius); }
.hardware-grid div:nth-child(2), .hardware-grid div:nth-child(3) { background: #f2e6d6; }
.hardware-grid img { max-height: 100%; width: 100%; object-fit: contain; min-height: 0; }

.modules { background: #f1e2cf; }
.section-head { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1rem 2.5rem; align-items: end; }
.section-head p { color: var(--quiet); }
.module-controls { display: flex; justify-content: flex-end; gap: .5rem; margin-block: 1.25rem .85rem; }
.module-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--primary); border-radius: 8px; background: var(--paper); color: var(--primary); cursor: pointer; }
.module-controls button:hover:not([aria-disabled="true"]) { background: var(--primary); color: var(--paper); }
.module-controls button[aria-disabled="true"] { border-color: #b49b89; color: var(--quiet); cursor: default; }
.module-list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.module-list::-webkit-scrollbar { display: none; }
.module-list article { scroll-snap-align: start; border-radius: var(--radius); background: var(--paper); padding: clamp(1.1rem, 2.2vw, 1.75rem); }
.module-list article > .icon { display: block; width: 44px; height: 44px; padding: 10px; margin-bottom: 1rem; border-radius: 10px; background: var(--card); color: var(--primary); }
.module-list h3 { font-size: 1.45rem; }
.module-list p { margin-top: .6rem; color: var(--quiet); }

.faq, .demo-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 6vw, 5.5rem); }
.demo { background: var(--primary); color: var(--paper); }
.demo h2 { color: var(--accent); }
form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1rem, 3.6vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
label { display: block; font-weight: 650; font-size: .92rem; }
.optional { font-weight: 400; color: var(--quiet); font-size: .86em; }
.full { grid-column: 1 / -1; }
input, select, textarea { display: block; width: 100%; min-height: 44px; margin-top: .35rem; padding: .6rem; border: 1px solid #9a7e70; border-radius: 7px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
#form-note { font-size: .91rem; color: var(--quiet); }
form .button { margin-top: .9rem; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.6rem; font-size: .93rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.3rem; }

@media (max-width: 840px) {
  .desktop-nav { display: none; }
  .topbar { gap: .65rem; }
  .mobile-nav { display: block; }
  .mobile-nav > summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #fff8e875; border-radius: 10px; }
  .mobile-nav nav { position: absolute; top: 69px; right: 1.4rem; z-index: 2; display: grid; min-width: 190px; background: var(--paper); color: var(--ink); border-radius: 10px; padding: .5rem; box-shadow: 0 12px 24px #28141154; }
  .mobile-nav nav a { display: block; padding: .5rem .65rem; }
  .mobile-nav nav :focus-visible { outline-color: var(--primary); }
  .module-list { grid-auto-columns: calc((100% - 1rem) / 2); }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .hero { min-height: min(740px, max(610px, calc(100svh - 20px))); margin: 10px; border-radius: 16px; }
  .hero-photo { object-position: 50% 60%; }
  .hero::after { background: linear-gradient(180deg, #221208de, #221208ab 40%, #22120838 70%, transparent 90%); }
  .topbar { padding: .6rem .75rem; min-height: 64px; }
  .topbar .logo { width: 105px; }
  .top-cta { padding-inline: .6rem; font-size: .82rem; min-height: 44px; }
  .top-cta .icon { display: none; }
  .mobile-nav nav { top: 60px; right: .75rem; }
  .hero-content { padding-top: clamp(2.4rem, 7vh, 4rem); gap: .9rem; }
  .hero h1 { font-size: clamp(2.7rem, 9vw, 4.3rem); }
  .intro, .shift, .feature-layout, .hardware, .faq, .demo-inner, .section-head { grid-template-columns: 1fr; }
  .facts { gap: .55rem 1.3rem; }
  .facts span + span::before { display: none; }
  .shift-media { min-height: 0; aspect-ratio: 4 / 3; }
  .step-media img { max-height: 240px; object-fit: contain; box-shadow: none; }
  .shift-list > .button { margin-top: auto; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector { min-height: 310px; }
  .feature-layout { margin-top: 1.6rem; }
  .footer { align-items: flex-start; }
}

@media (max-width: 490px) {
  .module-list { grid-auto-columns: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-cards { gap: .6rem; }
}

@media (max-width: 360px) {
  .topbar .logo { width: 88px; }
  .topbar { gap: .45rem; }
  .top-cta { padding-inline: .45rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s ease-out; }
}

/* The homepage follows the reference layout. ReadyPOS colors remain available on V1. */
:root {
  --paper: #f0f0eb;
  --card: #e4e1da;
  --white: #fff;
  --primary: #641c1b;
  --ink: #261c0a;
  --quiet: #575144;
  --accent: #f4e45d;
  --line: #d0cec4;
  --olive: #5c6d1b;
  --radius: 20px;
}
html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
h1 { font-size: clamp(3rem, 4.6vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
h2 { font-size: clamp(2.3rem, 3.4vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -.025em; }
.button { font-weight: 500; border-radius: 12px; }
.honey:hover { background: #fff08a; }
.hero { overflow: clip; }
.hero::after { background: linear-gradient(180deg, #24170ecc 0%, #24170ea8 34%, #24170e55 54%, transparent 77%); }
.topbar { --logo-color: var(--accent); --logo-detail-color: var(--ink); position: fixed; z-index: 20; top: 20px; left: 20px; right: 20px; gap: 1rem; min-height: 74px; border: 0; border-radius: 16px; padding: .8rem 1.25rem; color: var(--white); transition: background-color .25s ease; }
.topbar:has(.nav-group[open]) { background: #3c3327a8; }
.topbar.scrolled {
  --logo-color: var(--ink);
  --logo-detail-color: var(--paper);
  --glass-tint: rgb(250 247 238 / .55);
  background: transparent;
  color: var(--ink);
}
.topbar.scrolled :focus-visible { outline-color: var(--primary); }
.topbar.scrolled .nav-panel :focus-visible { outline-color: var(--accent); }
.topbar.scrolled .nav-secondary + .nav-secondary { border-left-color: rgb(38 28 10 / .27); }
.topbar.scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .58), inset 0 1px 1px rgb(255 255 255 / .75), 0 6px 22px rgb(26 16 8 / .12);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar.scrolled::before {
    background: linear-gradient(160deg, rgb(255 255 255 / .3), transparent 58%), var(--glass-tint);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
  }
}
.topbar .logo { width: 118px; }
.desktop-nav { align-items: center; gap: clamp(.75rem, 1.6vw, 1.5rem); margin-left: 1rem; margin-right: auto; font-size: .88rem; }
.nav-group summary { display: flex; align-items: center; gap: .25rem; }
.nav-group summary .icon { width: 13px; height: 13px; }
.nav-group[open] summary .icon { transform: rotate(180deg); }
.nav-group > div { position: absolute; top: calc(100% - 3px); left: 0; width: 100%; padding: 1.55rem 1.25rem; border-top: 1px solid #fff3; border-radius: 0 0 16px 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.65rem 2.2rem; background: #3c3327ba; backdrop-filter: blur(16px); color: var(--white); }
.nav-group > div a { padding: .15rem 0; text-decoration: none; }
.nav-group > div a span { display: flex; align-items: center; gap: .45rem; }
.nav-group > div a small { display: block; margin-top: .45rem; max-width: 27ch; font-size: .86rem; color: #f5f0e6; }
.nav-group[open] > summary { margin: -.7rem -.65rem; padding: .7rem .65rem; background: var(--accent); color: var(--ink); border-radius: 8px; }
.topbar:has(.nav-group[open]) { border-radius: 16px 16px 0 0; }
.nav-secondary { font-size: .875rem; text-decoration: none; }
.nav-secondary + .nav-secondary { border-left: 1px solid #fff7; padding-left: 1rem; }
.top-cta { margin-left: 0; }
.hero-content { padding-top: clamp(8.3rem, 15vh, 9rem); gap: 1.35rem; }
.hero-words { display: block; overflow: hidden; min-height: 1.12em; color: var(--white); }
.hero-words span { display: inline-block; }
.hero-word-text {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.hero-letter { animation: word-enter .4s cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--letter) * 14ms); }
@keyframes word-enter { from { opacity: 0; transform: translateY(85%); } to { opacity: 1; transform: translateY(0); } }
.hero-content p { font-size: 1.125rem; max-width: 52ch; }
.outline { border-color: var(--accent); background: #24160655; }

.facts { display: grid; gap: 1.4rem; padding-block: 2.2rem 3rem; overflow: hidden; color: var(--ink); font-weight: 500; }
.facts > p { margin-inline: auto; }
.facts > div { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.75rem; font-weight: 700; font-size: clamp(.95rem, 2vw, 1.55rem); }
.facts span + span::before { display: none; }
.intro { min-height: 600px; padding-inline: clamp(1.6rem, 4.2vw, 3.75rem); }
.intro h2 { font-size: 44px; letter-spacing: -.04em; text-wrap: wrap; }
.intro p { max-width: 45ch; }
.intro-visual { min-height: 420px; display: grid; place-items: center; padding: 0; background: transparent; color: #17191c; }
.connection-demo { display: grid; place-items: center; width: min(100%, 340px); min-height: 420px; font: 500 .84rem/1.25 "Instrument Sans", sans-serif; }
.connection-scene { grid-area: 1 / 1; width: 100%; opacity: 0; pointer-events: none; }
.connection-static { opacity: 1; }
.connection-booking { position: relative; width: min(100%, 216px); }
.connection-booking-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem .65rem; border-radius: 9px; background: #506e8b; color: #fff; font-weight: 650; }
.connection-booking-title strong { font-size: .79rem; }
.connection-booking-fields { display: grid; gap: .55rem; margin: .65rem .35rem 0; padding: .45rem; background: #eeece6; border-radius: 10px; }
.connection-field { border: 1px solid #d6d4cc; border-radius: 7px; background: #fff; padding: .5rem; }
.connection-guests { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .5rem; padding-inline: .65rem; }
.connection-guests > span:first-child, .connection-times span, .connection-allergens span { position: relative; }
.connection-count { position: absolute; inset: 0; background: #fff; white-space: nowrap; }
.connection-round { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #dad8d2; border-radius: 50%; font-size: 1.12rem; }
.connection-times { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem; padding: .65rem; }
.connection-times > *, .connection-allergens > span { border: 1px solid #dedcd5; border-radius: 5px; padding: .25rem .35rem; color: #514f49; text-align: center; }
.connection-times s { background: #efede8; }
.connection-selected { display: grid; place-items: center; position: absolute !important; inset: -1px; border-radius: inherit; background: #506e8b; color: #fff; }
.connection-selected.red { background: #af281e; }
.connection-allergens { display: flex; flex-wrap: wrap; gap: .24rem; padding: .5rem; font-size: .68rem; }
.connection-allergens small { flex-basis: 100%; }
.connection-tap { position: absolute; right: 10px; top: 40%; width: 24px; height: 24px; border-radius: 50%; background: #fff7; }
.tap-booking { top: 13px; right: 9px; }
.connection-reservation { width: min(100%, 248px); }
.connection-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .62rem .7rem; background: #fff; border: 3px solid #eeece5; border-radius: 10px; }
.connection-row time { flex: 0 0 auto; font-size: .72rem; color: #58564f; }
.connection-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .27rem; margin-top: .55rem; }
.connection-tags span, .connection-scene .tag-red { border-radius: 5px; padding: .24rem .37rem; color: #fff; font-size: .68rem; }
.tag-red { background: #af281e; }
.tag-green { background: #52651a; }
.tag-blue { background: #496480; }
.connection-order-lines { margin-top: .8rem; padding: .28rem .7rem; border: 3px solid #eeece5; border-radius: 12px; background: #fff; }
.connection-order-lines > div { display: flex; justify-content: space-between; gap: .5rem; padding: .38rem 0; font-size: .76rem; }
.connection-order-lines > div + div { border-top: 1px solid #e7e6e0; }
.connection-order-lines small { display: block; padding-left: .7rem; color: #58564f; }
.connection-order-lines > div > span:last-child { white-space: nowrap; }
.connection-action { position: relative; width: max-content; max-width: 100%; margin: .8rem auto 0; padding: .65rem 1rem; border-radius: 7px; background: #535fe0; color: #fff; font-weight: 650; }
.connection-kitchen { width: min(100%, 180px); display: grid; justify-items: start; gap: .4rem; padding: .7rem; border: 2px solid #f6f5ef; border-radius: 6px; background: #fff; }
.connection-course { display: grid; gap: .55rem; width: 100%; padding: .6rem; border-radius: 5px; background: #535fe0; color: #fff; }
.connection-course > small span { float: right; }
.intro .connection-course p { margin: 0; }
.connection-course p > small, .connection-course em { display: block; font-size: .65rem; }
.connection-course em { width: fit-content; margin-top: .16rem; padding: .12rem .25rem; border-radius: 4px; background: #a82723; font-style: normal; }
.connection-course-next { width: 100%; padding: .55rem; border-radius: 5px; background: #eeedf1; color: #4c4951; font-size: .7rem; }
.connection-pay-methods { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .7rem; }
.connection-pay-methods strong { padding: .22rem .4rem; border-radius: 4px; background: #302b21; color: #fff; }
.connection-report { width: min(100%, 310px); display: grid; gap: .48rem; }
.connection-metric { --metric: #1464a1; display: grid; grid-template-columns: 1fr 70px; align-items: end; gap: .5rem; padding: .7rem .8rem; border-radius: 12px; background: #fff; }
.connection-metric:nth-child(2) { --metric: #57671b; }
.connection-metric:nth-child(3) { --metric: #805e1a; }
.connection-metric span { display: block; color: var(--metric); }
.connection-metric small { display: block; margin-top: .5rem; color: #58564f; }
.connection-metric strong { display: inline-block; margin-top: .13rem; font-size: .96rem; }
.connection-number { position: relative; white-space: nowrap; }
.connection-metric .connection-number-update { position: absolute; inset: 0; background: #fff; color: #17191c; }
.connection-metric em { display: inline-block; margin-left: .3rem; padding: .11rem .25rem; border-radius: 10px; background: #396827; color: #fff; font-size: .62rem; font-style: normal; }
.connection-metric svg { width: 100%; fill: none; stroke: var(--metric); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.connection-customer { width: min(100%, 280px); }
.connection-customer .connection-row { justify-content: center; font-size: 1.1rem; }
.shift { gap: 20px; margin-top: 34px; }
.shift-media { position: relative; display: block; min-height: 0; aspect-ratio: 57 / 63; padding: 0; overflow: hidden; background: #462417; }
.step-media { position: absolute; inset: 0; }
.step-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.shift-list { padding: clamp(1.7rem, 3vw, 2.5rem); gap: .8rem; }
.step-trigger { align-items: flex-start; width: 100%; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-weight: 500; }
.step-number { width: 48px; height: 48px; border-radius: 12px; }
.step:not([data-active]) { color: #efc1c1; }
.step p { margin-left: 63px; }
.story-progress { position: absolute; z-index: 1; inset: 28px 7% auto; display: flex; gap: .6rem; }
.story-progress button { flex: 1; cursor: pointer; border: 0; background: transparent; padding: 10px 0; }
.story-progress button::before, .story-progress button span { display: block; content: ""; height: 6px; border-radius: 20px; }
.story-progress button::before { background: #ffffff78; }
.story-progress button span { margin-top: -6px; background: #fff; transform-origin: left; transform: scaleX(var(--progress,0)); }
.story-progress button:focus-visible { outline-color: var(--accent); }

.showcase, .sectors, .features, .configuration, .faq { padding-inline: 20px; }
.showcase { padding-top: 5.2rem; padding-bottom: 6rem; }
.rail-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.rail-controls { display: flex; gap: .45rem; padding-right: .6rem; }
.rail-controls button { display: grid; place-items: center; border: 0; border-radius: 50%; width: 34px; height: 34px; color: var(--white); background: #625a4c; cursor: pointer; }
.rail-controls button[aria-disabled="true"] { opacity: .55; cursor: default; }
.rail-controls button:hover:not([aria-disabled="true"]) { background: var(--ink); }
.photo-rail { display: grid; grid-auto-flow: column; gap: 20px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin-right: -20px; padding: 0 20px 2px 10px; scroll-padding-inline: 10px; }
.photo-rail::-webkit-scrollbar { display: none; }
.photo-rail > * { scroll-snap-align: start; }
.scenarios { grid-auto-columns: min(78vw, 900px); }
.scenario, .sector { display: grid; align-items: end; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); background: #3f2b1d; color: var(--white); }
.scenario { aspect-ratio: 3 / 2; padding: 30px; }
.scenario img, .scenario::after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.scenario::after { content: ""; background: linear-gradient(transparent 28%, #21160dbf 72%, #170e08e8); }
.scenario p { margin-top: .5rem; font-size: clamp(1rem, 2vw, 1.35rem); }
.scenario ul { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.scenario li { border: 1px solid #fffc; border-radius: 8px; padding: .3rem .7rem; font-size: .8rem; }
.sectors { background: var(--ink); color: var(--white); padding-block: 3.5rem; }
.sectors .rail-heading { align-items: start; padding-bottom: 2rem; }
.sectors .rail-controls { align-self: end; transform: translateY(2rem); }
.sectors h2, .features h2 { text-align: left; }
.sectors h2 span { color: #c7bfb1; }
.sector-grid { grid-template-columns: none; grid-auto-columns: min(70vw, 400px); margin-top: 0; }
.sector { min-height: 0; aspect-ratio: 4 / 5; padding: 30px; text-decoration: none; }
.sector img { transition: transform .35s ease; }
.sector:hover img { transform: scale(1.05); }
.sector p { display: none; }
.sector:hover p, .sector:focus-visible p { display: block; }
.sector:focus-visible { outline-offset: -5px; }
.sector h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.sector::after { background: linear-gradient(transparent 45%, #1a100bd4); }
.rail-dots { display: none; }

.features { background: var(--paper); padding-block: 5.5rem 3.7rem; }
.feature-switch { position: relative; min-height: 565px; margin-top: 2.5rem; }
.feature-group { width: 32%; border-bottom: 1px solid var(--line); }
.feature-group summary { font-size: clamp(1.15rem, 1.85vw, 1.63rem); font-weight: 550; line-height: 1.24; padding: 1.75rem 1rem 1.75rem 0; }
.feature-group[open] summary { color: #496484; }
.feature-panel { position: absolute; top: 0; left: 35%; right: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.feature-panel article { min-height: 178px; padding: 1.8rem; border-radius: var(--radius); background: var(--card); }
.feature-panel h3 { font-size: 1.4rem; }
.feature-panel p { margin-top: .55rem; }
.feature-panel a { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; }

.configuration-card { overflow: hidden; border-radius: 24px; background: var(--olive); color: var(--white); }
.configuration-inner { padding: 30px; }
.configuration .rail-heading { margin-bottom: 2.6rem; }
.configuration-inner h3 { font-size: clamp(1.625rem, 3.1vw, 2.75rem); font-weight: 500; }
.configuration-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 2.5rem; margin-top: 1.25rem; }
.configuration-grid label { font-size: 1rem; font-weight: 450; }
.configuration-recap { border-left: 1px solid #ffffff60; padding-left: 2.4rem; }
.configuration-recap h4 { font-size: 1.35rem; font-weight: 500; margin: 0 0 1rem; }
.range-row { position: relative; display: grid; gap: .45rem; margin: .6rem 0 2.5rem; }
.range-row output { justify-self: start; position: relative; left: min(calc(var(--range,9) * 1% - .4rem), calc(100% - 2.5rem)); min-width: 2.5rem; border: 1px solid #fff; border-radius: 7px; padding: .2rem .35rem; text-align: center; background: #485816; }
 .range-row input { appearance: none; padding: 0; min-height: 26px; border: 0; background: transparent; cursor: pointer; }
.range-row input::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: #efefe8; }
.range-row input::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; margin-top: -7px; border-radius: 50%; background: #fff; }
.range-row input::-moz-range-track { height: 10px; border-radius: 10px; background: #efefe8; }
.range-row input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; }
.quote-result { display: block; font-size: clamp(2.85rem, 7vw, 6rem); font-weight: 500; line-height: 1.12; }
.recap-row { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: .75rem; margin-top: .65rem; }
.recap-row input, .recap-row strong { display: block; width: 100%; min-height: 62px; margin: 0; border: 1px solid #fffc; border-radius: 14px; padding: .65rem .8rem; background: #485816; color: #fff; text-align: center; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 550; }
.chip-window { overflow: hidden; background: #6b801e; padding: 1.25rem 0; }
.chip-track { display: flex; width: max-content; }
.chip-track ul { --chip-gap: .55rem; flex: 0 0 auto; display: flex; gap: var(--chip-gap); margin: 0; padding: 0 var(--chip-gap) 0 0; list-style: none; }
.chip-track li { white-space: nowrap; border: 1px solid #fff; padding: .35rem .7rem; border-radius: 8px; font-size: .88rem; }
.chip-window.in-view .chip-track { animation: chip-scroll 24s linear infinite; }
@keyframes chip-scroll { to { transform: translateX(var(--chip-shift, 0px)); } }
.chip-window:hover .chip-track { animation-play-state: paused; }
@keyframes chips { to { transform: translateX(-50%); } }

.faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr); gap: 20px; padding-bottom: 2rem; }
.faq h2, .closing h2 { font-size: clamp(2rem, 3vw, 2.4rem); }
.faq > div:first-child p { max-width: 45ch; }
.faq .accordions, .faq details { border: 0; }
.faq details { background: var(--white); border-radius: 11px; margin-bottom: .4rem; }
.faq summary { padding: 1.15rem 2.75rem 1.15rem 1.5rem; }
.faq summary .icon { right: 1.5rem; top: 1.28rem; width: 14px; height: 14px; }
.faq details p { padding: 0 1.5rem 1rem; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; padding-block: 4rem 6rem; }
.closing .actions { justify-content: flex-start; }
.footer { --logo-color: var(--accent); --logo-detail-color: var(--ink); display: grid; grid-template-columns: 1.15fr repeat(4,minmax(0,1fr)); gap: 2rem; align-items: start; margin: 0 20px 20px; min-height: 420px; padding: clamp(1.7rem, 4vw, 3.75rem); border-radius: var(--radius); background: #592113 url("assets/footer.webp") center / cover; color: #fff; }
.footer .logo { width: min(100%,230px); }
.footer nav { display: grid; gap: .65rem; }
.footer h3 { color: var(--accent); font-size: 1.1rem; margin-bottom: .45rem; }
.footer small:last-child { grid-column: -2; text-align: right; }
.footer-credit { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .35rem; }
.footer-credit a { display: inline-flex; align-items: center; padding: .25rem .4rem; border-radius: 5px; background: var(--white); }
.footer-credit a:focus-visible { outline-color: var(--accent); }
.footer-credit img { width: 86px; height: auto; }
.subpage-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem max(20px,calc((100% - 1160px) / 2)); }
.subpage-features { margin-top: 2rem; }
@media (max-width: 359px) {
  .features-title { font-size: 2.625rem; }
}
.subpage .demo h1 { color: var(--accent); }
 .landing-demo {
  position: relative;
  isolation: isolate;
  margin-block-end: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.75rem, 7vw, 6rem);
  background: #38251b;
  color: var(--white);
}
.demo-photo, .landing-demo::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.demo-photo { z-index: -2; object-fit: cover; object-position: center; }
.landing-demo::before {
  content: "";
  z-index: -1;
  background: linear-gradient(110deg, rgb(32 20 13 / .88), rgb(32 20 13 / .64) 55%, rgb(32 20 13 / .36));
}
.landing-demo :is(h1, h2) { color: var(--white); }
.landing-demo form { box-shadow: 0 12px 36px rgb(32 20 13 / .22); }
.landing-demo :is(input, select, textarea):is(:user-invalid, [aria-invalid="true"]) { border-color: var(--primary); }
.demo-feedback { margin: 0 0 1rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.demo-errors { border-color: var(--primary); color: var(--primary); }
.demo-errors p { margin: 0; font-weight: 650; }
.demo-errors ul { margin: .35rem 0 0; padding-inline-start: 1.2rem; }
.demo-modules { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.demo-modules legend { margin-bottom: .55rem; padding: 0; font-size: .92rem; font-weight: 650; }
.module-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem .65rem; }
.module-options label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  min-width: 0;
  padding: .4rem .5rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 550;
  line-height: 1.25;
}
.module-options label:has(input:checked) { border-color: var(--primary); background: #f4e6de; }
.module-options label span { min-width: 0; overflow-wrap: anywhere; }
.module-options input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
}
.other-modules { margin-top: .8rem; }
.demo-modules:not(:has(input[value="Autres"]:checked)) .other-modules { display: none; }

@media (max-width: 490px) {
  .module-options { gap: .4rem; }
  .module-options label { gap: .38rem; padding-inline: .35rem; }
  .landing-demo form .button { width: 100%; }
}

@media (max-width: 1040px) {
  .nav-secondary { display: none; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 840px) {
  :root { --mobile-header-height: 64px; }
  html { scroll-padding-top: calc(var(--mobile-header-height) + 6px); }
  .hero { margin-top: var(--mobile-header-height); }
  .topbar, .topbar.scrolled { top: 0; left: 0; right: 0; border-radius: 0; min-height: var(--mobile-header-height); padding: 10px 20px; background: var(--paper); color: var(--ink); --logo-color: var(--ink); --logo-detail-color: var(--paper); }
  .topbar .logo { width: 103px; }
  .topbar.scrolled { --glass-tint: rgb(250 247 238 / .58); background: transparent; }
  .topbar :focus-visible { outline-color: var(--primary); }
  .mobile-nav > summary { background: #fff; border: 0; color: var(--ink); }
  .mobile-nav nav { top: 74px; right: 20px; left: 20px; }
  .hero-content { padding-top: 4rem; }
}
@media (max-width: 700px) {
  .hero { margin: var(--mobile-header-height) 20px 0; min-height: 496px; }
  .hero-photo { object-position: 52% center; }
  .hero::after { background: linear-gradient(180deg, #24170eba, #24170eb0 56%, #24170e33 79%, transparent); }
  .hero-content { padding: 4.15rem .8rem 1rem; gap: .6rem; }
  .hero h1 { font-size: clamp(1.92rem,10vw,3.25rem); }
  .hero-words .hero-phrase-long { font-size: .88em; }
  h2, .intro h2 { font-size: 30px; }
  .hero-content p { font-size: 1rem; }
  .hero-content .actions { display: grid; justify-content: stretch; width: calc(100% - 10px); margin-top: .45rem; }
  .facts { padding-block: 2.5rem; }
  .facts > div { gap: .5rem 1.25rem; }
  .intro { min-height: 0; width: calc(100% - 40px); padding-inline: 20px; }
  .intro-visual, .connection-demo { min-height: 320px; }
  .shift { gap: 0; width: calc(100% - 40px); }
  .shift-list { min-height: 295px; padding: 20px; }
  .shift-list .step:not([data-active]) { display: none; }
  .shift-list .step-number { display: none; }
  .step p { margin-left: 0; }
  .shift-media { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 11 / 10; }
  .shift-list { border-radius: 0 0 var(--radius) var(--radius); }
  .story-progress { top: 12px; }
  .showcase, .features, .configuration, .faq { padding-inline: 20px; }
  .showcase { padding-block: 3rem; }
  .showcase h2 { font-size: clamp(24px, 7.1vw, 30px); }
  .photo-rail { gap: 10px; padding-left: 0; scroll-padding-inline: 0; }
  .scenarios { grid-auto-columns: calc(100vw - 40px); }
  .scenario { padding: 1rem; aspect-ratio: 3 / 2; }
  .scenario h3 { font-size: 1.1rem; }
  .scenario p { font-size: .9rem; }
  .scenario ul { display: none; }
  .scenario li { padding: .2rem .4rem; }
  .sector-grid { grid-auto-columns: calc(100vw - 40px); }
  .sector { min-height: 0; padding: 1.5rem; }
  .sector p { display: block; font-size: .9rem; }
  .sectors .rail-heading { padding-bottom: 0; }
  .rail-controls { display: none; }
  .rail-dots { display: flex; justify-content: center; gap: .35rem; margin-top: .75rem; }
  .rail-dots button { display: grid; place-items: center; border: 0; background: transparent; width: 24px; height: 24px; padding: 0; }
  .rail-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--quiet); }
  .rail-dots button[aria-current="true"]::before { background: var(--primary); }
  .sectors .rail-dots button::before { background: #b4a795; }
  .sectors .rail-dots button[aria-current="true"]::before { background: var(--accent); }
  .feature-switch { min-height: 0; margin-top: 1.5rem; }
  .feature-group { width: 100%; }
  .feature-group summary { padding-block: 1.15rem; }
  .feature-panel { position: static; grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: .85rem; }
  .feature-panel article { min-height: 0; padding: 30px; }
  .configuration .rail-heading { align-items: start; flex-direction: column; }
  .configuration-grid, .faq { grid-template-columns: 1fr; gap: 1rem; }
  .configuration-recap { border: 0; border-top: 1px solid #ffffff60; padding: 1.4rem 0 0; }
  .closing { align-items: center; text-align: center; flex-direction: column; padding-block: 3rem 3.4rem; }
  .closing h2 { font-size: 26px; }
  .closing .actions { justify-content: center; }
  .closing .button { padding-inline: .7rem; font-size: .9rem; }
  .footer { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.3rem; margin: 0; border-radius: 0; padding: 44px 30px; }
  .footer nav:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .footer > a:first-child { grid-column: 1 / -1; }
  .footer .logo { width: 145px; }
  .footer small:last-child { grid-column: 2; }
}
@media (max-width: 360px) {
  .topbar { padding-inline: 15px; }
  .topbar .logo { width: 88px; }
  .hero { margin-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-words span, .chip-window.in-view .chip-track { animation: none; }
  .topbar, .sector img { transition: none; }
  .sector:hover img { transform: none; }
}

@media (max-width: 840px) {
  .mobile-nav nav { position: fixed; inset: var(--mobile-header-height) 0 0; align-content: start; padding: 12px 40px 24px; border-radius: 0; background: #fff; box-shadow: none; overflow-y: auto; }
  .mobile-nav nav a, .mobile-group > summary { display: flex; align-items: center; min-height: 64px; padding: 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; }
  .mobile-group div a { min-height: 44px; padding-left: 1rem; font-size: 15px; }
  body:has(.mobile-nav[open]) { overflow: hidden; }
  .topbar:has(.mobile-nav[open]) { background: #fff; }
  .topbar.scrolled:has(.mobile-nav[open])::before { content: none; }
  .mobile-nav[open] > summary .icon path { d: path("M5 5l14 14M19 5 5 19"); }
}

.chip-window { background: #5d701d; }
.scenario-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.scenario::after { z-index: -1; }
.scenario-play, .story-dialog button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #fff; border-radius: 50%; background: #2a201c9c; color: #fff; cursor: pointer; }
.scenario-play { position: absolute; top: 1.8rem; right: 1.8rem; }
.scenario-play:hover, .story-dialog button:hover { background: var(--ink); }
.scenario-play:focus-visible, .story-dialog button:focus-visible { outline-color: var(--accent); }
.story-dialog { width: min(calc(100% - 2rem), 920px); max-height: calc(100% - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: #15120d; }
.story-dialog::backdrop { background: #211907bf; }
.story-dialog form { position: absolute; z-index: 1; top: .75rem; right: .75rem; padding: 0; background: transparent; }
.story-dialog video { display: block; width: 100%; max-height: 80vh; }
.fact-label { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.fact-label .icon { width: 1em; height: 1em; }
.facts > .facts-window {
  --fact-fade: clamp(22px, 7vw, 90px);
  display: block;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 var(--fact-fade), #000 calc(100% - var(--fact-fade)), transparent);
}
.facts-track { display: flex; width: max-content; gap: 0; justify-content: start; flex-wrap: nowrap; }
.facts-track > div { --fact-gap: 2.8rem; display: flex; justify-content: space-around; white-space: nowrap; min-width: min(calc(100vw - 72px),1160px); }
.facts-track .fact-label { padding-inline: calc(var(--fact-gap) / 2); }
.facts.in-view .facts-track { animation: chips 28s linear infinite; }
.facts:hover .facts-track { animation-play-state: paused; }
@media (max-width: 700px) {
  .facts-track > div { --fact-gap: 1.55rem; min-width: calc(100vw - 40px); }
  .scenario-play { top: 1rem; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .facts.in-view .facts-track { animation: none; }
  .facts-track > div { min-width: 0; justify-content: center; gap: .6rem var(--fact-gap); white-space: normal; flex-wrap: wrap; }
  .facts-track .fact-label { padding-inline: 0; }
  .facts-track > [aria-hidden="true"] { display: none; }
  .facts > .facts-window { mask-image: none; }
  .facts-track { width: auto; justify-content: center; }
}

@media (max-width: 360px) {
  .top-cta { white-space: nowrap; font-size: .75rem; }
}

.photo-rail.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }


@media (prefers-reduced-motion: no-preference) {
  @supports selector(details::details-content) {
    details::details-content {
      opacity: 0;
      transition: opacity 180ms ease, content-visibility 260ms allow-discrete;
    }

    details[open]::details-content { opacity: 1; }
    details:not([open])::details-content { pointer-events: none; }

    :is(.accordions details, .mobile-group)::details-content {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 260ms ease, opacity 180ms ease, content-visibility 260ms allow-discrete;
    }

    :is(.accordions details, .mobile-group)[open]::details-content { grid-template-rows: 1fr; }
    :is(.accordions details, .mobile-group) > .accordion-slide { min-block-size: 0; overflow: clip; }

    .accordions summary .icon, .nav-group summary .icon { transition: transform 220ms ease; }

    @media (max-width: 700px) {
      .feature-group::details-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 260ms ease, opacity 180ms ease, content-visibility 260ms allow-discrete;
      }

      .feature-group[open]::details-content { grid-template-rows: 1fr; }
      .feature-group > .accordion-slide { min-block-size: 0; overflow: clip; }
    }
  }
}
