:root {
  color-scheme: light;
  --ink: #03142f;
  --navy: #061f49;
  --blue: #058ee8;
  --blue-text: #006fba;
  --cyan: #08c7ef;
  --gold: #ffc414;
  --gold-dark: #e3a600;
  --paper: #f7fbff;
  --line: #d8e8f5;
  --muted: #55708d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(3, 20, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible,
.button:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: var(--white);
  border-bottom: 1px solid rgba(216, 232, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: min(220px, 42vw);
  height: auto;
}

.brand picture {
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--navy);
}

nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: var(--gold);
  border-radius: 6px;
}

main {
  overflow: hidden;
}

.hero {
  display: block;
  align-items: center;
  min-height: 58vh;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.1rem, 5vw, 5rem) 3rem;
}

.hero-copy {
  max-width: 100%;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue-text);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 1.25rem;
  font-size: clamp(2.55rem, 7vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--navy);
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  color: var(--navy);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  line-height: 1.18;
  color: var(--navy);
}

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

.lead {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 1rem;
}

.header-social a {
  color: #1a1a2e;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  line-height: 0;
}

.header-social a:hover {
  opacity: 1;
  color: var(--gold);
}

.header-social svg {
  width: 60px;
  height: 60px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.primary,
.product-button {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 24px rgba(227, 166, 0, 0.2);
}

.secondary,
.buy-button {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(1.1rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.intro-copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.1rem, 5vw, 5rem) 1rem;
}

.intro-copy p:not(.eyebrow) {
  max-width: 760px;
  color: #405a75;
}

.intro-copy > div:first-child {
  margin-left: clamp(1.25rem, 2.5vw, 1.75rem);
}

.topic-guides {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.1rem, 5vw, 5rem);
}

.topic-guides > .section-heading {
  margin-left: clamp(1.25rem, 2.5vw, 1.75rem);
}

.topic-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.topic-guide-card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(3, 20, 47, 0.08);
}

.topic-guide-card h3 {
  margin-top: 0;
  line-height: 1.3;
}

.topic-guide-card h3 a,
.topic-guide-link {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.topic-guide-card p {
  color: var(--muted);
}

.topic-guide-link {
  color: var(--blue-text);
  font-weight: 800;
}

.trust-strip span {
  padding: 1rem;
  text-align: center;
  font-weight: 900;
  color: var(--navy);
  background: var(--white);
}

.products,
.about {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card.featured {
  border-top-color: var(--gold);
}

.product-cover {
  display: block;
  margin: 0 0 1.15rem;
  overflow: hidden;
  background: linear-gradient(135deg, #eef8ff, #ffffff);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.product-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  padding: 0.75rem;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--navy);
  background: #e9f7ff;
  border: 1px solid #bfe8ff;
}

.product-intro {
  font-weight: 900;
  color: var(--blue-text);
}

.product-card p {
  color: #405a75;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  width: 100%;
  margin-top: auto;
}

.product-actions .button {
  width: 100%;
}

.product-detail {
  max-width: 1180px;
  min-height: 72vh;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.1rem, 5vw, 5rem);
}

.detail-cover {
  max-width: min(360px, 82vw);
  margin: 1.8rem auto 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  padding: 0.9rem;
}

.detail-copy {
  max-width: 760px;
  color: #405a75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin: 1.6rem 0 2.2rem;
}

.detail-meta span {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  color: var(--navy);
  background: var(--white);
}

.detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.detail-panel {
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(3, 20, 47, 0.08);
}

.detail-panel h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.detail-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #405a75;
}

.detail-panel li + li {
  margin-top: 0.5rem;
}

.related-products {
  display: grid;
  gap: 0.85rem;
  margin-top: 3rem;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-card span {
  font-weight: 900;
}

.faq {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.1rem, 5vw, 5rem);
  background: rgba(255, 255, 255, 0.72);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 980px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(3, 20, 47, 0.08);
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 900;
  color: var(--navy);
}

.faq-list p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: #405a75;
}

.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 5vw, 4rem);
  background: var(--navy);
  color: var(--white);
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about p:last-child {
  max-width: 780px;
  color: #d8edff;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.1rem, 5vw, 5rem);
  color: #d8edff;
  background: #020b1c;
}

