:root {
  --bg: #f6faf9;
  --surface: #ffffff;
  --surface-muted: #ebf4f2;
  --text: #102a27;
  --text-muted: #4b6763;
  --primary: #0f766e;
  --primary-dark: #0b5c56;
  --border: #d6e6e3;
  --shadow: 0 10px 30px rgba(15, 118, 110, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1615;
    --surface: #122220;
    --surface-muted: #172d2a;
    --text: #eef7f6;
    --text-muted: #9eb9b5;
    --primary: #2dd4bf;
    --primary-dark: #14b8a6;
    --border: #203b37;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

@media (prefers-color-scheme: dark) {
  .btn-primary {
    color: #07201d;
  }
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-disabled {
  background: var(--surface-muted);
  color: var(--text-muted);
  border: 1px dashed var(--border);
  cursor: default;
}

.btn-disabled:hover {
  transform: none;
}

section {
  padding: 36px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 28px;
  font-size: 1.6rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.use-cases {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.use-cases ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.use-cases li + li {
  margin-top: 6px;
}

.policy-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  margin: 36px 0;
  box-shadow: var(--shadow);
}

.policy-doc h1 {
  margin-top: 0;
}

.policy-doc h2 {
  margin-top: 28px;
  font-size: 1.25rem;
}

footer {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
