/* A/B landing layout for new SEM pages — distinct from ser-box service pages */
.sem-ab {
  --sem-ink: #14161c;
  --sem-muted: #5c6570;
  --sem-line: rgba(20, 22, 28, 0.1);
  --sem-soft: #f6f5f3;
  --sem-card: #fff;
  --sem-accent: #fc4a0a;
  color: var(--sem-ink);
  background: #fff;
}

.sem-wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.sem-hero {
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--sem-line);
  background: #fff;
}

.sem-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sem-accent);
  background: rgba(252, 74, 10, 0.08);
  border-radius: 999px;
}

.sem-hero h2 {
  margin: 0 0 16px;
  max-width: 18em;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.sem-lead {
  max-width: 40em;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--sem-muted);
  font-weight: 400;
}

.sem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.sem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

.sem-btn-primary {
  background: var(--sem-ink);
  color: #fff !important;
}

.sem-btn-primary:hover {
  background: #000;
  color: #fff !important;
}

.sem-btn-ghost {
  background: transparent;
  color: var(--sem-ink) !important;
  border: 1px solid var(--sem-line);
}

.sem-btn-ghost:hover {
  background: var(--sem-soft);
}

.sem-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sem-facts li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--sem-line);
  border-radius: 12px;
}

.sem-facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.sem-facts span {
  font-size: 13px;
  color: var(--sem-muted);
  line-height: 1.5;
}

.sem-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--sem-line);
}

.sem-section h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.sem-section .sem-sub {
  margin: 0 0 28px;
  max-width: 40em;
  color: var(--sem-muted);
  font-size: 16px;
  line-height: 1.7;
}

.sem-2col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.sem-ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sem;
}

.sem-ol li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sem-line);
  counter-increment: sem;
}

.sem-ol li:last-child {
  border-bottom: 0;
}

.sem-ol li::before {
  content: counter(sem, decimal-leading-zero);
  font-size: 13px;
  font-weight: 600;
  color: var(--sem-accent);
  padding-top: 3px;
}

.sem-ol strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.sem-ol p {
  margin: 0;
  color: var(--sem-muted);
  font-size: 14px;
  line-height: 1.65;
}

.sem-panel {
  background: var(--sem-soft);
  border-radius: 16px;
  padding: 24px 24px 20px;
}

.sem-panel h2 {
  font-size: 20px;
}

.sem-check {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.sem-check li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 15px;
  line-height: 1.55;
  border-bottom: 1px solid rgba(20, 22, 28, 0.06);
}

.sem-check li:last-child {
  border-bottom: 0;
}

.sem-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sem-accent);
}

.sem-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sem-tile {
  padding: 22px 20px 20px;
  border: 1px solid var(--sem-line);
  border-radius: 16px;
  background: #fff;
}

.sem-ico {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--sem-soft);
  color: var(--sem-ink);
}

.sem-ico svg {
  width: 18px;
  height: 18px;
}

.sem-tile h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.sem-tile p {
  margin: 0;
  color: var(--sem-muted);
  font-size: 14px;
  line-height: 1.65;
}

.sem-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sem-step {
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--sem-soft);
}

.sem-step em {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sem-accent);
}

.sem-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.sem-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sem-muted);
}

.sem-qa {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--sem-line);
}

.sem-qa details {
  border-bottom: 1px solid var(--sem-line);
  padding: 16px 0;
}

.sem-qa summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.sem-qa summary::-webkit-details-marker {
  display: none;
}

.sem-qa details p {
  margin: 10px 0 0;
  color: var(--sem-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 46em;
}

.sem-ab .ser-box04,
.sem-ab .section02 {
  padding-top: 48px;
}

@media (max-width: 860px) {
  .sem-facts,
  .sem-2col,
  .sem-tiles,
  .sem-steps {
    grid-template-columns: 1fr;
  }
  .sem-hero {
    padding-top: 36px;
  }
  .sem-section {
    padding: 40px 0;
  }
}
