
/* Layout: the program's own navy world. One real SOLO window in the hero; below it the logo's two halves as the page's logic —
   blue is what comes in (rs.ge, the bank, the National Bank), turquoise is what SOLO has made of it. */
:root {
  --bg: #071322;            /* the program's background */
  --band: #0a182b;
  --surface: #112139;       /* the program's cards */
  --surface-2: #15284a;
  --field: #0c1a2f;
  --text: #edf3ff;
  --muted: #b4c2d7;
  --faint: #8798b3;
  --border: #24354e;
  --blue: #4f8bff;          /* the mark's upper half */
  --blue-fill: #2f6fe8;
  --mint: #16cab5;          /* the mark's lower half */
  --blue-soft: rgba(54, 122, 246, .14);
  --mint-soft: rgba(22, 202, 181, .13);
  --due: #ff8a5b;
  --on-blue: #ffffff;
  --cta: #f5bd4f;           /* the call to action: warm gold against the blues */
  --on-cta: #0b1a2e;
  --shadow: rgba(0, 0, 0, .45);
  --header: rgba(7, 19, 34, .78);
  --logo-dark: block;       /* the white wordmark */
  --logo-light: none;
  --display: "Noto Sans Georgian", "Sylfaen", "Segoe UI", system-ui, sans-serif;
  --body: "Noto Sans Georgian", "Sylfaen", "Segoe UI", system-ui, sans-serif;
  --serif: "Noto Serif Georgian", "Sylfaen", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
/* the page opens dark (the owner, 17.11 evening); light by the header's switch, in the SOLO mark's pale green, not plain white */
:root:not([data-theme="dark"]) {
    --bg: #d9eee6; --band: #cae6da; --surface: #edf8f3; --surface-2: #dff1e9; --field: #f6fcf9; --text: #10223f; --muted: #46597a; --faint: #56667f;
    --border: #afd3c4; --blue: #2a62d0; --blue-fill: #2f6fe8; --mint: #08786b; --blue-soft: rgba(47, 111, 232, .10); --mint-soft: rgba(13, 159, 142, .15);
    --due: #b5421a; --cta: #eeab33; --on-cta: #10223f; --on-blue: #ffffff; --shadow: rgba(16, 34, 63, .18); --header: rgba(217, 238, 230, .88); --logo-dark: none; --logo-light: block;
    color-scheme: light;
}
:root[data-theme="light"] {
  --bg: #d9eee6; --band: #cae6da; --surface: #edf8f3; --surface-2: #dff1e9; --field: #f6fcf9; --text: #10223f; --muted: #46597a; --faint: #56667f;
  --border: #afd3c4; --blue: #2a62d0; --blue-fill: #2f6fe8; --mint: #08786b; --blue-soft: rgba(47, 111, 232, .10); --mint-soft: rgba(13, 159, 142, .15);
  --due: #b5421a; --cta: #eeab33; --on-cta: #10223f; --on-blue: #ffffff; --shadow: rgba(16, 34, 63, .18); --header: rgba(217, 238, 230, .88); --logo-dark: none; --logo-light: block;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; font-size: clamp(100%, calc(0.6vw + 7.4px), 160%); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--body); overflow-x: clip; }
a { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }
.wrap {
  max-width: min(90vw, 96rem); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--blue-fill); color: var(--on-blue); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.ico { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* header: sticky, glass */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--header); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding-block: 12px 0; }
header.top .wrap {
  display: flex; align-items: center; gap: 28px; padding: 8px 8px 8px 22px; border-radius: 999px;
  background: var(--header); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--border); box-shadow: 0 18px 40px -28px var(--shadow); transition: box-shadow .2s;
}
header.top.scrolled .wrap { box-shadow: 0 18px 44px -20px var(--shadow); }
header.top .btn, header.top .theme-btn, header.top .menu-btn { border-radius: 999px; }
@media (min-width: 0px) { .want3d header.top .wrap { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--bg) 92%, transparent); } }
.logo { display: flex; text-decoration: none; flex: none; }
.logo img { height: 32px; width: auto; }
.logo .on-dark { display: var(--logo-dark); }
.logo .on-light { display: var(--logo-light); }
nav.links { display: flex; gap: 24px; margin-left: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: .94rem; padding-block: 6px; white-space: nowrap; }
nav.links a:hover, nav.links a[aria-current="true"] { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 11px;
  font: 600 .98rem/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: filter .15s, border-color .15s, transform .15s;
}
.btn.primary { background: var(--cta); color: var(--on-cta); box-shadow: 0 10px 26px -14px rgba(214, 150, 30, .8); }
.btn.primary:hover { filter: brightness(1.05) saturate(1.05); }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn.ghost:hover { border-color: var(--blue); }
nav.links .nav-signin { display: none; }
header.top .btn { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.theme-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.theme-btn:hover { border-color: var(--blue); }
.theme-btn .ico { width: 20px; height: 20px; }
.theme-btn .sun, :root[data-theme="dark"] .theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
header.top .btn .short { display: none; }
.menu-btn { flex: none; display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.menu-btn .ico { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }

/* hero: the promise in large serif, the program itself rising under it */
.hero {
  position: relative; text-align: center; padding-block: 88px 0; overflow: clip;
  background: radial-gradient(60% 55% at 50% 100%, var(--blue-soft), transparent 70%);
}
/* a soft mint light in the first screen, under the floating header too */
body { background-image: radial-gradient(34% 46% at 86% 8%, var(--mint-soft), transparent 70%); background-repeat: no-repeat; background-size: 100% 100vh; }
h1 { font: 600 clamp(2.5rem, 6.2vw, 5.4rem)/1.08 var(--serif); font-stretch: 88%; letter-spacing: -.015em; margin: 0 auto 24px; max-width: 15em; text-wrap: balance; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.hero .lede { margin-inline: auto; margin-bottom: 34px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta { justify-content: center; }
.hero .btn { border-radius: 999px; padding-inline: 26px; }
:root:not([data-theme="dark"]) body { background: linear-gradient(170deg, #dcf1e8 0%, #d3ebe6 45%, #d6e5f2 100%); }
:root:not([data-theme="dark"]) .card, :root:not([data-theme="dark"]) a.link-card, :root:not([data-theme="dark"]) .who > div { background: linear-gradient(160deg, #f1faf6 0%, #e4f2ef 100%); }
:root:not([data-theme="dark"]) section.alt { background: linear-gradient(180deg, rgba(190, 228, 213, .55), rgba(196, 220, 236, .45)); }
/* the home title is a long promise: wider and a little smaller, so it stays on two lines on a computer */
.hero h1 { max-width: 20em; font-size: clamp(2.3rem, 4.9vw, 4.5rem); }
/* 3D: the glass mark; the words float over it; the program grows out of its light */
.g3d-gl, .g3d-inside, .g3d-hint { display: none; }
.want3d .hero { padding-top: 0; }
.want3d .g3d { position: relative; height: 300vh; margin-top: -86px; }
.want3d .g3d-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.want3d .g3d-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.want3d.ready3d .g3d-gl { opacity: 1; }
.want3d .g3d-pin > .wrap { position: absolute; left: 0; right: 0; top: calc(86px + 7vh); z-index: 2; will-change: opacity, transform; }
.want3d .g3d-inside {
  display: block; position: absolute; left: 50%; top: 56%; width: min(86vw, 70rem, calc((100svh - 200px) * 1.6)); z-index: 3; pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--s, .4)); opacity: var(--o, 0);
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 60px 120px -50px var(--shadow);
}
.want3d .g3d-inside img { display: block; width: 100%; height: auto; }
:root:not([data-theme="dark"]).want3d .g3d-inside .shot-dark, :root[data-theme="dark"].want3d .g3d-inside .shot-light { display: none; }
.want3d .g3d-hint { display: grid; justify-items: center; gap: 6px; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: .85rem; }
.g3d-hint i { width: 1px; height: 28px; background: linear-gradient(var(--muted), transparent); }
@keyframes drip { 50% { transform: scaleY(.5); transform-origin: top; } }
@media (max-height: 820px) and (min-width: 701px) {
  .want3d .hero h1 { font-size: clamp(2.2rem, 7.2vh, 4.6rem); margin-bottom: 14px; }
  .want3d .hero .lede { font-size: 1.02rem; margin-bottom: 22px; }
  .want3d .g3d-pin > .wrap { top: calc(80px + 3vh); }
}
@media (max-width: 700px) {
  .want3d .g3d-pin > .wrap { top: calc(76px + 2vh); }
  .want3d .g3d-inside { top: 60%; }
  .want3d .hero h1 { font-size: 2.1rem; margin-bottom: 14px; }
  .want3d .hero .lede { font-size: .98rem; margin-bottom: 20px; }
  .want3d .hero .cta .btn { flex: 0 1 auto; padding-inline: 18px; }
}

/* the scene: pinned while the page scrolls past it; script turns the scroll into its progress */
.scene { position: relative; height: 330vh; margin-top: 48px; }
.scene-pin {
  position: sticky; top: 86px; height: calc(100vh - 96px); height: calc(100svh - 96px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.scene-frame {
  position: relative; width: min(92vw, 78rem, calc((100svh - 250px) * 1.6)); aspect-ratio: 16 / 10; flex: none;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 50px 100px -50px var(--shadow); transform-origin: 50% 0; will-change: transform;
  transform: perspective(1800px) rotateX(var(--tilt, 0deg)) translateY(var(--lift, 0px)) scale(var(--grow, 1));
}
.scene-shot { position: absolute; inset: 0; transform: translate3d(0, var(--slide, 0%), 0); will-change: transform; backface-visibility: hidden; }
.scene-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.scene-shot .shot-dark, :root[data-theme="dark"] .scene-shot .shot-light { display: none; }
:root[data-theme="dark"] .scene-shot .shot-dark { display: block; }
.scene-shot + .scene-shot { box-shadow: 0 -30px 60px -30px var(--shadow); }
.scene-steps { width: min(92vw, 52rem); text-align: center; opacity: var(--steps, 1); }
.scene-steps ol { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.scene-steps button {
  width: 100%; display: grid; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--faint); font: 600 .9rem/1.3 var(--body); transition: color .25s;
}
.scene-steps button i { display: block; height: 3px; border-radius: 3px; background: var(--border); position: relative; overflow: hidden; }
.scene-steps button i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--mint)); transform: scaleX(var(--fill, 0)); transform-origin: 0 50%; }
.scene-steps li.on button { color: var(--text); }
.scene-cap { display: none; margin: 0; color: var(--muted); font-size: .98rem; min-height: 3.2em; }
.scene-cap.on { display: block; animation: capin .35s ease both; }
@keyframes capin { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 700px) {
  .scene { height: 260vh; margin-top: 36px; }
  .scene-pin { top: 76px; height: calc(100svh - 86px); gap: 16px; }
  .scene-frame { width: 94vw; aspect-ratio: 3 / 4; border-radius: 14px; }
  .scene-shot img { object-position: 30% 0; }
  .scene-steps button { font-size: .76rem; }
  .scene-cap { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .scene-frame { transform: none; } .scene-cap.on { animation: none; } }


/* how it works: the words, and beside them the moment a sale balances */
.how-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); gap: 64px; align-items: center; margin-bottom: 64px; }
.how-top .head { margin-bottom: 0; }
@media (max-width: 1100px) { .how-top { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* a SOLO window, as the program draws a sale */
.app {
  margin: 0; min-width: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -40px var(--shadow), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  font-size: .86rem;
}
.app-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--band); }
.app-bar .dots { display: flex; gap: 6px; margin-right: 4px; }
.app-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.app-bar img { width: 20px; height: 20px; }
.app-bar b { font-weight: 650; white-space: nowrap; }
.app-bar span { color: var(--faint); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-body { padding: 14px; display: grid; gap: 10px; }
.app-title {
  background: linear-gradient(110deg, var(--surface), var(--band)); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
}
.app-title b { display: block; font: 750 1.05rem/1.3 var(--display); font-stretch: 85%; }
.app-title b::after { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; margin-top: 7px; background: linear-gradient(90deg, var(--blue), var(--mint)); }
.app-title span { color: var(--faint); font-size: .78rem; }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.acts i { font-style: normal; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); font-size: .76rem; }
.acts i.p { background: var(--blue-fill); border-color: var(--blue-fill); color: var(--on-blue); }
.link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center;
  padding: 9px 12px; border: 1px solid var(--border); border-left: 3px solid var(--mint); border-radius: 10px; background: var(--surface);
}
.link .k { grid-column: 1 / -1; color: var(--faint); font-size: .72rem; }
.link .v { min-width: 0; }
.link .v small { display: block; color: var(--faint); font-size: .74rem; }
.pill { font-size: .72rem; padding: 3px 8px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); white-space: nowrap; font-weight: 600; }
.lines { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); overflow-x: auto; }
.lines table { width: 100%; border-collapse: collapse; }
.lines th { text-align: left; color: var(--faint); font-weight: 500; font-size: .72rem; padding: 8px 12px 6px; white-space: nowrap; }
.lines td { padding: 7px 12px; border-top: 1px solid var(--border); }
.lines .r { text-align: right; white-space: nowrap; }
.lines tfoot td { color: var(--muted); }
.entry { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 12px; border-radius: 10px; background: var(--field); border: 1px dashed var(--border); }
.entry .s { color: var(--faint); }
.entry .a { font-family: var(--mono); }
.entry .n { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entry .m { text-align: right; }
.entry span { transition: opacity .35s ease, transform .35s ease; }
.bal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .8rem;
}
.bal b { color: var(--text); font-weight: 600; }
.bal .eq { color: var(--faint); }
.bal .ok {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 650 .78rem/1 var(--body); color: var(--mint);
  padding: 5px 10px; border-radius: 999px; background: var(--mint-soft); transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.bal .ok::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3 3 7-7' fill='none' stroke='%2316cab5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* the hero's one moving moment: three sources flow into one document, and its entry balances */
.stage { position: relative; min-width: 0; display: grid; gap: 34px; }
.feeds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feed {
  position: relative; z-index: 1; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 14px 30px -22px var(--shadow); min-width: 0; transition: opacity .4s ease, transform .4s ease, border-color .3s;
}
.feed small { display: block; color: var(--faint); font-size: .72rem; }
.feed b { display: block; font-weight: 650; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed.hot { border-color: var(--mint); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.wires path { fill: none; stroke: var(--mint); stroke-width: 1.6; stroke-linecap: round; opacity: .55; }
.wires circle { fill: var(--mint); }
.link { transition: opacity .4s ease, transform .4s ease, box-shadow .6s ease; }
.link.hot { box-shadow: 0 0 0 3px var(--mint-soft); }
.lines tbody tr { transition: opacity .35s ease; }
/* before the moment plays (only with script and where motion is welcome) */
.arm .feed { opacity: 0; transform: translateY(-8px); }
.arm .link, .arm .lines tbody tr, .arm .entry span { opacity: 0; }
.arm .link { transform: translateX(-10px); }
.arm .bal .ok { opacity: 0; transform: scale(.6); }
.arm .on { opacity: 1 !important; transform: none !important; }

/* the strip of what SOLO talks to */
.strip { border-block: 1px solid var(--border); background: var(--band); padding-block: 22px; }
.strip .wrap { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.strip .k { color: var(--faint); font-size: .84rem; flex: none; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.strip li { font: 650 .95rem/1.4 var(--display); font-stretch: 88%; color: var(--muted); }

/* sections */
section.band { padding-block: 96px; }
section.alt { background: var(--band); }
.head { max-width: 46em; margin-bottom: 48px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 650 .84rem/1.2 var(--body); color: var(--mint); letter-spacing: .02em; margin-bottom: 14px; }
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--mint)); }
h2 { font: 600 clamp(1.85rem, 3.6vw, 2.8rem)/1.16 var(--serif); font-stretch: 90%; letter-spacing: -.01em; margin: 0 0 14px; text-wrap: balance; }
.sub { color: var(--muted); margin: 0; font-size: 1.05rem; max-width: 40em; }

/* comes in → is done: the mark's two halves */
.flow { display: grid; gap: 0; border-top: 1px solid var(--border); }
.flow .row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.25fr); gap: 0 8px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--border); }
.flow .in, .flow .out { display: grid; gap: 4px; min-width: 0; }
.flow .tag { justify-self: start; font: 650 .8rem/1 var(--body); padding: 5px 10px; border-radius: 999px; margin-bottom: 4px; }
.flow .in .tag { background: var(--blue-soft); color: var(--blue); }
.flow .out .tag { background: var(--mint-soft); color: var(--mint); }
.flow b { font: 700 1.1rem/1.35 var(--display); font-stretch: 88%; }
.flow p { margin: 0; color: var(--muted); font-size: .95rem; }
.flow .arrow { height: 2px; background: linear-gradient(90deg, var(--blue), var(--mint)); position: relative; }
.flow .arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--mint); border-right: 0; }

