:root {
  --bg: #f8f2df;
  --paper: #fffdf8;
  --ink: #0f2d57;
  --ink-soft: #29446a;
  --muted: #6f7785;
  --line: #ead9a7;
  --gold: #f2be3f;
  --navy: #0f2d57;
  --navy-2: #173a72;
  --blue-soft: #edf3ff;
  --shadow: 0 18px 48px rgba(15, 45, 87, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.55), transparent 28%),
    linear-gradient(180deg, #f8d166 0%, #f7c549 16%, #f8efda 58%, #fbf7ed 100%);
  color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  line-height: 1.62;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 84px;
  padding: 12px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  background: rgba(255, 248, 229, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 217, 167, 0.85);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(15, 45, 87, 0.14);
  background: #f7c549;
}
.brand-text strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.05em;
}
.brand-text span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
}
.nav a.active, .nav a:hover { color: var(--navy); }
.user-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-email {
  color: var(--ink-soft);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.app {
  width: min(1200px, calc(100% - 40px));
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 56px 0 90px;
}
.hero, .hero-split, .login-grid {
  display: grid;
  gap: 28px;
}
.hero { grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero-split { grid-template-columns: 1.05fr .95fr; align-items: start; }
.login-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }

.hero-kicker, .eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.07em;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: -.05em;
  margin-bottom: 14px;
}
h3 {
  font-size: 22px;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}
