:root {
  --ink: #141414;
  --ink-2: #4b4b4b;
  --ink-3: #7c7c7c;
  --pill: rgba(255, 255, 255, 0.6);
  --pill-line: rgba(255, 255, 255, 0.8);
  --accent: #ff5a1f;
  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  background: #e6e6e6 linear-gradient(180deg, #d2d2d2 0%, #e2e2e2 40%, #f3f3f3 100%) no-repeat;
  background-size: 100% 100svh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.skip:focus {
  top: 16px;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: 52px;
  border-radius: 14px;
  background: var(--pill);
  border: 1px solid var(--pill-line);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-left {
  gap: 40px;
  padding: 0 26px 0 20px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.wordmark b {
  font-weight: 300;
  margin-left: 1px;
}
.wordmark .dot {
  width: 6px;
  height: 6px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
  transform: translateY(-5px);
}

.links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: #1c1c1c;
}
.links a,
.ghost {
  transition: opacity 0.2s;
}
.links a:hover,
.ghost:hover {
  opacity: 0.55;
}

.nav-right {
  gap: 16px;
  padding: 0 6px 0 18px;
  font-size: 15px;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn-dark.lg {
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 16px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#keys {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.13));
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: max(44svh, 300px);
  padding: 0 16px;
  text-align: center;
}

h1 {
  font-size: clamp(44px, 7.6vw, 118px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.sub {
  margin: 22px auto 0;
  max-width: 34ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.4;
  color: #262626;
}
@media (min-width: 720px) {
  .sub {
    max-width: none;
  }
}

.cta {
  margin-top: 28px;
}

.hero-copy > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* ---------- product strip ---------- */
.strip {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin-top: auto;
  padding: 48px 16px 24px;
}

.strip-label {
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

.products {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.products a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.75);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.products a:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.icon-tc {
  background: #141414;
  color: #ff6a2b;
}
.icon-va {
  background: linear-gradient(135deg, #2b75e8, #8cb9f0);
  color: #fff;
}
.icon-ex {
  background: linear-gradient(150deg, #fdfdfd, #b9bcc4 55%, #eceef2);
  color: #3155e7;
  font-weight: 700;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.p-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.p-text strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.p-text span {
  font-size: 13.5px;
  color: var(--ink-2);
}

.arrow {
  margin-left: auto;
  opacity: 0.3;
  transition: opacity 0.25s, transform 0.25s;
}
.products a:hover .arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.foot {
  display: flex;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- tooltip ---------- */
.tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  padding: 8px 12px;
  border-radius: 10px;
  background: #141414;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tip.on {
  opacity: 1;
}
.tip small {
  margin-left: 8px;
  color: #a3a3a3;
  font-size: 12px;
}

/* ---------- easter egg ---------- */
/* Barely there until you find it: faded and grey, wakes up on hover or focus. */
.egg {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  display: block;
  line-height: 0;
  opacity: 0.16;
  filter: grayscale(1);
  transform: scale(0.82);
  transform-origin: bottom right;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.4);
}
.egg:hover,
.egg:focus-visible {
  opacity: 1;
  filter: none;
  transform: scale(1) rotate(-2deg);
}
.egg img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .links,
  .ghost {
    display: none;
  }
  .nav-left {
    padding-right: 20px;
  }
  .products {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .products a {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy > * {
    animation: none;
  }
}
