/* ========================================= */
/* Styles from page2.html */
/* ========================================= */

html, body { height: 100%; }
body {
  font-family: 'Syne', sans-serif;
  background: #f5f2eb;
  color: #1a1a18;
  overflow-x: hidden;
}

/* ── Nav ── */
nav.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 52px;
  height: 80px;
  position: relative;
  z-index: 10;
  border-bottom: 2px solid #1a1a18;
}
.logo {
  font-family: 'Space Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo span {
  background: #1a1a18;
  color: #f5f2eb;
  padding: 3px 9px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 400;
  color: #888;
}
.nav-links a {
  text-decoration: none;
  color: #888;
  transition: color 0.2s;
}
.nav-links a:hover { color: #1a1a18; }

/* ── Ticker ── */
.ticker {
  background: #e8c547;
  color: #1a1a18;
  padding: 11px 0;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 2px solid #1a1a18;
  position: relative;
  z-index: 9;
}
.ticker-inner {
  display: inline-block;
  animation: tick 28s linear infinite;
}
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Split hero ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px);
  border-bottom: 2px solid #1a1a18;
}

.split-left {
  padding: 64px 44px 64px 44px;
  border-right: 2px solid #1a1a18;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f5f2eb;
  position: relative;
  overflow: hidden;
}

/* diagonal accent */
.split-left::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(232,197,71,0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.split-right {
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1a1a18;
  color: #f5f2eb;
}

.tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tag-left { color: #aaa; }
.tag-left::before { content: '// '; }
.tag-right { color: #666; }
.tag-right::before { content: '// '; }

.page-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: #1a1a18;
}
.page-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: #f5f2eb;
}
h2 .acc { color: #e8c547; }

.body-copy {
  font-size: 15px;
  line-height: 1.68;
  color: #666;
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 400px;
}
.body-copy-r {
  font-size: 15px;
  line-height: 1.68;
  color: rgba(245,242,235,0.55);
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 400px;
}

/* problem list */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
  border: 2px solid #1a1a18;
}
.prob-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(26,26,24,0.12);
}
.prob-row:last-child { border-bottom: none; }
.prob-name {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  min-width: 110px;
  border-right: 1px solid rgba(26,26,24,0.12);
  display: flex;
  align-items: center;
  background: #fff;
}
.prob-issue {
  padding: 14px 18px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #b03020;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  background: rgba(176,48,32,0.04);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a18;
  color: #f5f2eb;
  padding: 15px 30px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-dark:hover { background: #333; transform: translateX(3px); }

.btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #e8c547;
  color: #1a1a18;
  padding: 15px 30px;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  width: max-content;
  justify-content: center;
}
.btn-yellow:hover { background: #f0d050; }

/* features right */
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feat-num {
  width: 26px;
  height: 26px;
  background: #e8c547;
  color: #1a1a18;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-text {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245,242,235,0.65);
}
.feat-text strong {
  color: #f5f2eb;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* ── Reasons section ── */
.reasons-section {
  padding: 64px 44px;
  background: #f5f2eb;
  position: relative;
  z-index: 5;
}
.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
}
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}
.section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 2px solid #1a1a18;
}
.reason-cell {
  padding: 28px 22px;
  border-right: 1px solid rgba(26,26,24,0.14);
  transition: background 0.2s;
  cursor: default;
}
.reason-cell:last-child { border-right: none; }
.reason-cell:hover { background: #fff; }
.reason-n {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #bbb;
  margin-bottom: 10px;
}
.reason-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.reason-body {
  font-size: 12px;
  line-height: 1.6;
  color: #888;
  font-weight: 400;
}

/* ── Stats bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid #1a1a18;
  border-bottom: 2px solid #1a1a18;
  background: #1a1a18;
}
.stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #f5f2eb;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #e8c547;
  margin-bottom: 6px;
}
.stat-l {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.45);
}

/* ── Footer ── */
footer {
  padding: 28px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(26,26,24,0.1);
  margin-bottom: 100px;
}
.footer-logo {
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  font-weight: 700;
}
.footer-logo span {
  background: #1a1a18;
  color: #f5f2eb;
  padding: 2px 7px;
}
.footer-right {
  font-size: 12px;
  color: #aaa;
  font-family: 'Space Mono', monospace;
}

@media (max-width: 768px) {
  nav.main-nav { padding: 0 24px; height: 64px; }
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; min-height: unset; }
  .split-left { border-right: none; border-bottom: 2px solid #1a1a18; padding: 48px 24px; }
  .split-right { padding: 48px 24px; }
  .reasons-section { padding: 48px 24px; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 24px; flex-direction: column; gap: 12px; margin-bottom: 100px; }
}


/* ========================================= */
/* Styles from how-it-works-2.html */
/* ========================================= */

    /* ── Hero ── */
    .hiw-hero {
      padding: 88px 52px 32px;
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: 2px solid #1a1a18;
      color: #1a1a18;
      padding: 7px 18px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 36px;
    }

    .hiw-h1 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(38px, 5.8vw, 70px);
      font-weight: 800;
      line-height: 1.0;
      letter-spacing: -0.025em;
      margin-bottom: 28px;
      color: #1a1a18;
    }

    .hiw-hero-sub {
      font-size: 18px;
      line-height: 1.68;
      color: #666;
      margin-bottom: 44px;
      font-weight: 400;
      max-width: 580px;
      margin-left: auto;
      margin-right: auto;
    }

    /* ── Content Sections ── */
    .content-section {
      padding: 40px 52px 80px;
      max-width: 800px;
      margin: 0 auto;
    }

    .step-card {
      background: transparent;
      border: 2px solid #1a1a18;
      padding: 40px;
      margin-bottom: 24px;
    }

    .step-eyebrow {
      font-family: 'Space Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #aaa;
      margin-bottom: 12px;
    }

    .step-eyebrow::before {
      content: '// ';
    }

    .hiw-h2 {
      font-family: 'Syne', sans-serif;
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 20px;
      letter-spacing: -0.01em;
    }

    .hiw-p {
      font-size: 15px;
      line-height: 1.68;
      color: #666;
      margin-bottom: 16px;
    }

    .hiw-p:last-child {
      margin-bottom: 0;
    }

    .hiw-ul {
      padding-left: 20px;
      margin-bottom: 0;
      font-size: 15px;
      line-height: 1.68;
      color: #666;
    }

    .hiw-li {
      margin-bottom: 8px;
    }

    .hiw-li:last-child {
      margin-bottom: 0;
    }

    .hiw-code {
      font-family: 'Space Mono', monospace;
      background: rgba(26, 26, 24, 0.05);
      padding: 3px 6px;
      font-size: 12px;
      color: #b89a00;
      font-weight: 700;
    }

    /* ── FAQ Accordion ── */
    .faq-list {
      margin-top: 8px;
    }

    .hiw-details {
      border-top: 1px solid rgba(26, 26, 24, 0.18);
    }

    .hiw-details:last-of-type {
      border-bottom: 1px solid rgba(26, 26, 24, 0.18);
    }

    .hiw-summary {
      font-family: 'Syne', sans-serif;
      font-size: 15px;
      font-weight: 700;
      color: #1a1a18;
      padding: 16px 0;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      transition: color 0.15s;
    }

    .hiw-summary::-webkit-details-marker {
      display: none;
    }

    .hiw-summary::after {
      content: '+';
      font-family: 'Space Mono', monospace;
      font-size: 16px;
      color: #aaa;
      font-weight: 400;
      flex-shrink: 0;
      line-height: 1;
    }

    .hiw-details[open]>.hiw-summary {
      color: #1a1a18;
    }

    .hiw-details[open]>.hiw-summary::after {
      content: '−';
      color: #e8c547;
    }

    details .hiw-p {
      padding-bottom: 16px;
      margin: 0;
    }

