/* Method longform page — /method */

.method-page {
  padding-top: 80px;
}

.method-page .nav-links a.is-active {
  color: var(--lime);
}

.method-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px var(--section-px) 80px;
}

.method-hero {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
}

.method-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-kicker.kicker-friction {
  color: #f87171;
}

.method-title {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.method-title span {
  color: var(--lime);
}

.method-lead {
  font-size: clamp(18px, 2.2vw, 21px);
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
}

.method-hero-visual {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  margin-top: 28px;
  overflow: hidden;
}

.method-hero-illustration {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .method-hero-visual {
    padding: 20px 14px;
  }
}

.method-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.method-section:last-of-type {
  border-bottom: none;
}

.method-section h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 12px 0 20px;
  line-height: 1.25;
}

.method-section p {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.method-section p strong {
  color: var(--white);
}

.method-section-note {
  margin-top: 24px;
}

.envelopes-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 32px 0 16px;
}

.envelope-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .envelope-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 240, 74, 0.3);
  }
}

.envelope-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 240, 74, 0.1);
  border: 1px solid rgba(200, 240, 74, 0.22);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.envelope-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.envelope-amt {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

.broken-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0 16px;
}

.broken-card {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .broken-card:hover {
    border-color: rgba(239, 68, 68, 0.45);
  }
}

.broken-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.broken-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fca5a5;
  margin-bottom: 6px;
}

.broken-content p {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0;
}

.notebook-callout {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
}

.notebook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
}

.notebook-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: #f59e0b;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.notebook-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.notebook-callout > p {
  margin-bottom: 0;
}

.start-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.start-step-row {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 240, 74, 0.12);
  border: 1.5px solid var(--lime);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-row-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}

.step-row-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.kit-download-cta {
  background: linear-gradient(180deg, #161b26 0%, #11141c 100%);
  border: 1px solid rgba(200, 240, 74, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.kit-download-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 240, 74, 0.1);
  border: 1px solid rgba(200, 240, 74, 0.25);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kit-download-cta h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
}

.kit-download-cta p {
  max-width: 540px;
  margin: 0;
  font-size: 14px;
}

.kit-download-btn {
  display: inline-flex;
  justify-content: center;
  width: auto;
  padding: 12px 24px;
  margin-top: 6px;
}

.method-faq-groups {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 28px;
}

.method-cta {
  padding: 60px 0 20px;
  border-top: 1px solid var(--border);
}

.method-cta .cta-inner {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.method-cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.method-cta-lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 28px;
}

.method-cta .store-btns {
  justify-content: center;
  margin-bottom: 20px;
}

.method-cta .cta-note {
  font-size: 13px;
  color: var(--muted2);
}

@media (max-width: 720px) {
  .method-article {
    padding-left: 20px;
    padding-right: 20px;
  }

  .math-split-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-table th,
  .comparison-table td {
    padding: 12px 14px;
    font-size: 13.5px;
  }

  .kit-download-cta {
    padding: 22px 18px;
  }
}
