@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #101318;
  --panel: #171b22;
  --border: #232830;
  --border-strong: #343b46;
  --text: #e8e6e1;
  --muted: #9aa3ae;
  --subtle: #5a6270;
  --accent: #f5c84c;
  --accent-hover: #ffd965;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.shell {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding-inline: 32px;
}

.mono,
.brand,
.nav-links,
.eyebrow,
.product-link,
.footer-inner,
.binary-logo,
.feature-list,
.dots {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--subtle);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.nav-link {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding-bottom: 3px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active {
  border-color: var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-block: 96px 80px;
  text-align: center;
}

.binary-logo {
  color: #3a424d;
  font-size: 20px;
  letter-spacing: .4em;
  line-height: 1.55;
  user-select: none;
}

.spark {
  animation: twinkle 2.6s ease-in-out infinite;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(245, 200, 76, .55);
}

.spark-delay-1 {
  animation-delay: .4s;
}

.spark-delay-2 {
  animation-delay: .8s;
}

.spark-delay-3 {
  animation-delay: 1.2s;
}

.spark-delay-4 {
  animation-delay: 1.6s;
}

.spark-delay-5 {
  animation-delay: 1.8s;
}

.spark-delay-6 {
  animation-delay: 2s;
}

.hero-copy {
  display: flex;
  max-width: 700px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero h1,
.page-header h1,
.contact-section h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 64px);
}

.hero h1 span,
.contact-section h1 span {
  color: var(--accent);
}

.cursor {
  animation: blink 1.1s step-end infinite;
  color: var(--subtle) !important;
}

.hero p,
.page-header p,
.product-copy p,
.contact-section p,
.wide-coming-soon p,
.product-card p,
.coming-soon p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero p {
  max-width: 520px;
  font-size: 17px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible,
.product-card:hover,
.product-card:focus-visible,
.email-link:hover,
.email-link:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

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

.button-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 400;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: 0 88px;
}

.eyebrow {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

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

.product-card,
.coming-soon,
.product-panel,
.wide-coming-soon,
.email-link {
  border: 1px solid var(--border);
  border-radius: 8px;
}

.product-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--accent);
}

.product-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
}

.product-card h2,
.coming-soon h2,
.product-copy h2,
.wide-coming-soon h2 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.product-card h2 {
  font-size: 26px;
  line-height: 1.1;
}

.product-card p,
.coming-soon p {
  font-size: 14px;
}

.product-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 13px;
}

.coming-soon {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-style: dashed;
  padding: 24px;
  text-align: center;
}

.dots {
  color: var(--accent);
  font-size: 26px;
  letter-spacing: .2em;
}

.page-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 72px 56px;
}

.page-header h1 {
  font-size: clamp(36px, 6vw, 48px);
}

.page-header p {
  max-width: 560px;
  font-size: 16px;
}

.product-showcase {
  padding-bottom: 28px;
}

.product-panel {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 200, 76, .08), transparent 34%),
    var(--panel);
}

.product-copy {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
}

.product-copy h2 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
}

.product-copy p {
  font-size: 15px;
}

.feature-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.feature-list li::before {
  content: ">";
  color: var(--accent);
}

.product-copy .button {
  align-self: flex-start;
}

.wide-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-style: dashed;
  padding: 40px;
  text-align: center;
}

.wide-coming-soon h2 {
  font-size: 24px;
}

.wide-coming-soon p {
  max-width: 440px;
  font-size: 15px;
}

.contact-main {
  display: flex;
  flex: 1;
}

.contact-section {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-block: 96px 88px;
  text-align: center;
}

.contact-section h1 {
  font-size: clamp(40px, 7vw, 56px);
}

.contact-section p {
  max-width: 480px;
  font-size: 16px;
}

.email-link {
  border-color: var(--border-strong);
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  padding: 18px 32px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  border-color: var(--accent);
  background: var(--panel);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 26px;
  color: var(--subtle);
  font-size: 12px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
}

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

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

.footer-contact span {
  color: var(--subtle);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .hero {
    padding-block: 72px 64px;
  }

  .binary-logo {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }

  .page-header {
    padding-block: 56px 40px;
  }

  .product-copy,
  .wide-coming-soon {
    padding: 28px;
  }

  .contact-section {
    padding-block: 72px 64px;
  }

  .email-link {
    width: 100%;
    padding-inline: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
}
