/* Marketing and guide pages: generous whitespace, large type, hairline structure. */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* hero */
.hero { padding-block: clamp(48px, 9vw, 104px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 22px; }
.hero .eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--good); display: inline-block; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin-top: 22px; max-width: 56ch; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 13.5px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--good); }
.byline { margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--accent); }
.hero-fig { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 10px; }
.hero-fig .bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.hero-fig .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.hero-fig svg { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.fig-caption { font-size: 12.5px; color: var(--muted); padding: 10px 6px 2px; }

/* sections */
.section { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature { background: var(--surface); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; }
.feature .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.feature .ico svg { width: 18px; height: 18px; }
.feature h3 { font-size: 17px; letter-spacing: -0.015em; }
.feature p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .features { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 1.5px solid var(--ink); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.step .num { font: 500 13px/1 var(--f-mono); color: var(--muted); }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split.rev > :first-child { order: 2; }
@media (max-width: 920px) { .split, .split.rev { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }
.split h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin-top: 14px; }
.split p { color: var(--ink-2); margin-top: 14px; font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
.stat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 24px; }
.stat-list div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; padding-right: 20px; }
.stat-list b { font-weight: 600; font-size: 15px; }
.stat-list span { color: var(--muted); font-size: 13.5px; }
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.compare table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 560px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 500; color: var(--muted); font-size: 13px; background: var(--sunken); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:nth-child(2) { color: var(--ink); font-weight: 500; }
.compare td { color: var(--ink-2); }
.yes { color: var(--good) !important; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 500; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 24px/1 var(--f-sans); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; display: grid; gap: 10px; }
.cta-band { text-align: center; padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.035em; max-width: 18ch; margin: 0 auto; }
.cta-band p { color: var(--ink-2); margin: 16px auto 0; max-width: 52ch; font-size: 17px; }
.cta-band .hero-cta { justify-content: center; }

/* citation */
.cite-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .cite-grid { grid-template-columns: minmax(0, 1fr); } }
.cite-box { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cite-box h3 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cite-box p { color: var(--ink-2); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.cite-box pre { margin: 0; background: var(--sunken); padding: 12px 14px; border-radius: 10px; overflow-x: auto; font: 12.5px/1.6 var(--f-mono); color: var(--ink-2); }
.cite-note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink-2); font-size: 15px; max-width: 860px; }

/* articles / guides */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.article-head { padding-block: 28px 36px; max-width: 760px; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.035em; line-height: 1.06; }
.article-head .lede { margin-top: 18px; }
.article-meta { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.article-meta a { color: var(--ink-2); }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; align-items: start; padding-bottom: 40px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.toc { position: sticky; top: 86px; font-size: 13.5px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc b { display: block; font-weight: 600; margin-bottom: 10px; font-size: 13px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
@media (max-width: 960px) { .toc { position: static; border-left: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; } }
.prose { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); min-width: 0; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; color: var(--ink); margin-top: 52px; scroll-margin-top: 80px; letter-spacing: -0.025em; }
.prose h3 { font-size: 19px; color: var(--ink); margin-top: 34px; scroll-margin-top: 80px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; font-size: 13px; }
.prose code { background: var(--sunken); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.prose pre { background: var(--sunken); padding: 14px 16px; border-radius: 10px; overflow-x: auto; font: 13.5px/1.7 var(--f-mono); }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 0; border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; color: var(--ink); }
.prose .refs { font-size: 14px; color: var(--muted); padding-left: 0; }
.prose .refs li { padding-left: 1.5em; text-indent: -1.5em; list-style: none; }
.cta-inline { margin: 40px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 20px 22px; }
.cta-inline strong { font-weight: 600; font-size: 16px; color: var(--ink); }
.cta-inline p { font-size: 14px; margin-top: 4px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.related a { border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--ink); background: var(--surface); display: grid; gap: 6px; }
.related a:hover { border-color: var(--line-2); }
.related a span { color: var(--muted); font-size: 13.5px; }
.notfound { padding-block: 120px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