.panel,
.card,
.topic-card,
.auth-card,
.report-preview,
.saved-card,
.stat,
.showcase,
.value-card,
.login-feature,
.highlight-card,
.notice,
.guide-card {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(234, 217, 167, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.panel { padding: 28px; }
.card, .saved-card, .topic-card, .value-card, .login-feature, .highlight-card { padding: 22px; box-shadow: none; }
.auth-card { padding: 30px; }
.notice { padding: 18px 20px; background: #fff5cf; color: #664d00; }
.guide-card { padding: 28px; }

.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .18s ease;
}
.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 45, 87, 0.20);
}
.btn.primary:hover { transform: translateY(-1px); background: var(--navy-2); }
.btn.ghost, .btn.secondary {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.btn.secondary { background: var(--blue-soft); }
.btn.ghost:hover, .btn.secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn.block { width: 100%; }
.btn.small { padding: 8px 12px; font-size: 13px; }

label {
  display: block;
  margin: 16px 0 7px;
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  background: #fffefb;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(15,45,87,.10);
  border-color: var(--navy);
}
.help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }
.muted { color: var(--muted); }
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff3c6;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 14px;
}
.showcase {
  padding: 28px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255,255,255,.6), transparent 24%),
    linear-gradient(180deg, rgba(255,249,234,0.92), rgba(255,255,255,0.92));
}
.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.mini-pills span, .badge, .chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 900;
}
.mini-pills span, .chip { background: #f4f7ff; color: var(--ink-soft); }
.badge { background: #eef4ff; color: var(--navy); }
.highlight-card ul { margin: 0; padding-left: 18px; }
.highlight-card li { margin: 8px 0; color: var(--ink-soft); }

.login-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.login-feature h3, .value-card h3 { font-size: 19px; margin-bottom: 8px; }
.login-feature p, .value-card p, .topic-card p { color: var(--muted); margin-bottom: 0; }

.search-layout { display: grid; grid-template-columns: 330px 1fr; gap: 26px; align-items: start; }
.builder-layout { display: grid; grid-template-columns: 420px 1fr; gap: 26px; align-items: start; }
.sticky { position: sticky; top: 102px; }
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.topic-list, .saved-list { display: grid; gap: 14px; }
.topic-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.topic-title { font-size: 20px; line-height: 1.35; margin-bottom: 8px; }
.topic-detail {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.topic-detail strong { color: var(--ink); }

.report-preview { min-height: 680px; padding: 30px; }
.report-preview h3 {
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 18px;
}
.report-preview .small-title { border: 0; padding: 0; margin: 26px 0 8px; font-size: 18px; }
.report-preview ol { padding-left: 22px; }
.report-preview li { margin: 13px 0; }
.report-preview .empty { color: var(--muted); text-align: center; padding: 90px 0; }
.inline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.saved-card .date { color: var(--muted); font-size: 13px; }
.guide-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.guide-step:last-child { border-bottom: 0; }
.step-no {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #eef4ff;
  color: var(--navy);
  font-weight: 900;
  display: grid;
  place-items: center;
}
.section-block { margin-top: 40px; }
.section-title { margin-bottom: 16px; }
.section-title p { color: var(--muted); }

.footer {
  margin-top: 22px;
  border-top: 1px solid rgba(234, 217, 167, 0.95);
  background: rgba(255, 248, 229, 0.75);
  padding: 26px 20px 34px;
}
.footer-inner {
  width: min(1200px, calc(100% - 20px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  background: #f7c549;
}
.footer-brand strong { display: block; margin-bottom: 4px; }
.footer-brand p, .footer-copy p { margin: 0; color: var(--muted); font-size: 14px; }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 100;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media print {
  body { background: #fff; }
  .topbar, .footer, .builder-layout > .panel, .actions, .toast { display: none !important; }
  .app { width: 100%; padding: 0; }
  .report-preview { border: 0; box-shadow: none; min-height: auto; }
}

@media (max-width: 1020px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .hero,
  .hero-split,
  .login-grid,
  .grid-2,
  .grid-3,
  .search-layout,
  .builder-layout,
  .inline-row,
  .login-side-grid {
    grid-template-columns: 1fr;
  }
  .sticky { position: static; }
  .brand-text strong { font-size: 20px; }
  .brand-logo { width: 54px; height: 54px; }
}


/* Ebook product section */
.ebook-section {
  scroll-margin-top: 110px;
}
.ebook-hero-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(234, 217, 167, 0.95);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 18%, rgba(255,255,255,.72), transparent 30%),
    linear-gradient(135deg, rgba(255,253,248,.96), rgba(255,239,184,.88));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ebook-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 4px;
}
.ebook-flow span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 900;
  font-size: 13px;
  color: var(--ink-soft);
}
.ebook-flow strong {
  color: var(--gold);
}
.ebook-hero-images {
  position: relative;
  min-height: 320px;
}
.ebook-hero-img {
  position: absolute;
  width: 72%;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15,45,87,.18);
  border: 1px solid rgba(255,255,255,.75);
  background: #fff;
}
.ebook-hero-img-1 {
  right: 18%;
  top: 10px;
  z-index: 3;
  transform: rotate(-2deg);
}
.ebook-hero-img-2 {
  right: 2%;
  top: 52px;
  z-index: 2;
  transform: rotate(3deg) scale(.92);
}
.ebook-hero-img-3 {
  right: 28%;
  top: 120px;
  z-index: 1;
  transform: rotate(-5deg) scale(.84);
  opacity: .92;
}
.ebook-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
}
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.ebook-card {
  background: rgba(255, 253, 248, .94);
  border: 1px solid rgba(234, 217, 167, .95);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ebook-thumb-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #fff, #fff5d6);
  overflow: hidden;
}
.ebook-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}
.ebook-card:hover .ebook-thumb {
  transform: scale(1.03);
}
.ebook-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ebook-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 0;
}
.ebook-subtitle {
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 0;
}
.ebook-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.ebook-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.ebook-points span {
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff3c6;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
}
.ebook-cta-band {
  margin-top: 20px;
  padding: 26px;
  border-radius: 26px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}
.ebook-cta-band .eyebrow {
  color: var(--gold);
}
.ebook-cta-band h3 {
  margin-bottom: 6px;
}
.ebook-cta-band p {
  color: rgba(255,255,255,.74);
  margin-bottom: 0;
}
.ebook-cta-band .btn.primary {
  background: #fff;
  color: var(--navy);
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .ebook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ebook-hero-panel,
  .ebook-cta-band {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1020px) {
  .ebook-hero-panel {
    grid-template-columns: 1fr;
  }
  .ebook-hero-images {
    min-height: 260px;
  }
  .ebook-title-row,
  .ebook-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 620px) {
  .ebook-grid {
    grid-template-columns: 1fr;
  }
  .ebook-hero-panel {
    padding: 24px;
  }
  .ebook-hero-images {
    min-height: 210px;
  }
}


/* StrongSci brand system */
.brand-sci-section {
  position: relative;
}
.brand-sci-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(234, 217, 167, 0.95);
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.68), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 248, .95), rgba(255, 241, 190, .88));
  box-shadow: var(--shadow);
}
.brand-sci-copy h2 {
  margin-bottom: 14px;
}
.brand-sci-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.brand-sci-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f4f7ff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}
.brand-sci-motto {
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 24px;
  padding: 26px;
  background: var(--navy);
  color: #fff;
  min-height: 230px;
}
.brand-sci-motto strong {
  display: block;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -.06em;
  margin-bottom: 16px;
}
.brand-sci-motto p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  font-weight: 800;
}
.sci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.sci-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(234, 217, 167, 0.95);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}
.sci-letter {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fff3c6;
  color: var(--navy);
  font-size: 26px;
  font-weight: 950;
}
.sci-card h3 {
  margin-bottom: 6px;
}
.sci-card p {
  margin: 0;
  color: var(--muted);
}
.brand-sci-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(234, 217, 167, 0.95);
  background: rgba(255, 253, 248, 0.92);
}
.brand-sci-note strong {
  color: var(--navy);
}
.brand-sci-note span {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .brand-sci-panel,
  .sci-grid,
  .brand-sci-note {
    grid-template-columns: 1fr;
  }
  .brand-sci-motto {
    min-height: 190px;
  }
}

