:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
  background: #000;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { width: 100%; min-width: 320px; height: 100%; overflow: hidden; }
body { width: 100%; min-width: 320px; height: 100%; margin: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    radial-gradient(ellipse at 79% 45%, rgb(34 156 234 / 12%), transparent 34%),
    #000;
}

.site-header {
  width: min(1320px, calc(100% - 64px));
  height: clamp(58px, 9vh, 82px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #229cea;
  box-shadow: none;
  font-size: 22px;
}
.header-caption { color: rgb(235 235 255 / 70%); font-size: 13px; }

.hero {
  width: min(900px, calc(100% - 64px));
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(12px, 3vh, 32px) 0;
}

.hero-copy { width: 100%; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; color: #58baff; font-size: 11px; font-weight: 750; letter-spacing: .2em; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #229cea; box-shadow: 0 0 14px rgb(34 156 234 / 55%); }
h1 { margin: 0; font-size: clamp(58px, 7vw, 88px); font-weight: 850; letter-spacing: -.075em; line-height: .96; }
h1 br + * { margin-top: 5px; }
.hero-description { max-width: 510px; margin: 20px auto 0; color: rgb(244 244 255 / 82%); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.65; }

.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; text-align: left; }
.link-card { min-width: 0; padding: 14px; border: 1px solid #292c30; border-radius: 12px; background: #0c0d0e; }
.link-card label { display: block; margin-bottom: 9px; color: #e8eaed; font-size: 12px; font-weight: 700; }
.link-row { display: flex; min-width: 0; gap: 8px; }
.link-row input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #34383d; border-radius: 8px; outline: none; background: #050607; color: #b7bbc1; font: 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.link-row input:focus { border-color: #229cea; }
.button {
  min-height: 40px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}
.button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.button-download { background: #229cea; color: #fff; }
.button-download:hover { background: #168bd4; }
.button-browser { border-color: #343638; background: #111; box-shadow: none; color: #f2f3f5; }
.button-browser:hover { border-color: #4a4d50; background: #18191b; }
.copy-status { min-height: 18px; margin: 12px 0 0; color: rgb(230 231 235 / 68%); font-size: 11px; }

.site-footer {
  width: min(1320px, calc(100% - 64px));
  min-height: clamp(44px, 7vh, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border-top: 1px solid #242628;
  color: rgb(226 227 255 / 64%);
  font-size: 11px;
}
.site-footer span:first-child { color: rgb(255 255 255 / 85%); font-weight: 800; letter-spacing: .1em; }

@media (max-width: 950px) {
  .link-cards { gap: 8px; margin-top: 22px; }
  .link-card { padding: 11px; }
  .link-row { flex-direction: column; }
  .link-row .button { width: 100%; }
}

@media (max-width: 700px) {
  .site-header, .hero, .site-footer { width: min(100% - 40px, 540px); }
  .site-header { height: clamp(54px, 8vh, 68px); }
  .header-caption { font-size: 11px; }
  .hero { width: min(100% - 40px, 480px); padding: 12px 0; }
  .hero-copy { padding: 0; text-align: center; }
  .eyebrow { justify-content: center; margin-bottom: 10px; font-size: 9px; }
  h1 { font-size: clamp(42px, 11vw, 60px); }
  .hero-description { max-width: 410px; margin: 10px auto 0; font-size: 14px; line-height: 1.45; }
  .link-cards { grid-template-columns: 1fr; gap: 8px; margin: 14px auto 0; }
  .link-card { padding: 9px 10px; }
  .link-card label { margin-bottom: 6px; font-size: 11px; }
  .link-row { flex-direction: row; gap: 6px; }
  .link-row input, .link-row .button { height: 36px; min-height: 36px; }
  .link-row input { font-size: 10px; }
  .link-row .button { width: auto; padding: 0 10px; font-size: 10px; }
  .copy-status { margin-top: 7px; font-size: 10px; }
  .site-footer { min-height: 42px; align-items: center; justify-content: center; gap: 10px; padding: 5px 0; font-size: 9px; }
  .site-footer span:first-child { flex: 0 0 auto; }
  .site-footer span:last-child { max-width: 310px; }
}

@media (max-width: 400px) {
  .site-header, .hero, .site-footer { width: calc(100% - 32px); }
  .header-caption { max-width: 130px; text-align: right; }
  .hero { width: calc(100% - 32px); }
}

@media (max-height: 700px) {
  .site-header { height: 54px; }
  .hero { padding-block: 8px; }
  .eyebrow { margin-bottom: 8px; }
  .hero-description { margin-top: 10px; }
  .link-cards { margin-top: 12px; }
  .copy-status { margin-top: 5px; }
  .site-footer { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
