/* KODESH - the brand. Wine and ink, a gold rule, Frank Ruhl Libre for display, Assistant for everything else.
   The product's own world is InDesign: blue frame edges, magenta guides, the pasteboard - used only in product pictures. */
@font-face { font-family: "Assistant"; font-weight: 400; font-display: swap; src: url(/fonts/assistant-hebrew-400-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 400; font-display: swap; src: url(/fonts/assistant-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Assistant"; font-weight: 600; font-display: swap; src: url(/fonts/assistant-hebrew-600-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 600; font-display: swap; src: url(/fonts/assistant-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Assistant"; font-weight: 700; font-display: swap; src: url(/fonts/assistant-hebrew-700-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 700; font-display: swap; src: url(/fonts/assistant-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Assistant"; font-weight: 800; font-display: swap; src: url(/fonts/assistant-hebrew-800-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-weight: 800; font-display: swap; src: url(/fonts/assistant-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Frank Ruhl Libre"; font-weight: 700; font-display: swap; src: url(/fonts/frank-ruhl-libre-hebrew-700-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-weight: 700; font-display: swap; src: url(/fonts/frank-ruhl-libre-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Frank Ruhl Libre"; font-weight: 900; font-display: swap; src: url(/fonts/frank-ruhl-libre-hebrew-900-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Frank Ruhl Libre"; font-weight: 900; font-display: swap; src: url(/fonts/frank-ruhl-libre-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --ink: #1C1418; --ink-2: #2B1F25; --ink-3: #3A2A31;           /* wine-tinted ink */
  --wine-900: #4A0E1C; --wine-700: #7A1830; --wine-600: #8A1F2D; --rose-500: #B8445A; --rose-400: #D0606C;
  --rose-200: #EFC9D1; --rose-100: #F6E4E8; --blush: #FBF4F6;
  --gold: #C9A45C; --gold-200: #F1E3C4; --gold-ink: #6E521A;
  --paper: #FFFFFF; --mist: #F6F2F3; --line: #E9DEE1; --line-2: #D9CACF;
  --text: #2A2026; --soft: #66555D; --faint: #8E7C84;
  --ok: #1F7A4D; --ok-bg: #E3F4EA; --bad: #B42318; --bad-bg: #FDE9E7;
  --frame: #3D7EFF; --guide: #E84BCB; --paste: #E9E7EA;          /* InDesign's own colours, for its pictures */
  --grad: linear-gradient(135deg, #7A1830 0%, #8A1F2D 55%, #C24E62 100%);
  --display: "Frank Ruhl Libre", "David", serif; --sans: "Assistant", "Segoe UI", Arial, sans-serif;
  --r-s: 8px; --r: 12px; --r-l: 18px;
  --shadow: 0 1px 2px rgba(42, 12, 22, .06), 0 8px 24px rgba(42, 12, 22, .07);
  --shadow-l: 0 2px 6px rgba(42, 12, 22, .08), 0 30px 70px rgba(42, 12, 22, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* old names the account / admin pages still use */
  --wine-6: var(--wine-600); --card: var(--paper); --bg: var(--paper); --ink-soft: var(--soft); --rose-300: var(--rose-200);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); direction: rtl; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px }
@media (max-width: 600px) { .wrap { padding-inline: 16px } }
h1, h2, h3, .title { font-family: var(--display); line-height: 1.12; margin: 0; font-weight: 900; color: var(--ink); letter-spacing: -.005em }
p { margin: 0 }
a { color: inherit }
img { max-width: 100%; display: block }
:focus-visible { outline: 3px solid var(--rose-400); outline-offset: 3px; border-radius: 6px }
[hidden] { display: none !important }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.muted { color: var(--soft) }
.mono { font-family: Consolas, "Cascadia Mono", monospace; direction: ltr; unicode-bidi: embed; font-size: .92em }
.ltr { direction: ltr; unicode-bidi: isolate }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none }
.brand img { width: 34px; height: 34px }
.brand b { font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1 }
.brand i { font-style: normal; font-weight: 600; font-size: .74rem; color: var(--faint); margin-top: 3px; white-space: nowrap }
.brand span { display: flex; flex-direction: column }
.top nav.main { display: flex; gap: 4px; align-items: center; margin-inline-start: 8px }
.top nav.main a { text-decoration: none; color: var(--soft); font-weight: 600; font-size: .98rem; padding: 6px 12px; border-radius: 8px; transition: color .15s, background .15s }
.top nav.main a:hover { color: var(--ink); background: var(--mist) }
.top .end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; color: inherit }
.menu-btn svg { width: 22px; height: 22px }
@media (max-width: 980px) {
  .top nav.main { display: none; position: absolute; inset-inline: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 20px 40px rgba(42, 12, 22, .12) }
  .top nav.main a { padding: 12px; font-size: 1.05rem; color: var(--text) }
  .top.open nav.main { display: flex }
  .menu-btn { display: grid; place-items: center }
  .top .end .hide-sm { display: none }
}
/* over the dark hero */
.top.on-dark:not(.scrolled):not(.open) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none }
.top.on-dark:not(.scrolled):not(.open) .brand, .top.on-dark:not(.scrolled):not(.open) .menu-btn { color: #fff }
.top.on-dark:not(.scrolled):not(.open) .brand i { color: rgba(255, 255, 255, .55) }
.top.on-dark:not(.scrolled):not(.open) nav.main a { color: rgba(255, 255, 255, .72) }
.top.on-dark:not(.scrolled):not(.open) nav.main a:hover { color: #fff; background: rgba(255, 255, 255, .08) }
.top.on-dark:not(.scrolled):not(.open) .btn.soft { background: rgba(255, 255, 255, .1); color: #fff }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 700 1rem/1 var(--sans); padding: 13px 22px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s }
.btn:active { transform: translateY(1px) }
.btn svg { width: 18px; height: 18px; flex: none }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 18px rgba(138, 31, 45, .3) }
.btn.primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 28px rgba(138, 31, 45, .42) }
.btn.dark { background: var(--ink); color: #fff }
.btn.dark:hover { background: var(--ink-3) }
.btn.soft { background: var(--rose-100); color: var(--wine-600) }
.btn.soft:hover { background: var(--rose-200) }
.btn.ghost { background: transparent; color: var(--wine-600); box-shadow: inset 0 0 0 1.5px var(--rose-200) }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--rose-400) }
.btn.light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22) }
.btn.light:hover { background: rgba(255, 255, 255, .14) }
.btn.gold { background: linear-gradient(135deg, #B8893A, #E2C27E); color: #2A1E08 }
.btn.lg { padding: 16px 28px; font-size: 1.08rem; border-radius: 12px }
.btn.small { padding: 8px 14px; font-size: .92rem; border-radius: 8px }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none }
.btn.google { background: #fff; color: #1F1F1F; box-shadow: inset 0 0 0 1px #DADCE0 }
.btn.google img { width: 18px; height: 18px }
.link { color: var(--wine-600); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center }
.link:hover { text-decoration: underline; text-underline-offset: 4px }

/* ---------------------------------------------------------------- page sections */
.section { padding-block: 104px }
.section.tight { padding-block: 72px }
.section.mist { background: var(--mist) }
@media (max-width: 760px) { .section { padding-block: 72px } .section.tight { padding-block: 56px } }
.sec-head { max-width: 720px; margin-bottom: 52px }
.sec-head.center { margin-inline: auto; text-align: center }
.sec-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem) }
.sec-head p { font-size: 1.18rem; color: var(--soft); margin-top: 16px; max-width: 40em }
.sec-head.center p { margin-inline: auto }
.kicker { display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 22px }
.sec-head.center .kicker { margin-inline: auto }
/* (older pages) */
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap }
.head h2 { font-size: 2rem }
.head p { color: var(--soft) }
.rule { width: 44px; height: 4px; border-radius: 2px; background: var(--gold); margin-top: 12px }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; margin-top: -69px; padding: 160px 0 96px }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 85% 10%, rgba(194, 78, 98, .38), transparent 70%),
  radial-gradient(50% 60% at 10% 90%, rgba(122, 24, 48, .55), transparent 70%); pointer-events: none }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%); pointer-events: none }
