:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293b;
  background: #fff;
  font-synthesis: none;
  --ink: #10213f;
  --muted: #526177;
  --line: #dce4ee;
  --soft: #f4f7fb;
  --blue: #2563eb;
  --blue-dark: #1849ad;
  --cyan: #0f8da5;
  --green: #147d5b;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ad-placement { min-height: 118px; margin-block: 36px; padding: 22px; display: grid; align-content: center; border-block: 1px solid var(--line); background: #f8fafc; text-align: center; }
.ad-placement > span { margin-bottom: 10px; color: #7b8798; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ad-placement .adsbygoogle { width: 100%; min-height: 70px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 780; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--blue); font: 800 15px/1 ui-monospace, monospace; box-shadow: 0 8px 22px rgba(37,99,235,.2); }
.main-nav { display: flex; align-items: center; gap: 30px; color: #334155; font-size: 14px; font-weight: 650; }
.main-nav > a { transition: color .2s ease; }
.main-nav > a:hover { color: var(--blue); }
.nav-search { min-width: 112px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; color: #475569; background: #f8fafc; }
.nav-search svg { width: 17px; }
.nav-toggle { display: none; padding: 8px; border: 0; color: var(--ink); background: transparent; }

.hero { position: relative; overflow: hidden; padding: 92px 0 84px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(#d7e0ec 1px, transparent 1px), linear-gradient(90deg, #d7e0ec 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, #000, transparent 74%); }
.hero::after { content: ""; position: absolute; right: -180px; top: -250px; width: 620px; height: 620px; border: 110px solid rgba(37,99,235,.06); border-radius: 50%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(320px,.7fr); gap: 80px; align-items: center; }
.eyebrow { display: inline-block; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.hero h1, .page-hero h1, .article-header h1 { margin: 18px 0 22px; max-width: 800px; color: var(--ink); font-family: var(--serif); font-size: clamp(45px, 6.5vw, 82px); font-weight: 500; line-height: .99; letter-spacing: -.055em; }
.hero h1 em { color: var(--blue); font-weight: inherit; }
.hero-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-search { max-width: 700px; min-height: 66px; margin-top: 34px; padding: 7px 7px 7px 20px; display: flex; align-items: center; gap: 12px; border: 1px solid #cfd9e6; border-radius: 12px; background: #fff; box-shadow: 0 18px 50px rgba(20,44,84,.1); }
.hero-search svg { flex: none; color: #64748b; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.hero-search button, .button { min-height: 50px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--blue); border-radius: 8px; color: #fff; font-weight: 750; background: var(--blue); transition: background .2s ease, border-color .2s ease; }
.hero-search button:hover, .button:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.hero-search input:focus-visible, .library-search input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(37,99,235,.3); outline-offset: 3px; }
.popular-searches { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; color: #64748b; font-size: 13px; }
.popular-searches a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.hero-proof { padding: 26px; border: 1px solid rgba(148,163,184,.45); border-radius: 14px; background: rgba(255,255,255,.82); backdrop-filter: blur(8px); box-shadow: 0 18px 60px rgba(15,23,42,.08); }
.proof-label { padding-bottom: 18px; border-bottom: 1px solid var(--line); color: #64748b; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.hero-proof ol { margin: 0; padding: 0; list-style: none; }
.hero-proof li { padding: 20px 0; display: grid; grid-template-columns: 36px 1fr; gap: 10px; border-bottom: 1px solid var(--line); }
.hero-proof li:last-child { padding-bottom: 0; border: 0; }
.hero-proof li > span { color: var(--blue); font: 700 13px/1 ui-monospace, monospace; }
.hero-proof strong, .hero-proof small { display: block; }
.hero-proof strong { margin-top: -4px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.hero-proof small { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.section { padding-block: 82px; }
.section-tint { border-block: 1px solid var(--line); background: var(--soft); }
.section-head { margin-bottom: 32px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-head h2, .tool-callout h2, .article-cta h2 { margin: 9px 0 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.text-link, .card-link { color: var(--blue-dark); font-size: 14px; font-weight: 750; }
.text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-note { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.6; }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.category-card { min-height: 270px; padding: 30px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); transition: background .2s ease; }
.category-card:last-child { border: 0; }
.category-card:hover { background: #f8fbff; }
.category-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #eaf1ff; }
.category-card strong { margin-top: 38px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.category-card p { margin: 10px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.category-card > span:last-child { margin-top: auto; color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { min-height: 310px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.guide-card:hover { border-color: #a9bfe7; box-shadow: 0 12px 34px rgba(20,44,84,.07); }
.guide-meta { display: flex; justify-content: space-between; gap: 15px; color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.guide-meta span { color: var(--cyan); }
.guide-card h2, .guide-card h3 { margin: 26px 0 13px; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.18; letter-spacing: -.025em; }
.guide-card p { margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.68; }
.guide-card .card-link { margin-top: auto; }

.tool-callout { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.8fr); gap: 80px; align-items: center; }
.tool-callout p { max-width: 580px; margin: 18px 0 26px; color: var(--muted); line-height: 1.7; }
.code-window { overflow: hidden; border: 1px solid #263b5d; border-radius: 13px; color: #cdd8ea; background: #0e1b31; box-shadow: 0 26px 60px rgba(14,27,49,.22); }
.code-bar { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #263b5d; background: #13233d; }
.code-bar i { width: 8px; height: 8px; border-radius: 50%; background: #52657e; }
.code-bar i:first-child { background: #e86f62; }
.code-bar i:nth-child(2) { background: #e0ad46; }
.code-bar i:nth-child(3) { background: #42a778; }
.code-bar span { margin-left: auto; color: #8293ac; font: 11px ui-monospace, monospace; }
.code-window pre { margin: 0; padding: 34px; font: 14px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-window code span { color: #7dd3fc; }.code-window code em { color: #86efac; font-style: normal; }.code-window code strong { color: #f9a8d4; }.code-window code b { color: #e2e8f0; }

.page-main { min-height: 70vh; }
.page-hero { padding-top: 80px; }
.page-hero.compact { max-width: 900px; margin-inline: auto; }
.page-hero h1 { margin-block: 15px; font-size: clamp(42px, 6vw, 70px); }
.page-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.library-search { max-width: 820px; min-height: 58px; margin-top: 30px; padding: 0 18px; display: flex; align-items: center; gap: 12px; border: 1px solid #cfd9e6; border-radius: 10px; box-shadow: 0 12px 38px rgba(20,44,84,.07); }
.library-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.library-search kbd { padding: 3px 8px; border: 1px solid var(--line); border-radius: 5px; color: #64748b; background: #f8fafc; font-size: 11px; }
.result-count { margin: 0 0 18px; color: #64748b; font-size: 13px; font-weight: 700; }
.empty-filter { padding: 50px; border: 1px dashed #b9c5d4; border-radius: 12px; color: var(--muted); text-align: center; }

.article-main { background: #fff; }
.article-shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 90px; }
.article-header { max-width: 850px; }
.back-link { display: inline-block; margin-bottom: 35px; color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.article-header h1 { margin-block: 22px; font-size: clamp(42px, 6vw, 70px); line-height: 1.04; }
.article-header > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.article-layout { margin-top: 58px; padding-top: 52px; display: grid; grid-template-columns: 220px minmax(0,720px); gap: 70px; border-top: 1px solid var(--line); }
.article-aside { align-self: start; padding: 18px; border-left: 3px solid var(--blue); color: var(--ink); background: #f4f7fb; }
.article-aside strong { font-size: 13px; }
.article-aside p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.prose { color: #27364e; font-size: 17px; line-height: 1.85; }
.prose.narrow { max-width: 760px; }
.prose h2 { margin: 2.1em 0 .65em; color: var(--ink); font-family: var(--serif); font-size: 31px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; color: var(--ink); }
.prose a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose code { padding: 2px 5px; border-radius: 4px; color: #9f1239; background: #fff1f2; font-size: .9em; }
.prose pre { overflow-x: auto; padding: 20px; border-radius: 10px; color: #dbeafe; background: #0f1f38; }
.prose pre code { padding: 0; color: inherit; background: transparent; }
.article-cta { padding: 60px max(20px, calc((100vw - 1100px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; background: #10213f; }
.article-cta .eyebrow { color: #78a7ff; }.article-cta h2 { font-size: 36px; }.article-cta p { margin-bottom: 0; color: #b7c3d5; }

.tool-grid { max-width: 760px; }
.tool-card { padding: 28px; display: grid; grid-template-columns: 50px 1fr; gap: 22px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.tool-card:hover { border-color: #a9bfe7; box-shadow: 0 12px 34px rgba(20,44,84,.07); }
.tool-card strong { font-family: var(--serif); font-size: 23px; }.tool-card p { margin: 9px 0 18px; color: var(--muted); line-height: 1.65; }.tool-card div > span { color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.editor-note { max-width: 760px; margin-top: 24px; padding: 20px 24px; border-left: 3px solid #94a3b8; background: #f8fafc; }.editor-note p { margin: 7px 0 0; color: var(--muted); line-height: 1.6; }
.tool-workspace { margin-top: 52px; overflow: hidden; border: 1px solid #cbd5e1; border-radius: 14px; background: #f8fafc; box-shadow: 0 18px 55px rgba(20,44,84,.08); }
.tool-toolbar { min-height: 60px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fff; }
.privacy-pill { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; font-weight: 750; }.privacy-pill span { width: 8px; height: 8px; border-radius: 50%; background: #22a477; box-shadow: 0 0 0 4px #e3f7ef; }
.quiet-button { padding: 8px 10px; border: 0; color: #475569; background: transparent; font-size: 12px; font-weight: 700; }.quiet-button:hover { color: var(--blue); }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; }
.editor-pane { min-width: 0; padding: 18px; }.editor-pane + .editor-pane { border-left: 1px solid var(--line); }
.editor-pane > label, .editor-label label { color: #475569; font-size: 12px; font-weight: 750; }
.editor-label { display: flex; justify-content: space-between; }.editor-label button { border: 0; color: var(--blue-dark); background: transparent; font-size: 12px; font-weight: 750; }
.editor-pane textarea { width: 100%; height: 360px; margin-top: 10px; padding: 16px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; color: #dbeafe; background: #0f1f38; font: 13px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tool-status { min-height: 45px; margin: 0; padding: 13px 18px; border-top: 1px solid var(--line); color: #64748b; background: #fff; font-size: 12px; }.tool-status.success { color: var(--green); }.tool-status.error { color: #b42318; }
.format-button { margin: 0 18px 18px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.contact-card { padding: 32px; border: 1px solid var(--line); border-radius: 12px; }.contact-card > span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.contact-card h2 { margin: 15px 0 9px; font-family: var(--serif); font-size: 28px; }.contact-card p { color: var(--muted); line-height: 1.65; }.contact-card a { color: var(--blue-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }.launch-warning { margin-bottom: 70px; padding: 18px 22px; border: 1px solid #f0cf8f; border-radius: 9px; color: #75520f; background: #fff9e9; }

.site-footer { padding: 58px 0 24px; color: #cbd5e1; background: #0d1b30; }
.footer-grid { display: grid; grid-template-columns: 1.7fr .6fr .6fr; gap: 70px; }.footer-brand { color: #fff; }.footer-grid > div:first-child p { max-width: 430px; color: #8fa0b8; line-height: 1.7; }.footer-links { display: grid; align-content: start; gap: 12px; font-size: 13px; }.footer-links strong { margin-bottom: 7px; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }.footer-links a { color: #a9b7ca; }.footer-links a:hover { color: #fff; }.footer-bottom { margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #253550; color: #71829a; font-size: 11px; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width: 900px) {
  .hero-grid, .tool-callout { grid-template-columns: 1fr; gap: 44px; }.hero-proof { max-width: 600px; }.category-grid, .guide-grid { grid-template-columns: 1fr 1fr; }.category-card:nth-child(2) { border-right: 0; }.category-card:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }.article-layout { grid-template-columns: 1fr; gap: 26px; }.article-aside { max-width: 500px; }.footer-grid { grid-template-columns: 1.4fr .6fr .6fr; gap: 35px; }
}
@media (max-width: 680px) {
  .shell, .article-shell { width: min(100% - 28px, 1180px); }.nav-shell { min-height: 68px; }.nav-toggle { display: grid; place-items: center; }.main-nav { position: absolute; left: 14px; right: 14px; top: 60px; padding: 16px; display: none; align-items: stretch; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 18px 42px rgba(15,23,42,.13); }.main-nav.open { display: flex; }.main-nav > a { padding: 11px; }.nav-search { min-width: 0; }.hero { padding: 62px 0; }.hero h1 { font-size: 47px; }.hero-copy > p { font-size: 16px; }.hero-search { min-height: 60px; padding-left: 14px; }.hero-search button { min-height: 44px; padding-inline: 15px; }.section { padding-block: 60px; }.section-head { align-items: flex-start; flex-direction: column; gap: 14px; }.category-grid, .guide-grid, .editor-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }.category-card { min-height: 230px; border: 0; border-bottom: 1px solid var(--line); }.category-card:nth-child(2) { border-bottom: 1px solid var(--line); }.category-card:last-child { grid-column: auto; border-top: 0; }.guide-card { min-height: 270px; }.article-shell { padding-top: 52px; }.article-header > p { font-size: 17px; }.article-layout { margin-top: 42px; padding-top: 36px; }.article-cta { align-items: flex-start; flex-direction: column; }.editor-pane + .editor-pane { border-left: 0; border-top: 1px solid var(--line); }.editor-pane textarea { height: 290px; }.footer-grid { gap: 34px; }.footer-bottom { flex-direction: column; }.tool-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 14px; }
}
