:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html, body { width: 100%; height: 100%; margin: 0; }

body {
  overflow: hidden;
  background: #fff;
  color: #16191c;
}

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid #1b1e20; outline-offset: 4px; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 10px 14px;
  background: #16191c;
  color: #fff;
}

.skip-link:focus { top: 14px; }

.page {
  display: grid;
  grid-template-rows: 76px minmax(0, 1fr) 40px;
  width: 100%;
  height: 100svh;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.07em;
  line-height: 1;
}

.brand img { display: block; width: 36px; height: 36px; }

.hero {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 24px 28px;
  text-align: center;
}

.hero-content { width: min(100%, 760px); }

.hero-logo {
  display: block;
  width: clamp(180px, calc(100svh - 440px), 280px);
  height: clamp(180px, calc(100svh - 440px), 280px);
  margin: 0 auto 14px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: #777e84;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 5.4vw, 68px);
  font-weight: 650;
  letter-spacing: -.07em;
  line-height: 1.04;
}

.description {
  max-width: 570px;
  margin: 16px auto 0;
  color: #666d72;
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 49px;
  padding: 0 19px;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}

.button span { font-size: 16px; font-weight: 400; }
.button-primary { border-color: #171a1c; background: #171a1c; color: #fff; }
.button-primary:hover { background: #373b3e; border-color: #373b3e; }
.button-secondary { background: #fff; }
.button-secondary:hover { background: #f4f5f5; border-color: #bcc1c5; }

.release-info {
  margin: 12px 0 0;
  color: #898f94;
  font-size: 12px;
  line-height: 1.4;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 20px 12px;
  color: #898f94;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer a:hover { color: #16191c; text-decoration: underline; }

@media (max-width: 560px) {
  .page { grid-template-rows: 68px minmax(0, 1fr) 40px; }
  .site-header { padding: 0 20px; }
  .brand { gap: 8px; font-size: 22px; }
  .brand img { width: 32px; height: 32px; }
  .hero { padding: 0 20px 34px; }
  .hero-logo { width: clamp(170px, 50vw, 200px); height: clamp(170px, 50vw, 200px); margin-bottom: 10px; }
  .eyebrow { margin-bottom: 12px; font-size: 10px; }
  h1 { font-size: clamp(38px, 10.8vw, 54px); line-height: 1.08; }
  .description { margin-top: 16px; font-size: 15px; line-height: 1.55; }
  .actions { gap: 8px; margin-top: 18px; }
  .button { min-height: 45px; gap: 8px; padding: 0 13px; font-size: 12px; }
  .button span { font-size: 14px; }
  .release-info { margin-top: 12px; font-size: 11px; }
}

@media (max-height: 440px) {
  .page { grid-template-rows: 48px minmax(0, 1fr) 32px; }
  .site-header { padding: 0 20px; }
  .brand { font-size: 19px; }
  .brand img { width: 27px; height: 27px; }
  .hero { padding: 0 16px 8px; }
  .hero-logo { width: 60px; height: 60px; margin-bottom: 6px; }
  .eyebrow { margin-bottom: 7px; font-size: 9px; }
  h1 { font-size: clamp(30px, 6vw, 42px); line-height: 1.04; }
  .description { max-width: 490px; margin-top: 9px; font-size: 12px; line-height: 1.35; }
  .actions { margin-top: 13px; }
  .button { min-height: 35px; font-size: 11px; }
  .release-info { margin-top: 9px; font-size: 10px; }
  .site-footer { padding-bottom: 5px; font-size: 9px; }
}

@media (max-width: 360px) and (max-height: 600px) {
  .hero { padding-bottom: 12px; }
  .hero-logo { width: 150px; height: 150px; margin-bottom: 6px; }
  .eyebrow { margin-bottom: 8px; }
  .description { margin-top: 12px; }
  .actions { margin-top: 14px; }
  .release-info { margin-top: 9px; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
  body { background: #111518; color: #f2f4f5; }
  :focus-visible { outline-color: #f2f4f5; }
  .skip-link { background: #f2f4f5; color: #111518; }
  .eyebrow { color: #a3adb3; }
  .description { color: #b7c0c5; }
  .button { border-color: #4b555b; }
  .button-primary { border-color: #f2f4f5; background: #f2f4f5; color: #111518; }
  .button-primary:hover { border-color: #dce2e5; background: #dce2e5; }
  .button-secondary { background: #1d2428; }
  .button-secondary:hover { border-color: #69757c; background: #2b3439; }
  .release-info, .site-footer { color: #9ca7ad; }
  .site-footer a:hover { color: #f2f4f5; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
