:root {
  --ink: #0c0c0b;
  --ink-2: #11110f;
  --ink-3: #161614;
  --line-dark: #2a2824;
  --line-dark-2: #3a3732;
  --cream: #faf8f3;
  --cream-2: #f5f2ec;
  --white: #fdfcf9;
  --line-light: #e8e4dc;
  --line-light-2: #d8d2c6;
  --text: #1a1814;
  --body: #2a2520;
  --muted: #5c5650;
  --muted-2: #6a6258;
  --dark-card: #141310;
  --dark-line: #1e1c18;
  --dark-muted: #a09890;
  --tan: #e0d0b8;
  --sage: #70a088;
  --sage-bright: #8bc0a4;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(112, 160, 136, 0.35);
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.mono {
  font-family: var(--mono);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 48px;
  }
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.95);
  border-bottom: 1px solid rgba(237, 232, 224, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 243, 0.98);
  box-shadow: 0 4px 24px rgba(44, 37, 32, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1184px;
  height: 64px;
  margin-inline: auto;
  padding-inline: 16px;
}

.brand {
  transition: opacity 0.3s, transform 0.3s;
}

.brand:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

.brand img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link {
  position: relative;
  color: #2c2520;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #6b839a;
  transition: width 0.3s;
}

.nav-link:hover {
  color: #6b839a;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  padding: 10px 24px;
  border-radius: 999px;
  background: #2c2520;
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: #6b839a;
  color: #fff;
  box-shadow: 0 10px 15px rgba(107, 131, 154, 0.1);
  transform: scale(1.02);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 48px 0 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-bottom: 80px;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.tagline {
  margin-top: 24px;
  color: var(--tan);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.lede {
  margin-top: 20px;
  max-width: 480px;
  color: #918880;
  font-size: 1rem;
  line-height: 1.625;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}

.hero-points li {
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: #c8bfae;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.hero-release {
  margin-top: 32px;
  color: #706860;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-release .mono {
  color: #928a7f;
  letter-spacing: 0;
  text-transform: none;
}

.download-panel {
  position: relative;
  padding: 20px;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: var(--dark-card);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-head h2 {
  color: #706860;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid rgba(112, 160, 136, 0.25);
  border-radius: 999px;
  background: rgba(112, 160, 136, 0.12);
  color: var(--sage-bright);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 1.8s ease-in-out infinite;
}

.status-pill--warn {
  border-color: rgba(211, 163, 109, 0.25);
  background: rgba(211, 163, 109, 0.1);
  color: #d3a36d;
}

.status-pill--neutral {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #a9a096;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.detected {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.detected-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(112, 160, 136, 0.14);
  color: var(--sage);
}

.detected-icon svg {
  width: 22px;
  height: 22px;
}

.detected-copy h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.detected-copy p {
  margin-top: 4px;
  color: #706860;
  font-size: 0.875rem;
  line-height: 1.5;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  transition: background 0.2s;
}

.btn-download:hover {
  background: #f0ece4;
}

.btn-download svg {
  flex: none;
  width: 22px;
  height: 22px;
}

.btn-download-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.btn-download-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-download-sub {
  color: #706860;
  font-size: 0.75rem;
  font-weight: 500;
}

.btn-download[aria-disabled="true"] {
  background: var(--ink-3);
  color: #b0a898;
  box-shadow: none;
}

.btn-download[aria-disabled="true"] .btn-download-sub {
  color: #6f685f;
}

.btn-download[aria-disabled="true"]:hover {
  background: var(--ink-3);
  transform: none;
  box-shadow: none;
}

.download-hint {
  margin: 12px 2px 0;
  color: #706860;
  font-size: 0.75rem;
  line-height: 1.5;
}

.noscript {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: #c8bfae;
  font-size: 0.78rem;
}

.noscript a {
  color: var(--sage-bright);
  text-decoration: underline;
}

.alt-builds {
  margin-top: 20px;
}

.alt-title {
  margin-bottom: 12px;
  color: #706860;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.build-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--dark-card);
  transition: border-color 0.2s, background 0.2s;
}

.build-chip:hover {
  border-color: #2a2520;
  background: #1a1814;
}

.build-chip-title {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.build-chip-meta {
  color: #706860;
  font-size: 0.75rem;
}

.build-chip:last-child {
  grid-column: 1 / -1;
}

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--dark-line);
  color: #706860;
  font-size: 0.75rem;
}

.panel-foot a {
  color: #9a9186;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel-foot a:hover {
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 0;
}

.hero-stats > div + div {
  border-left: 1px solid var(--dark-line);
  padding-left: 24px;
}

.hero-stats strong {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero-stats span {
  color: #706860;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.section {
  padding: 96px 0;
}

.section--cream,
.section--white {
  background: var(--cream-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-head h2,
.release-copy h2,
.cta-copy h2 {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-head p {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 48px;
  row-gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line-light);
}

.feature {
  padding: 0;
  background: transparent;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(112, 160, 136, 0.12);
  color: #4d705d;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.625;
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.install-card {
  display: flex;
  flex-direction: column;
  padding: 40px 32px 48px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.install-card + .install-card {
  border-top: 1px solid var(--line-light);
}

.install-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.install-top h3 {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8e4dc;
  color: #6b6158;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.install-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 32px;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.625;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  color: #b0a898;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 2.15;
}

.steps strong {
  color: var(--text);
  font-weight: 600;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #e8e4dc;
  color: var(--body);
  font-family: var(--mono);
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.steps li code:not(.code-block) {
  white-space: nowrap;
}

.code-block {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  font-size: 0.6875rem;
  line-height: 1.5;
  white-space: nowrap;
  overflow-x: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: #6b839a;
  font-size: 0.875rem;
  font-weight: 500;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.release {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--ink);
  color: #fff;
}

.release-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.release-copy h2 {
  color: #fff;
  font-size: 1.5rem;
}

.release-version {
  margin-top: 20px;
  color: var(--tan);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.release-date {
  margin-top: 8px;
  color: #706860;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.release-summary {
  margin-top: 24px;
  color: var(--dark-muted);
  font-size: 1rem;
  line-height: 1.625;
}

.release-summary .mono {
  color: var(--tan);
}

.release-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.release-list li {
  position: relative;
  padding-left: 20px;
  color: var(--dark-muted);
  font-size: 1rem;
  line-height: 1.625;
}

.release-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--sage);
  border-radius: 50%;
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: #f0ece4;
}

.btn-ghost {
  border: 1px solid #2a2520;
  color: #b0a898;
}

.btn-ghost:hover {
  border-color: #3a3530;
  color: #fff;
}

.builds {
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.builds-head,
.build-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.7fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}

.builds-head {
  border-bottom: 1px solid var(--dark-line);
  color: #4a4440;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.build-row {
  border-bottom: 1px solid var(--dark-line);
}

.build-row:last-child {
  border-bottom: 0;
}

.build-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.build-name strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.build-name span {
  color: #706860;
  font-size: 0.875rem;
}

.build-format {
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.875rem;
}

.build-size {
  color: var(--dark-muted);
  font-size: 0.875rem;
}

.build-dl {
  color: var(--sage-bright);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.build-dl:hover {
  color: #fff;
}

.cta {
  padding: 112px 0 160px;
  background: var(--dark-card);
  color: #fff;
}

.cta-box {
  display: block;
  max-width: 640px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.cta-copy {
  max-width: none;
}

.cta-copy h2 {
  color: #fff;
}

.cta-copy p:last-child {
  margin-top: 24px;
  color: #908880;
  font-size: 1rem;
  line-height: 1.625;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--dark-line);
  background: var(--ink);
  color: var(--dark-muted);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-line);
}

.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--dark-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: #b0a898;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: #706860;
  font-size: 0.75rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .nav {
    padding-inline: 32px;
  }

  .nav-link--home {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .download-panel {
    max-width: 640px;
  }
}

@media (max-width: 860px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .hero-stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--dark-line);
  }

  .hero-stats > div:nth-child(even) {
    border-left: 1px solid var(--dark-line);
    padding-left: 24px;
  }
}

@media (max-width: 640px) {
  .nav {
    padding-inline: 24px;
  }

  .nav-link--secondary {
    display: none;
  }

  .alt-grid {
    grid-template-columns: 1fr;
  }

  .build-chip:last-child {
    grid-column: auto;
  }

  .hero-stats > div {
    padding: 20px 0;
  }

  .builds-head {
    display: none;
  }

  .build-row {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 20px 0;
  }

  .build-name {
    grid-column: 1;
  }

  .build-format,
  .build-size {
    display: none;
  }

  .build-dl {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-base {
    flex-direction: column;
    gap: 6px;
  }
}

@media (min-width: 640px) {
  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .lede {
    font-size: 1.125rem;
  }

  .section-head h2,
  .release-copy h2,
  .cta-copy h2 {
    font-size: 1.875rem;
  }

  .section-head p {
    font-size: 1.125rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 112px;
  }

  .hero-layout {
    padding-bottom: 128px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .section {
    padding: 144px 0;
  }

  .release {
    padding: 144px 0;
  }

  .cta {
    padding: 160px 0;
  }

  .section-head h2,
  .release-copy h2,
  .cta-copy h2 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-layout {
    gap: 48px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .release-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .install-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .install-card + .install-card {
    border-top: 0;
    border-left: 1px solid var(--line-light);
    padding-left: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .status-pill::before {
    animation: none;
  }

  .btn:hover,
  .btn-download:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Hackathon additions                                                */
/* ------------------------------------------------------------------ */

.hack-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--dark-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hack-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sage);
  color: #0c1410;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hack-banner-count {
  font-family: var(--mono);
  color: var(--cream);
  font-size: 13px;
}

.hack-banner-preview {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px dashed var(--tan);
  border-radius: 999px;
  color: var(--tan);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hack-header-tag {
  color: var(--dark-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Schedule */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.schedule-card {
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: var(--white);
}

.schedule-time {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.schedule-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.schedule-card p {
  color: var(--muted);
  font-size: 15px;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-item {
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: var(--white);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 15px;
}

/* Gate */

.gate-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--cream);
}

.gate-main {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 80px 24px 100px;
  overflow: hidden;
}

.gate-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  pointer-events: none;
}

.gate-card {
  position: relative;
  width: min(760px, 100%);
  padding: 56px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-align: center;
}

.gate-card .eyebrow {
  color: var(--sage-bright);
  margin-bottom: 20px;
}

.gate-title {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.gate-lede {
  color: var(--dark-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 36px;
}

.gate-lede strong {
  color: var(--cream);
  font-weight: 600;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.countdown-unit {
  padding: 18px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.countdown-unit span {
  display: block;
  font-family: var(--mono);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.countdown-unit small {
  display: block;
  margin-top: 8px;
  color: var(--dark-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gate-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line-dark);
}

.gate-schedule > div {
  padding: 16px 12px;
  background: var(--ink-2);
}

.gate-schedule-label {
  display: block;
  color: var(--dark-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gate-schedule strong {
  font-size: 15px;
  font-weight: 600;
}

.gate-note {
  color: var(--dark-muted);
  font-size: 13px;
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.gate-footer {
  border-top: 1px solid var(--line-dark);
}

@media (max-width: 900px) {
  .schedule-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .gate-card {
    padding: 36px 24px;
  }
}

@media (max-width: 620px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gate-schedule {
    grid-template-columns: 1fr;
  }

  .hack-banner {
    border-radius: 16px;
  }
}
