/* Atlas Treasury-derived theme: deep navy + champagne gold, premium financial feel */
:root {
  --at-bg: #060914;
  --at-panel: rgba(10, 16, 35, 0.9);
  --at-panel-solid: #0a1023;
  --at-line: rgba(239, 192, 123, 0.25);
  --at-line-soft: rgba(255, 255, 255, 0.08);
  --at-gold: #efc07b;
  --at-gold-hi: #f7d49c;
  --at-text: #ffffff;
  --at-dim: rgba(255, 255, 255, 0.68);
  --at-font: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
}

body.atlas {
  background: var(--at-bg);
  color: var(--at-text);
  font-family: var(--at-font);
}
body.atlas .nav {
  background: rgba(6, 9, 20, 0.94);
  border-bottom: 1px solid var(--at-line);
}
body.atlas .nav-links a:hover { color: var(--at-gold-hi); }
body.atlas a { color: var(--at-gold); }
body.atlas a.btn-gold { color: #000; }
body.atlas a.btn-gold:hover { color: #000; }

.at-hero {
  max-width: 860px; margin: 0 auto; padding: 5rem 5vw 3rem; text-align: center;
}
.at-kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--at-gold); margin-bottom: 1rem;
}
.at-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900;
  letter-spacing: -0.01em; line-height: 1.12;
}
.at-hero p { margin-top: 1.2rem; color: var(--at-dim); font-size: 1.12rem; }

.at-section { max-width: 1100px; margin: 0 auto; padding: 3rem 5vw; }
.at-section h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.4rem; }
.at-section .sub { color: var(--at-dim); margin-bottom: 2rem; }

/* package cards — 4 across on wide, 2x2 on medium, 1 on mobile. Never an orphan 3+1. */
.pkg-grid {
  display: grid; gap: 1.4rem; align-items: stretch;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1180px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .pkg-grid { grid-template-columns: 1fr; } }

