/* 0DTEoption.com – Light Mode Trading Theme (Polished) */

:root {
  --bg: #f7fafc;
  --bg-card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #0ea5e9;
  --accent-soft: rgba(14, 165, 233, 0.12);
  --border: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #e5f3ff 0, #ffffff 60%, #f7fafc 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.site {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #f9fafb;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.brand-title {
  font-weight: 650;
  font-size: 1.1rem;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Nav */

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav.main-nav a {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.15s ease-out;
}

nav.main-nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: #ffffff;
}

nav.main-nav a.active {
  color: var(--accent);
  border-color: rgba(14, 165, 233, 0.35);
  background: var(--accent-soft);
}

/* Hero / main */

.hero {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 26px 22px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.3;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 640px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.8rem;
}

.pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f9fafb;
}

/* Grid */

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cards */

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

.card h2,
.card h3 {
  margin-top: 0;
}

.card h3 {
  font-size: 0.95rem;
}

.card-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Article lists */

.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list li + li {
  margin-top: 10px;
}

.article-list a {
  text-decoration: none;
  color: var(--text);
}

.article-list a:hover .article-title {
  color: var(--accent);
}

.article-title {
  font-size: 0.98rem;
  font-weight: 560;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Article layout */

.article-page {
  max-width: 760px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 18px;
}

.article-header h1 {
  margin-bottom: 4px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.article-body h2 {
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.article-body h3 {
  margin-top: 14px;
  margin-bottom: 4px;
  font-size: 1rem;
}

.article-body p {
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.article-body ul {
  margin: 4px 0 8px 1.2rem;
  padding-left: 0;
  font-size: 0.94rem;
}

.article-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

/* Footer */

footer.site-footer {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Links */

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

a:hover {
  text-decoration: underline;
}
