@font-face {
  font-family: Geist;
  src: url("/fonts/geist-gyByhwUxId8gMEwcGFU.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #11141a;
  --surface: #191e26;
  --elevated: #222a35;
  --text: #f3f5f8;
  --dim: #bdc8d6;
  --accent: #65dce9;
  --line: rgba(227,234,245,.23);
  font: 16px/1.6 Geist,system-ui,sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  max-width: 1000px;
  margin: auto;
  padding: clamp(18px,4vw,48px);
  padding-top: max(clamp(18px,4vw,48px),env(safe-area-inset-top,0px));
  padding-right: max(clamp(18px,4vw,48px),env(safe-area-inset-right,0px));
  padding-bottom: max(clamp(18px,4vw,48px),env(safe-area-inset-bottom,0px));
  padding-left: max(clamp(18px,4vw,48px),env(safe-area-inset-left,0px));
}
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a.back { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 20px; font-size: 14px; }
header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
header img { border-radius: 16px; flex-shrink: 0; }
h1 { font-size: clamp(27px,4.5vw,42px); line-height: 1.12; letter-spacing: -.03em; margin: 0; }
header p { margin: 8px 0 0; color: var(--dim); }
h2 { font-size: clamp(22px,3vw,28px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 6px; }
h3 { font-size: 18px; line-height: 1.3; margin: 0 0 10px; }
p,ol { max-width: 66ch; }
p { margin: 0 0 14px; }
.primary,.secondary,button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; max-width: 100%; min-width: 0; padding: 11px 16px;
  font: inherit; font-weight: 650; border-radius: 8px; cursor: pointer;
  text-align: center; text-decoration: none; overflow-wrap: anywhere;
}
.primary { color: var(--bg); background: var(--accent); border: 1px solid var(--accent); }
.primary:hover { background: #9deaf3; }
.secondary,button { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.secondary:hover,button:hover { background: var(--elevated); }
button:disabled { opacity: .65; cursor: default; }
[hidden] { display: none!important; }
.device-picker p { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-width: none; margin-bottom: 24px; }
.device-picker .primary { color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.device-picker .primary:hover { background: var(--elevated); }
.platform-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; align-items: start; }
.platform-layout section { min-width: 0; border-top: 2px solid var(--line); padding: 20px 0 16px; }
.platform-layout section:target { border-top-color: var(--accent); }
.platform-type { color: var(--dim); font-size: 14px; margin-bottom: 16px; }
.iphone-install-actions { display: grid; grid-template-columns: minmax(0,1fr); margin: 18px 0 10px; }
.release-panel { margin: 18px 0 10px; }
.release-panel .primary { width: 100%; }
#android-status { color: var(--dim); font-size: 14px; margin-bottom: 10px; }
#android-retry { font-size: 14px; background: transparent; padding: 8px 12px; }
.details { font-size: 14px; color: var(--dim); overflow-wrap: anywhere; margin: 10px 0; }
#android-download-help { font-size: 14px; color: var(--text); }
details { border-top: 1px solid var(--line); margin-top: 12px; }
summary { cursor: pointer; min-height: 48px; padding: 12px 0; color: var(--accent); font-weight: 600; }
li { padding-bottom: 8px; }
.iphone-steps,details ol { padding-left: 24px; margin: 0 0 12px; }
.app-quick-launch { padding: 4px 0 12px; }
.app-quick-launch p { color: var(--dim); margin-bottom: 12px; font-size: 14px; }
.app-quick-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.app-quick-link { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.app-quick-link:hover { background: var(--elevated); }
.web-alternative { border-top: 1px solid var(--line); padding: 24px 0; margin-top: 14px; }
.web-alternative h2 { font-size: 20px; margin-bottom: 10px; }
#iphone-install,#iphone-quick-launch,#android-release { scroll-margin-top: max(12px,env(safe-area-inset-top,0px)); }
footer { border-top: 1px solid var(--line); padding-top: 20px; color: var(--dim); font-size: 14px; }
::selection { background: var(--accent); color: var(--bg); }
@media (max-width: 680px) {
  .platform-layout { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .platform-layout section { padding-top: 16px; }
}
@media (max-width: 480px) {
  a.back { margin-bottom: 10px; }
  header { gap: 12px; margin-bottom: 16px; }
  header img { width: 52px; height: 52px; }
  header p { font-size: 14px; }
  .device-picker p { margin-bottom: 16px; }
  .primary,.secondary { width: 100%; }
  .platform-layout section { padding-bottom: 10px; }
}
@media (max-width: 359px) {
  .app-quick-grid { grid-template-columns: 1fr; }
}