/* everything SOLO keeps */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-content: start; align-items: center; transition: border-color .2s; }
.card p { grid-column: 1 / -1; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue-soft), var(--mint-soft)); color: var(--mint); }
.card h3 { margin: 0; font: 720 1.08rem/1.3 var(--display); font-stretch: 88%; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; color: var(--muted); font-size: .9rem; }
.card li { padding-left: 16px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 2px; background: var(--mint); opacity: .8; }

/* the program itself: real screens of the demo company, one at a time */
.look-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.look-tabs button {
  font: 600 .92rem/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border); background: transparent;
  color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.look-tabs button:hover { color: var(--text); border-color: var(--blue); }
.look-tabs button[aria-selected="true"] { background: var(--blue-fill); border-color: var(--blue-fill); color: var(--on-blue); }
.screen { margin: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 50px 90px -50px var(--shadow); }
.screen .bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--band); border-bottom: 1px solid var(--border); }
.screen .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.screen .bar span { margin-left: 8px; flex: 1; max-width: 360px; padding: 5px 12px; border-radius: 8px; background: var(--field); color: var(--faint); font: 500 .8rem/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen picture, .screen img { display: block; }
.screen .shot-dark, :root[data-theme="dark"] .screen .shot-light { display: none; }
:root[data-theme="dark"] .screen .shot-dark { display: block; }
.screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.look-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 16px; color: var(--muted); font-size: .95rem; }
.look-cap small { color: var(--faint); font-size: .84rem; }

