/* Key Wintura site. One committed look: a dark desk at night with a backlit keyboard. All color comes from the light
   of the keys, and it always means a language: EN blue, UA amber, RU red (the program's own keycap colors).
   Headlines are set in Unbounded (OFL, served from this site: fonts/unbounded.woff2); text is the system face.
   Nothing is loaded from other sites. */
@font-face {
  font-family: "Unbounded"; src: url("/fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
}
:root {
  --bg: #0C0E13; --surface: #14171F; --raise: #1B1F2A; --text: #F2F4F8; --muted: #9AA1B0; --line: #252A36;
  --en: #4C8DFF; --uk: #FFC247; --ru: #FF5D62; --accent: #F2F4F8;
  --display: "Unbounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --k: clamp(21px, 6.2vw, 66px); /* the size of one key; the whole keyboard scales from it */
  color-scheme: dark;
}

/* One page holds all three languages; lang.js picks one, Ukrainian without scripts. */
html[data-lang="uk"] [data-l]:not([data-l="uk"]),
html[data-lang="ru"] [data-l]:not([data-l="ru"]),
html[data-lang="en"] [data-l]:not([data-l="en"]) { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); overflow-x: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
a { color: var(--text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--en); outline-offset: 3px; border-radius: 6px; }
code, kbd { font-family: var(--mono); font-size: 0.92em; }
code { color: var(--text); }
figure { margin: 0; }

/* ---- Header ---- */
header.top { display: flex; align-items: center; gap: 12px 28px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 15px var(--display); letter-spacing: -0.01em; margin-right: auto; }
.brand img { width: 32px; height: 32px; }
.links { display: flex; gap: 26px; font-size: 15px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.langs button { font: 600 12.5px var(--body); padding: 4px 9px; border-radius: 7px; cursor: pointer; border: 0; background: none; color: var(--muted); }
html[data-lang="uk"] .langs [data-set-lang="uk"],
html[data-lang="ru"] .langs [data-set-lang="ru"],
html[data-lang="en"] .langs [data-set-lang="en"] { color: var(--bg); background: var(--text); }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; margin: 44px 0 18px; }
h2 { font-size: clamp(25px, 3.5vw, 42px); font-weight: 600; line-height: 1.14; letter-spacing: -0.03em; margin-bottom: 18px; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
p.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--muted); max-width: 56ch; margin: 0; }
.note { font-size: 14.5px; color: var(--muted); }
main > section { padding-block: clamp(64px, 9vw, 128px); }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 12px; text-decoration: none; cursor: pointer;
  font: 600 16.5px var(--body); border: 1px solid var(--line); color: var(--text); background: var(--surface);
  transition: transform 120ms, background 120ms, border-color 120ms;
}
.btn:hover { border-color: #3A4152; background: var(--raise); }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn.primary:hover { background: #fff; transform: translateY(-1px); }
.btn.small { padding: 8px 15px; font-size: 14.5px; border-radius: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 34px 0 14px; }

/* The two main actions are big: the download glows in the keyboard's colors, the organizations button has a bright rim. */
.actions.big { gap: 16px 18px; margin: 40px 0 18px; }
.actions.big .btn { padding: 22px 38px; border-radius: 18px; font: 600 clamp(17px, 1.7vw, 21px) var(--display); letter-spacing: -0.02em; }
.actions.big .btn.primary {
  position: relative; background: #fff; border-color: #fff; color: #0C0E13;
  box-shadow: 0 0 0 5px rgb(255 255 255 / 0.10), -18px 14px 50px -8px rgb(76 141 255 / 0.65), 18px 14px 50px -8px rgb(255 93 98 / 0.6), 0 22px 46px -14px rgb(255 194 71 / 0.5);
}
.actions.big .btn.primary:hover { transform: translateY(-2px) scale(1.02); }
.actions.big .btn:not(.primary) { background: rgb(255 255 255 / 0.06); border: 2px solid rgb(255 255 255 / 0.55); }
.actions.big .btn:not(.primary):hover { background: rgb(255 255 255 / 0.14); border-color: #fff; }

/* ---- Hero: headline, then the stage with the screen and the keyboard ---- */
main > section.hero { padding-block: clamp(36px, 6vw, 80px) 0; text-align: center; }
.hero h1 { font-size: clamp(34px, 7.4vw, 92px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; margin: 0 auto 26px; max-width: 13ch; }
.hero .lead { margin-inline: auto; }
.hero .actions { justify-content: center; }

.stage { position: relative; margin-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(30px, 6vw, 80px); }
/* The backlight: three pools of light, one per language. */
.stage::before {
  content: ""; position: absolute; inset: 8% -12% -4%; z-index: -1; filter: blur(46px); opacity: 0.9;
  background:
    radial-gradient(38% 46% at 20% 62%, rgb(76 141 255 / 0.42), transparent 72%),
    radial-gradient(34% 44% at 52% 78%, rgb(255 194 71 / 0.30), transparent 72%),
    radial-gradient(38% 46% at 82% 60%, rgb(255 93 98 / 0.38), transparent 72%);
}
.screen {
  position: relative; max-width: calc(var(--k) * 13.5); margin: 0 auto clamp(18px, 3vw, 34px); text-align: left;
  border-radius: 16px; background: linear-gradient(180deg, #171B25, #11141B); border: 1px solid #2A3040;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 30px 60px -30px rgb(0 0 0 / 0.8);
}
.try-input {
  display: block; width: 100%; padding: clamp(16px, 2.6vw, 26px) clamp(16px, 2.6vw, 28px) clamp(40px, 5vw, 56px);
  border: 0; border-radius: 16px; background: transparent; color: var(--text); caret-color: var(--uk);
  font: 500 clamp(19px, 3.1vw, 34px) var(--mono); letter-spacing: -0.01em;
}
.try-input:focus { outline: none; }
.screen:focus-within { border-color: var(--en); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 0 0 4px rgb(76 141 255 / 0.18), 0 30px 60px -30px rgb(0 0 0 / 0.8); }
.try-input::placeholder { color: #4D5566; }
.fix-hint { position: absolute; left: clamp(16px, 2.6vw, 28px); bottom: clamp(10px, 1.6vw, 16px); margin: 0; font: 13.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; max-width: 90%; text-overflow: ellipsis; }
.fix-hint b { color: var(--uk); font-weight: 600; }
html[data-lang="ru"] .fix-hint b { color: var(--ru); }
html[data-lang="en"] .fix-hint b { color: var(--en); }

.kbd { display: inline-grid; gap: calc(var(--k) * 0.13); transform: perspective(1500px) rotateX(20deg); transform-origin: 50% 0; }
.kbd-row { display: flex; gap: calc(var(--k) * 0.13); }
.kbd-row:nth-child(2) { margin-left: calc(var(--k) * 0.45); }
.kbd-row:nth-child(3) { margin-left: calc(var(--k) * 1.05); }
.kbd-row:nth-child(4) { margin-left: calc(var(--k) * 3); }
.kbd-key {
  position: relative; width: var(--k); height: var(--k); border-radius: calc(var(--k) * 0.17);
  background: linear-gradient(180deg, #2A3040, #1A1E29); border: 1px solid #363D4F;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09), 0 calc(var(--k) * 0.08) 0 #07080B, 0 calc(var(--k) * 0.16) calc(var(--k) * 0.2) rgb(0 0 0 / 0.55);
  font: 600 calc(var(--k) * 0.25) var(--mono); --glow: var(--en);
  transition: transform 70ms, box-shadow 160ms, background 160ms, border-color 160ms;
}
.kbd-key.space { width: calc(var(--k) * 6.2); }
.kbd-key .lat { position: absolute; left: 15%; top: 9%; color: #C9CFDB; }
.kbd-key .cyr { position: absolute; right: 15%; bottom: 7%; color: var(--ru); }
html[data-lang="uk"] .kbd-key .cyr { color: var(--uk); }
.kbd-key.down {
  transform: translateY(calc(var(--k) * 0.07)); border-color: var(--glow);
  background: linear-gradient(180deg, color-mix(in srgb, var(--glow) 34%, #2A3040), color-mix(in srgb, var(--glow) 18%, #1A1E29));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 0 calc(var(--k) * 0.5) color-mix(in srgb, var(--glow) 70%, transparent);
}
.demo-note { margin: clamp(-10px, -1vw, 0px) auto 0; max-width: 60ch; }

/* ---- Facts ---- */
main > section.facts { padding-block: clamp(40px, 6vw, 72px); border-block: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px 48px; }
.facts strong { display: block; font: 600 clamp(34px, 4.6vw, 56px)/1 var(--display); letter-spacing: -0.04em; margin-bottom: 12px; }
.facts li:nth-child(1) strong { color: var(--en); }
.facts li:nth-child(2) strong { color: var(--uk); }
.facts li:nth-child(3) strong { color: var(--ru); }
.facts span { color: var(--muted); }

/* ---- Case files: paper under a desk lamp ---- */
.cases-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.cases { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 36px 30px; margin-top: clamp(40px, 6vw, 72px); }
.cases::before { content: ""; position: absolute; inset: -12% 6%; z-index: -1; filter: blur(60px); background: radial-gradient(50% 50% at 50% 45%, rgb(255 194 71 / 0.28), transparent 75%); }
.case {
  position: relative; padding: 28px 26px 30px; background: linear-gradient(180deg, #FBF6E8, #F3EBD6); color: #2A2620; border-radius: 4px;
  box-shadow: 0 1px 0 #fff inset, 0 40px 60px -30px rgb(0 0 0 / 0.9); transform: rotate(-1.6deg);
}
.case:nth-child(2) { transform: rotate(1.2deg) translateY(14px); }
.case:nth-child(3) { transform: rotate(-0.5deg); }
.case-kind { margin: 0 0 16px; font: 600 13px var(--display); color: #857A64; }
.case-word { margin: 0 0 20px; padding: 18px 12px; text-align: center; background: #1B1D22; color: #FBF6E8; border-radius: 2px; font: 600 clamp(21px, 2.4vw, 27px) var(--mono); overflow-wrap: anywhere; }
.case dl { margin: 0; display: grid; gap: 12px; padding-bottom: 40px; }
.case dt { font-size: 13px; color: #857A64; }
.case dd { margin: 0; font-size: 16.5px; line-height: 1.35; }
.stamp {
  position: absolute; right: 16px; bottom: 18px; margin: 0; padding: 4px 12px; transform: rotate(-11deg);
  font: 700 15px var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  color: #C8353B; border: 3px solid #C8353B; border-radius: 6px; opacity: 0.9; mix-blend-mode: multiply;
}
.stamp.shut { color: #46506A; border-color: #46506A; }

/* ---- Features: text next to the real program ---- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px 72px; align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 140px); }
.feature.flip > :first-child { order: 2; }
.feature ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.feature li { padding-left: 22px; position: relative; color: var(--muted); max-width: 46ch; }
.feature li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--en); }
.feature li:nth-child(2)::before { background: var(--uk); }
.feature li:nth-child(3)::before { background: var(--ru); }
.feature li b { color: var(--text); font-weight: 600; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 10% 4% -6%; z-index: -1; filter: blur(50px); background: radial-gradient(50% 50% at 50% 50%, rgb(76 141 255 / 0.30), transparent 75%); }
.frame.warm::before { background: radial-gradient(50% 50% at 50% 50%, rgb(255 93 98 / 0.24), transparent 75%); }
.frame img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #2E3445; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.frame.menu { max-width: 380px; margin-inline: auto; }
.frame.menu img { border-radius: 20px; border: 0; }

/* ---- The organizations page: a calmer hero with one pool of light, a terminal, numbered steps ---- */
.hero.biz { position: relative; padding-bottom: clamp(56px, 8vw, 110px); }
.hero.biz::before { content: ""; position: absolute; inset: 30% 8% 0; z-index: -1; filter: blur(70px); background: radial-gradient(40% 60% at 28% 60%, rgb(76 141 255 / 0.34), transparent 70%), radial-gradient(40% 60% at 74% 60%, rgb(255 194 71 / 0.20), transparent 70%); }
.hero.biz h1 { font-size: clamp(30px, 5.4vw, 66px); max-width: 17ch; line-height: 1.06; }
.terminal { border-radius: 16px; background: #0A0C10; border: 1px solid #2A3040; box-shadow: 0 40px 80px -40px #000, 0 0 80px -30px rgb(76 141 255 / 0.5); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #14171F; border-bottom: 1px solid #232733; font-size: 13px; color: var(--muted); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--ru); }
.terminal-bar i:nth-child(2) { background: var(--uk); }
.terminal-bar i:nth-child(3) { background: var(--en); }
.terminal-bar span { margin-left: 8px; }
.terminal pre { margin: 0; padding: 22px 22px 26px; overflow-x: auto; font: 14.5px/1.7 var(--mono); color: #E6E9F0; }
.terminal .c { color: #6C7588; }
.steps { margin: 20px 0 22px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; color: var(--muted); min-height: 32px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 600 14px var(--display); color: var(--text); background: linear-gradient(180deg, #2A3040, #1A1E29); border: 1px solid #363D4F; box-shadow: 0 3px 0 #07080B; }
.plan .note { margin: 0; }

/* ---- Hotkeys as keycaps ---- */
.hotkeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 36px; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; list-style: none; }
.hotkeys p { margin: 18px 0 0; color: var(--muted); font-size: 16px; max-width: 30ch; }
.combo { display: flex; align-items: center; gap: 8px; color: var(--muted); }
kbd {
  display: inline-block; min-width: 56px; padding: 14px 16px 16px; text-align: center; border-radius: 11px;
  font: 600 15px var(--body); color: var(--text); background: linear-gradient(180deg, #2A3040, #1A1E29); border: 1px solid #363D4F;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09), 0 5px 0 #07080B, 0 12px 16px rgb(0 0 0 / 0.5);
}
kbd.hot { background: linear-gradient(180deg, #FF7A7E, #E9484E); border-color: #FF8F93; color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 5px 0 #8E2327, 0 0 34px rgb(255 93 98 / 0.45); }

/* ---- Price ---- */
.price { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; margin-top: clamp(32px, 5vw, 56px); }
.plan { padding: clamp(26px, 3.4vw, 40px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan.main { background: linear-gradient(180deg, #1A2036, #14171F); border-color: #33415F; }
.plan .amount { font: 700 clamp(46px, 6vw, 72px)/1 var(--display); letter-spacing: -0.05em; margin: 18px 0 8px; }
.plan .amount small { font: 400 16px var(--body); letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.plan ul li { padding-left: 26px; position: relative; }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 6px; border-left: 2px solid var(--en); border-bottom: 2px solid var(--en); transform: rotate(-45deg); }

/* ---- FAQ ---- */
.faq-list { margin-top: clamp(24px, 4vw, 44px); max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 36px 22px 0; font: 500 clamp(16px, 1.7vw, 19px) var(--display); letter-spacing: -0.01em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font: 300 28px var(--body); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* ---- Closing call ---- */
main > section.final { text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 20% 10% 10%; z-index: -1; filter: blur(70px); background: radial-gradient(40% 60% at 30% 50%, rgb(76 141 255 / 0.30), transparent 70%), radial-gradient(40% 60% at 70% 50%, rgb(255 93 98 / 0.26), transparent 70%); }
.final h2 { font-size: clamp(30px, 5.4vw, 68px); letter-spacing: -0.04em; max-width: 14ch; margin-inline: auto; }
.final .actions { justify-content: center; }
.support { margin-top: 40px; color: var(--muted); font-size: 15.5px; }

/* ---- Pieces shared with the business and privacy pages ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; min-width: 0; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
main > h2 { margin-top: 64px; font-size: clamp(22px, 2.6vw, 30px); }
main > p { max-width: 70ch; }
table.terms { width: 100%; border-collapse: collapse; font-size: 16px; }
table.terms th, table.terms td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.terms th { width: 30%; font-weight: 600; }
table.terms td { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.todo { background: rgb(255 194 71 / 0.22); border-radius: 4px; padding: 0 4px; }

/* The Google Analytics consent banner (analytics.js); the reset link shows only when analytics is set up. */
.consent {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 10;
  width: min(680px, calc(100% - 32px)); padding: 14px 16px 14px 20px; border-radius: 16px;
  background: rgb(27 31 42 / 0.92); backdrop-filter: blur(14px); border: 1px solid #343B4D; box-shadow: 0 24px 60px -20px #000;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
}
.consent p { margin: 0; flex: 1 1 320px; font-size: 14.5px; color: var(--muted); }
.consent-actions { display: flex; gap: 8px; }
.consent .btn { font-size: 14.5px; padding: 8px 18px; border-radius: 10px; }
[data-consent-reset] { display: none; }
html.has-analytics [data-consent-reset] { display: inline; }

footer { padding-block: 30px 44px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .links { display: none; }
  .feature, .cases-head { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
}
@media (max-width: 560px) {
  .hero .btn { width: 100%; text-align: center; }
  header.top .btn.small { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .kbd-key { transition: none; } }

/* ---- The privacy page: a heading on the left, plain text on the right ---- */
main.legal > section.legal-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 56px; padding-block: clamp(32px, 4.5vw, 56px); border-top: 1px solid var(--line); }
.legal-row h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 0; }
.legal-row p { margin: 0 0 14px; color: var(--muted); max-width: 64ch; }
.legal-row p.lead { color: var(--text); margin-bottom: 16px; }
.legal-row .card h3 { margin-bottom: 10px; }
.legal-row .card p { margin-bottom: 0; }
.legal-row .card p.basis { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.legal-row .grid { grid-template-columns: 1fr; }
main.legal .hero.biz { padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 860px) { main.legal > section.legal-row { grid-template-columns: 1fr; } }
/* ---- Support: the ask comes after the value, with a real goal and an honest bill ---- */
.support-sec .feature { align-items: start; }
.goal { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; background: rgb(255 194 71 / 0.10); border: 1px solid rgb(255 194 71 / 0.35); color: var(--text); max-width: 52ch; }
.goal b { color: var(--uk); }
.case.bill { max-width: 420px; margin-inline: auto; transform: rotate(1.4deg); }
.case.bill dl { gap: 0; padding-bottom: 64px; }
.case.bill dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed #CFC4A8; }
.case.bill dt { font-size: 15.5px; color: #2A2620; }
.case.bill dd { font: 600 15px var(--mono); white-space: nowrap; }
.case.bill .stamp { left: 20px; right: auto; transform: rotate(-4deg); font-size: 13px; }
.support-sec .frame-glow { position: relative; }
.support a { color: var(--muted); }
.actions.big .btn.todo { box-shadow: none; outline: 2px dashed var(--uk); outline-offset: 4px; }

/* The note after a download starts (support.js). */
.thanks {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); top: 16px; z-index: 11; width: min(380px, calc(100% - 32px));
  padding: 16px 40px 16px 18px; border-radius: 16px; background: rgb(27 31 42 / 0.95); backdrop-filter: blur(14px);
  border: 1px solid rgb(255 194 71 / 0.45); box-shadow: 0 24px 60px -20px #000, 0 0 50px -20px rgb(255 194 71 / 0.6);
}
.thanks p { margin: 0 0 12px; font-size: 15px; }
.thanks button { position: absolute; right: 8px; top: 6px; border: 0; background: none; color: var(--muted); font-size: 22px; cursor: pointer; padding: 4px 8px; }
/* Price tiers of the voluntary payment. */
.tiers { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.tiers li { padding: 16px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.35; }
.tiers strong { display: block; margin-bottom: 6px; font: 600 22px var(--display); letter-spacing: -0.03em; color: var(--text); }
.pay-note { margin-top: 18px; max-width: 60ch; }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
.feature .tiers li { padding: 16px 14px; max-width: none; }
.feature .tiers li::before { display: none; }
