/* @override https://ixian.au/air/styles/jolt.css */
/* Jolt keeps a deliberately separate identity from Ixian: cooler near-black,
   lime accent, Geist rather than Avenir Next, and no light mode. */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: #07080A;
  color: #EEF0F2;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  /* Jolt has no light mode */
}

body {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

a {
  color: #EEF0F2;
  text-decoration: none;
}

a:hover {
  color: #D4F25A;
}

::selection {
  background: #D4F25A;
  color: #000;
}

input::placeholder {
  color: #6A7076;
}

img {
  max-width: 100%;
}

/* @group Header */

.j-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.j-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.02em;
}

.j-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.j-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: #A4AAB0;
}

.j-nav a {
  color: #A4AAB0;
}

.j-btn {
  color: #07080A;
  background: #EEF0F2;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.j-btn:hover {
  background: #D4F25A;
  color: #07080A;
}

/* @end */

/* @group Hero */

.j-hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 0;
  text-align: center;
}

/* Lime bloom behind the headline */

.j-glow {
  position: absolute;
  left: 50%;
  top: -120px;
  width: 900px;
  height: 600px;
  max-width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212, 242, 90, 0.13), rgba(212, 242, 90, 0));
  pointer-events: none;
}

.j-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.j-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: #C4CACF;
  border: 1px solid #23272B;
  background: #0D0F12;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.j-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4F25A;
  box-shadow: 0 0 10px #D4F25A;
}

.j-hero h1 {
  font-size: clamp(52px, 8.5vw, 112px);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0 0 28px;
  text-wrap: balance;
}

.j-hero h1 .accent {
  color: #D4F25A;
}

.j-lede {
  font-size: 21px;
  line-height: 1.5;
  color: #A4AAB0;
  max-width: 620px;
  margin: 0 0 40px;
  text-wrap: pretty;
}

/* @end */

/* @group Waitlist form */

.j-form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  background: #0D0F12;
  border: 1px solid #23272B;
  border-radius: 12px;
  padding: 6px;
}

.j-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #EEF0F2;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  padding: 0 12px;
}

.j-form button {
  background: #D4F25A;
  color: #07080A;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.j-form button:hover {
  background: #E2FA80;
}

.j-form button[disabled] {
  opacity: .6;
  cursor: default;
}

.j-form.on-dark {
  background: #07080A;
}

.j-form-note {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  color: #D4F25A;
  background: #0D0F12;
  border: 1px solid #3A4520;
  border-radius: 12px;
  padding: 16px 20px;
}

.j-form-note.error {
  color: #F2A05A;
  border-color: #4A3626;
}

.j-form-note.error a {
  color: #F2A05A;
  text-decoration: underline;
}

.j-form-note.bare {
  background: none;
  border: 0;
  padding: 0;
}

/* @end */

/* @group Terminal demo */

.j-term {
  position: relative;
  margin: 80px auto 0;
  max-width: 820px;
  text-align: left;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
  min-height: 5.2em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.j-term .row {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.j-term .en {
  color: #EEF0F2;
  transition: color .4s;
}

.j-term .en.done {
  color: #6A7076;
}

.j-term .cmd {
  color: #D4F25A;
  opacity: 0;
  transition: opacity .3s;
}

.j-term .sigil {
  color: #D4F25A;
  flex: none;
}

.j-term .sigil.dim {
  color: #6A7076;
}

.j-term .text {
  white-space: pre-wrap;
}

.j-term .caret {
  display: inline-block;
  width: .55em;
  height: 1.05em;
  vertical-align: -.15em;
  margin-left: 2px;
  background: #D4F25A;
  opacity: 0;
}

.j-term .caret.on {
  opacity: 1;
}

.j-term .run {
  margin-left: auto;
  flex: none;
  font-size: .6em;
  letter-spacing: .06em;
  color: #6A7076;
  border: 1px solid #23272B;
  border-radius: 6px;
  padding: 4px 8px;
  opacity: 0;
  transition: opacity .3s;
}

/* @end */

/* @group Features */

.j-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px 32px;
}

.j-section h2 {
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 0 0 48px;
  max-width: 640px;
  text-wrap: balance;
}

/* 1px gaps over a lighter backdrop give the hairline grid */

.j-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: #1A1D20;
  border: 1px solid #1A1D20;
  border-radius: 16px;
  overflow: hidden;
}

.j-cell {
  background: #07080A;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.j-cell .k {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #D4F25A;
}

.j-cell .t {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.j-cell .d {
  font-size: 15px;
  line-height: 1.55;
  color: #A4AAB0;
  text-wrap: pretty;
}

/* @end */

/* @group Waitlist band */

.j-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 112px;
}

.j-cta-inner {
  position: relative;
  border: 1px solid #23272B;
  border-radius: 24px;
  background: #0B0D0F;
  padding: 80px 32px;
  text-align: center;
  overflow: hidden;
}

.j-cta-inner h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 600;
  margin: 0 0 32px;
}

.j-cta-inner .glow {
  position: absolute;
  left: 50%;
  bottom: -300px;
  width: 800px;
  height: 500px;
  max-width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(212, 242, 90, 0.12), rgba(212, 242, 90, 0));
  pointer-events: none;
}

.j-cta-inner .stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* @end */

/* @group Footer */

.j-footer {
  border-top: 1px solid #15181B;
}

.j-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: #6A7076;
}

.j-footer .parent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #A4AAB0;
}

.j-footer .parent img {
  width: 18px;
  height: 18px;
  opacity: .8;
}

.j-footer .right {
  display: flex;
  gap: 24px;
  align-items: center;
}

.j-footer a {
  color: #6A7076;
}

.j-footer a:hover {
  color: #D4F25A;
}

/* @end */

@media (max-width: 820px) {
  .j-header {
    padding: 20px 32px;
  }
  
  .j-hero {
    padding: 48px 32px 0;
  }
  
  .j-lede {
    font-size: 18px;
  }
  
  .j-term {
    margin-top: 56px;
    font-size: 15px;
  }
  
  .j-section {
    padding: 72px 32px;
  }
  
  .j-cta-inner {
    padding: 56px 24px;
  }
  
  .j-footer .inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Users who prefer less motion get the finished line, not the typing loop. */

@media (prefers-reduced-motion: reduce) {
  .j-term .caret {
    display: none;
  }
  
  .j-term .en, .j-term .cmd, .j-term .run {
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
