@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@700;800;900&display=swap');

:root {
  --teal: #138779;
  --teal-dark: #0d665d;
  --teal-pale: #dff3ee;
  --navy: #18365b;
  --ink: #20342f;
  --muted: #657771;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --gold-pale: #fff3cf;
  --border: #dfe9e4;
  --shadow: 0 16px 42px rgba(29, 65, 56, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
}
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { top: 12px; }
.offer {
  padding: 9px 18px;
  background: var(--gold-pale);
  color: #6f5317;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.site-nav {
  min-height: 76px;
  padding: 4px clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: #edf7f3;
}
.brand img { display: block; width: 118px; height: 68px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--navy); font-size: 14px; font-weight: 800; text-decoration: none; }
.nav-links .nav-cta {
  padding: 10px 16px;
  border-radius: 13px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 22px rgba(19, 135, 121, .2);
}
.guide-hero {
  padding: 88px 22px 78px;
  background: #edf7f3;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid #bcded6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}
h1, h2, h3 { color: var(--navy); font-family: "Nunito", system-ui, sans-serif; }
h1 {
  max-width: 900px;
  margin: 18px auto 16px;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 1.04;
  letter-spacing: -2.4px;
}
.guide-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 19px; }
.editorial-note {
  width: min(760px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.guide-grid {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.guide-card.featured {
  border-color: #bcded6;
  background: linear-gradient(145deg, #fffdf8, #edf7f3);
}
.guide-card .tag { color: var(--teal-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.guide-card h2 { margin: 10px 0 12px; font-size: 27px; line-height: 1.16; }
.guide-card p { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.guide-card a { font-weight: 900; text-decoration: none; }
.article-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  justify-content: center;
  gap: 58px;
}
.article-head { margin-bottom: 42px; }
.article-head .breadcrumb { font-size: 14px; font-weight: 800; }
.article-head h1 { margin: 18px 0 18px; text-align: left; font-size: clamp(39px, 6vw, 62px); }
.article-head .dek { max-width: 680px; margin: 0; color: var(--muted); font-size: 20px; }
.article-meta { margin-top: 20px; color: var(--muted); font-size: 13px; }
.article-body h2 { margin: 48px 0 14px; font-size: 32px; line-height: 1.2; }
.article-body h3 { margin: 30px 0 8px; font-size: 23px; }
.article-body p, .article-body li { max-width: 68ch; }
.article-body li + li { margin-top: 9px; }
.setup-steps li { padding-left: 6px; }
.tutorial-media {
  width: min(100%, 430px);
  margin: 28px auto 34px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.tutorial-media video {
  display: block;
  width: 100%;
  max-height: 700px;
  border-radius: 16px;
  background: var(--navy);
}
.media-note {
  margin: 10px 6px 2px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.checklist {
  padding: 24px 24px 24px 48px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.example, .takeaway {
  margin: 30px 0;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--teal-pale);
}
.example strong, .takeaway strong { color: var(--navy); }
.formula {
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.formula div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.formula div:last-child { border: 0; color: var(--teal-dark); font-weight: 900; }
.article-cta {
  margin-top: 52px;
  padding: 30px;
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
}
.article-cta h2 { margin: 0 0 10px; color: #fff; }
.article-cta p { margin: 0 0 22px; color: #d9e5ec; }
.article-cta p a { color: #fff; font-weight: 700; }
.button {
  display: inline-block;
  padding: 13px 19px;
  border-radius: 14px;
  background: #1aa493;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.sources { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 14px; }
.sources h2 { margin-top: 0; font-size: 23px; }
.disclaimer { color: var(--muted); font-size: 13px; }
.article-aside { position: sticky; top: 24px; align-self: start; }
.aside-card { padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--paper); }
.aside-card strong { display: block; margin-bottom: 10px; color: var(--navy); font-family: "Nunito", sans-serif; font-size: 20px; }
.aside-card a { display: block; padding: 7px 0; font-size: 14px; font-weight: 800; text-decoration: none; }
.site-footer { border-top: 1px solid var(--border); background: var(--paper); }
.footer-inner {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-weight: 800; text-decoration: none; }

@media (max-width: 880px) {
  .guide-grid { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 620px) {
  .offer { font-size: 11px; }
  .site-nav { padding: 4px 16px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .guide-hero { padding-top: 62px; }
  h1 { letter-spacing: -1.4px; }
  .guide-grid, .article-shell { width: min(100% - 28px, 1060px); }
  .article-shell { padding-top: 48px; }
  .article-body h2 { font-size: 28px; }
  .footer-inner { width: min(100% - 28px, 1060px); flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
