:root {
  --sfc-bg: #f5f5f7;
  --sfc-surface: #ffffff;
  --sfc-border: #e2e2e8;
  --sfc-text: #111111;
  --sfc-text-muted: #555;
  --sfc-accent: #111111;
  --sfc-accent-soft: #f0f0f3;
  --sfc-radius-lg: 16px;
  --sfc-radius-pill: 999px;
  --sfc-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --sfc-error: #b3261e;
  --sfc-success: #0b7a3b;
  --sfc-warning: #c36b00;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sfc-bg);
  color: var(--sfc-text);
}

a {
  color: inherit;
  text-decoration: none;
}

.sfc-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.sfc-header {
  background: #ffffff;
  border-bottom: 1px solid var(--sfc-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.sfc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.sfc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.sfc-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--sfc-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.sfc-logo-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.sfc-logo-sub {
  font-size: 11px;
  color: var(--sfc-text-muted);
}

.sfc-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.sfc-nav a {
  padding: 4px 8px;
  border-radius: 999px;
}

.sfc-nav a.active {
  background: var(--sfc-accent-soft);
}

.sfc-nav-cta {
  border: 1px solid var(--sfc-text);
  border-radius: 999px;
  padding: 6px 14px !important;
}

.sfc-main {
  padding: 32px 16px 40px;
}

.sfc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.sfc-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.sfc-hero-text {
  color: var(--sfc-text-muted);
  margin-bottom: 18px;
}

.sfc-hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.sfc-tagline {
  font-size: 13px;
  color: var(--sfc-text-muted);
}

.sfc-hero-card {
  background: var(--sfc-surface);
  border-radius: var(--sfc-radius-lg);
  padding: 20px;
  box-shadow: var(--sfc-shadow-soft);
  border: 1px solid var(--sfc-border);
}

.sfc-list {
  padding-left: 18px;
  margin: 0 0 12px;
  font-size: 14px;
}

.sfc-note {
  font-size: 12px;
  color: var(--sfc-text-muted);
}

.sfc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sfc-card {
  background: var(--sfc-surface);
  border-radius: var(--sfc-radius-lg);
  padding: 16px 18px;
  border: 1px solid var(--sfc-border);
  font-size: 14px;
}

.sfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--sfc-radius-pill);
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
}

.sfc-btn-primary {
  background: var(--sfc-accent);
  color: #ffffff;
}

.sfc-btn-ghost {
  border-color: var(--sfc-border);
  background: #ffffff;
}

.sfc-footer {
  border-top: 1px solid var(--sfc-border);
  background: #ffffff;
  font-size: 12px;
}

.sfc-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}

/* Forms & verification cards */

.sfc-verify h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.sfc-form {
  margin-top: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.sfc-form label {
  font-size: 13px;
}

.sfc-form input,
.sfc-form select,
.sfc-form textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--sfc-border);
  font-size: 14px;
  font-family: inherit;
}

.sfc-form textarea {
  resize: vertical;
}

.sfc-result-card {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--sfc-radius-lg);
  border: 1px solid var(--sfc-border);
  background: #ffffff;
  font-size: 14px;
}

.sfc-result-success {
  border-color: var(--sfc-success);
}

.sfc-result-error {
  border-color: var(--sfc-error);
}

.sfc-result-warning {
  border-color: var(--sfc-warning);
}

.sfc-hidden {
  display: none;
}

.sfc-hint {
  margin-top: 16px;
  font-size: 12px;
  color: var(--sfc-text-muted);
  background: var(--sfc-accent-soft);
  padding: 10px 12px;
  border-radius: 12px;
}

/* Responsive */

@media (max-width: 768px) {
  .sfc-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: auto;
    padding: 8px 0;
  }

  .sfc-nav {
    flex-wrap: wrap;
  }

  .sfc-hero {
    grid-template-columns: 1fr;
  }
}
