.our-method-content {
  margin-top: clamp(8px, 1vw, 16px);
  padding-top: clamp(10px, 1.4vw, 18px);
}

.our-method-hero {
  background: #f7f9ff;
  border: 1px solid #dbe5fb;
  border-radius: 12px;
  padding: clamp(18px, 2vw, 30px);
  margin-bottom: clamp(8px, 1vw, 16px);
}

.our-method-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 2.4vw, 38px);
  color: #1c2b45;
}

.our-method-hero p {
  margin: 0;
  max-width: 900px;
  line-height: 1.6;
  font-size: clamp(16px, 1.1vw, 19px);
  color: #2a3651;
}

.our-method-tabs {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.our-method-tab-content {
  background: #ffffff;
  border: 1px solid #dbe5fb;
  border-radius: 12px;
  padding: clamp(18px, 2vw, 30px);
}

.our-method-tab-content .tab-content {
  background: transparent;
  padding: 0;
}

.our-method-tab-content h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 1.8vw, 30px);
  color: #1b2b47;
}

.method-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 16px;
}

.method-card {
  border: 1px solid #d9e3fa;
  border-radius: 10px;
  background: #f8fbff;
  padding: 18px;
}

.method-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1b2c48;
}

.method-card p {
  margin: 0;
  line-height: 1.6;
  color: #33435f;
}

.method-card ul,
.method-card ol {
  margin: 10px 0 0 18px;
  padding: 0;
  color: #33435f;
  line-height: 1.6;
}

.method-card li + li {
  margin-top: 4px;
}

.method-card code {
  background: #eaf0ff;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.92em;
}

.method-detail {
  border: 1px solid #d9e3fa;
  border-radius: 10px;
  background: #f8fbff;
  padding: 18px;
}

.method-detail p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #33435f;
}

.method-detail p:last-child {
  margin-bottom: 0;
}

.method-detail code {
  background: #eaf0ff;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.92em;
}

.method-detail h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  color: #1b2c48;
}

.method-detail h4 {
  margin: 14px 0 6px;
  font-size: 1rem;
  color: #243b63;
}

.method-detail ul,
.method-detail ol {
  margin: 0 0 12px 18px;
  padding: 0;
  color: #33435f;
  line-height: 1.6;
}

.method-detail li + li {
  margin-top: 4px;
}

.formula-box {
  border: 1px solid #d9e3fa;
  background: #eef4ff;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0 12px;
}

.formula-title {
  margin: 0 0 6px !important;
  font-weight: 700;
  color: #203a63;
}

.formula-box pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #1c2b45;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.93rem;
  line-height: 1.4;
}

.method-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
  margin: 8px 0 14px;
}

.method-example {
  border: 1px solid #d9e3fa;
  border-radius: 10px;
  background: #f8fbff;
  padding: 14px;
}

.method-example h4 {
  margin-top: 0;
}

.method-example p {
  margin: 0 0 8px;
}

.method-example p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .method-card-grid {
    grid-template-columns: 1fr;
  }

  .method-example-grid {
    grid-template-columns: 1fr;
  }

  .our-method-tabs {
    justify-content: center;
  }
}
