/* Landing blocks built by landing.js. Monochrome, on top of style.css (body.dark). */
.hero-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.chips { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.chips li { padding: 7px 14px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); font-size: 14px; }
.chips.left { justify-content: flex-start; margin: 0; }
.btn[aria-disabled="true"] { opacity: .7; }
.slide p.math .katex { font-size: 1.05em; }

.sec { padding-top: 140px; }
.eyebrow { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.sec-h { margin: 0; font: 600 clamp(30px, 3.6vw, 48px)/1.08 var(--sans); letter-spacing: -.04em; text-wrap: balance; max-width: 18em; }
.sec-h .mute, .fcard h2 .mute { color: #6f6f76; }
.sec-p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 34em; }
.sec-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.fcard.side.flip > :first-child { order: 2; }
@media (max-width: 900px) { .sec { padding-top: 96px; } .fcard.side.flip > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); }
.ticks svg { flex: none; margin-top: 3px; color: var(--fg); }

/* frame around a block's picture (providers, shortcuts); the background can be set in /admin */
.mac { border-radius: 20px; padding: 8px; background: #000; box-shadow: 0 0 0 1px var(--line-2); }
.mac .dock { min-height: 340px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2.4vw, 22px); flex-wrap: wrap; padding: 44px 28px;
  background: #1a1a1d center / cover no-repeat; box-shadow: inset 0 0 0 1px #26262a; }

.k { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px; display: inline-grid; place-items: center; font: 500 14px var(--mono); color: #e8e8ee;
     background: #1c1c20; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px #2e2e34, 0 3px 0 #09090a; }
.k.hot { background: #f2f2f2; color: #0c0c0d; box-shadow: 0 0 0 1px #f2f2f2, 0 3px 0 #8d8d93; }
.kp { color: #55555c; }

/* features: plain three-column list */
.flist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin-top: 48px; }
.flist > div { padding-top: 20px; border-top: 1px solid var(--line-2); }
.flist h3 { margin: 0 0 8px; font: 600 18px/1.3 var(--sans); letter-spacing: -.015em; }
.flist p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .flist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .flist { grid-template-columns: 1fr; gap: 24px; } }

/* steps, each with the real thing it asks you to do */
.stepper { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stepper li { padding: 18px 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sv { height: 120px; margin: 0 -8px 18px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; gap: 8px; padding: 10px; }
.stepper .num { font: 500 13px var(--mono); color: var(--muted); }
.stepper h3 { margin: 6px 0 6px; font: 600 17px var(--sans); }
.stepper p { margin: 0; color: var(--muted); font-size: 15px; }
.vbtn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--fg); }
.vbtn svg, .vbtn img { width: 14px; height: 14px; }
.vic { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.vic img { width: 22px; height: 22px; }
.vic.more { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-2); font: 600 12px var(--sans); }
.vcells { display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; width: 100%; max-width: 170px; }
.vcells i { height: 18px; border-radius: 3px; background: #f2f2f2; }
.vplan { padding: 8px 14px; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 13px; }
.vplan b { color: var(--fg); font-size: 18px; font-weight: 600; }
@media (max-width: 700px) { .stepper { grid-template-columns: 1fr; } }

/* comparison */
.cmp { margin-top: 40px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.cr { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
.cr.ch { border-top: 0; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cr.ch span:nth-child(2) { color: var(--fg); }
.cr .cl { color: var(--muted); }
.cr .us { color: var(--fg); font-weight: 500; }
.cr .them { color: var(--muted); }
@media (max-width: 640px) { .cr { grid-template-columns: 1fr 1fr; } .cr .cl { grid-column: 1 / -1; } .cr.ch span:first-child { display: none; } }

/* pricing additions */
.prices .sec-h, .prices .sec-p, .faqs .sec-h, .faqs .sec-p { margin-left: auto; margin-right: auto; text-align: center; }
.prices .eyebrow, .faqs .eyebrow { text-align: center; }
.plan .pnote { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan .ticks { margin-top: 20px; }
.plan .price { padding-top: 28px; }
.plan .btn { margin-top: 22px; }
.plans-note { margin: 24px 0 0; text-align: center; }

/* reviews */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 40px; }
.review { margin: 0; padding: 24px; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.review img { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.review blockquote { margin: 0; color: var(--fg-2); }
.review figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }
.review figcaption b { color: var(--fg); font-weight: 600; }

/* final call */
.final { padding-top: 140px; padding-bottom: 140px; text-align: center; display: grid; justify-items: center; }
.final .sec-p { margin-left: auto; margin-right: auto; }
.big-keys { display: flex; align-items: center; gap: 12px; margin: 40px 0; flex-wrap: wrap; justify-content: center; }
.big-keys .k { min-width: 84px; height: 84px; border-radius: 20px; font-size: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px #2e2e34, 0 6px 0 #09090a; }
.big-keys .k.hot { box-shadow: 0 0 0 1px #f2f2f2, 0 6px 0 #8d8d93; }
.big-keys .kp { font-size: 24px; }
@media (max-width: 560px) { .big-keys .k { min-width: 60px; height: 60px; font-size: 16px; } }
.fcard.side > * { min-width: 0; }
@media (max-width: 560px) { .mac .dock { padding: 12px; } }

/* pictures drawn as the app's own window: dark glass, Onest, its keycaps and mascot */
.appui { width: min(100%, 420px); padding: 20px 22px 22px; border-radius: 22px; background: rgba(38, 38, 36, .96); color: #f3f2ee;
  font-family: "Onest", var(--sans); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .45); }
.appui.tilt-l { transform: rotate(-4deg); }
.appui.tilt-r { transform: rotate(3deg); }
.au-h { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 19px; }
.au-hint { margin: 6px 0 0 66px; color: #a3a29c; font-size: 14px; }
.face { position: relative; flex: none; width: 52px; font: 700 15px/1 var(--mono); color: #f3f2ee; }
.face i { font-style: normal; letter-spacing: -.02em; white-space: nowrap; }
.face em { position: absolute; left: 32px; top: -14px; font: 700 11px/1 var(--mono); font-style: normal; color: #a3a29c; animation: zz 2.6s ease-in-out infinite; }
.face em + em { left: 38px; top: -22px; font-size: 9px; animation-delay: .5s; }
@keyframes zz { 0%, 100% { opacity: 0; transform: translateY(4px); } 40%, 70% { opacity: 1; transform: none; } }

.au-keys { display: flex; align-items: center; gap: 10px; margin: 22px 0 0 66px; }
.au-keys .kp { display: none; }
.appui .k { min-width: 58px; height: 58px; padding: 0 14px; border-radius: 14px; font: 600 18px "Onest", var(--sans); color: #f3f2ee;
  background: #3a3a37; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 0 #161615; }
.appui .k.hot { background: #3a3a37; color: #f3f2ee; animation: press 2.8s ease-in-out infinite; }
@keyframes press { 0%, 62%, 100% { transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 0 #161615; }
  70%, 80% { transform: translateY(4px); background: #f3f2ee; color: #1c1c1a; box-shadow: 0 0 0 #161615; } }

.au-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.au-h + .au-row { margin-top: 14px; }
.au-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #fff; display: grid; place-items: center; color: #1c1c1a; font-weight: 600; }
.au-ic img { width: 22px; height: 22px; }
.au-t { flex: 1; min-width: 0; display: grid; }
.au-t b { font-weight: 600; font-size: 15px; }
.au-t small { color: #a3a29c; font-size: 13px; }
.au-on { font-size: 13px; color: #1c1c1a; background: #f3f2ee; padding: 5px 10px; border-radius: 99px; font-weight: 500; }
.au-btn { font-size: 13px; color: #f3f2ee; background: #3a3a37; padding: 5px 10px; border-radius: 8px; box-shadow: 0 2px 0 #161615; }
.au-row.more .au-ic { background: #3a3a37; color: #a3a29c; letter-spacing: .1em; }
.au-row.more .au-t { color: #a3a29c; font-size: 14px; }
@media (max-width: 560px) {
  .appui { padding: 16px; } .face { width: 44px; } .au-hint, .au-keys { margin-left: 0; }
  .appui .k { min-width: 46px; height: 46px; font-size: 15px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .face em, .appui .k.hot { animation: none; } }
.vkeys { display: inline-flex; align-items: center; gap: 6px; }
.vkeys .k { font-family: "Onest", var(--sans); background: #3a3a37; color: #f3f2ee; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 3px 0 #161615; }
.vkeys .kp { display: none; }

/* text above the hero window */
.hero-above { margin: 80px auto 0; max-width: 760px; }
.hero-above .sec-h, .hero-above .sec-p { margin-left: auto; margin-right: auto; text-align: center; }
.hero-above + .screen-wrap { margin-top: 40px; }

/* hero slider between two pictures */
.cmpx { position: relative; border-radius: 10px; overflow: hidden; user-select: none; }
.cmpx img { display: block; width: 100%; height: auto; }
.cmpx .cx-b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 var(--pos)); }
.cx-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #f2f2f2; pointer-events: none; }
.cx-line i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #f2f2f2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.cx-line i::before, .cx-line i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border: solid #0c0c0d; border-width: 0 0 2px 2px; }
.cx-line i::before { left: 12px; transform: rotate(45deg); }
.cx-line i::after { right: 12px; transform: rotate(-135deg); }
.cx-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(12, 12, 13, .75); color: #f2f2f2; font-size: 13px; pointer-events: none; }
.cx-tag.l { left: 14px; } .cx-tag.r { right: 14px; }
.cx-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cx-range:focus-visible + .cx-line i, .cmpx:has(.cx-range:focus-visible) .cx-line i { outline: 2px solid #f2f2f2; outline-offset: 3px; }
.appic { width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 23%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(0, 0, 0, .06); font: 600 22px var(--sans); color: #111; }
.appic img { width: 56%; height: 56%; }
.appic.more { background: rgba(255, 255, 255, .28); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* shortcut block: big keys on a tilted plate */
.keyplate { display: flex; align-items: center; gap: 14px; padding: 26px 28px; border-radius: 26px; transform: rotate(-6deg);
  background: rgba(38, 38, 36, .96); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .45); }
.keyplate .kp { display: none; }
.keyplate .k { min-width: 96px; height: 96px; padding: 0 22px; border-radius: 22px; font: 600 28px "Onest", var(--sans); color: #f3f2ee;
  background: #3a3a37; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 6px 0 #161615; }
.keyplate .k.hot { animation: press 2.8s ease-in-out infinite; }
@media (max-width: 560px) {
  .keyplate { gap: 8px; padding: 16px; border-radius: 20px; }
  .keyplate .k { min-width: 60px; height: 60px; padding: 0 12px; border-radius: 15px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .keyplate .k.hot { animation: none; } }

/* visual editor inside /admin */
body.editing [data-block] { position: relative; cursor: default; }
body.editing [data-block]:hover { outline: 1px dashed rgba(120, 160, 255, .5); outline-offset: -1px; }
body.editing [data-block].picked { outline: 2px solid #5b8cff; outline-offset: -2px; }
body.editing .ed { cursor: text; border-radius: 4px; }
body.editing .ed:hover { box-shadow: 0 0 0 1px rgba(120, 160, 255, .8); background: rgba(91, 140, 255, .08); }
body.editing .ed[contenteditable] { box-shadow: 0 0 0 2px #5b8cff; background: rgba(91, 140, 255, .12); outline: none; white-space: pre-wrap; }
