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

:root {
  --bg: #F6F5F3;
  --accent: #d97757;
  --border: #e6e6e6;
  --black: #000000;
  --white: #ffffff;
  --gray-answer: #888888;
}

html, body {
  background: var(--bg);
  color: var(--black);
  font-family: 'Inter Tight', sans-serif;
  min-height: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── HEADER ─────────────────────────────────────────── */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.header-inner {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 26px;
  height: 27px;
  position: relative;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.4px;
  color: var(--black);
  line-height: 1;
  white-space: nowrap;
}

.btn-subscribe {
  border: 1px solid var(--black);
  border-radius: 4px;
  padding: 11px 24px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
  position: relative;
  z-index: 200;
}

.btn-subscribe:hover {
  background: var(--black);
  color: var(--white);
}

/* ── HERO ────────────────────────────────────────────── */
/* Outer wrapper handles padding so the inner 1050px is the true content width.
   No top padding needed — the header is absolute so main starts at y=0,
   and the brain image reaches the top naturally. */
.hero-outer {
  width: 100%;
  padding: 0 24px 120px;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Left column — larger top padding clears the absolute header */
.col-left {
  flex: 1 0 0;
  min-width: 0;
  padding-top: 183px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 600px;
}

h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 89.7px;
  line-height: 98.2px;
  letter-spacing: -1.794px;
  color: var(--black);
}

h1 .accent {
  color: var(--accent);
}

.tagline {
  font-size: 30px;
  line-height: normal;
  color: var(--black);
}

.tagline em {
  font-style: italic;
  font-weight: 400;
}

.tagline .accent-bold {
  font-weight: 700;
  color: var(--accent);
}

.mobile-break {
  display: none;
}

.body-text {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
}

.body-text p + p {
  margin-top: 19px;
}

.body-text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.body-text a:hover {
  opacity: 0.8;
}

/* Right column */
.col-right {
  width: 469px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 82px;
  z-index: 10;
}

.brain-wrap {
  width: 100%;
  z-index: 10;
}

.brain-wrap img {
  width: 100%;
  display: block;
  object-position: 14px;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  border-radius: 5px;
  padding: 15px 26px 16px;
  width: 320px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-cta:hover {
  opacity: 0.85;
}

.btn-cta.disabled {
  background: #777777;
  cursor: default;
}

/* ── TERMS CHECKBOX ──────────────────────────────────── */
.terms-row {
  width: 320px;
  margin-top: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  max-width: 240px;
}

.terms-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-box {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 4px;
  border: 1.5px solid var(--black);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.terms-check input:checked + .check-box {
  background: var(--black);
}

.terms-check input:checked + .check-box::after {
  content: '';
  display: block;
  width: 4px;
  height: 7px;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

.check-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.3;
}

.terms-error {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  color: var(--accent);
  display: none;
  margin: 0;
}

.btn-cta .cta-label {
  font-weight: 700;
}

.btn-cta .cta-arrow {
  font-weight: 500;
  margin-left: 0.1em;
}

/* ── FAQs ────────────────────────────────────────────── */
.faqs {
  width: 320px;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  gap: 8px;
}

.faq-question {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--black);
}

.faq-toggle {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 1;
  color: var(--black);
  flex-shrink: 0;
  transition: transform 0.2s;
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
}

.faq-answer-inner {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #444444;
  padding: 0 0 12px;
}

.faq-answer-inner p + p {
  margin-top: 10px;
}

.faq-answer-inner a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.faq-answer-inner a:hover {
  color: var(--accent);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 50px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  color: var(--black);
  white-space: nowrap;
}

.footer-text a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.footer-text a:hover {
  color: var(--accent);
}

/* ── MOBILE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  header {
    padding: 20px 0;
    position: static;
  }

  .logo-icon {
    width: 22px;
    height: 23px;
  }

  .logo-text {
    font-size: 18px;
  }

  .btn-subscribe {
    font-size: 14px;
    padding: 8px 14px;
  }

  .hero-outer {
    /* top clears the ~72px absolute header so the brain sits just below it */
    padding: 39px 24px 80px;
  }

  .hero {
    flex-direction: column;
    gap: 0;
  }

  /* Dissolve col-right so its children become direct flex items of .hero */
  .col-right {
    display: contents;
  }

  /* Order: brain (1) → title/text (2) → cta (3) → faqs (4) */
  .brain-wrap {
    order: 1;
    width: 82%;
    margin: 0 auto 16px;
  }

  .col-left {
    order: 2;
    padding-top: 0;
    padding-right: 0;
    gap: 24px;
    width: 100%;
    margin-bottom: 40px;
  }

  .btn-cta {
    order: 3;
    width: 100%;
    font-size: 19px;
    padding: 15px;
    margin-bottom: 0;
  }

  .terms-row {
    order: 4;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 20px;
  }

  .faqs {
    order: 5;
    width: 100%;
    margin-top: 8px;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-answer-inner {
    font-size: 16px;
  }

  footer {
    padding: 24px;
  }

  .mobile-break {
    display: block;
  }

  h1 {
    font-size: clamp(42px, 11vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .tagline {
    font-size: clamp(20px, 5vw, 26px);
  }

  .body-text {
    font-size: clamp(16px, 4.5vw, 20px);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 45px;
    line-height: 1.1;
  }

  .tagline {
    font-size: 24px;
  }

  .body-text {
    font-size: 18px;
  }
}