:root {
  --bg: #000;
  --surface: #0a0a0a;
  --line: #161616;
  --line-strong: #2a2a2a;
  --text: #ededed;
  --text-strong: #fff;
  --muted: #8f8f8f;
  --faint: #7d7d7d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #262626 var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 1.5px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

::selection {
  background: #fff;
  color: #000;
}

h1,
h2,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
}

@keyframes emerge {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.965);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8svh, 88px) 16px clamp(48px, 11svh, 120px);
}

.brand {
  line-height: 0;
  animation: emerge 1s var(--ease) 60ms both;
}

.brand img {
  width: max(84px, min(clamp(108px, 5.5vw + 92px, 212px), 24svh));
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.35s var(--ease);
}

@media (hover: hover) {
  .brand img:hover {
    transform: scale(1.05);
  }
}

.setup-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: clamp(32px, 6svh, 52px);
  padding: 8px 14px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c4c4c4;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 20px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  animation: rise 0.8s var(--ease) 240ms both;
}

.setup-link svg {
  width: 14px;
  height: 14px;
  color: var(--faint);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}

.setup-link:hover,
.setup-link:focus-visible {
  color: var(--text-strong);
  border-color: var(--line-strong);
  background-color: var(--surface);
}

.setup-link:hover svg,
.setup-link:focus-visible svg {
  color: var(--text-strong);
  transform: translateX(2px);
}

.setup-link:focus-visible {
  outline-offset: 4px;
}

.profiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2px, 1.2vw, 10px);
  margin-top: clamp(22px, 4svh, 34px);
}

.profiles li {
  animation: rise 0.7s var(--ease) both;
}

.profiles li:nth-child(1) { animation-delay: 360ms; }
.profiles li:nth-child(2) { animation-delay: 405ms; }
.profiles li:nth-child(3) { animation-delay: 450ms; }
.profiles li:nth-child(4) { animation-delay: 495ms; }
.profiles li:nth-child(5) { animation-delay: 540ms; }
.profiles li:nth-child(6) { animation-delay: 585ms; }

.profiles a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--muted);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.35s var(--ease);
}

.profiles svg {
  --size: 21px;
  width: calc(var(--size) * var(--scale, 1));
  height: calc(var(--size) * var(--scale, 1));
  fill: currentColor;
}

.profiles .icon-round {
  --size: 20px;
}

.profiles .icon-wide {
  --size: 22px;
}

.profiles .icon-xl {
  --size: 24px;
}

.profiles .icon-tall {
  --size: 19px;
}

.profiles a:hover,
.profiles a:focus-visible {
  color: var(--text-strong);
  background-color: var(--surface);
  transform: translateY(-2px);
}

.profiles a:active {
  transform: translateY(0);
}

.profiles a:focus-visible {
  outline-offset: 1px;
}

.footer {
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
  animation: fade 1s var(--ease) 700ms both;
}

.page {
  flex: 1;
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 20px clamp(56px, 9vw, 104px);
}

.home-link {
  display: inline-block;
  padding: 6px;
  margin: -6px;
  border-radius: 10px;
  animation: emerge 0.9s var(--ease) 40ms both;
}

.home-link img {
  width: clamp(38px, 2vw + 32px, 46px);
  height: auto;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.home-link:hover img {
  transform: scale(1.05);
}

.home-link:active img {
  transform: scale(0.98);
}

.intro {
  margin-top: clamp(44px, 8vw, 80px);
  animation: rise 0.8s var(--ease) 140ms both;
}

.intro h1 {
  color: var(--text-strong);
  font-size: clamp(30px, 2.4vw + 22px, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.intro p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.group {
  margin-top: clamp(44px, 6vw, 64px);
  animation: rise 0.8s var(--ease) both;
}

.group:nth-of-type(1) { animation-delay: 220ms; }
.group:nth-of-type(2) { animation-delay: 280ms; }
.group:nth-of-type(3) { animation-delay: 340ms; }
.group:nth-of-type(4) { animation-delay: 400ms; }
.group:nth-of-type(5) { animation-delay: 460ms; }
.group:nth-of-type(6) { animation-delay: 520ms; }

.group h2 {
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.specs > div {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  column-gap: 24px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.specs > div:last-child {
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding-top: 1px;
}

.specs dd {
  grid-column: 2;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.specs dd + dd {
  margin-top: 4px;
}

.specs .detail {
  display: inline-block;
  color: var(--muted);
}

@media (max-width: 600px) {
  .specs > div {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 0 13px;
  }

  .specs dt {
    margin-bottom: 2px;
    font-size: 13px;
  }

  .specs dd {
    grid-column: 1;
  }
}

@media (min-width: 1800px) and (min-height: 960px) {
  .setup-link {
    padding: 9px 16px 9px 21px;
    font-size: 15px;
  }

  .profiles {
    --scale: 1.12;
    gap: 12px;
  }

  .profiles a {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
}

@media (max-height: 420px) {
  .hero {
    padding: 24px 16px 28px;
  }

  .setup-link {
    margin-top: 22px;
  }

  .profiles {
    margin-top: 16px;
  }

  .footer {
    padding-top: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 340px) {
  .hero {
    padding-inline: 12px;
  }

  .profiles {
    gap: 0;
  }

  .profiles a {
    width: 40px;
    height: 40px;
  }
}

@media (hover: none) {
  .profiles a:hover {
    transform: none;
  }
}