/* keep every card's CTA on the same line as its neighbours */
.pkg-was { min-height: 4.2em; }
.pkg-footnote {
  margin-top: 1.6rem; font-size: 0.85rem; color: var(--at-dim);
  max-width: 760px; line-height: 1.6;
}
.pkg {
  background: var(--at-panel);
  border: 1px solid var(--at-line-soft);
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column;
}
.pkg-featured {
  border: 1.5px solid var(--at-gold);
  box-shadow: 0 0 40px rgba(239, 192, 123, 0.12);
  position: relative;
}
.pkg-flag {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  background: var(--at-gold); color: #1a1305;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.pkg h3 { font-size: 1.15rem; font-weight: 800; }
.pkg-price { font-size: 2.1rem; font-weight: 900; color: var(--at-gold); margin: 0.5rem 0 0.1rem; }
.pkg-price small { font-size: 0.95rem; font-weight: 600; color: var(--at-dim); }
.pkg-price-custom { font-size: 1.6rem; padding-top: 0.4rem; }
.pkg form { margin: 0; }
button.btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.pkg-strike {
  font-size: 1.15rem; font-weight: 600; color: var(--at-dim);
  text-decoration: line-through; text-decoration-color: rgba(233, 61, 61, 0.7);
  text-decoration-thickness: 2px; margin-right: 0.3rem; vertical-align: 0.35em;
}
.pkg-was { font-size: 0.85rem; color: var(--at-dim); margin-bottom: 1rem; }
.pkg ul { list-style: none; margin: 0.8rem 0 1.4rem; padding: 0; flex: 1; }
.pkg-cta { margin-top: auto; }
.pkg-cta form { margin: 0; }
.pkg li {
  padding: 0.42rem 0 0.42rem 1.5rem; position: relative;
  color: var(--at-dim); font-size: 0.94rem;
  border-bottom: 1px solid var(--at-line-soft);
}
.pkg li:last-child { border-bottom: 0; }
.pkg li::before { content: "✦"; position: absolute; left: 0; color: var(--at-gold); }
.pkg .btn { min-height: 3.1em; display: flex; align-items: center; justify-content: center; white-space: nowrap; padding-left: 0.6rem; padding-right: 0.6rem; }
.pkg .btn-gold { background: var(--at-gold); color: #1a1305; text-align: center; }
.pkg .btn-gold:hover { background: var(--at-gold-hi); }
.pkg .btn-ghost { border-color: var(--at-line); text-align: center; }
.pkg-credit {
  margin-top: 0.8rem; font-size: 0.8rem; text-align: center; color: var(--at-dim);
  min-height: 4.8em;
}

/* comparison tables */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--at-line-soft); border-radius: 14px; }
.cmp { width: 100%; border-collapse: collapse; background: var(--at-panel); min-width: 640px; }
.cmp th, .cmp td {
  padding: 0.85rem 1.1rem; text-align: left; font-size: 0.92rem;
  border-bottom: 1px solid var(--at-line-soft);
}
.cmp thead th {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--at-dim); border-bottom: 1px solid var(--at-line);
}
.cmp .us { color: var(--at-gold); font-weight: 800; }
.cmp td.yes { color: #9ae6b4; }
.cmp td.no { color: rgba(255, 255, 255, 0.35); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp-note { font-size: 0.78rem; color: var(--at-dim); margin-top: 0.7rem; }

/* proof strip */
.proof-strip {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  padding: 1.1rem 5vw;
  border-top: 1px solid var(--at-line-soft);
  border-bottom: 1px solid var(--at-line-soft);
  color: var(--at-dim);
}
.proof-strip strong { color: var(--at-text); }

/* article / blog */
.article { max-width: 720px; margin: 0 auto; padding: 3rem 5vw 4rem; }
.article-meta { color: var(--at-gold); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.4rem; }
.article h2 { font-size: 1.45rem; font-weight: 800; margin: 2.2rem 0 0.7rem; color: var(--at-text); }
.article p { margin-bottom: 1.15rem; color: var(--at-dim); line-height: 1.8; }
.article .lead { font-size: 1.18rem; color: var(--at-text); }
.article em { color: var(--at-text); font-style: italic; }
.article-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article figure { margin: 1.9rem 0; }
.article figure img {
  width: 100%; display: block; border-radius: 10px;
  border: 1px solid var(--at-line-soft);
}
.article figcaption {
  font-size: 0.85rem; color: var(--at-dim); margin-top: 0.55rem; font-style: italic;
}
.article-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.9rem 0; }
.article-figs figure { margin: 0; }
@media (max-width: 640px) { .article-figs { grid-template-columns: 1fr; } }

/* why me */
.why-grid {
  display: grid; grid-template-columns: 160px 1fr; gap: 2rem; align-items: start;
}
.why-photo {
  aspect-ratio: 1; border-radius: 14px;
  background: var(--at-panel); border: 1px solid var(--at-line);
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
  overflow: hidden;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.why-grid p { color: var(--at-dim); max-width: 680px; }
.why-grid p + p { margin-top: 0.9rem; }
.why-more { font-size: 0.9rem; opacity: 0.75; }
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-photo { max-width: 160px; }
}

/* FAQ */
.faq dt {
  font-weight: 800; margin-top: 1.6rem; font-size: 1.02rem;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
  margin: 0.5rem 0 0; color: var(--at-dim); font-size: 0.95rem;
  max-width: 680px;
}

/* contact form */
.contact-panel {
  background: var(--at-panel);
  border: 1px solid var(--at-line);
  border-radius: 14px;
  padding: 2.2rem; max-width: 640px; margin: 0 auto;
}
.contact-panel label {
  display: block; font-size: 0.85rem; font-weight: 700; margin: 1.1rem 0 0.35rem;
}
.contact-panel input, .contact-panel select, .contact-panel textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--at-bg); color: var(--at-text);
  border: 1px solid var(--at-line-soft); border-radius: 8px;
  font-family: var(--at-font); font-size: 0.95rem;
}
.contact-panel input:focus, .contact-panel select:focus, .contact-panel textarea:focus {
  outline: none; border-color: var(--at-gold);
}
.contact-panel textarea { min-height: 120px; resize: vertical; }
.contact-panel button {
  margin-top: 1.4rem; width: 100%;
  background: var(--at-gold); color: #1a1305; border: 0; cursor: pointer;
  padding: 0.85rem; border-radius: 999px; font-weight: 800; font-size: 1rem;
  font-family: var(--at-font);
}
.contact-panel button:hover { background: var(--at-gold-hi); }
.contact-note { font-size: 0.8rem; color: var(--at-dim); text-align: center; margin-top: 0.8rem; }

body.atlas .footer { border-top: 1px solid var(--at-line-soft); }

/* ---------- blog index ---------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--at-line-soft); background: transparent;
  color: var(--at-dim); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 0.85rem; font-family: inherit;
  cursor: pointer; transition: all 0.15s ease;
}
.chip:hover { border-color: var(--at-gold); color: var(--at-text); }
.chip.on { background: var(--at-gold); border-color: var(--at-gold); color: #1a1305; font-weight: 700; }
.blog-list { display: grid; gap: 1.2rem; }
.blog-card {
  display: grid; grid-template-columns: 190px 1fr; gap: 1.4rem;
  background: var(--at-panel); border: 1px solid var(--at-line-soft);
  border-radius: 14px; overflow: hidden; text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.blog-card:hover { border-color: var(--at-gold); transform: translateY(-2px); }
.blog-thumb { overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-meta { padding: 1.3rem 1.4rem 1.3rem 0; }
.blog-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.blog-tags span {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--at-gold); border: 1px solid var(--at-line);
  padding: 0.1rem 0.5rem; border-radius: 999px;
}
.blog-card h2 { font-size: 1.25rem; font-weight: 800; color: var(--at-text); margin-bottom: 0.4rem; }
.blog-card p { color: var(--at-dim); font-size: 0.95rem; margin-bottom: 0.6rem; }
.blog-card time { font-size: 0.8rem; color: var(--at-dim); opacity: 0.75; }
.blog-empty { color: var(--at-dim); }
@media (max-width: 620px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-thumb { aspect-ratio: 3/2; }
  .blog-meta { padding: 0 1.4rem 1.3rem; }
}
