:root {
  --green-dark: #2d5a3f;
  --green-darker: #062823;
  --green-lime: #a8e063;
  --green-mint: #e8f5e9;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --surface: #ffffff;
  --border: #e5ebe8;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-w: 480px;
}

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

.sp-body {
  font-family: var(--font);
  background: #f4f6f5;
  color: var(--text);
  line-height: 1.45;
}

.sp-app {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100dvh;
  background: #f4f6f5;
}

.sp-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.sp-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 50%;
}

.sp-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-dark);
}

.sp-main {
  padding: 18px 18px 32px;
}

.sp-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--green-darker);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.sp-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sp-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 14px 16px 8px;
}

.sp-toggle-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.sp-toggle-row:first-of-type {
  border-top: none;
}

.sp-toggle-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-darker);
  margin-bottom: 2px;
}

.sp-toggle-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.sp-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.sp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sp-switch-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.sp-switch-slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.sp-switch input:checked + .sp-switch-slider {
  background: var(--green-lime);
}

.sp-switch input:checked + .sp-switch-slider::before {
  transform: translateX(20px);
}

.sp-link-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.sp-link-row:first-child {
  border-top: none;
}

.sp-link-icon {
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-link-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-darker);
}

.sp-link-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.sp-chevron {
  color: var(--text-soft);
  font-size: 1.2rem;
}

.sp-search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.sp-search input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--surface);
}

.sp-search button {
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: var(--green-darker);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.sp-faq-item:first-child {
  border-top: none;
}

.sp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-darker);
  text-align: left;
  cursor: pointer;
}

.sp-faq-a {
  padding: 0 16px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: none;
}

.sp-faq-item.is-open .sp-faq-a {
  display: block;
}

.sp-faq-item.is-open .sp-faq-chevron {
  transform: rotate(180deg);
}

.sp-faq-chevron {
  color: var(--text-soft);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.sp-info-box {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: var(--green-mint);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--green-darker);
  margin-bottom: 16px;
}

.sp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
}

.sp-btn--lime {
  background: var(--green-lime);
  color: var(--green-darker);
}

.sp-foot-demo {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-top: 20px;
}