/* ========================================= */
/* Survey / Signup Styles for Yellow Theme */
/* ========================================= */

body.page-signup {
  background: #f5f2eb;
  color: #1a1a18;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.survey-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
}

.question-wrapper {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 680px;
  width: 100%;
}

.question-wrapper.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.question-wrapper.done {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

p.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.5;
}

.q-number {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #e8c547;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.sub-question {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a18;
  margin-bottom: 14px;
}

.options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.option-card, .checkbox-card {
  background: #fff;
  border: 2px solid #1a1a18;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  font-size: 16px;
  font-weight: 700;
}

.option-card:hover, .checkbox-card:hover {
  background: #f0f0f0;
}

.option-card.selected, .checkbox-card.selected {
  background: #e8c547;
  border-color: #1a1a18;
}

.option-key {
  font-family: 'Space Mono', monospace;
  background: #1a1a18;
  color: #f5f2eb;
  font-size: 11px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-card.selected .option-key, .checkbox-card.selected .option-key {
  background: #1a1a18;
  color: #e8c547;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

textarea, input[type="email"], input[type="text"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #1a1a18;
  color: #1a1a18;
  font-size: 20px;
  font-family: 'Space Mono', monospace;
  padding: 16px 0;
  outline: none;
  transition: border-color 0.3s;
}

textarea:focus, input[type="email"]:focus, input[type="text"]:focus {
  border-color: #e8c547;
}

.controls {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-next, .btn-start {
  background: #1a1a18;
  color: #f5f2eb;
  border: none;
  padding: 16px 32px;
  font-size: 13px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-next:hover, .btn-start:hover {
  background: #333;
}

.btn-back {
  background: transparent;
  color: #1a1a18;
  border: 2px solid #1a1a18;
  padding: 16px 24px;
  font-size: 13px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.progress-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(26,26,24,0.1);
}

.progress-bar {
  height: 100%;
  background: #e8c547;
  width: 0%;
  transition: width 0.4s ease;
}

hr.separator {
  border: none;
  border-top: 2px solid #1a1a18;
  margin: 32px 0;
}

.custom-tooltip {
  background: #1a1a18;
  color: #f5f2eb;
  font-family: 'Space Mono', monospace;
}