footer a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header,
  footer {
    align-items: center;
    flex-direction: column;
    gap: 0.85rem;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 520px;
    gap: 0.55rem;
  }

  nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    text-align: center;
  }

  .brand img {
    width: 148px;
  }

  .intro-copy,
  .hero,
  .about,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .trust-strip,
  .product-grid,
  .topic-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
    padding: 0.8rem 0.85rem;
  }

  .brand img {
    width: 128px;
  }

  nav {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    font-size: 0.92rem;
  }

  nav a {
    width: 100%;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-actions .button {
    width: 100%;
  }

  .topic-guides > .section-heading {
    margin-left: 0;
  }

  .intro-copy > div:first-child {
    margin-left: 0;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.8rem;
  }

  .products,
  .intro-copy,
  .topic-guides,
  .faq,
  .about,
  .product-detail {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .trust-strip {
    margin-left: 0.9rem;
    margin-right: 0.9rem;
  }

  .product-card,
  .detail-panel,
  .faq-list details {
    box-shadow: 0 8px 24px rgba(3, 20, 47, 0.08);
  }

  .related-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Amazon Books Eye-Catcher */
.amazon-books {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 60px 40px;
  margin: 60px 0;
  border-radius: 16px;
  text-align: center;
}

.amazon-books-content {
  max-width: 900px;
  margin: 0 auto;
}

.amazon-books .eyebrow {
  font-size: 14px;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.amazon-books h2 {
  font-size: 32px;
  color: #031c3f;
  margin-bottom: 15px;
}

.amazon-books > .amazon-books-content > p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 30px;
}

.amazon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.amazon-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.amazon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.amazon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff9900;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.amazon-info h3 {
  font-size: 20px;
  color: #031c3f;
  margin-bottom: 10px;
  margin-top: 0;
}

.amazon-info p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 15px;
}

.amazon-price {
  display: inline-block;
  background: #232f3e;
  color: #ff9900;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.amazon-note {
  font-size: 14px;
  color: #718096;
  font-style: italic;
}

@media (max-width: 768px) {
  .amazon-grid {
    grid-template-columns: 1fr;
  }
  
  .amazon-books {
    padding: 40px 20px;
  }
  
  .amazon-books h2 {
    font-size: 24px;
  }
}

.blog-post {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.1rem, 5vw, 5rem);
}

.blog-hero {
  position: relative;
  margin: -2rem 0 2rem;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.blog-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.blog-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(transparent, rgba(3, 20, 47, 0.8));
  color: var(--white);
}

.blog-hero-text .eyebrow {
  color: var(--gold);
}

.blog-hero-text h1 {
  color: var(--white);
  margin-top: 0.5rem;
}

.blog-hero-text .lead {
  color: #d8edff;
  max-width: 600px;
}

.blog-content {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(1.5rem, 5vw, 5rem);
  color: var(--ink);
  line-height: 1.75;
}

.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.65rem;
  color: var(--navy);
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.blog-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: rgba(255, 196, 20, 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
}

.blog-content blockquote p {
  margin: 0;
}

.blog-ebook-link {
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 3px solid var(--blue);
}

.blog-ebook-link h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.blog-ebook-link p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 768px) {
  .blog-post {
    padding: 2rem 1rem;
  }

  .blog-hero-text {
    position: static;
    padding: 2rem 1rem 1.5rem;
    background: var(--navy);
  }

  .blog-hero-text h1 {
    font-size: 1.8rem;
  }

  .blog-content {
    padding-left: 1rem;
  }

  .blog-content blockquote {
    padding: 0.75rem 1rem;
  }

  .blog-ebook-link {
    margin: 1rem 0;
    padding: 1rem;
  }
}

/* ——— Blog Article Redesign ——— */

.blog-hero {
  max-width: 1600px;
  margin: -2rem auto 0;
  border-radius: 8px;
  overflow: hidden;
}

.blog-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.blog-body {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 5vw, 5rem);
}

.blog-meta {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.blog-meta .eyebrow {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.blog-meta h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
}

.blog-meta .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
}

.blog-content {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  color: var(--ink);
  line-height: 1.75;
}

.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.55rem;
  color: var(--navy);
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.blog-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: rgba(255, 196, 20, 0.06);
  border-radius: 0 8px 8px 0;
}

.blog-content blockquote p {
  margin: 0;
}

.blog-ebook-link {
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 3px solid var(--blue);
}

.blog-ebook-link h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.blog-ebook-link p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 768px) {
  .blog-hero {
    margin: 0 auto;
    border-radius: 0;
  }

  .blog-body {
    padding: 0 1rem;
  }

  .blog-meta h1 {
    font-size: 1.7rem;
  }

  .blog-content {
    padding-left: 1rem;
  }
}
