:root {
  --bg: #07111f;
  --bg-deep: #050b13;
  --panel: #0c1827;
  --panel-2: #0f1d30;
  --text: #f4f7fb;
  --muted: #a8b5c6;
  --muted-2: #73839a;
  --blue: #56a8ff;
  --blue-bright: #78bbff;
  --green: #4ed39a;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(86, 168, 255, 0.32);
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(86, 168, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(78, 211, 154, 0.08), transparent 24%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.blueprint-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(86, 168, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 168, 255, 0.018) 1px, transparent 1px);
  background-size:
    48px 48px,
    48px 48px,
    12px 12px,
    12px 12px;
}

.shell {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.14rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-name strong {
  color: var(--blue);
}

.brand-by {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #dce6f1;
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  color: #fff;
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.hero {
  padding: 108px 0 112px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 7.6vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-description {
  max-width: 710px;
  margin-bottom: 12px;
  color: #ecf3fb;
  font-size: clamp(1.28rem, 2.4vw, 1.72rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.hero-support {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
}

.signup-wrap {
  max-width: 720px;
  margin-top: 32px;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signup-form input {
  min-width: 0;
  padding: 16px 18px;
  border: 0;
  outline: none;
  color: #fff;
  background: transparent;
}

.signup-form input::placeholder {
  color: #77879c;
}

.signup-form input:focus {
  border-radius: 11px;
  box-shadow: inset 0 0 0 2px rgba(86, 168, 255, 0.34);
}

.signup-form button {
  padding: 16px 24px;
  border: 0;
  border-radius: 11px;
  color: #06101c;
  background: var(--blue);
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}

.signup-form button:hover {
  transform: translateY(-1px);
  background: var(--blue-bright);
}

.signup-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.form-message {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.form-message--success {
  color: var(--green);
}

.form-message--error {
  color: #ff9d9d;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  min-height: 470px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(86, 168, 255, 0.25);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(86, 168, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.visual-card::before,
.visual-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.visual-card::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(86, 168, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 168, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}

.visual-card::after {
  width: 310px;
  height: 310px;
  right: -150px;
  bottom: -150px;
  border: 1px solid rgba(86, 168, 255, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(86, 168, 255, 0.045),
    0 0 0 70px rgba(86, 168, 255, 0.025);
}

.visual-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 7px;
}

.visual-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.visual-content {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding: 0 24px;
}

.visual-label {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.visual-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.visual-line span {
  color: var(--muted-2);
  font-size: 0.88rem;
}

.visual-line strong {
  color: #edf5fd;
}

.visual-separator {
  height: 1px;
  margin: 32px 0 24px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.visual-quote {
  max-width: 390px;
  color: #dce7f4;
  font-size: 1.12rem;
  line-height: 1.5;
}

.coordinate {
  position: absolute;
  z-index: 3;
  color: rgba(86, 168, 255, 0.52);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.coordinate-a {
  right: 20px;
  top: 20px;
}

.coordinate-b {
  left: 20px;
  bottom: 18px;
}

.section {
  padding: 100px 0;
}

.problem-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 11, 19, 0.34);
}

.two-column,
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.section h2,
.final-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.058em;
}

.body-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.body-copy p {
  margin-bottom: 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--panel);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.feature-index {
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.feature-card p {
  color: var(--muted);
}

.manifesto-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 168, 255, 0.10), transparent 40%),
    var(--bg-deep);
}

.manifesto {
  text-align: center;
}

.manifesto h2 {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}

.manifesto h2 span {
  display: block;
  color: var(--blue);
}

.manifesto-copy {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contrast-card {
  padding: 34px;
  border-radius: var(--radius);
}

.muted-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.active-card {
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(86, 168, 255, 0.10), rgba(86, 168, 255, 0.035)),
    var(--panel);
  box-shadow: var(--shadow);
}

.contrast-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contrast-card li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: #d8e3ef;
}

.contrast-card li:last-child {
  border-bottom: 0;
}

.signature {
  color: #fff;
  font-weight: 750;
}

.final-cta {
  padding: 90px 0 120px;
}

.final-box {
  padding: 70px 42px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 168, 255, 0.17), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
}

.final-box h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.final-box > p:not(.section-label) {
  color: var(--muted);
  font-size: 1.08rem;
}

.final-box .signup-wrap {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-brand {
  color: #dbe6f1;
  font-weight: 800;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-visual {
    max-width: 620px;
  }

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

  .two-column,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    position: static;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 72px 0 84px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }

  .visual-card {
    min-height: 430px;
  }

  .visual-content {
    padding: 0 10px;
  }

  .cards,
  .contrast-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-index {
    margin-bottom: 28px;
  }

  .final-box {
    padding: 50px 20px;
  }

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

/* Defensive overrides: prevent legacy CSS from breaking this version */
body > main,
body > header,
body > footer {
  width: 100%;
}

.hero .hero-grid {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
  text-align: left;
}

.problem-section .shell,
.section .shell,
.final-cta .shell,
.site-footer .shell {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

@media (min-width: 981px) {
  .hero .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr) !important;
    gap: 70px !important;
    align-items: center !important;
  }

  .hero-copy {
    text-align: left !important;
  }

  .hero-visual {
    display: block !important;
  }
}
