@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Newsreader:ital,opsz,wght@1,6..72,400;1,6..72,500&display=swap');

:root {
  --bg: #ffffff;
  --fg: #111111;
  --gray: #737373;
  --light-gray: #e5e5e5;
  --surface: #f7f7f7;
  --blue: #1463ff;
  --line: #e5e5e5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 4vw;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header & Nav */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12vh;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.logo {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

nav {
  display: flex;
  gap: 3vw;
}

nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

nav a:hover, nav a.active {
  color: var(--blue);
}

/* Typography */
.serif-italic {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 2rem;
  max-width: 22ch;
}

p {
  color: var(--gray);
  max-width: 55ch;
  margin-bottom: 1.5rem;
}

strong {
  color: var(--fg);
  font-weight: 500;
}

.label {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 1.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Layout */
.hero {
  margin-bottom: 15vh;
}

.hero h1 .serif-italic {
  color: var(--blue);
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 45ch;
  color: var(--gray);
}

.hero p strong {
  color: var(--fg);
}

.section {
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(72px, 9vw, 160px);
  padding: 14vh 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.section.alt {
  grid-template-columns: minmax(520px, 1.12fr) minmax(420px, 0.88fr);
}

.section.alt > div:nth-child(1) {
  order: 2;
}

.section.alt > div:nth-child(2) {
  order: 1;
}

.data-matrix {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.16;
  letter-spacing: 0.12em;
  width: min(100%, 760px);
  min-height: clamp(500px, 41vw, 660px);
  justify-content: center;
  user-select: none;
  display: flex;
  flex-direction: column;
}

.matrix-char {
  color: var(--gray);
  opacity: 0.12;
}

.matrix-char.shape {
  opacity: 0.8;
  color: var(--blue);
}

.matrix-char.highlight {
  color: var(--fg);
  font-weight: 600;
  opacity: 1;
}

.section-dark .matrix-char {
  color: var(--gray);
  opacity: 0.2;
}

.section-dark .matrix-char.shape {
  color: var(--light-gray);
  opacity: 0.8;
}

.section-dark .matrix-char.highlight {
  color: var(--bg);
  opacity: 1;
}

/* Variations */
.section-full {
  padding: 8vh 0;
  border-top: 1px solid var(--line);
}

.section-dark,
.section-blue {
  background: var(--surface);
  color: var(--fg);
  padding: 8vh 4vw;
  margin: 0 -4vw;
  border-radius: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark p,
.section-blue p {
  color: var(--gray);
}

.section-dark strong,
.section-dark h1,
.section-dark h2,
.section-blue strong,
.section-blue h1,
.section-blue h2 {
  color: var(--fg);
}

.section-dark .label,
.section-blue .label {
  color: var(--gray);
}

.powers-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(4vw, calc((100vw - 1400px) / 2 + 4vw));
  padding-right: max(4vw, calc((100vw - 1400px) / 2 + 4vw));
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw;
  margin-top: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4vw;
  margin-top: 2rem;
}

.team-section {
  padding: 8vh 0 9vh;
}

.team-overview {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.team-overview .label {
  margin-bottom: 1rem;
}

.team-overview h2 {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.team-grid {
  gap: clamp(44px, 6vw, 96px);
  margin-top: clamp(48px, 7vh, 84px);
  align-items: start;
}

.team-grid .content-block {
  margin-bottom: 0;
}

.team-grid h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  align-items: baseline;
  margin-bottom: 1.65rem;
}

.team-grid h2 .serif-italic {
  color: var(--fg);
}

.team-rollout-note {
  max-width: 58ch;
  margin: clamp(44px, 6vh, 72px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--fg);
}

.content-block {
  margin-bottom: 4rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  font-weight: 500;
  margin-bottom: 1.35rem;
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.section-dark .content-block h2,
.section-blue .content-block h2 {
  color: var(--fg);
}

/* Lists */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  color: var(--gray);
  max-width: 55ch;
}

li {
  margin-bottom: 0.75rem;
}

.huge-number {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 4rem;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

/* Accordions */
.accordion {
  max-width: 55ch;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item:first-child {
  border-top: 1px solid var(--line);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.accordion-header::after {
  content: '+';
  color: var(--gray);
  font-weight: 400;
  font-size: 18px;
}

.accordion-item.active .accordion-header::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content {
  padding-bottom: 2rem;
  color: var(--gray);
}

/* Forms & Links */
.link-action {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.2s ease;
}

.section-dark .link-action,
.section-blue .link-action {
  color: var(--blue);
}

.link-action:hover {
  opacity: 0.6;
}

.link-action::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.link-action:hover::after {
  transform: translateX(4px);
}

.waitlist-container {
  display: none;
  margin-top: 2rem;
  max-width: 400px;
}

.waitlist-container.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.form-group {
  margin-bottom: 1rem;
}

input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--fg);
  transition: border-color 0.2s;
  border-radius: 0;
}

input:focus {
  outline: none;
  border-color: var(--blue);
}

input::placeholder {
  color: #a3a3a3;
}

.section-dark input,
.section-blue input {
  border-bottom-color: var(--line);
  color: var(--fg);
}

.section-dark input:focus,
.section-blue input:focus {
  border-color: var(--blue);
}

.section-dark input::placeholder,
.section-blue input::placeholder {
  color: #a3a3a3;
}

button.submit-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  color: var(--gray);
  padding: 1rem 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

button.submit-btn:hover {
  color: var(--blue);
}

.section-dark button.submit-btn:hover,
.section-blue button.submit-btn:hover {
  color: var(--blue);
}

.success-message {
  display: none;
  color: var(--gray);
  font-size: 14px;
  margin-top: 1rem;
  padding-bottom: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.72);
  padding: 72px max(4vw, 24px) max(32px, 4vw);
  margin: 10vh calc(50% - 50vw) calc(-1 * 4vw);
  font-size: 13px;
  display: block;
  width: 100vw;
}

.section-dark + .site-footer {
  margin-top: 0;
}

.section-blue + .site-footer {
  margin-top: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6vw;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  max-width: 520px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.18);
}

.footer-brand p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  max-width: 420px;
}

.footer-links {
  display: flex;
  gap: 6vw;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .section, .section.alt, .section-full {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .data-matrix {
    min-height: auto;
    width: 100%;
    font-size: clamp(9px, 2.25vw, 12px);
    margin: 0 auto;
  }
  
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-overview {
    padding-bottom: 3rem;
  }

  .team-overview h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  header {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 10vh;
  }
  
  nav {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .label {
    margin-bottom: 0.5rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
