/* ========================================
   Release First — Vanilla CSS
   ======================================== */

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

:root {
  --slate: #1a1f2e;
  --slate-light: #252b3d;
  --amber: #e67e22;
  --amber-hover: #d35400;
  --bg: #f8f9fa;
  --text: #333;
  --text-light: #666;
  --cost-bg: #fdf2f2;
  --cost-border: #e74c3c;
  --outcome-green: #27ae60;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ---- Container ---- */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #fff;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--amber);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

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

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-small {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ---- Hero ---- */
.hero {
  background: var(--slate);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero h1,
.hero h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-small {
  padding: 3rem 0;
}

/* ---- Sections ---- */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.section-alt {
  background: #fff;
}

/* ---- Problem List ---- */
.problem-list {
  list-style: none;
}

.problem-list li {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--amber);
  margin-bottom: 0.75rem;
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---- Cost of Status Quo ---- */
.section-cost {
  background: var(--cost-bg);
}

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

.cost-grid blockquote {
  padding: 1.25rem;
  border-left: 3px solid var(--cost-border);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

/* ---- Attribute Cards (Useful / Confident) ---- */
.attribute-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ---- Cards ---- */
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--slate);
}

.card-useful {
  border-top: 3px solid var(--amber);
}

.card-confident {
  border-top: 3px solid var(--outcome-green);
}

/* ---- Benefit Grid ---- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ---- Big Answer ---- */
.big-answer {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* ---- Objections ---- */
.objection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.objection h3 {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.objection p {
  color: var(--text);
}

/* ---- Outcome ---- */
.section-outcome {
  background: #f0faf4;
}

.outcome-list {
  list-style: none;
}

.outcome-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
}

.outcome-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--outcome-green);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ---- About ---- */
.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.7;
}

.about-links {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-link {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
}

.about-link:hover {
  text-decoration: underline;
}

.about-bec-logo {
  display: block;
  height: 28px;
  width: auto;
}

.about-linkedin {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #0a66c2;
  font-weight: 500;
}

.about-linkedin:hover {
  text-decoration: underline;
}

.about-github {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--slate);
  font-weight: 500;
}

.about-github:hover {
  text-decoration: underline;
}

/* ---- Git Going Promo (homepage) ---- */
.gg-promo {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.gg-promo-text {
  flex: 1;
}

.gg-promo-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F05033;
  margin-bottom: 0.5rem;
}

.gg-promo-text h2 {
  margin-bottom: 0.75rem;
}

.gg-promo-text > p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.gg-promo-points {
  list-style: none;
  margin-bottom: 1.5rem;
}

.gg-promo-points li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.gg-promo-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #6CC644;
  font-weight: 700;
}

.gg-promo-logo {
  flex-shrink: 0;
  width: 200px;
}

.gg-promo-logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .gg-promo {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }
  .gg-promo-logo {
    width: 160px;
  }
}

/* ---- Vision List ---- */
.vision-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.vision-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  font-size: 1.05rem;
}

.vision-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--outcome-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.vision-close {
  font-style: italic;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ---- Bridge / Cost section extras ---- */
.bridge-close {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate);
}

/* ---- Solution scope note ---- */
.solution-scope {
  margin-top: 2rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ---- Blog Preview ---- */
.blog-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
}

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

.blog-card h3 a:hover {
  color: var(--amber);
}

.blog-card time {
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-card p {
  margin: 0.75rem 0;
  color: var(--text-light);
}

.read-more {
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* ---- Blog List (section.html) ---- */
.blog-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.blog-list-item time {
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-list-item h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.3rem;
}

.blog-list-item h2 a {
  color: var(--slate);
  text-decoration: none;
}

.blog-list-item h2 a:hover {
  color: var(--amber);
}

/* ---- Article (page.html) ---- */
.article {
  padding-top: 2rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
}

.back-link:hover {
  text-decoration: underline;
}

.article time {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.article h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ol,
.article-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
}

.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--amber);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light);
  font-style: italic;
}

.article-content blockquote p {
  margin-bottom: 0;
}

.article-content blockquote p + p {
  margin-top: 0.75rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.footer a:hover {
  color: #fff;
}

.footer-subscribe {
  margin-bottom: 1.5rem;
}

.footer-subscribe h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-subscribe p {
  margin-bottom: 0.75rem;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  max-width: 420px;
  margin: 0 auto;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--slate-light);
  color: #fff;
  font-size: 0.9rem;
}

.subscribe-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--amber);
}

.footer-cta-section {
  margin-bottom: 1.5rem;
}

.footer-cta-section h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.footer-cta-section p {
  margin-bottom: 0.75rem;
}

/* ---- Docs layout ---- */
.docs-layout {
  display: flex;
  min-height: calc(100vh - 64px - 200px);
}

.docs-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--slate);
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-sidebar h3 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.docs-sidebar h3 a {
  color: inherit;
  text-decoration: none;
}

.docs-sidebar h3 a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.docs-sidebar ul {
  list-style: none;
}

.docs-sidebar li a {
  display: block;
  padding: 0.4rem 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}

.docs-sidebar li a:hover {
  background: var(--slate-light);
  color: #fff;
}

.docs-sidebar li.active a {
  background: var(--slate-light);
  color: var(--amber);
  font-weight: 600;
}

.docs-main {
  flex: 1;
  min-width: 0;
  padding: 2rem 3rem;
}

.docs-main .article {
  max-width: 800px;
}

.docs-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
}

.docs-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.docs-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.docs-card h2 a:hover {
  color: var(--amber);
}

.docs-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 3rem 0;
  }

  .cost-grid,
  .attribute-cards,
  .benefit-grid,
  .objection-grid,
  .blog-preview {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }

  .docs-layout {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
  }

  .docs-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .docs-main {
    padding: 1.5rem 1rem;
  }
}
