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

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6d6d6d;
  --quiet: #f5f5f2;
  --panel: #fafaf8;
  --line: #e6e3dc;
  --blue: #135dff;
  --blue-soft: #eef4ff;
  --blue-line: #b8ccff;
  --footer: #050505;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', -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;
  overflow-x: hidden;
}

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: 600;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--fg);
  text-decoration: none;
}

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

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

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

.serif-italic {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: 4.45rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 2rem;
  max-width: 22ch;
}

h2 {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.16;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.16;
}

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

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

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

.hero {
  margin-bottom: 15vh;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 45ch;
}

.product-hero p {
  max-width: 52ch;
}

.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 > div:first-child {
  order: 2;
}

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

.section-copy {
  min-width: 0;
}

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

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

.content-block h2,
.content-block h3 {
  margin-bottom: 1.35rem;
  color: var(--fg);
}

ol,
ul {
  padding-left: 1.4rem;
  margin-bottom: 2rem;
  color: var(--muted);
  max-width: 55ch;
}

li {
  margin-bottom: 0.75rem;
}

.data-matrix {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  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;
  contain: content;
  overflow: hidden;
}

.matrix-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.matrix-char {
  color: var(--muted);
  opacity: 0.1;
}

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

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

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

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

.section-blue p {
  color: var(--muted);
}

.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;
}

.compact-grid {
  gap: 1rem;
  margin-top: 0;
}

.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: 2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
}

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

.team-card {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

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

.profile-links,
.social-links {
  display: flex;
  gap: 0.75rem;
}

.profile-links a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.profile-links a:hover,
.social-links a:hover {
  color: var(--blue);
  border-color: var(--blue-line);
  background: var(--blue-soft);
}

.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(--muted);
  font-weight: 400;
  font-size: 18px;
}

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

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

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

.powers-section {
  background: var(--panel);
  border-top: 1px solid var(--line);
  margin-left: -4vw;
  margin-right: -4vw;
  padding-left: 4vw;
  padding-right: 4vw;
}

.powers-section > h2 {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 6.5rem;
  font-weight: 400;
  line-height: 0.9;
  margin-bottom: 4rem;
  color: var(--fg);
}

.powers-grid .content-block {
  margin-bottom: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.huge-number {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 4rem;
  color: #d8d4cc;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.power-feature {
  background: var(--blue);
  color: #fff;
  padding: 28px;
  border-top: 0;
}

.power-feature .huge-number,
.power-feature h3,
.power-feature p {
  color: #fff;
}

.power-feature .huge-number {
  opacity: 0.7;
}

.now-section .content-block,
.waitlist-cta .content-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.now-section p,
.waitlist-cta p {
  margin-left: auto;
  margin-right: auto;
}

.now-section h2,
.waitlist-cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

.secondary-action {
  color: var(--muted);
}

.waitlist-container {
  display: none;
  margin: 2rem auto 0;
  max-width: 420px;
  text-align: left;
}

.waitlist-wide {
  max-width: 640px;
}

.waitlist-container.active {
  display: block;
  animation: fadeIn 0.35s 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: #a2a09a;
}

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

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

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

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

.app-page main {
  flex: 1;
  display: flex;
  align-items: center;
}

.app-bridge {
  margin-bottom: 8vh;
}

.app-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.site-footer {
  background: var(--footer);
  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-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: 600;
  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);
}

.footer-bottom .social-links a {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-bottom .social-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.4rem;
  }

  .section,
  .section.alt {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .data-matrix {
    min-height: 460px;
    max-width: 660px;
    margin: 0 auto;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .powers-section > h2 {
    font-size: 4.5rem;
  }
}

@media (max-width: 680px) {
  body {
    padding: 24px;
  }

  header {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 10vh;
  }

  nav {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .section {
    padding: 10vh 0;
  }

  .data-matrix {
    min-height: 420px;
    font-size: 10px;
  }

  .team-overview h2,
  .now-section h2,
  .waitlist-cta h2 {
    font-size: 2rem;
  }

  .powers-section > h2 {
    font-size: 3.2rem;
  }

  .section-blue {
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-footer {
    margin-bottom: -24px;
  }

  .footer-top,
  .footer-brand,
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
