:root {
  --ink: #141414;
  --muted: #6b6f7b;
  --line: #e8e8ec;
  --bg: #ffffff;
  --soft: #f6f6f4;
  --yellow: #ffe500;
  --accent: #4262ff;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
header.top nav a { text-decoration: none; color: var(--muted); }
header.top nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20, 20, 20, 0.18); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; color: #fff !important; }
.btn.light { background: var(--soft); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .logo { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 30px rgba(20, 20, 20, 0.12); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; margin: 26px 0 16px; }
.hero h1 .mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 4px; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta small { color: var(--muted); font-size: 14px; }

/* ---------- board illustration ---------- */
.shot { margin: 56px auto 0; max-width: 960px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 80px rgba(20, 24, 40, 0.14); overflow: hidden; }
.shot .bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafafa; }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e2e6; }
.shot .bar i:nth-child(1) { background: #ff5f57; }
.shot .bar i:nth-child(2) { background: #febc2e; }
.shot .bar i:nth-child(3) { background: #28c840; }
.shot .bar span { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: #444; }
.shot svg { display: block; width: 100%; height: auto; }
/* the demo video; the picture behind it shows while it loads or if it can't play */
.shot.demo { aspect-ratio: 16 / 9; background: #fff url(assets/demo-poster.jpg) center / cover no-repeat; }
.shot.demo video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- features ---------- */
section { padding: 72px 0; }
section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; text-align: center; }
section p.sub { text-align: center; color: var(--muted); margin: 0 auto 44px; max-width: 600px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; margin-bottom: 14px; font-size: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.card h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.price { max-width: 460px; margin: 0 auto; border: 1px solid var(--line); border-radius: 20px; padding: 34px; text-align: center; box-shadow: 0 20px 50px rgba(20, 24, 40, 0.07); }
.price .amount { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .amount small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price ul { list-style: none; padding: 0; margin: 24px 0 28px; text-align: left; }
.price li { padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; }
.price li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.price .btn { width: 100%; }
.price .note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }

/* ---------- legal pages ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 0 80px; }
.doc h1 { font-size: 40px; letter-spacing: -0.03em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 20px; text-align: left; margin: 32px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #333; font-size: 16px; }
.doc ul { padding-left: 20px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr 1fr; }
  header.top nav a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 56px 0; }
  .price { padding: 26px 20px; }
}

/* ---------- pricing & support pages ---------- */
.page-head { text-align: center; padding: 64px 0 36px; }
.page-head h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.035em; margin: 0 0 10px; }
.page-head p { color: var(--muted); font-size: 19px; margin: 0; }
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; align-items: start; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #fff; }
.plan.main { box-shadow: 0 20px 50px rgba(20, 24, 40, 0.08); }
.plan.soon { background: var(--soft); border-color: transparent; }
.plan-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.plan .os { font-weight: 700; font-size: 18px; }
.plan .tag { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--yellow); }
.plan .tag.grey { background: #e8e8ec; color: #555; }
.plan .amount { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .amount small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; }
.plan li { padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; font-size: 15.5px; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan .note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; text-align: center; }
.soon-text { color: var(--muted); margin: 0 0 22px; }
.small-faq { margin-top: 64px; margin-bottom: 80px; }
.contact-card { max-width: 880px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(20, 24, 40, 0.07); }
.contact-card p { margin: 4px 0 0; color: var(--muted); }
.help-grid { max-width: 880px; margin: 0 auto 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help-grid .card a, .small-faq a { color: var(--ink); }
@media (max-width: 720px) {
  .plans, .help-grid { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ---------- platforms & downloads ---------- */
.os-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 420px; margin: 0 auto; }
.os-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; color: #fff; text-align: left; box-shadow: 0 8px 20px rgba(20, 24, 40, 0.12); }
.os-card svg { width: 26px; height: 26px; flex: none; }
.os-card b { display: block; font-size: 16px; line-height: 1.2; }
.os-card span { display: block; font-size: 12.5px; opacity: 0.82; line-height: 1.3; margin-top: 2px; }
.os-card.mac { background: linear-gradient(135deg, #1d1d1f, #3a3a3e); }
.os-card.win { background: linear-gradient(135deg, #0067c0, #00a4ef); }
.cta .os-cards { margin: 6px auto 2px; }
.price .os-cards { margin: 0 auto 22px; }
.plan .os-cards { max-width: none; margin: 0 0 22px; }
.plans.one { grid-template-columns: 1fr; max-width: 560px; }
.guest { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 16px; background: var(--soft); }
.guest p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.guest .dl { display: flex; gap: 10px; flex-wrap: wrap; }
.guest .dl .btn { flex: 1; min-width: 200px; white-space: nowrap; height: 42px; font-size: 15px; background: #fff; border: 1px solid var(--line); }
.guest .dl svg { width: 16px; height: 16px; }
.guest.wide { max-width: 880px; margin: 0 auto 22px; }
.btn.light:hover { box-shadow: 0 6px 16px rgba(20, 20, 20, 0.08); }

.faq details p + p { margin-top: 8px; }

/* ---------- thank-you page & lost key ---------- */
.thanks { margin-bottom: 80px !important; }
.th-label { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.th-key { font: 600 22px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em; background: var(--soft); border-radius: 12px; padding: 16px; text-align: center; margin: 8px 0 10px; user-select: all; overflow-wrap: anywhere; }
.th-copy { width: 100%; margin-bottom: 20px; height: 40px; }
.th-step { margin-top: 18px; }
.th-step p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.guest-dl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.guest-dl .btn { flex: 1; min-width: 180px; height: 42px; font-size: 15px; white-space: nowrap; }
form.lost { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
form.lost input { flex: 1; min-width: 160px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
form.lost .btn { height: 40px; font-size: 14px; }

/* ---------- updates (release notes) ---------- */
.releases .lead { color: var(--muted); margin: 0 0 8px; }
.release { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.release:last-of-type { border-bottom: 0; }
.release-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.release-version { font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.release-latest { font-size: 12px; font-weight: 600; color: #15803d; background: #e7f6ec; border-radius: 99px; padding: 2px 9px; }
.release h2 { font-size: 22px; margin: 8px 0 12px; }
ul.dash { list-style: none; padding: 0; margin: 0; }
ul.dash li { position: relative; padding-left: 22px; margin: 7px 0; line-height: 1.55; }
ul.dash li::before { content: "-"; position: absolute; left: 4px; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: space-between; padding: 26px 0 8px; font-size: 15px; color: var(--muted); }
.pager a { font-weight: 600; text-decoration: none; }

/* ---------- download window (macOS / Windows cards) ---------- */
button.os-card { border: 0; font: inherit; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s; }
button.os-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 24, 40, 0.18); }
button.os-card:focus-visible { outline: 3px solid #ffe500; outline-offset: 2px; }
.dl-back { position: fixed; inset: 0; z-index: 100; background: rgba(20, 24, 40, 0.45); display: flex; align-items: center; justify-content: center; padding: 16px; animation: dl-fade 0.15s ease-out; }
.dl-modal { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 28px 26px 18px; box-shadow: 0 24px 60px rgba(20, 24, 40, 0.25); text-align: left; animation: dl-pop 0.18s ease-out; }
.dl-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.dl-x:hover { background: #f1f2f5; color: var(--ink); }
.dl-head { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.dl-head.mac { background: linear-gradient(135deg, #1d1d1f, #3a3a3e); }
.dl-head.win { background: linear-gradient(135deg, #0067c0, #00a4ef); }
.dl-head svg { width: 28px; height: 28px; }
.dl-modal h2 { font-size: 22px; margin: 0 0 4px; }
.dl-ver { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.dl-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.dl-list b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 1px; }
.dl-go { display: block; width: 100%; text-align: center; }
.dl-cancel { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; border-radius: 10px; }
.dl-cancel:hover { background: #f1f2f5; color: var(--ink); }
@keyframes dl-fade { from { opacity: 0; } }
@keyframes dl-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* ---------- three plans, quote request ---------- */
.plans.three { grid-template-columns: 1.1fr 1fr 1fr; max-width: 1120px; }
.plans.three .plan { display: flex; flex-direction: column; }
.plans.three .plan ul { flex: 1; }
.plan .quote-btn { width: 100%; margin-top: 8px; font-size: 14px; white-space: nowrap; }
.btn.light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.light:hover { background: #f6f6f4; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.quote-modal { max-width: 520px; }
.quote-modal label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.quote-modal input:not([type="checkbox"]), .quote-modal select, .quote-modal textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font: 15px inherit; font-family: inherit; background: #fff; }
.quote-modal textarea { resize: vertical; }
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.q-check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.q-opt { color: var(--muted); font-weight: 400; }
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.q-err { color: #b42318; font-size: 14px; margin: 0 0 10px; min-height: 0; }
.q-err:empty { display: none; }
@media (max-width: 960px) { .plans.three { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 520px) { .q-grid { grid-template-columns: 1fr; } }
.plans.three .amount small { display: block; margin: 8px 0 0; font-size: 15px; }

/* the home page price card says who it's for; teams and schools are pointed to /pricing */
.price-kind { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.price-kind b { font-size: 18px; }
.price-kind span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--yellow); }
.teams { display: flex; align-items: center; gap: 16px; max-width: 460px; margin: 16px auto 0; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.5; text-decoration: none; text-align: left; }
.teams b { color: var(--ink); display: block; }
.teams-go { flex: none; font-weight: 600; color: var(--ink); white-space: nowrap; }
.teams:hover { border-color: #c9c9cf; }
@media (max-width: 520px) { .teams { flex-direction: column; align-items: flex-start; gap: 8px; } }
/* the download / send buttons in the small windows: text centered both ways */
.dl-go { display: flex; align-items: center; justify-content: center; }

/* ---------- reviews ---------- */
.reviews { padding-bottom: 72px; }
.rv-top { padding-bottom: 40px; }
.rv-top .btn { margin-top: 20px; }
.rv-sum { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 19px; }
.rv-sum b { font-size: 22px; color: var(--ink); }
.rv-sum span { color: var(--muted); }
.rv-lead { color: var(--muted); font-size: 15px !important; margin-top: 6px !important; }
.rv-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.rv-stars i { width: 15px; height: 15px; color: #dcdce2; display: block; }
.rv-stars i.on { color: #f5b301; }
.rv-stars svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.rv-stars.big i { width: 22px; height: 22px; }
.rv-grid { columns: 3 300px; column-gap: 16px; }
/* with the page script: columns filled left to right, newest first */
.rv-grid.js { columns: auto; display: flex; align-items: flex-start; gap: 16px; }
.rv-col { flex: 1 1 0; min-width: 0; }
.rv-loading { text-align: center; color: var(--muted); font-size: 14px; padding: 18px 0 0; }
.rv-loading[hidden] { display: none; }
.rv { break-inside: avoid; display: block; position: relative; margin: 0 0 16px; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.rv:hover { border-color: #d6d6dc; box-shadow: 0 10px 28px rgba(20, 24, 40, 0.07); }
.rv:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.rv.rv-new { animation: rv-glow 2.4s ease-out; }
@keyframes rv-glow { 0%, 40% { box-shadow: 0 0 0 4px var(--yellow); } }
.rv-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.rv-av { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #3b3b40; background: var(--soft); }
.rv-who { min-width: 0; line-height: 1.3; }
.rv-who b { display: flex; align-items: center; gap: 7px; font-size: 15.5px; min-width: 0; }
.rv-who b > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-flag { flex: none; width: 18px; height: 13.5px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.08); }
.rv-who > span { font-size: 12.5px; color: var(--muted); }
.rv-ok { color: #15803d; font-weight: 600; }
.rv-ok::before { content: "✓ "; }
.rv-used { margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; }
.rv-used span { color: var(--muted); }
.rv-body { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: #2a2a2e; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.rv-photos { display: flex; gap: 6px; margin-top: 12px; }
.rv-ph { position: relative; flex: 0 1 64px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.rv-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.rv-ph:hover img { transform: scale(1.06); }
.rv-more { display: none; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.rv.long .rv-more { display: inline-block; }
.rv-empty { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 28px; border: 1px dashed #d6d6dc; border-radius: 20px; }
.rv-empty b { font-size: 19px; }
.rv-empty p { color: var(--muted); margin: 6px 0 20px; }
html.rv-lock { overflow: hidden; }

/* a review opened in full */
.dl-back:has(.rv-full), .dl-back:has(.rv-form) { align-items: flex-start; overflow-y: auto; padding: 40px 16px; }
.rv-full { max-width: 640px; padding: 26px 26px 22px; margin: auto; }
.rv-full .rv-head { padding-right: 36px; }
.rv-full .rv-av { width: 52px; height: 52px; font-size: 20px; }
.rv-full .rv-who b { font-size: 18px; }
.rv-full .rv-who b > span { white-space: normal; }
.rv-full .rv-body { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; font-size: 16px; margin-top: 12px; }
.rv-full-photos { display: grid; gap: 10px; margin-top: 18px; }
.rv-full-photos img { width: 100%; height: auto; border-radius: 12px; background: var(--soft); display: block; }

/* "Write a review" */
.rv-form { max-width: 540px; margin: auto; }
.rv-form > label, .rvf-name { display: block; font-size: 13px; font-weight: 600; margin: 0 0 14px; }
.rv-form input:not([type="radio"]):not([type="file"]), .rv-form textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font: 15px/1.45 inherit; font-family: inherit; background: #fff; color: var(--ink); }
.rv-form textarea { resize: vertical; min-height: 110px; }
.rv-form input:focus, .rv-form textarea:focus { outline: 2px solid #c7d0ff; border-color: var(--accent); }
.rvf-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; letter-spacing: 0.03em; }
.rvf-hint { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 5px; line-height: 1.45; }
.rvf-who { display: flex; align-items: flex-end; gap: 14px; }
.rvf-name { flex: 1; margin-bottom: 0 !important; }
.rvf-av { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1.5px dashed #c9c9cf; background: var(--soft); cursor: pointer; overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.rvf-av:hover { border-color: var(--ink); color: var(--ink); }
.rvf-av.has { border: 0; }
.rvf-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rvf-av-in { display: flex; flex-direction: column; align-items: center; font-size: 10.5px; font-weight: 600; line-height: 1.1; }
.rvf-av-in svg { width: 20px; height: 20px; margin-bottom: 2px; }
.rvf-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rvf-av:focus-within, .rvf-add:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.rvf-av-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; }
.rvf-rate { border: 0; padding: 0; margin: 0 0 14px; }
.rvf-rate legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.rvf-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; vertical-align: middle; }
.rvf-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rvf-stars label { width: 34px; height: 34px; padding: 2px; color: #dcdce2; cursor: pointer; transition: color 0.1s, transform 0.1s; }
.rvf-stars svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.rvf-stars input:checked ~ label { color: #f5b301; }
.rvf-stars:hover input ~ label { color: #dcdce2; }
.rvf-stars:hover label:hover, .rvf-stars:hover label:hover ~ label { color: #f5b301; }
.rvf-stars label:hover { transform: scale(1.12); }
.rvf-stars input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 6px; }
.rvf-word { margin-left: 10px; font-size: 14px; color: var(--muted); vertical-align: middle; }
.rvf-count { display: block; text-align: right; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 0; }
.rvf-count:empty { display: none; }
.rvf-photos-wrap { margin: 0 0 14px; border-radius: 12px; transition: background 0.15s; }
.rvf-photos-wrap.over { background: #eef1ff; outline: 2px dashed var(--accent); outline-offset: 4px; }
.rvf-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.rvf-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.rvf-ph { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.rvf-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rvf-ph-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(20, 20, 20, 0.7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.rvf-add { position: relative; width: 84px; height: 84px; border-radius: 10px; border: 1.5px dashed #c9c9cf; display: grid; place-items: center; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 6px; line-height: 1.25; }
.rvf-add:hover { border-color: var(--ink); color: var(--ink); }
.rvf-add[hidden] { display: none; }
.rvf-public { font-size: 12.5px; color: var(--muted); margin: 4px 0 12px; }
.rvf-done { width: 56px; height: 56px; border-radius: 16px; background: var(--yellow); display: grid; place-items: center; margin-bottom: 14px; }
.rvf-done svg { width: 28px; height: 28px; fill: var(--ink); }
.dl-go:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 560px) {
  .rv-full, .rv-form { padding: 24px 18px 16px; }
  .dl-back:has(.rv-full), .dl-back:has(.rv-form) { padding: 16px 10px; }
  .rvf-ph, .rvf-add { width: 72px; height: 72px; }
}

/* "Download free": both systems in one window */
.dl-choose { max-width: 460px; }
.dl-choose h2 { margin-bottom: 16px; }
.dl-pick { display: grid; gap: 10px; margin: 0 0 18px; }
.dl-pick .os-card { justify-content: flex-start; text-align: left; text-decoration: none; padding: 16px 18px; transition: transform 0.12s, box-shadow 0.12s; }
.dl-pick .os-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 24, 40, 0.18); }
.dl-pick .os-card:focus-visible { outline: 3px solid #ffe500; outline-offset: 2px; }
.dl-pick .os-card b { font-size: 17px; }
.dl-first { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 10px; }
.dl-first-t { color: var(--ink); }
.dl-first p { margin: 0 0 6px; }
.dl-first strong { color: var(--ink); font-weight: 600; }
.price .try-first { width: 100%; margin-top: 8px; }
/* how much space the app takes once installed */
.os-size { font-style: normal; font-weight: 500; font-size: 0.82em; opacity: 0.72; white-space: nowrap; }
.os-card b { white-space: nowrap; }

/* ---------- phone menu (menu.js) ---------- */
.burger { display: none; width: 40px; height: 40px; margin-right: -8px; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.burger svg { width: 24px; height: 24px; display: block; }
.burger:hover { background: rgba(20, 20, 20, 0.06); }
@media (max-width: 820px) {
  .burger { display: block; }
  header.top nav { gap: 10px; }
}
html.menu-open { overflow: hidden; }
.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--yellow); color: var(--ink); display: flex; flex-direction: column; animation: mm-in 0.18s ease-out; overflow-y: auto; }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; width: min(1080px, 100% - 40px); margin: 0 auto; height: 64px; flex: none; }
.mmenu-top .brand img { box-shadow: 0 0 0 1.5px rgba(20, 20, 20, 0.85); }
.mmenu-x { width: 40px; height: 40px; margin-right: -8px; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
.mmenu-x svg { width: 24px; height: 24px; display: block; }
.mmenu-x:hover { background: rgba(20, 20, 20, 0.08); }
.mmenu-links { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px 20px 64px; text-align: center; }
.mmenu-links a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.mmenu-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.mmenu-links .btn { margin-top: 14px; height: 54px; padding: 0 30px; font-size: 18px; border-radius: 14px; }
.mmenu-links a:focus-visible, .mmenu-links button:focus-visible, .mmenu-x:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
@keyframes mm-in { from { opacity: 0; transform: translateY(-8px); } }
/* narrow phones: the two cards share the width, the size can go under the name */
.os-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 520px) {
  .os-card { padding: 12px 12px; gap: 10px; }
  .os-card b { white-space: normal; }
  .os-size { display: block; margin-top: 1px; }
}
.os-size::before { content: "· "; }
@media (max-width: 520px) { .os-size::before { content: none; } }