/* v3.6 navigation hover refinement */
.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  transition:
    color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.nav a:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 18px rgba(15, 45, 87, 0.10);
  transform: translateY(-1px);
}

.nav a.active {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(15, 45, 87, 0.18);
}

.nav a.active:hover {
  color: #fff;
  background: var(--navy-2);
  transform: translateY(-1px);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .18s ease;
}

.nav a:hover::after {
  width: 42%;
}

.nav a.active::after {
  width: 0;
}

.user-area .btn.ghost:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}


/* v4 detailed topic DB refinements */
.topic-card {
  overflow: hidden;
}
.topic-detail div {
  line-height: 1.55;
}
#filterKeyword::placeholder {
  color: #98a2b3;
}
@media (max-width: 1020px) {
  .result-toolbar {
    align-items: flex-start;
  }
}

/* v4.4 responsive search panel scroll */
@media (min-width: 1021px) {
  .search-layout > .panel.sticky {
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 45, 87, 0.18) transparent;
  }

  .search-layout > .panel.sticky::-webkit-scrollbar {
    width: 6px;
  }

  .search-layout > .panel.sticky::-webkit-scrollbar-thumb {
    background: rgba(15, 45, 87, 0.16);
    border-radius: 999px;
  }

  .search-layout > .panel.sticky::-webkit-scrollbar-track {
    background: transparent;
  }
}

@media (max-width: 1020px) {
  .search-layout > .panel.sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* v5.1 public free platform header */
.hidden {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav-panel {
  display: none;
}

.premium-roadmap .value-card {
  border-style: dashed;
}

@media (min-width: 761px) {
  .desktop-nav {
    display: flex;
  }

  .desktop-nav.hidden {
    display: none !important;
  }

  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    min-height: 78px;
    padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  }

  .mobile-menu-btn {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    cursor: pointer;
  }

  .mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--navy);
    transition: transform .18s ease, opacity .18s ease;
  }

  .mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    width: auto;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .brand-logo,
  .brand img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    display: block;
    font-size: 25px;
    line-height: 1.05;
    white-space: nowrap;
  }

  .brand-text span {
    display: block;
    font-size: 12px;
    white-space: nowrap;
  }

  .desktop-nav,
  #mainNav,
  #mainNav.nav {
    display: none !important;
  }

  .user-area {
    display: none !important;
  }

  .mobile-nav-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 45, 87, 0.08);
  }

  .mobile-nav-panel.hidden {
    display: none !important;
  }

  .mobile-nav-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--navy);
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    word-break: keep-all;
    text-decoration: none;
  }

  .mobile-nav-panel a.active {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 45, 87, 0.18);
  }

  .mobile-nav-panel a::after {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .topbar {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    gap: 8px;
  }

  .mobile-menu-btn {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-btn span {
    width: 26px;
  }

  .brand-logo,
  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 23px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .mobile-nav-panel {
    gap: 6px;
  }

  .mobile-nav-panel a {
    height: 40px;
    font-size: 13px;
  }
}


/* v5.2 lead-generation positioning copy refinement */
.premium-roadmap .value-card {
  border-style: solid;
}


/* v5.3 site-ready copy refinement */
.ebook-cta-band .eyebrow {
  color: var(--gold);
}

/* v5.4 summary card refinement */
.platform-summary-card {
  border: 1px solid rgba(190, 143, 35, 0.28);
  border-radius: 28px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 80, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 42px rgba(15, 45, 87, 0.08);
}

.summary-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.summary-number {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--navy);
  line-height: 1;
}

