:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0d0d0d;
  --line: #262626;
  --text: #f5f5f5;
  --muted: #a7a7a7;
  --subtle: #707070;
  --accent: #7df2c3;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 1px solid rgba(245, 245, 245, 0.72);
  outline-offset: 5px;
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

.starfield,
.noise,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.starfield {
  z-index: -1;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(245, 245, 245, 0.38), transparent),
    radial-gradient(1px 1px at 78% 32%, rgba(245, 245, 245, 0.28), transparent),
    radial-gradient(1px 1px at 34% 72%, rgba(245, 245, 245, 0.22), transparent),
    radial-gradient(1px 1px at 88% 81%, rgba(245, 245, 245, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 54% 12%, rgba(125, 242, 195, 0.28), transparent),
    #050505;
}

.noise {
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.scanlines {
  z-index: 3;
  background: repeating-linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0.013) 0 1px,
    transparent 1px 3px
  );
}

.card-page {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px 20px 36px;
}

.pass {
  width: min(420px, 100%);
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  background: rgba(13, 13, 13, 0.88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--subtle);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(125, 242, 195, 0.7);
}

.brand {
  display: grid;
  justify-items: start;
  gap: 16px;
}

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

.brand h1 {
  margin: 0;
  font-size: clamp(1.7rem, 7vw, 2.15rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.lede {
  margin: 14px 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.actions {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
}

.action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  transition:
    border-color 190ms var(--ease),
    background 190ms var(--ease);
}

.action span:last-child {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.action-primary {
  background: var(--text);
  border-color: var(--text);
  color: #050505;
}

.action-primary span:last-child {
  color: #3d3d3d;
}

.action:hover,
.action:focus-visible {
  border-color: var(--text);
}

.action-primary:hover,
.action-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 22px 0 0;
}

.links a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.links a:hover,
.links a:focus-visible {
  color: var(--accent);
}

.home {
  display: inline-block;
  margin-top: 22px;
  color: var(--subtle);
  font-size: 0.8rem;
}

.home:hover,
.home:focus-visible {
  color: var(--text);
}
