:root {
  --bg: #050505;
  --text: #f5f5f1;
  --muted: #9a9a94;
  --subtle: #686863;
  --panel: #111210;
  --panel-hover: #151613;
  --panel-border: #2b2d28;
  --citron: #d7ff35;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,0.022), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  min-height: 100vh;
  margin: 0 auto;
  padding: 76px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: center;
}

.mindfirm-lockup {
  display: block;
  width: min(34vw, 272px);
  height: auto;
}

.descriptor {
  max-width: 510px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.06rem);
  line-height: 1.55;
}

.product {
  width: 100%;
  max-width: 640px;
  margin-top: 104px;
}

.eyebrow {
  margin: 0 0 16px 2px;
  color: var(--subtle);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.rfh-card {
  width: 100%;
  min-height: 92px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0)),
    var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 16px 40px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.025);
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease;
}

.rfh-card:hover {
  transform: translateY(-1px);
  background: var(--panel-hover);
  border-color: #3a3d35;
}

.rfh-card:focus-visible {
  outline: 2px solid var(--citron);
  outline-offset: 4px;
}

.rfh-chevrons {
  position: relative;
  width: 42px;
  height: 32px;
  flex: 0 0 42px;
}

.rfh-chevrons span {
  position: absolute;
  top: 6px;
  width: 19px;
  height: 19px;
  border-top: 5px solid var(--citron);
  border-right: 5px solid var(--citron);
  transform: rotate(45deg);
}

.rfh-chevrons span:first-child {
  left: 0;
}

.rfh-chevrons span:last-child {
  left: 13px;
}

.rfh-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rfh-name {
  color: var(--text);
  font-size: clamp(1.1rem, 1.02rem + 0.28vw, 1.24rem);
  font-weight: 680;
  letter-spacing: -0.018em;
}

.rfh-tagline {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.4;
}

.rfh-arrow {
  color: #777871;
  font-size: 1.1rem;
  line-height: 1;
}

footer {
  margin-top: auto;
  padding-top: 88px;
}

footer p {
  margin: 0;
  color: #55554f;
  font-size: 0.75rem;
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
    padding-top: 54px;
  }

  .mindfirm-lockup {
    width: min(54vw, 240px);
  }

  .descriptor {
    margin-top: 26px;
  }

  .product {
    margin-top: 78px;
  }

  .rfh-card {
    min-height: 86px;
    padding: 16px 17px;
    gap: 14px;
    border-radius: 12px;
  }

  .rfh-tagline {
    font-size: 0.86rem;
  }

  footer {
    padding-top: 64px;
  }
}