.summary-number strong {
  font-size: clamp(52px, 7vw, 82px);
  letter-spacing: -0.06em;
}

.summary-number span {
  font-size: 26px;
  font-weight: 900;
}

.summary-desc {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(190, 143, 35, 0.22);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 45, 87, 0.05);
}

.flow-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
}

.flow-list li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 45, 87, 0.08);
}

.flow-list li:last-child {
  border-bottom: 0;
}

.flow-list strong {
  color: var(--navy);
  font-size: 17px;
}

.flow-list span {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .platform-summary-card {
    padding: 22px;
    border-radius: 24px;
  }

  .summary-number strong {
    font-size: 58px;
  }

  .summary-desc {
    font-size: 16px;
  }

  .summary-chips {
    gap: 8px;
  }

  .summary-chips span {
    min-height: 36px;
    padding: 0 13px;
    font-size: 14px;
  }
}

/* v5.5 blog examples and conversion flow */
.inline-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(190, 143, 35, 0.22);
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 34px rgba(15, 45, 87, 0.06);
  margin: 22px 0;
}

.inline-cta strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 5px;
}

.inline-cta span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.example-cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 320px);
  gap: 34px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 30px;
  padding: 34px 36px;
  box-shadow: 0 20px 38px rgba(15, 45, 87, 0.18);
}

.example-cta-copy {
  min-width: 0;
}

.example-cta-section .eyebrow {
  color: var(--gold);
  margin-bottom: 10px;
}

.example-cta-section h2,
.example-cta-section p {
  color: #fff;
}

.example-cta-section h2 {
  line-height: 1.28;
  margin-bottom: 14px;
}

.example-cta-section p {
  opacity: .9;
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 860px;
}

.example-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  justify-content: center;
}

.example-cta-actions .btn {
  width: 100%;
  min-height: 52px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.checklist-card {
  border: 1px solid rgba(190, 143, 35, 0.22);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 16px 30px rgba(15, 45, 87, 0.06);
}

.checklist-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.checklist-card span {
  color: var(--muted);
  line-height: 1.6;
}

.report-note {
  border: 1px solid rgba(190, 143, 35, 0.22);
  background: rgba(255, 249, 230, 0.75);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.6;
}

.example-hero-section .hero-actions {
  margin-top: 20px;
}

@media (min-width: 761px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    gap: 6px;
  }

  .desktop-nav a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 760px) {
  .mobile-nav-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .inline-cta,
  .example-cta-section {
    grid-template-columns: 1fr;
  }

  .inline-cta {
    align-items: flex-start;
  }

  .example-cta-section {
    padding: 26px 22px;
    gap: 18px;
  }

  .example-cta-section h2 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .example-cta-actions {
    justify-content: flex-start;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

/* v5.7 report example CTA wide-card fix */
.example-cta-section {
  width: 100%;
  min-height: 260px;
  padding: 46px 52px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 340px) !important;
  gap: 42px !important;
  align-items: center !important;
  border-radius: 34px !important;
  overflow: hidden;
}

.example-cta-copy {
  min-width: 0;
  max-width: 920px;
}

.example-cta-section .eyebrow {
  display: block;
  margin-bottom: 14px !important;
  letter-spacing: .12em;
}

.example-cta-section h2 {
  margin: 0 0 18px !important;
  line-height: 1.22 !important;
  letter-spacing: -0.05em;
  max-width: 920px;
}

.example-cta-section p {
  max-width: 860px;
  line-height: 1.9 !important;
  font-size: 17px;
}

.example-cta-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  align-self: center;
}

.example-cta-actions .btn {
  width: 100%;
  min-height: 56px;
  padding-left: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .example-cta-section {
    grid-template-columns: 1fr !important;
    min-height: 300px;
    padding: 42px 40px !important;
    gap: 28px !important;
  }

  .example-cta-section h2 {
    max-width: 980px;
  }

  .example-cta-section p {
    max-width: 980px;
  }

  .example-cta-actions {
    grid-template-columns: repeat(2, minmax(180px, 240px)) !important;
    justify-content: start !important;
  }
}

@media (max-width: 760px) {
  .example-cta-section {
    min-height: auto;
    padding: 34px 26px !important;
    border-radius: 28px !important;
  }

  .example-cta-section h2 {
    font-size: clamp(30px, 7vw, 42px);
  }

  .example-cta-section p {
    font-size: 16px;
  }

  .example-cta-actions {
    grid-template-columns: 1fr !important;
  }
}