/* for whom */
.who { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.who div { border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 20px; background: var(--bg); display: grid; gap: 8px; align-content: start; }
.who .ico { color: var(--blue); width: 26px; height: 26px; }
.who b { font: 720 1.02rem/1.3 var(--display); font-stretch: 88%; }
.who span { color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* the month ends on the 15th */
.month { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.cal { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; width: 100%; max-width: 30rem; justify-self: center; }
.cal h3 { margin: 0 0 14px; font: 700 1rem/1 var(--display); font-stretch: 88%; display: flex; justify-content: space-between; }
.cal h3 span { color: var(--faint); font: 500 .8rem/1 var(--mono); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days .dow { font: 600 .7rem/1 var(--body); color: var(--faint); text-align: center; padding-bottom: 6px; }
.days .d { aspect-ratio: 1; max-width: 100%; border-radius: 9px; display: grid; place-items: center; font: 500 .84rem/1 var(--mono); color: var(--faint); }
.days .d.w { color: var(--text); background: var(--field); }
.days .d.prep { background: var(--blue-soft); color: var(--text); }
.days .d.due { background: var(--due); color: #fff; font-weight: 700; box-shadow: 0 6px 18px -6px var(--due); }
.days .d.off { visibility: hidden; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: var(--faint); font-size: .8rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.duelist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.duelist li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 14px; }
.duelist .when { font: 600 .92rem/1.6 var(--mono); color: var(--due); }
.duelist b { display: block; font-weight: 650; }
.duelist span { color: var(--muted); font-size: .94rem; }

/* safety: the books are yours */
.safe { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.safe-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.safe-list div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-content: start; }
.safe-list .ico { grid-row: span 2; color: var(--blue); width: 24px; height: 24px; margin-top: 2px; }
.safe-list b { font: 700 1.02rem/1.35 var(--display); font-stretch: 88%; }
.safe-list p { margin: 0; color: var(--muted); font-size: .93rem; }
.roles { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: var(--surface); }
.roles span b { color: var(--text); font-weight: 650; margin-right: 6px; }

/* moving over: a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; }
.step .n { font: 800 .82rem/1 var(--mono); color: var(--mint); }
.step h3 { font: 720 1.1rem/1.3 var(--display); font-stretch: 88%; margin: 14px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.proof { margin-top: 28px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.proof b { color: var(--text); }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.qa { border-top: 1px solid var(--border); }
.qa details { border-bottom: 1px solid var(--border); }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 700 1.04rem/1.4 var(--display); font-stretch: 88%;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s;
}
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:hover { color: var(--blue); }
.qa .a { padding: 0 40px 22px 0; color: var(--muted); }
.qa .a p { margin: 0 0 8px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.contact .sub + .sub { margin-top: 14px; }
.mail { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px -40px var(--shadow); }
.mail .k { color: var(--faint); font-size: .85rem; }
.mail .addr { font: 600 1.25rem/1.2 var(--mono); user-select: all; word-break: break-all; }
.mail .row { display: flex; gap: 10px; flex-wrap: wrap; }
.mail hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; width: 100%; }
.ask { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.ask li { display: flex; gap: 10px; align-items: baseline; }
.ask li::before { content: counter(q); counter-increment: q; font: 700 .78rem/1 var(--mono); color: var(--mint); width: 1.4em; flex: none; }
.ask { counter-reset: q; }

/* the demo request (shown only when the Worker says it can send: /api/demo) */
.demo { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px -40px var(--shadow); }
.demo h3 { margin: 0 0 2px; font: 750 1.2rem/1.3 var(--display); font-stretch: 88%; }
.demo .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.demo label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); min-width: 0; }
.demo label b { color: var(--due); font-weight: 600; }
.demo input, .demo select, .demo textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--field);
  color: var(--text); font: 400 1rem/1.4 var(--body);
}
.demo textarea { min-height: 84px; resize: vertical; }
.demo input:focus, .demo select:focus, .demo textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.demo .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo .msg { margin: 0; font-size: .92rem; }
.demo .msg:empty { display: none; }
.demo .msg.bad { color: var(--due); }
.demo .msg.ok { color: var(--mint); }
.demo .btn { justify-self: start; }
.demo .fine { margin: 0; color: var(--faint); font-size: .82rem; }
.demo-done { display: grid; gap: 10px; justify-items: start; }
.demo-done b { font: 750 1.2rem/1.3 var(--display); font-stretch: 88%; color: var(--mint); }
.alt-contact { display: none; margin-top: 24px; gap: 6px; color: var(--muted); }
.alt-contact a { color: var(--text); font-family: var(--mono); text-decoration: none; }
.has-form .alt-contact { display: grid; }
.has-form .mail, .has-form .ask-wrap { display: none; }
@media (max-width: 640px) { .demo .two { grid-template-columns: minmax(0, 1fr); } .demo { padding: 20px; } }

footer { padding-block: 48px 40px; color: var(--faint); font-size: .88rem; border-top: 1px solid var(--border); background: var(--band); }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer .brand .logo img { height: 30px; width: auto; }
footer .brand p { margin: 14px 0 0; max-width: 28em; }
footer h4 { margin: 0 0 12px; color: var(--text); font: 650 .9rem/1.3 var(--display); font-stretch: 90%; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--faint); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .base { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* reveal on scroll (only where motion is welcome and script runs) */

@media (max-width: 1340px) {
  .menu-btn { display: grid; }
  header.top .btn.signin { margin-left: auto; }
  nav.links {
    display: none; position: absolute; left: 5vw; right: 5vw; top: calc(100% + 8px); flex-direction: column; gap: 0; margin: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px));
    background: var(--bg); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 24px 40px -24px var(--shadow);
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 14px 0; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--border); }
  nav.links a:last-child { border-bottom: 0; }
}
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 920px) {
  .month, .contact, .safe, .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  header.top .wrap { gap: 10px; }
  section.band { padding-block: 68px; }
  .hero { padding-block: 48px 0; }
  header.top .wrap { padding-left: 14px; }
  .cta .btn { flex: 1 1 100%; }
  .flow .row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow .arrow { width: 40px; }
  .grid, .steps, .safe-list, .who { grid-template-columns: minmax(0, 1fr); }
  .entry .n { display: none; }
  .entry { grid-template-columns: auto auto minmax(0, 1fr); }
  .lines .price { display: none; }
  .app-bar span { display: none; }
  .qa summary { font-size: 1rem; }
  .qa .a { padding-right: 0; }
}
@media (max-width: 420px) {
  header.top .btn.primary { padding: 0 14px; font-size: .88rem; }
  header.top .btn .long { display: none; }
  header.top .btn .short { display: inline; }
  .logo img { height: 28px; }
  footer .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .app .link { animation: settle .6s cubic-bezier(.2, .7, .2, 1) both; }
  .app .link:nth-of-type(2) { animation-delay: .12s; }
  .app .link:nth-of-type(3) { animation-delay: .24s; }
  @keyframes settle { from { transform: translateX(-6px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 600px) {
  header.top .btn.signin { display: none; }
  .stage { gap: 28px; }
  .feeds { gap: 8px; }
  .feed { padding: 8px 7px; text-align: center; }
  .feed b { font-size: .72rem; text-overflow: clip; }
  header.top .btn.primary { margin-left: auto; }
  nav.links.open .nav-signin { display: block; color: var(--blue); font-weight: 600; }
}

/* separate pages (17.11): a topic page opens with its own title; the home page ends with the way to the others */
.page-first { padding-top: 56px; }
h1.page-h1 { font: 600 clamp(2.2rem, 4.6vw, 3.7rem)/1.1 var(--serif); font-stretch: 90%; letter-spacing: -.01em; margin: 0 0 16px; max-width: 22em; text-align: left; }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; }
a.link-card { display: grid; gap: 6px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s; }
a.link-card:hover, a.link-card:focus-visible { border-color: var(--blue); }
a.link-card b { font: 600 1.2rem/1.3 var(--serif); }
a.link-card span { color: var(--muted); font-size: .95rem; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band .sub { margin: 0; }
