
:root {
  --bg: #ffffff;
  --surface: #f7f8fb;
  --surface-2: #eef2f7;
  --text: #1f2937;
  --muted: #5b6472;
  --line: #d8dfeb;
  --accent: #1d4ed8;
  --accent-dark: #163ea8;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius: 18px;
  --wrap: 1120px;
}
* { 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;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: .75rem 1rem;
  border-radius: 10px;
  z-index: 99;
  box-shadow: var(--shadow);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216,223,235,.8);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.site-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.site-brand:hover { text-decoration: none; }
.site-tagline { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.site-nav a {
  padding: .65rem .9rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
}
.site-nav a[aria-current="page"], .site-nav a:hover {
  background: var(--surface);
  text-decoration: none;
}
.hero, .article-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid, .article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr);
  gap: 2rem;
  align-items: start;
  padding: 4rem 0 3rem;
}
.hero h1, .article-shell h1 {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 12ch; }
.article-shell h1 { font-size: clamp(2rem, 4.3vw, 3.5rem); max-width: 18ch; }
.eyebrow {
  margin: 0 0 .75rem;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.highlight-box, .card, .sidebar-card, .article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.highlight-box, .sidebar-card, .article-body, .card {
  padding: 1.35rem;
}
.section { padding: 4.5rem 0; }
.alt-bg { background: var(--surface); }
.section-heading { margin-bottom: 1.6rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; }
.card-grid {
  display: grid;
  gap: 1.1rem;
}
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-card h3, .service-card h3, .tool-item h3 { margin-top: .2rem; margin-bottom: .65rem; font-size: 1.15rem; line-height: 1.25; }
.article-card p:last-child, .service-card p:last-child { margin-bottom: 0; }
.text-link { font-weight: 700; }
.narrow-text { max-width: 860px; margin-top: 1.4rem; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr);
  gap: 1.25rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.faq-item + .faq-item { margin-top: .8rem; }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: .8rem 0 0; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li + li { margin-top: .7rem; }
.link-list a { color: var(--text); }
.link-list a:hover { color: var(--accent); }
.review-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.review-card {
  margin: 0;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.review-card p { margin: 0; }
.breadcrumb-wrap { padding-top: 1.2rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .95rem;
}
.article-shell { grid-column: 1 / -1; }
.article-figure {
  margin: 1.5rem 0 1.4rem;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: #fff;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}
.article-body {
  padding: 1.8rem;
}
.article-body h2 {
  margin-top: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}
.article-section + .article-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article-body ul {
  margin: .8rem 0 0;
  padding-left: 1.2rem;
}
.article-body li + li { margin-top: .55rem; }
.inline-quote {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid #f59e0b;
  background: #fffaf0;
  border-radius: 12px;
}
.inline-quote.good-example {
  border-left-color: #10b981;
  background: #effcf6;
}
.sticky-card {
  position: sticky;
  top: 5.75rem;
}
.sidebar-category {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.tool-list {
  display: grid;
  gap: 1rem;
}
.tool-item {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.tool-item p:last-child { margin-bottom: 0; }
.site-footer {
  background: #101725;
  color: #d9e2f2;
  margin-top: 2rem;
}
.site-footer a { color: #ffffff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1fr;
  gap: 1.5rem;
  padding: 3rem 0 2rem;
}
.footer-title {
  margin-top: 0;
  margin-bottom: .8rem;
  font-size: 1.05rem;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0 1.4rem;
}
.footer-bottom p { margin: 0; color: #c0cada; }
@media (max-width: 980px) {
  .hero-grid, .article-layout, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .three-up, .review-grid, .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-card { position: static; }
}
@media (max-width: 720px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .hero-grid, .article-hero-grid { padding: 3rem 0 2.4rem; }
  .section { padding: 3.4rem 0; }
  .three-up, .review-grid, .two-up { grid-template-columns: 1fr; }
  .site-nav { width: 100%; }
  .site-nav a { padding-left: .75rem; padding-right: .75rem; }
  .article-body { padding: 1.2rem; }
}
