:root {
  --bg: #f5f7f8;
  --ink: #1a2530;
  --muted: #4d6578;
  --brand: #007a66;
  --brand-dark: #005f50;
  --card: #ffffff;
  --line: #dbe2e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #e8f3ef 0%, var(--bg) 55%);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
}

.site-header .container,
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
}

nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  margin-left: 16px;
}

.hero {
  padding: 56px 0 28px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.status-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-pill.neutral {
  background: #e8eef2;
  color: #3a5568;
}

.status-pill.ok {
  background: #e6f6ee;
  color: #126a3f;
}

.status-pill.warn {
  background: #fff3de;
  color: #8a5200;
}

.status-pill.err {
  background: #ffe7e7;
  color: #8f1f1f;
}

.btn {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.card h3 {
  margin: 0;
  font-size: 1rem;
}

.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--brand-dark);
}

.muted {
  color: var(--muted);
}

.sigline {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
}

.sig {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.sig.buy {
  background: #e6f6ee;
  color: #126a3f;
}

.sig.sell {
  background: #ffe7e7;
  color: #8f1f1f;
}

.sig.hold {
  background: #fff3de;
  color: #8a5200;
}

.notice {
  margin-top: 18px;
  padding: 10px 12px;
  border-left: 4px solid #be5a00;
  background: #fff7ea;
}

.ad-block {
  margin: 24px auto;
  background: #fff;
  border: 1px dashed #b8c5cf;
  border-radius: 12px;
  padding: 12px;
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 36px;
}

.newsletter input {
  flex: 1;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.newsletter button {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

@media (max-width: 800px) {
  nav {
    display: none;
  }
}