.hero .wrap { position: relative; z-index: 1 }
.hero-copy { max-width: 820px; margin-inline: auto; text-align: center }
.hero h1 { color: #fff; font-size: clamp(3rem, 8.4vw, 6.6rem); line-height: 1.02; letter-spacing: -.015em }
.hero h1 .l2 { display: block; font-size: .62em; font-weight: 700; color: rgba(255, 255, 255, .82); margin-top: .22em; letter-spacing: 0 }
.hero .lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: rgba(255, 255, 255, .74); margin: 26px auto 0; max-width: 34em; line-height: 1.6 }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px }
.hero .fine { color: rgba(255, 255, 255, .5); font-size: .92rem; margin-top: 18px }
.hero-stage { margin-top: 72px; perspective: 1800px }
.hero-stage .app-window { transform: rotateX(6deg); transform-origin: 50% 100% }
@media (max-width: 760px) { .hero { padding: 120px 0 56px } .hero-stage { margin-top: 48px } .hero-stage .app-window { transform: none } }


/* ---------------------------------------------------------------- the InDesign window (a picture of the product) */
.app-window { position: relative; background: #2B2A2E; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), var(--shadow-l), 0 50px 120px rgba(0, 0, 0, .45); overflow: hidden; direction: ltr; max-width: 1100px; margin-inline: auto }
.app-window .chrome { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #323136; border-bottom: 1px solid #222 }
.app-window .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #5A585E }
.app-window .chrome span { margin-inline: auto; font: 600 12px/1 var(--sans); color: #A9A7AE; letter-spacing: .02em }
.app-window .canvas { position: relative; aspect-ratio: 16 / 9; background: #3A393E; display: grid; grid-template-columns: 44px 1fr 220px }
.app-window .tools { background: #323136; border-inline-end: 1px solid #252428; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 14px }
.app-window .tools b { width: 18px; height: 18px; border-radius: 4px; background: #57555B }
.app-window .tools b:nth-child(2) { background: #6A686F }
.app-window .panel-col { background: #323136; border-inline-start: 1px solid #252428; padding: 12px; display: flex; flex-direction: column; gap: 10px; direction: rtl }
.app-window .pnl { background: #2A292D; border-radius: 6px; padding: 10px; font: 600 10.5px/1.5 var(--sans); color: #BDBBC2 }
.app-window .pnl h4 { margin: 0 0 8px; font: 700 10.5px/1 var(--sans); color: #E6E4EA; display: flex; justify-content: space-between }
.app-window .pnl h4 em { font-style: normal; color: var(--gold); font-weight: 700 }
.app-window .pnl .r { display: flex; justify-content: space-between; align-items: center; padding: 3px 0 }
.app-window .pnl .sw { width: 22px; height: 12px; border-radius: 6px; background: #55535A; position: relative; transition: background .4s }
.app-window .pnl .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #CFCDD3; transition: transform .4s var(--ease) }
.app-window .pnl .sw.on { background: var(--rose-500) }
.app-window .pnl .sw.on::after { transform: translateX(10px) }
.app-window .pnl .sw { direction: ltr }
.app-window .pnl .val { background: #1F1E22; border-radius: 3px; padding: 1px 6px; color: #E6E4EA }
.app-window .pasteboard { position: relative; display: grid; place-items: center; overflow: hidden; padding: 22px }
.app-window .shot-img { position: absolute; inset: 34px 0 0 0; width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: top; background: #2B2A2E }
@media (max-width: 760px) { .app-window .canvas { grid-template-columns: 1fr; aspect-ratio: 4 / 5 } .app-window .tools, .app-window .panel-col { display: none } }

/* a page of a sefer, as it stands in InDesign: frames, guides, the notes */
.spread { position: relative; height: 100%; aspect-ratio: 1.42; max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .35) }
.pg { position: relative; background: #fff; padding: 9% 8% 8%; display: flex; flex-direction: column; direction: rtl }
.pg + .pg { border-inline-start: 1px solid #ddd }
.pg .guide { position: absolute; background: var(--guide); opacity: .55 }
.pg .guide.v { top: 0; bottom: 0; width: 1px }
.pg .guide.h { left: 0; right: 0; height: 1px }
.pg .hd { text-align: center; font: 900 clamp(9px, 1.3vw, 15px)/1.2 var(--display); color: #222; margin-bottom: 5% }
.pg .tf { position: relative; outline: 1px solid transparent; transition: outline-color .6s }
.pg .ln { height: clamp(3px, .48vw, 5px); background: #555; border-radius: 1px; margin-bottom: clamp(4px, .62vw, 7px); opacity: .78 }
.pg .ln.s { width: 72% } .pg .ln.m { width: 88% } .pg .ln.x { width: 54% }
.pg .ln.i { width: 64%; margin-inline-start: 36% }
.pg .win { float: right; width: 38%; height: clamp(26px, 4vw, 48px); margin: 0 0 6px 8px; border: 1px solid #333; display: grid; place-items: center; font: 900 clamp(7px, 1vw, 12px)/1.2 var(--display); color: #333; text-align: center; padding: 3px }
.pg .notes { position: relative; margin-top: auto; padding-top: 5% }
.pg .tf { flex: 0 1 auto }
.pg .sep { position: absolute; top: 0; right: 0; width: 34%; height: 1px; background: #555; transition: opacity .5s }
.pg .nbox { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8%; transition: gap .7s var(--ease) }
.pg .note { height: clamp(2px, .36vw, 4px); background: #777; border-radius: 1px; margin-bottom: clamp(3px, .45vw, 5px) }
.pg .orn { position: absolute; inset: -4px -6px; border: 2px double var(--gold); border-radius: 3px; opacity: 0; transition: opacity .6s }
.pg .fe { position: absolute; inset: -3px; border: 1px solid var(--frame); opacity: 0; transition: opacity .5s }
.pg .fe::before, .pg .fe::after { content: ""; position: absolute; width: 5px; height: 5px; background: #fff; border: 1px solid var(--frame); top: -3px; left: -3px }
.pg .fe::after { left: auto; right: -3px; top: auto; bottom: -3px }
.show-frames .pg .fe { opacity: .9 }
.frame-on .pg .orn { opacity: 1 }
.frame-on .pg .sep { opacity: 0 }
/* the load: the notes come together into one box, then the frame (once) */
@media (prefers-reduced-motion: no-preference) {
  .play .pg .note { animation: gather 1.1s var(--ease) both }
  .play .pg .note:nth-child(2n) { animation-delay: .08s } .play .pg .note:nth-child(3n) { animation-delay: .16s }
  .play .pg .fe { animation: fe 2.6s ease both .2s }
}
@keyframes gather { from { transform: translateY(18px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes fe { 0% { opacity: 0 } 25%, 70% { opacity: .9 } 100% { opacity: 0 } }

/* ---------------------------------------------------------------- inside InDesign */
.inside { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center }
@media (max-width: 980px) { .inside { grid-template-columns: 1fr; gap: 40px } }
.facts { display: grid; gap: 26px; margin-top: 36px }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start }
.fact .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--rose-100); color: var(--wine-600); display: grid; place-items: center }
.fact .ic svg { width: 22px; height: 22px }
.fact h3 { font: 700 1.15rem/1.3 var(--sans); color: var(--ink); margin-bottom: 4px }
.fact p { color: var(--soft) }
.menus { background: #2B2A2E; border-radius: var(--r-l); padding: 26px; box-shadow: var(--shadow-l); direction: ltr; color: #CFCDD3 }
.menus .bar { display: flex; gap: 2px; font: 600 13px/1 var(--sans); border-bottom: 1px solid #3F3E43; padding-bottom: 12px; margin-bottom: 14px; flex-wrap: wrap }
.menus .bar span { padding: 7px 10px; border-radius: 5px; color: #A9A7AE }
.menus .bar span.on { background: #45434A; color: #fff }
.menus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.menus li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px; background: #333237; font: 600 14px/1.3 var(--sans) }
.menus li .k img { width: 28px; height: 28px; border-radius: 7px; flex: none }
.menus li .p { color: #E8E6EC } .menus li .p small { color: #8F8D95; font-weight: 600 }
.menus li .w { margin-left: auto; direction: rtl; color: #B7B4BC; font-size: 13px }
.menus figcaption { margin-top: 16px; font: 600 12.5px/1.5 var(--sans); color: #8F8D95; direction: rtl; text-align: right }

/* ---------------------------------------------------------------- capabilities */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line) }
.cap { padding-block: 34px 38px; padding-inline: 0 30px; border-bottom: 1px solid var(--line) }
.cap:not(:nth-child(3n+1)) { border-inline-start: 1px solid var(--line); padding-inline-start: 30px }
.cap img { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px }
.cap h3 { font: 800 1.3rem/1.3 var(--sans); color: var(--ink); margin-bottom: 8px }
.cap p { color: var(--soft); max-width: 30em }
@media (max-width: 980px) { .caps { grid-template-columns: 1fr 1fr } .cap { padding-inline: 0 24px !important; border-inline-start: 0 !important } .cap:nth-child(2n) { border-inline-start: 1px solid var(--line) !important; padding-inline-start: 24px !important } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr } .cap { padding: 28px 0 !important; border-inline-start: 0 !important } }

/* ---------------------------------------------------------------- live design */
.live { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-l); overflow: hidden; border: 1px solid var(--line) }
@media (max-width: 980px) { .live { grid-template-columns: 1fr } }
.live-tabs { display: flex; flex-direction: column; border-inline-end: 1px solid var(--line); padding: 14px; gap: 4px; background: var(--paper) }
@media (max-width: 980px) { .live-tabs { flex-direction: row; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--line) } }
.live-tabs button { all: unset; cursor: pointer; padding: 16px 18px; border-radius: 12px; display: grid; gap: 4px; transition: background .2s }
.live-tabs button b { font: 800 1.08rem/1.3 var(--sans); color: var(--ink) }
.live-tabs button span { color: var(--soft); font-size: .95rem; line-height: 1.45 }
.live-tabs button:hover { background: var(--mist) }
.live-tabs button[aria-selected="true"] { background: var(--rose-100) }
.live-tabs button[aria-selected="true"] b { color: var(--wine-700) }
.live-tabs button:focus-visible { outline: 3px solid var(--rose-400) }
@media (max-width: 980px) { .live-tabs button { flex: none; min-width: 200px } .live-tabs button span { display: none } }
.live-body { display: grid; grid-template-columns: 300px 1fr; min-height: 520px; background: #3A393E }
@media (max-width: 1100px) { .live-body { grid-template-columns: 1fr } }
.idpanel { background: #2F2E33; color: #CFCDD3; padding: 22px; direction: ltr; font: 600 13px/1.4 var(--sans); display: flex; flex-direction: column; gap: 14px }
.idpanel .path { font: 600 13px/1.4 var(--sans); color: #9C9AA2; direction: rtl; text-align: right }
.idpanel .path b { color: #fff; font-weight: 700 }
.idpanel h4 { margin: 0; font: 700 14px/1.3 var(--sans); color: #fff }
.idpanel .grp { background: #28272B; border-radius: 8px; padding: 12px 14px; display: grid; gap: 10px }
.idpanel label.tg { color: #E6E4EA; direction: rtl; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; font-size: 13px }
.idpanel label.tg input { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 10px; background: #55535A; position: relative; cursor: pointer; transition: background .3s; flex: none; margin: 0 }
.idpanel label.tg input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #E6E4EA; transition: transform .3s var(--ease) }
.idpanel label.tg input:checked { background: var(--rose-500) }
.idpanel label.tg input:checked::after { transform: translateX(16px) }
.idpanel label.tg input:focus-visible { outline: 2px solid var(--rose-400); outline-offset: 2px }
.idpanel .seg { display: flex; background: #1F1E22; border-radius: 6px; padding: 3px; gap: 2px }
.idpanel .seg button { all: unset; flex: 1; text-align: center; padding: 6px 4px; border-radius: 4px; cursor: pointer; color: #B7B4BC; font: 700 13px/1 var(--sans) }
.idpanel .seg button[aria-pressed="true"] { background: #4A484F; color: #fff }
.idpanel .seg button:focus-visible { outline: 2px solid var(--rose-400) }
.idpanel .note-he { direction: rtl; text-align: right; color: #9C9AA2; font-size: 12.5px; line-height: 1.6; margin-top: auto }
.livepage { display: grid; place-items: center; padding: 34px; position: relative }
.livepage .pg { width: min(100%, 360px); aspect-ratio: .72; box-shadow: 0 14px 40px rgba(0, 0, 0, .4) }
.livepage .tagline { font: 700 clamp(15px, 2vw, 21px)/1.9 var(--display); color: #222; direction: rtl }
.tagline .tg { color: var(--wine-600); transition: opacity .35s, max-width .45s var(--ease); display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap }
.tagline.off .tg { opacity: 0; max-width: 0 }
.tagline:not(.off) .tg { opacity: 1; max-width: 2em }
.tagline .styled { color: #222; border-bottom: 2px solid transparent; transition: border-color .3s }
.ruleprev { margin: 10% 0; height: 10px; display: flex; flex-direction: column; justify-content: center }
.ruleprev i { display: block; height: 2px; background: #333 }
.live-shot { position: absolute; inset: 0; object-fit: contain; background: #3A393E; padding: 18px }
.slot { position: absolute; inset: auto 14px 14px auto; background: rgba(0, 0, 0, .45); color: #fff; font: 600 12px/1.4 var(--sans); padding: 6px 10px; border-radius: 6px; direction: rtl; max-width: 70% }
.demo-flag { position: absolute; top: 14px; right: 14px; background: rgba(0, 0, 0, .35); color: rgba(255, 255, 255, .8); font: 600 12px/1 var(--sans); padding: 6px 9px; border-radius: 6px }

/* ---------------------------------------------------------------- products */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 22px }
.plugin { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit }
.plugin .ico { width: 52px; height: 52px; border-radius: 14px }
.plugin h3 { font: 800 1.25rem/1.3 var(--sans); color: var(--ink) }
.plugin p { color: var(--soft); flex: 1 }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden }
.prod { background: var(--paper); box-shadow: 0 0 0 .5px var(--line); padding: 26px; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; text-decoration: none; color: inherit; transition: background .2s; position: relative }
.prod:hover { background: var(--blush) }
.prod img { width: 52px; height: 52px; border-radius: 14px; grid-row: span 3 }
.prod h3 { font: 800 1.2rem/1.3 var(--sans); color: var(--ink); display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.prod p { color: var(--soft); line-height: 1.55 }
.prod .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px }
.prod .more { color: var(--wine-600); font-weight: 700; font-size: .95rem }
.price { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 1.12rem; color: var(--ink) }
.price s { color: var(--faint); font-weight: 600; font-size: .92rem }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 700 .78rem/1.5 var(--sans); padding: 2px 10px; border-radius: 6px; background: var(--rose-100); color: var(--wine-600) }
.badge.ok { background: var(--ok-bg); color: var(--ok) } .badge.gold { background: var(--gold-200); color: var(--gold-ink) } .badge.bad { background: var(--bad-bg); color: var(--bad) }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: stretch }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; gap: 16px }
.plan h3 { font: 800 1.35rem/1.3 var(--sans); color: var(--ink) }
.plan .amt { font: 900 2.6rem/1 var(--display); color: var(--ink) }
.plan .amt small { font: 600 1rem/1 var(--sans); color: var(--soft) }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text) }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start }
.plan li svg { width: 18px; height: 18px; color: var(--wine-600); margin-top: 4px }
.plan .go { margin-top: auto; padding-top: 8px }
.plan.feature { background: radial-gradient(120% 120% at 100% 0%, #C24E62 0%, #8A1F2D 42%, #3B0B17 100%); color: #fff; border-color: transparent; box-shadow: var(--shadow-l) }
.plan.feature h3, .plan.feature .amt { color: #fff }
.plan.feature .amt small, .plan.feature p { color: rgba(255, 255, 255, .78) }
.plan.feature li { color: rgba(255, 255, 255, .92) } .plan.feature li svg { color: var(--gold) }
.trust { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; margin-top: 34px; color: var(--soft); font-size: .98rem }
.trust span { display: inline-flex; gap: 8px; align-items: center }
.trust svg { width: 18px; height: 18px; color: var(--wine-600) }
.premium { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #C24E62 0%, #8A1F2D 45%, #3B0B17 100%); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-l) }
.premium img { width: 80px; height: 80px }
.premium h2 { font-size: 2rem; color: #fff } .premium p { opacity: .9; margin-top: 6px }
@media (max-width: 760px) { .premium { grid-template-columns: 1fr } }

/* ---------------------------------------------------------------- installation (a sequence: numbered) */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start }
@media (max-width: 980px) { .install { grid-template-columns: 1fr } }
.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 4px }
.steps-v li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 18px 0; position: relative }
.steps-v li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--rose-200); color: var(--wine-600); display: grid; place-items: center; font: 800 1.05rem/1 var(--sans); position: relative; z-index: 1 }
.steps-v li:not(:last-child)::after { content: ""; position: absolute; top: 62px; bottom: -14px; right: 19px; width: 1.5px; background: var(--rose-200) }
.steps-v h3 { font: 800 1.15rem/1.4 var(--sans); color: var(--ink); margin: 6px 0 4px }
.steps-v p { color: var(--soft) }
.req { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px }
.req h4 { margin: 0 0 10px; font: 800 1rem/1.3 var(--sans); color: var(--ink) }
.req ul { margin: 0; padding-inline-start: 20px; color: var(--soft); display: grid; gap: 4px }
.appshot { position: sticky; top: 100px }
.appshot .app-window .canvas { aspect-ratio: 1180 / 760; display: block; background: #FCF7F8 }

/* the app, drawn (until a screenshot is put in) */
.kapp { display: grid; grid-template-columns: 25% 1fr; height: 100%; direction: rtl; font-family: var(--sans) }
.kapp .side { background: linear-gradient(#5C1222, #8A1F2D); padding: 7% 6%; display: flex; flex-direction: column; gap: 8px }
.kapp .side .b { display: flex; gap: 6px; align-items: center; color: #fff; font: 900 clamp(10px, 1.4vw, 16px)/1 var(--display); margin-bottom: 14% }
.kapp .side .b img { width: 22%; border-radius: 5px }
.kapp .side .n { color: #fff; font: 600 clamp(7px, .9vw, 11px)/1 var(--sans); padding: 7% 8%; border-radius: 6px }
.kapp .side .n.on { background: rgba(255, 255, 255, .16); font-weight: 800 }
.kapp .main { background: #FCF7F8; padding: 5% 5%; display: flex; flex-direction: column; gap: 5% }
.kapp .main .t { font: 900 clamp(11px, 1.7vw, 20px)/1 var(--display); color: #1F1A22 }
.kapp .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4% }
.kapp .c { background: #fff; border: 1px solid #EBDDE1; border-radius: 8px; padding: 9%; display: flex; flex-direction: column; gap: 6px; aspect-ratio: 1 }
.kapp .c img { width: 30%; border-radius: 6px }
.kapp .c b { font: 800 clamp(7px, .95vw, 12px)/1.2 var(--sans); color: #1F1A22 }
.kapp .c i { margin-top: auto; align-self: flex-start; font: 700 clamp(6px, .75vw, 10px)/1 var(--sans); font-style: normal; color: #fff; background: var(--grad); padding: 5px 9px; border-radius: 6px }
.kapp .c i.g { background: transparent; color: var(--wine-600); box-shadow: inset 0 0 0 1px var(--rose-200) }

/* ---------------------------------------------------------------- FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px }
summary { font-weight: 700; cursor: pointer }
details p { margin-top: 8px; color: var(--soft) }

.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line); background: none; border-radius: 0; padding: 0; margin: 0 }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font: 700 1.15rem/1.4 var(--sans); color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-inline-start: 2px solid var(--wine-600); border-bottom: 2px solid var(--wine-600); transform: rotate(-45deg); transition: transform .25s var(--ease); margin-top: -6px }
.faq details[open] summary::after { transform: rotate(135deg); margin-top: 6px }
.faq details > div { padding: 0 0 24px; color: var(--soft); max-width: 46em }
.faq details p { margin-top: 0 }
.faq details > div p + p { margin-top: 10px }

/* ---------------------------------------------------------------- the last call */
.cta-band { background: var(--ink); color: #fff; border-radius: 26px; padding: 64px 48px; position: relative; overflow: hidden; text-align: center }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 120%, rgba(194, 78, 98, .5), transparent 70%) }
.cta-band > * { position: relative }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem) }
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 1.15rem; margin-top: 14px }
.cta-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px }
@media (max-width: 600px) { .cta-band { padding: 48px 22px } }

/* ---------------------------------------------------------------- footer */
footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--soft); font-size: .95rem; margin-top: 0 }
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr } }
footer.site h4 { margin: 0 0 12px; font: 800 .95rem/1.3 var(--sans); color: var(--ink) }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
footer.site a { text-decoration: none } footer.site a:hover { color: var(--wine-600) }
footer.site .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: var(--faint) }

/* ---------------------------------------------------------------- forms, tables, tabs (account, checkout, admin) */
form.stack { display: grid; gap: 14px }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--text) }
input, select, textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper); color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s }
input:focus, select:focus, textarea:focus { border-color: var(--rose-400); box-shadow: 0 0 0 4px var(--rose-100); outline: none }
input[type=checkbox] { width: auto; accent-color: var(--wine-600) }
textarea { min-height: 90px; resize: vertical }
.msg { min-height: 1.5em; font-weight: 600 } .msg.err { color: var(--bad) } .msg.ok { color: var(--ok) }
.or { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: .9rem } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line) }
table { width: 100%; border-collapse: collapse; font-size: .95rem }
th, td { text-align: right; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle }
th { color: var(--soft); font-weight: 700; font-size: .85rem }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 22px 0 20px; padding: 4px; background: var(--mist); border-radius: 12px; width: fit-content; max-width: 100% }
.tabs button { font: 700 .95rem var(--sans); background: none; border: 0; padding: 9px 16px; border-radius: 9px; cursor: pointer; color: var(--soft) }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--wine-700); box-shadow: var(--shadow) }
.scroll { overflow-x: auto }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px } @media (max-width: 760px) { .two { grid-template-columns: 1fr } }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px }
.fine { color: var(--soft); font-size: .9rem; margin-top: 12px }
.page { padding-block: 56px 96px; min-height: 60vh }
.page-title { font-size: clamp(2rem, 4vw, 2.8rem) }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr } }

/* ---------------------------------------------------------------- one entrance, for what is scrolled to */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
  .rise.in { opacity: 1; transform: none }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important; animation: none !important } }
@media (max-width: 760px) { .spread { grid-template-columns: 1fr; aspect-ratio: .72 } .spread .pg + .pg { display: none } }

/* ---------------------------------------------------------------- the site's words, until they arrive; hidden sections */
.t-wait [data-edit] { visibility: hidden }
.is-hidden { display: none !important }

/* ---------------------------------------------------------------- editing the site in place (admins) */
.edit-bar { position: fixed; z-index: 60; bottom: 18px; left: 18px; display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-l); max-width: calc(100vw - 36px) }
.editing .edit-bar { padding: 12px 14px; inset-inline: 18px auto; left: 18px; right: 18px; justify-content: space-between; flex-wrap: wrap }
.edit-bar > div { display: grid; gap: 2px; font-size: .9rem; color: var(--soft); flex: 1; min-width: 220px }
.edit-bar b { color: var(--ink) }
.edit-bar a { color: var(--wine-600); font-weight: 700 }
.editing [data-edit] { outline: 1.5px dashed rgba(208, 96, 108, .55); outline-offset: 3px; border-radius: 3px; cursor: text }
.editing [data-edit]:empty::before { content: "·  ·  ·"; color: var(--faint) }
.editing [data-edit]:hover { outline-color: var(--rose-400); background: rgba(208, 96, 108, .06) }
.editing [data-edit]:focus { outline: 2px solid var(--rose-400); background: rgba(208, 96, 108, .08) }
.editing [data-section] { position: relative }
.editing [data-section].is-hidden { display: block !important; opacity: .4 }
.edit-chip { position: absolute; z-index: 5; top: 12px; left: 12px; font: 700 .85rem/1 var(--sans); background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 9px 12px; cursor: pointer; box-shadow: var(--shadow) }
.hero .edit-chip { top: 84px }
.edit-shot { position: absolute; z-index: 5; bottom: 14px; left: 14px; display: inline-flex; font: 700 .85rem/1 var(--sans); background: #fff; color: var(--wine-700); border: 0; border-radius: 8px; padding: 10px 13px; cursor: pointer; box-shadow: var(--shadow) }
.edit-shot.x { left: auto; right: 14px }
[data-shot] { position: relative }
@media print { .edit-bar, .edit-chip, .edit-shot { display: none } }

/* ---------------------------------------------------------------- testimonials */
.testis { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px; display: flex; flex-direction: column; gap: 18px }
.testi blockquote { margin: 0; font: 700 1.25rem/1.6 var(--display); color: var(--ink) }
.testi blockquote::before { content: "״"; display: block; font: 900 3rem/0.6 var(--display); color: var(--gold); margin-bottom: 10px }
.testi figcaption { display: flex; flex-direction: column; color: var(--soft); font-size: .95rem; margin-top: auto }
.testi figcaption b { color: var(--ink); font-size: 1rem }
.testi .on { display: inline-flex; gap: 6px; align-items: center; color: var(--wine-600); font-weight: 700; font-size: .88rem; text-decoration: none; margin-top: 6px }

/* ---------------------------------------------------------------- a plug-in's own page */
.p-hero { background: var(--ink); color: #fff; margin-top: -69px; padding: 140px 0 72px; position: relative; overflow: hidden }
.p-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 90% 0%, rgba(194, 78, 98, .4), transparent 70%); pointer-events: none }
.p-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center }
@media (max-width: 900px) { .p-hero { padding-top: 110px } .p-hero .wrap { grid-template-columns: 1fr } }
.crumbs { display: flex; gap: 8px; font-size: .95rem; color: rgba(255, 255, 255, .6); margin-bottom: 22px; flex-wrap: wrap }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none } .crumbs a:hover { color: #fff }
.p-hero .icon { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 22px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35) }
.p-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem) }
.p-hero .tag { font-size: clamp(1.15rem, 2vw, 1.4rem); color: rgba(255, 255, 255, .75); margin-top: 14px; max-width: 32em }
.buy { background: var(--paper); color: var(--text); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-l) }
.buy .price { font: 900 2.4rem/1 var(--display) }
.buy .price s { font: 600 1.1rem/1 var(--sans) }
.buy ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; color: var(--soft); font-size: .98rem }
.buy li { display: grid; grid-template-columns: 18px 1fr; gap: 8px }
.buy li svg { width: 16px; height: 16px; color: var(--wine-600); margin-top: 5px }
.buy .btn { width: 100%; margin-top: 22px }
.p-body { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start }
@media (max-width: 900px) { .p-body { grid-template-columns: 1fr; gap: 40px } }
.p-body .lead-text { font-size: 1.2rem; line-height: 1.8; color: var(--text); white-space: pre-line; max-width: 40em }
.feats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr } }
.feats li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper) }
.feats li span.ic { width: 34px; height: 34px; border-radius: 9px; background: var(--rose-100); color: var(--wine-600); display: grid; place-items: center }
.feats li svg { width: 18px; height: 18px }
.feats li b { font-weight: 700; color: var(--ink); line-height: 1.5; padding-top: 4px }
.where { background: #2B2A2E; color: #E6E4EA; border-radius: var(--r-l); padding: 22px; direction: ltr }
.where h4 { margin: 0 0 12px; direction: rtl; text-align: right; font: 800 1rem/1.3 var(--sans); color: #fff }
.where .path { font: 600 15px/1.5 var(--sans); background: #333237; border-radius: 8px; padding: 12px 14px }
.where .path small { color: #9C9AA2 }
.where p { direction: rtl; text-align: right; color: #A9A7AE; font-size: .92rem; margin-top: 12px }
.side-box { display: grid; gap: 18px; position: sticky; top: 96px }
.gallery { display: grid; gap: 20px; margin-top: 56px }
.gallery figure { margin: 0 }
.gallery img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow) }
.more-plugins { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px }
.more-plugins a { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--paper); transition: border-color .2s }
.more-plugins a:hover { border-color: var(--rose-200) }
.more-plugins img { width: 40px; height: 40px; border-radius: 10px }
.more-plugins b { color: var(--ink); font-size: 1rem }
.page .section { padding-block: 32px }

/* ---------------------------------------------------------------- the live demos (js/demos.js) */
.live-pg { width: min(100%, 380px); aspect-ratio: auto; min-height: 460px; padding: 9% 9% 8% !important; font-family: var(--display); color: #222 }
.live-pg .txt { font: 700 15px/1.85 var(--display); text-align: justify; margin: 0 0 4% }
.live-pg .txt.just { text-align: justify }
.fnm { font: 800 .62em/1 var(--sans); color: var(--wine-600); margin-inline: 1px; vertical-align: super }
.src { white-space: nowrap }
.src .st { color: #222 }
.src .tgc { color: var(--wine-600); display: inline-block; overflow: hidden; vertical-align: bottom; max-width: 1em; transition: max-width .35s var(--ease), opacity .3s }
.src.off .tgc { max-width: 0; opacity: 0 }
.src.mine .st { background: var(--rose-100); border-radius: 3px }
.live-pg .w { cursor: pointer; border-radius: 3px; transition: background .15s }
.live-pg .w:hover { background: var(--rose-100) }
.live-pg .notes { margin-top: auto; padding-top: 5% }
.live-pg .notes .sep { position: absolute; top: 0; right: 0; width: 34%; height: 1px; background: #444; transition: opacity .4s }
.frame-on.live-pg .notes .sep { opacity: 0 }
.frame-on.live-pg .notes .orn { opacity: 1 }
.nbox.real { display: block; column-gap: 7%; font: 600 11.5px/1.65 var(--sans); color: #333; text-align: justify; transition: none }
.nbox.real .nt b, .nsep .nt b { color: var(--wine-600); font-weight: 800 }
.sep-mode { display: grid; gap: 7px }
.nsep { position: relative; padding: 6px 4px 4px; outline: 1px solid rgba(61, 126, 255, .55); font: 600 11.5px/1.5 var(--sans); color: #333 }
.nsep .nrule { width: 30%; height: 1px; background: #444; margin-bottom: 5px }
.hint { text-align: center; color: rgba(255, 255, 255, .55); font: 600 12px/1.4 var(--sans); margin-top: 10px; direction: rtl }
.idpanel .grp .ttl { font: 800 13px/1.2 var(--sans); color: #fff; direction: rtl }
.idpanel .lbl { direction: rtl; margin-bottom: 6px; color: #CFCDD3 }
.idpanel .row2 { display: flex; gap: 6px; flex-wrap: wrap; direction: rtl }
.idpanel .pbtn { all: unset; cursor: pointer; background: #45434A; color: #fff; font: 700 13px/1 var(--sans); padding: 8px 12px; border-radius: 6px }
.idpanel .pbtn:hover { background: #55535A } .idpanel .pbtn[disabled] { opacity: .4; cursor: default }
.idpanel .pbtn[aria-pressed="true"] { background: var(--rose-500) }
.idpanel .pbtn:focus-visible { outline: 2px solid var(--rose-400) }
.idpanel .seg.col { flex-direction: column }
.idpanel .seg.col button { text-align: right; direction: rtl; padding: 9px 10px }
.idpanel .rng { display: grid; gap: 6px; direction: rtl; color: #CFCDD3; font: 600 13px/1.3 var(--sans) }
.idpanel .rng span { display: flex; justify-content: space-between } .idpanel .rng b { color: #fff }
.idpanel .rng input { width: 100%; accent-color: var(--rose-400); padding: 0; border: 0; background: none }
.idpanel .fld { display: grid; gap: 6px; color: #CFCDD3; font: 600 13px/1.3 var(--sans); direction: rtl }
.idpanel .fld input { background: #1F1E22; border: 1px solid #45434A; color: #fff; border-radius: 6px; padding: 8px 10px; font: 600 14px/1.3 var(--sans) }
.winbox { border: 1.5px solid #333; padding: 6px 8px; margin: 4px 10px 6px; text-align: center; font: 900 17px/1.3 var(--display); background: #fff }
.winbox small { font: 600 11px/1.3 var(--sans); color: #666 }
.win-txt .spacer { width: 1px; display: block }
.rotwrap { position: relative; padding-inline-start: 22% }
.rotbox { position: absolute; top: 34%; right: -6%; width: 34%; padding: 6px; border: 1.5px solid #333; font: 900 14px/1.3 var(--display); text-align: center; background: #fff; transition: transform .3s var(--ease); z-index: 1 }
.hfstage { position: relative; height: 300px }
.hfmain { position: absolute; inset: 0 0 auto auto; width: 72%; outline: 1px solid var(--frame); padding: 8px; transition: transform .25s var(--ease) }
.hfhelp { position: absolute; top: 0; left: -38%; width: 32%; padding: 8px 6px; outline: 1px dashed var(--frame); font: 700 12px/1.4 var(--sans); text-align: center; color: #333; background: #fff }
.runhead { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 4px; margin-bottom: 8%; font: 700 12px/1.3 var(--display) }
.runfoot { margin-top: auto; text-align: center; font: 700 12px/1.3 var(--display); padding-top: 8% }

/* the hero, live: the page and its settings */
.app-window .canvas.hero-live { display: grid; grid-template-columns: 1fr 280px; background: #3A393E; min-height: 560px; aspect-ratio: auto; direction: ltr }
.hero-live .hl-page { display: grid; place-items: center; align-content: center; padding: 30px 20px }
.hero-live .live-pg { width: calc(min(100%, 430px) * var(--w, 100%) / 100%); max-width: 430px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: width .2s }
.hero-live .hl-panel { gap: 12px; border-inline-start: 1px solid #252428 }
@media (max-width: 860px) { .app-window .canvas.hero-live { grid-template-columns: 1fr } .hero-live .hl-panel { border: 0; border-top: 1px solid #252428 } }

/* the pulse: the brand's gold line beats when something on the page changes */
.pulse { display: inline-block; width: 58px; height: 18px; vertical-align: middle }
.pulse path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
@media (prefers-reduced-motion: no-preference) {
  .pulse.beat path { animation: beat .9s var(--ease) }
}
@keyframes beat { 0% { stroke-dasharray: 0 200 } 100% { stroke-dasharray: 200 0 } }
.kicker.pulse-k { width: 58px; height: 18px; background: none; border-radius: 0 }

/* before / after */
.ba { position: relative; max-width: 760px; margin-inline: auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-l); background: #3A393E; user-select: none; touch-action: pan-y }
.ba .side { display: grid; grid-template-columns: 1fr; place-items: center; padding: 34px 18px }
.ba .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut, 50%)) }
.ba .before { clip-path: inset(0 calc(100% - var(--cut, 50%)) 0 0) }
.ba .pg { width: min(100%, 360px); min-height: 480px }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 3px; background: var(--gold); transform: translateX(-50%); pointer-events: none }
.ba .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #2A1E08; display: grid; place-items: center; font: 800 18px/1 var(--sans); box-shadow: var(--shadow) }
.ba .tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 8px; font: 700 .85rem/1 var(--sans); background: rgba(0, 0, 0, .55); color: #fff; z-index: 2 }
.ba .tag.l { left: 14px } .ba .tag.r { right: 14px; background: var(--wine-600) }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3 }
.ba input[type=range]:focus-visible + .handle { box-shadow: 0 0 0 3px var(--rose-400) }
.ba .before .pg .nsep .nt b { color: #333 }
