/* Plain product page. White ground, near-black ink, the icon's blue only on buttons and links.
   System type (the apps are native), monospace only for real network values. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #121315);
  --alt: light-dark(#f4f5f7, #18191c);
  --ink: light-dark(#111216, #ececef);
  --muted: light-dark(#50545c, #a4a7ae);
  --rule: light-dark(#dcdee3, #2c2e33);
  --blue: light-dark(#1463e6, #3b82f6);
  --blue-deep: light-dark(#0d4fc0, #2f6fe0);
  --amber: #b86e00;
  --amber-bg: light-dark(#fff4e0, #2a2010);
  --amber-rule: light-dark(#f0c97f, #5c4416);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code { font-family: var(--mono); font-size: .86em; overflow-wrap: anywhere; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(36px, 5.4vw, 60px); max-width: 15em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; max-width: 16em; }
h3 { font-size: 19px; margin-bottom: 8px; }

/* Hero: grey field, screenshot cut off by the field's bottom edge */
.hero { background: var(--alt); border-bottom: 1px solid var(--rule); overflow: hidden; }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; text-decoration: none; }
.brand img { border-radius: 6px; }
.nav-links { margin-left: auto; display: flex; gap: 26px; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .88; white-space: nowrap; }
.links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.stars:not(:empty)::before { content: " · "; }
.hero-text { padding: 56px 0 48px; }
.lede { max-width: 36em; margin-top: 22px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.req { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-shot { height: clamp(260px, 38vw, 520px); overflow: hidden; }
.hero-shot img { border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--rule); }

.btn { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 8px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn-light { background: var(--blue); color: #fff; }
.btn-light:hover { background: var(--blue-deep); }
.btn-outline { border: 1.5px solid var(--rule); color: var(--ink); background: var(--bg); }
.btn-outline:hover { border-color: var(--muted); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

/* Sections */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.band.alt { background: var(--alt); }
.band p { color: var(--muted); max-width: 36em; }
.band p a { color: var(--ink); text-underline-offset: 3px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.shot { margin-top: 48px; border-radius: 10px; box-shadow: 0 0 0 1px var(--rule); }

/* Example values, styled like the app's own label/value rows */
.kv { margin: 0; border-top: 1px solid var(--rule); font-size: 15px; }
.kv div { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 14.5px; overflow-wrap: anywhere; }

.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 12px; }
.cols > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.cols p { font-size: 16px; }

.warnings { list-style: none; margin: 0; padding: 0; border: 1px solid var(--amber-rule); border-radius: 8px; background: var(--amber-bg); }
.warnings li { position: relative; padding: 13px 16px 13px 44px; border-top: 1px solid var(--amber-rule); font-size: 16px; }
.warnings li:first-child { border-top: 0; }
.warnings li::before { content: "!"; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: #fff; font: 700 13px/20px var(--sans); text-align: center; }

.keys { margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.keys th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 24px 6px 0; }
.keys td { padding: 6px 0; }
kbd { font-family: var(--sans); font-size: 14px; padding: 1px 6px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 5px; background: var(--bg); white-space: nowrap; }

.menubar { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.menubar img { border-radius: 12px; }

/* Download */
.platforms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: 12px; border-top: 1px solid var(--rule); }
.platforms > div { padding: 28px 40px 8px 0; display: flex; flex-direction: column; }
.platforms > div + div { padding-left: 40px; border-left: 1px solid var(--rule); }
.platforms h3 { font-size: 24px; margin-bottom: 14px; }
.platforms .btn { margin-top: auto; align-self: flex-start; }
.platforms p:last-of-type { margin-bottom: 24px; }
.ver { font-family: var(--mono); font-size: 15px; font-weight: 400; opacity: .8; margin-left: 6px; }
.note { margin-top: 36px; font-size: 15px; }

.scroll { overflow-x: auto; }
.plain { width: 100%; border-collapse: collapse; font-size: 15px; }
.plain th { text-align: left; font-weight: 600; padding: 0 16px 10px 0; border-bottom: 2px solid var(--ink); }
.plain td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.plain td:first-child { white-space: nowrap; font-weight: 500; }
.plain td:last-child { color: var(--muted); }

.code { margin: 0; padding: 22px 24px; overflow-x: auto; border-radius: 10px; background: #16181d; color: #e3e6ec; font: 14px/1.75 var(--mono); }
.code .c { color: #8b919c; }

.faq { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.faq dt { font-weight: 650; font-size: 18px; margin-bottom: 8px; }
.faq dd { margin: 0; color: var(--muted); max-width: 34em; }

.foot { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-inner .brand { color: var(--ink); margin-right: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 980px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .two, .menubar, .faq { grid-template-columns: minmax(0, 1fr); }
  .menubar img { max-width: 320px; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platforms > div { padding-right: 0; }
  .platforms > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-links a:not([href^="#download"]):not([href^="https"]) { display: none; }
  .hero-text { padding-top: 32px; }
  .lede { font-size: 17px; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .stars { display: none; }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .btn { flex: 1 1 auto; justify-content: center; }
}
