/* Digital Kasse site. Tokens mirror the program's own theme (navy rail, indigo and violet, soft cards). */
:root {
  color-scheme: light;
  --bg: #f5f6fc;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --chip: #eff0fc;
  --ink: #0f1b33;
  --muted: #55647c;
  --line: #e7eaf5;
  --line-strong: #d5daea;
  --indigo: #4f46e5;
  --indigo-deep: #3730c4;
  --violet: #6d4aff;
  --navy: #0b1226;
  --navy-2: #070e1e;
  --wa: #128c4a;
  --wa-hover: #0e7a40;
  --hero-a: #4f46e5;
  --hero-b: #824efc;
  --shadow: 0 1px 2px rgba(15, 27, 51, .05), 0 10px 28px rgba(15, 27, 51, .07);
  --shadow-lg: 0 2px 4px rgba(15, 27, 51, .06), 0 22px 54px rgba(15, 27, 51, .16);
  --focus: #4f46e5;
  --mark-ink: #4f46e5;
  --t-indigo: #4f46e5; --t-violet: #6d4aff; --t-teal: #0e9384;
  --t-amber: #c26a05; --t-rose: #e11d48; --t-sky: #0284c7;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Noto Sans", "Helvetica Neue", Arial, "Noto Sans Arabic", "Noto Sans Devanagari", "Nirmala UI", Tahoma, sans-serif;
  --font-hi: "Nirmala UI", "Noto Sans Devanagari", "Mangal", "Segoe UI", system-ui, sans-serif;
  --font-ar: "Segoe UI", "Tahoma", "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101826; --surface: #182232; --surface-2: #1f2b3e; --chip: #222f48;
    --ink: #eef4ff; --muted: #a9b7cc; --line: #263247; --line-strong: #33425c;
    --indigo: #8f8af0; --indigo-deep: #6f68e6; --violet: #a28bff;
    --navy: #08111f; --navy-2: #050b15;
    --wa: #17a458; --wa-hover: #1bb863;
    --hero-a: #3a3a9c; --hero-b: #5b3fb3;
    --shadow: none; --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
    --focus: #a5a0ff; --mark-ink: #4f46e5;
    --t-indigo: #a5a0ff; --t-violet: #b3a0ff; --t-teal: #2dd4bf;
    --t-amber: #fbbf24; --t-rose: #fb7185; --t-sky: #38bdf8;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="hi"] body { font-family: var(--font-hi); line-height: 1.75; }
html:is([lang="ar"], [lang="fa"]) body { font-family: var(--font-ar); line-height: 1.8; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }

/* Scripts with complex shaping: no letter-spacing, bidi-safe text */
html:is([lang="ar"], [lang="fa"], [lang="hi"]) :is(h1, h2, h3, strong, .btn, button) { letter-spacing: 0 !important; }
html:is([lang="ar"], [lang="fa"]) [data-i18n] { unicode-bidi: plaintext; }
html:is([lang="ar"], [lang="fa"]) :is(p, .q p, .msg, figcaption, .sec__sub) { text-align: start; }

/* Headline scale */
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: 1.08rem; line-height: 1.35; font-weight: 650; letter-spacing: -.005em; }
html:is([lang="ar"], [lang="fa"], [lang="hi"]) :is(h1, h2) { line-height: 1.4; }

/* Buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font-weight: 650; font-size: .96rem; text-decoration: none; text-align: center; line-height: 1.2;
  transition: background-color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(18, 140, 74, .3); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--call { background: var(--indigo-deep); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .28); }
.btn--call:hover { background: var(--indigo); }
.btn--light { background: #fff; color: #3730c4; box-shadow: 0 6px 18px rgba(8, 10, 40, .22); }
.btn--light:hover { background: #f1f0ff; }
.iconbtn { display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; text-decoration: none; }
.iconbtn--wa { background: var(--wa); }
.iconbtn--call { background: #4f46e5; }

/* Top bar: the program's navy rail */
.top { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #dbe3f7; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; flex: none; }
.brand__tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #4f46e5, #824efc); color: #fff; }
.brand__name { font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav > a { padding: 9px 14px; border-radius: 14px; color: #c3cde6; text-decoration: none; font-size: .93rem; font-weight: 550; transition: background-color .15s, color .15s; white-space: nowrap; }
.nav > a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav > a.is-active { background: #4f46e5; color: #fff; }
.nav__contact { display: flex; gap: 8px; margin-inline-start: 12px; }
.nav__contact .btn { white-space: nowrap; min-height: 38px; padding: 0 16px; font-size: .88rem; box-shadow: none; }
.nav__contact .btn--call { background: rgba(255, 255, 255, .12); }
.nav__contact .btn--call:hover { background: rgba(255, 255, 255, .2); }
.top__tools { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #e6ecfb; font-weight: 650; font-size: .85rem; }
.lang__btn:hover { background: rgba(255, 255, 255, .08); }
.lang__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 168px; padding: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 5; }
.lang__menu[hidden] { display: none; }
.lang__menu button { display: block; width: 100%; padding: 10px 14px; border: 0; background: none; border-radius: 10px; text-align: start; font-size: .95rem; }
.lang__menu button:hover { background: var(--chip); }
.lang__menu button[aria-current="true"] { background: var(--chip); color: var(--indigo); font-weight: 700; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .top__tools { margin-inline-start: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px clamp(16px, 3vw, 32px) 16px; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none; margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 13px 14px; font-size: 1rem; }
  .nav__contact { display: none; }
  .iconbtn { display: grid; }
}
@media (max-width: 520px) {
  .top__in { gap: 10px; }
  .iconbtn { display: none; }
  .lang__btn { padding: 0 11px; }
}

/* Hero: gradient page header, like the program's */
.heroband { padding-top: clamp(14px, 2.4vw, 28px); }
.hero {
  position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 32px); color: #fff;
  background: linear-gradient(118deg, var(--hero-a), var(--hero-b));
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4.4vw, 60px);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.hero::before { width: 620px; height: 620px; right: -190px; top: -300px; }
.hero::after { width: 340px; height: 340px; left: -90px; bottom: -190px; }
.hero > * { position: relative; z-index: 1; }
.hero__lead { margin-top: 18px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, .88); max-width: 52ch; }
.hero__cta, .btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta { margin-top: 28px; }
.hero__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: #fff; font-weight: 600; text-decoration: none; opacity: .92; }
.hero__more:hover { text-decoration: underline; }
.ticks { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .13); font-size: .88rem; font-weight: 550; }
.ticks li::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.stagebox { min-width: 0; }
.stage { background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stage__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .76rem; color: var(--muted); }
.stage__name { font-weight: 700; color: var(--ink); }
.stage__status { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.stage__status i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.stage__view { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.is-on { opacity: 1; }
.slide .shot { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.stage__tabs { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px; }
.stage__tabs button { padding: 7px 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: .85rem; font-weight: 600; }
.stage__tabs button[aria-selected="true"] { background: #fff; color: #3730c4; }

/* Receipt printing out of a slot */
.printer { position: relative; width: 188px; margin: -92px 0 0 -4px; }
.printer__slot { height: 12px; border-radius: 8px; background: #151a33; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); position: relative; z-index: 2; }
.printer__feed { overflow: hidden; margin: 0 8px; filter: drop-shadow(0 12px 14px rgba(8, 10, 40, .28)); }
.bon {
  background: #fbfaf6; color: #1b2236; font: 600 10.5px/1.5 var(--mono); padding: 12px 12px 18px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
  animation: feed 3.2s .5s steps(16, end) both;
}
.bon__h { font-weight: 800; letter-spacing: .04em; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px dashed #b9b6a8; }
.bon__r { display: flex; justify-content: space-between; gap: 8px; }
.bon__sum { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #b9b6a8; font-weight: 800; }
.bon__small { font-weight: 500; color: #5b6070; font-size: 9.5px; }
.bon__sig { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 9.5px; color: #5b6070; }
.bon__sig svg { color: #1b2236; flex: none; }
.printer figcaption { margin-top: 12px; font-size: .78rem; line-height: 1.45; color: rgba(255, 255, 255, .88); padding-inline: 4px; }
@keyframes feed { from { transform: translateY(-100%); } to { transform: none; } }

/* Section scaffolding */
.sec { padding-block: clamp(52px, 8vw, 104px); }
.sec--tint { background: color-mix(in srgb, var(--indigo) 5%, var(--bg)); border-block: 1px solid var(--line); }
.sec__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: clamp(26px, 4vw, 44px); }
.sec__sub { margin-top: 10px; color: var(--muted); max-width: 64ch; font-size: 1.04rem; }
.tile { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 30%; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, var(--surface)); }
.t-indigo { --tone: var(--t-indigo); } .t-violet { --tone: var(--t-violet); } .t-teal { --tone: var(--t-teal); }
.t-amber { --tone: var(--t-amber); } .t-rose { --tone: var(--t-rose); } .t-sky { --tone: var(--t-sky); }
.sec__head > .tile { margin-top: 2px; }

/* Media frames */
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background:
  linear-gradient(var(--line), var(--line)) 0 22px / 100% 1px no-repeat,
  linear-gradient(135deg, var(--surface-2), var(--chip)); }
/* The program window is cropped a little at the top and right edge, which removes the window title bar and a stray edge element */
.shot img { color: transparent; font-size: 0; position: absolute; left: 0; top: -1.8%; width: 104%; height: 104%; max-width: none; object-fit: cover; object-position: top left; }
.shot--wide { aspect-ratio: 1400 / 711; }
.shot.missing img { visibility: hidden; }
.shot--none { display: grid; place-items: center; background: linear-gradient(118deg, var(--hero-a), var(--hero-b)); }
.shot--none .avatar { width: 38%; max-width: 190px; }

/* Highlights */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { grid-column: span 4; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--indigo) 40%, var(--line)); box-shadow: var(--shadow-lg); }
.card.s7 { grid-column: span 7; } .card.s5 { grid-column: span 5; } .card.s4 { grid-column: span 4; } .card.s12 { grid-column: span 12; }
.card .shot { border-bottom: 1px solid var(--line); }
.card .shot img { transition: transform .5s ease; }
.card:hover .shot img { transform: scale(1.03); }
.card__body { display: flex; gap: 16px; padding: 22px; }
.card__body p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
.card.wide { flex-direction: row; }
.card.wide .shot { flex: 0 0 54%; border-bottom: 0; border-inline-end: 1px solid var(--line); }
.card.wide .card__body { align-items: center; padding: 32px; }
.reveal { transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s; }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }

/* Videos and screenshots */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vid__frame { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--navy); }
.vid__btn { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(11, 18, 38, .72); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.vid__btn .i-play { display: none; }
.vid__btn[data-state="pause"] .i-play { display: block; }
.vid__btn[data-state="pause"] .i-pause { display: none; }
.vid figcaption { margin-top: 12px; font-weight: 600; }
.gallery { margin-top: clamp(40px, 6vw, 72px); }
.gallery__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.gallery__nav { display: flex; gap: 8px; }
.gallery__nav button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); }
.gallery__nav button:hover { background: var(--chip); }
.gallery__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin-inline: -4px; scrollbar-width: thin; }
.gal { flex: 0 0 min(82vw, 520px); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.gal figcaption { padding: 13px 18px; font-weight: 600; font-size: .94rem; }

/* Modules */
.mods { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.mods__list { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); position: sticky; top: 92px; }
.mods__list button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; background: none; border-radius: 14px; text-align: start; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background-color .15s, color .15s; }
.mods__list button:hover { background: var(--chip); color: var(--ink); }
.mods__list button[aria-selected="true"] { background: var(--indigo-deep); color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .3); }
.pane { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.pane:not([hidden]) { animation: paneIn .35s ease both; }
.pane .shot { border-bottom: 1px solid var(--line); }
.pane__txt { padding: 24px 28px 28px; }
.pane__txt p { margin-top: 10px; color: var(--muted); max-width: 68ch; }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Offline band: navy rail */
.band { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #e8edfa; padding-block: clamp(52px, 8vw, 104px); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: rgba(109, 74, 255, .14); right: -220px; top: -280px; pointer-events: none; }
.band .wrap { position: relative; }
.sec__head--dark .sec__sub { color: #a9b7cc; }
.t-onDark { color: #b5b0ff; background: rgba(255, 255, 255, .09); }
.flow { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; padding: clamp(18px, 3vw, 32px); }
.flow__ctl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; font-weight: 600; }
.sw { position: relative; display: inline-flex; align-items: center; height: 42px; min-width: 124px; padding: 0 16px 0 52px; border-radius: 999px; border: 0; background: #0e9384; color: #fff; font-weight: 650; font-size: .9rem; transition: background-color .25s; }
.sw__knob { position: absolute; left: 5px; top: 5px; width: 32px; height: 32px; border-radius: 50%; background: #fff; transition: transform .25s; }
.sw[aria-checked="false"] { background: #475169; padding: 0 52px 0 16px; }
.sw[aria-checked="false"] .sw__knob { transform: translateX(0); left: auto; right: 5px; }
.flow__map { display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px 0; align-items: center; }
.node { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: opacity .3s; }
.node--pc { grid-column: 1; grid-row: 1 / span 2; border-color: rgba(129, 140, 248, .6); box-shadow: 0 0 0 6px rgba(99, 102, 241, .12), 0 0 44px rgba(99, 102, 241, .25); }
.node__db { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(45, 212, 191, .14); color: #5eead4; font-size: .86rem; font-weight: 600; }
.node__work { color: #a9b7cc; font-size: .94rem; }
.node--a { grid-column: 3; grid-row: 1; } .node--b { grid-column: 3; grid-row: 2; }
.link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; transition: opacity .3s; }
.link--a { grid-column: 2; grid-row: 1; } .link--b { grid-column: 2; grid-row: 2; }
.link__tag { font-size: .78rem; font-weight: 600; color: #c7d0ea; text-align: center; line-height: 1.3; }
.link__line { align-self: stretch; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #8b83ff 0 10px, transparent 10px 18px); background-size: 36px 3px; animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 36px 0; } }
.flow[data-online="false"] .link, .flow[data-online="false"] .node--sat { opacity: .28; }
.flow[data-online="false"] .link__line { animation-play-state: paused; background: repeating-linear-gradient(90deg, #64708a 0 4px, transparent 4px 12px); }
.flow__state { margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #dfe6f8; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(32px, 5vw, 56px); }
.trio > div { padding-top: 18px; border-top: 2px solid rgba(139, 131, 255, .55); }
.trio p { margin-top: 8px; color: #a9b7cc; font-size: .96rem; }

/* Facts, audience */
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.fact { grid-column: span 2; }
.fact:nth-child(n+4) { grid-column: span 3; }
.fact { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.fact p, .who__i p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.who__i { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.who__i .tile { margin-bottom: 16px; }

/* Buying */
.buygrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; }
.buycard { position: relative; overflow: hidden; color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); background: linear-gradient(118deg, var(--hero-a), var(--hero-b)); }
.buycard::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -120px; top: -160px; pointer-events: none; }
.buycard > * { position: relative; z-index: 1; }
.buycard__lead { margin: 12px 0 24px; font-size: 1.1rem; color: rgba(255, 255, 255, .92); max-width: 46ch; }
.buycard h3 { margin-bottom: 12px; }
.checks { display: grid; gap: 10px; margin-bottom: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(255, 255, 255, .2) var(--check) center / 12px no-repeat; }
.buycard .btn--call { background: #fff; color: #3730c4; box-shadow: none; }
.phonenum { margin-top: 18px; font-weight: 650; font-size: 1.05rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.steps { padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.steps ol { margin-top: 20px; display: grid; gap: 18px; counter-reset: s; }
.steps li { position: relative; padding-inline-start: 52px; min-height: 38px; display: flex; align-items: center; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 30%; background: color-mix(in srgb, var(--indigo) 12%, var(--surface)); color: var(--indigo); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 650; list-style: none; cursor: pointer; border-radius: 16px; }
.q summary::-webkit-details-marker { display: none; }
.q summary .ic { color: var(--indigo); transition: transform .25s; }
.q[open] summary .ic { transform: rotate(180deg); }
.q p { padding: 0 22px 20px; color: var(--muted); }

/* Final call */
.ctaband { padding-bottom: clamp(52px, 8vw, 104px); }
.cta { position: relative; overflow: hidden; display: grid; gap: 14px; justify-items: start; color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 64px); background: linear-gradient(118deg, var(--hero-a), var(--hero-b)); }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: -140px; bottom: -280px; pointer-events: none; }
.cta > * { position: relative; }
.cta p:not(.phonenum) { max-width: 56ch; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.cta .btnrow { margin-top: 10px; }
.cta .phonenum { margin-top: 4px; }

/* Footer */
.foot { background: var(--navy); color: #b6c2dc; padding-block: 36px 100px; }
.foot__in { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.foot__brand { color: #fff; font-weight: 700; font-size: 1.1rem; }
.foot__tag { margin-top: 6px; max-width: 52ch; font-size: .92rem; }
.foot__links { display: flex; gap: 20px; }
.foot__links a { color: #dbe3f7; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__copy { grid-column: 1 / -1; font-size: .85rem; opacity: .75; }

/* Floating contact dock */
.dock { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; gap: 10px; }
.fab { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; text-decoration: none; box-shadow: 0 10px 26px rgba(8, 10, 40, .32); transition: transform .2s; }
.fab:hover { transform: translateY(-2px) scale(1.04); }
.fab--wa { background: var(--wa); } .fab--call { background: #4f46e5; }

/* Assistant, drawn like the program's floating avatar */
.asst { position: fixed; left: 16px; bottom: 12px; z-index: 45; }
.asst__orb { position: relative; display: block; width: 74px; height: 74px; padding: 0; border: 0; background: none; border-radius: 50%; transition: transform .25s; filter: drop-shadow(0 8px 12px rgba(15, 12, 50, .35)); }
.asst__orb:hover { transform: scale(1.07); }
.asst__orb[aria-expanded="true"] { transform: scale(.92); }
.avatar { width: 100%; height: 100%; overflow: visible; }
.avatar * { transform-box: fill-box; transform-origin: center; }
.av-body { animation: avBob 4.2s ease-in-out infinite; }
.av-aura { animation: avAura 3.6s ease-in-out infinite; }
.av-eye { animation: avBlink 5.4s infinite; }
.av-eyes { animation: avGaze 9s ease-in-out infinite; }
.av-spark { animation: avSpark 6s ease-in-out infinite; }
.asst__orb:hover .av-eye { animation-duration: 1.4s; }
@keyframes avBob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-.05px) scale(1.012); } }
@keyframes avAura { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes avBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
@keyframes avGaze { 0%, 18%, 100% { transform: translateX(0); } 24%, 40% { transform: translateX(.07px); } 48%, 66% { transform: translateX(-.07px); } 72% { transform: translateX(0); } }
@keyframes avSpark { 0%, 70%, 100% { opacity: 0; transform: scale(.2); } 80% { opacity: 1; transform: scale(1); } 92% { opacity: 0; transform: scale(.4) rotate(45deg); } }
.asst__panel { position: absolute; left: 0; bottom: 88px; width: min(372px, calc(100vw - 32px)); display: flex; flex-direction: column; max-height: min(600px, calc(100vh - 130px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: 0 100%; }
.asst__panel[hidden] { display: none; }
.asst__panel:not([hidden]) { animation: pop .22s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.asst__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; color: #fff; background: linear-gradient(118deg, var(--hero-a), var(--hero-b)); }
.asst__ava { width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(8, 10, 40, .35); padding: 3px; }
.asst__ht { display: grid; min-width: 0; flex: 1; }
.asst__ht span { font-size: .8rem; opacity: .85; }
.asst__x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; }
.asst__log { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; min-height: 90px; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 10px 14px; font-size: .93rem; line-height: 1.55; border-radius: 16px; animation: pop .25s ease both; }
.msg--bot { align-self: flex-start; background: var(--chip); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--indigo-deep); color: #fff; border-bottom-right-radius: 5px; }
.asst__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 14px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .86rem; font-weight: 600; color: var(--indigo); text-align: start; }
.chip:hover { background: var(--chip); }
.asst__foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--surface-2); }
.asst__foot p { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.asst__foot .btnrow { gap: 8px; }

/* Placeholder legal pages */
.plain { background: var(--bg); }
.plain__box { max-width: 640px; margin: 12vh auto; padding: 32px clamp(16px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.plain__box h1 { margin-bottom: 14px; font-size: 1.8rem; }
.plain__box p { margin-bottom: 12px; color: var(--muted); }
.plain__box a { color: var(--indigo); }

/* Breakpoints */
@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; }
  .stagebox { max-width: 640px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .fact:nth-child(n+4) { grid-column: auto; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buygrid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .card, .card.s7, .card.s5, .card.s4 { grid-column: span 6; }
  .card.s12 { grid-column: span 12; }
  .card.wide { flex-direction: column; }
  .card.wide .shot { flex: none; aspect-ratio: 16 / 10; min-height: 0; border-bottom: 1px solid var(--line); border-inline-end: 0; }
  .card.wide .card__body { padding: 22px; align-items: flex-start; }
  .videos { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr; }
  .mods__list { position: static; flex-direction: row; overflow-x: auto; padding: 8px; border-radius: 999px; scrollbar-width: none; }
  .mods__list button { flex: none; white-space: nowrap; border-radius: 999px; }
  .trio { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .flow__map { grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
  .node--pc, .node--a, .node--b, .link--a, .link--b { grid-column: 1; grid-row: auto; }
  .flow__map > .node--pc { order: 1; } .flow__map > .link--a { order: 2; } .flow__map > .node--a { order: 3; }
  .flow__map > .link--b { order: 4; } .flow__map > .node--b { order: 5; }
  .link { flex-direction: row-reverse; padding: 10px 0; height: 76px; justify-content: flex-end; gap: 14px; }
  .link__line { align-self: center; width: 3px; height: 100%; margin-inline: 22px 0; background: repeating-linear-gradient(180deg, #8b83ff 0 10px, transparent 10px 18px); background-size: 3px 36px; animation-name: dashv; }
  .flow[data-online="false"] .link__line { background: repeating-linear-gradient(180deg, #64708a 0 4px, transparent 4px 12px); }
  .link__tag { text-align: start; }
}
@keyframes dashv { to { background-position: 0 36px; } }
@media (max-width: 640px) {
  .card, .card.s7, .card.s5, .card.s4, .card.s12 { grid-column: 1 / -1; }
  .facts, .who { grid-template-columns: 1fr; }
  .sec__head { gap: 14px; }
  .sec__head > .tile { width: 42px; height: 42px; }
  .stage__tabs { justify-content: center; }
  .printer { margin: 18px auto 0; }
  .hero__cta .btn, .btnrow .btn { flex: 1 1 100%; }
  .asst__panel { left: 0; width: calc(100vw - 32px); }
  .asst__orb { width: 64px; height: 64px; }
  .fab { width: 50px; height: 50px; }
}
@media (max-width: 400px) {
  .brand__name { font-size: 1rem; }
  .gal { flex-basis: 86vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal:not(.in) { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
