:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-subtle: #eff6ff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-width: 960px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  color: #ffffff;
}

.btn-outline {
  border-color: var(--border-color);
  background: #ffffff;
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #0b132b 0%, #1c2541 100%);
  color: #ffffff;
  padding: 64px 0 72px;
  text-align: center;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #38bdf8;
  border-radius: 50%;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* 2-column Grid */
.simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Managed Brand Card */
.managed-brand-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.brand-tag {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.managed-brand-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.managed-brand-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.brand-scope {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.88rem !important;
  color: var(--text-main) !important;
  margin-bottom: 16px !important;
}

.brand-link {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Notice Card */
.notice-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.notice-body h3 {
  font-size: 1.05rem;
  color: #14532d;
  font-weight: 700;
  margin-bottom: 6px;
}

.notice-body p {
  color: #166534;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.notice-body code {
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: #14532d;
  font-size: 0.85rem;
}

.notice-footer {
  font-size: 0.88rem;
  color: #15803d;
}

/* Contact & Entity Box */
.contact-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.contact-info h3,
.contact-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info p,
.contact-cta p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 24px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Policy Pages */
.doc-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  padding: 36px 0;
}

.doc-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.doc-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.doc-body {
  padding: 40px 0;
  max-width: 760px;
  margin: 0 auto;
}

.doc-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 10px;
}

.doc-content p, .doc-content ul {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.doc-content ul {
  padding-left: 20px;
}

.doc-content li {
  margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .simple-grid,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav, .header-actions {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .notice-card {
    flex-direction: column;
    gap: 12px;
  }
}
