/* Public tool landing pages (/<tool id>/), generated by site/build/pages.mjs; builds on /chrome.css. */
.page-band.tool-band { padding: 48px 0 60px; }
.tool-band .wrap { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.tool-band .big-ico {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; color: #fff;
  background: color-mix(in srgb, var(--c) 82%, #000); box-shadow: 0 12px 30px color-mix(in srgb, var(--c) 45%, transparent);
}
.tool-band .big-ico svg { width: 40px; height: 40px; }
.tool-band .flow { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7ff3ff; margin: 0 0 8px; }
.tool-band .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.btn-go {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; background: #fff; color: #0b192c;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.btn-go:hover { background: #e8f1ff; }
.btn-go:focus-visible { outline: 2px solid #00e5ff; outline-offset: 3px; }
.btn-go svg { width: 20px; height: 20px; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .85); font-size: .93rem; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks li::before { content: ""; width: 16px; height: 16px; flex: none; background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e676' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

main.landing { padding: 0 0 64px; }
.landing section { padding: 52px 0 0; }
.landing h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 18px; }
.landing .cols { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 800;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c);
}
.aside { display: grid; gap: 14px; }
.box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.box h3 { margin: 0 0 6px; font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.box h3 svg { width: 18px; height: 18px; color: var(--accent); }
.box p { margin: 0; color: var(--muted); font-size: .95rem; }
.box.private { background: linear-gradient(135deg, var(--hero-1), #0d3b8a); border-color: transparent; color: #fff; }
.box.private p { color: rgba(255, 255, 255, .8); }
.box.private h3 svg { color: #00e676; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.related a {
  display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--fg); background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); transition: transform .12s ease, border-color .12s ease;
}
.related a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 50%, var(--line)); }
.related a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.related .ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.related .ico svg { width: 22px; height: 22px; }
.related small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.all-tools { margin: 18px 0 0; }

.app-band {
  margin-top: 56px; border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  color: #fff; background: linear-gradient(135deg, var(--hero-1), var(--hero-2));
}
.app-band h2 { margin: 0 0 6px; }
.app-band p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 36em; }

@media (max-width: 820px) {
  .landing .cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tool-band .wrap { grid-template-columns: 1fr; gap: 16px; }
  .tool-band .big-ico { width: 60px; height: 60px; border-radius: 18px; }
  .btn-go { width: 100%; justify-content: center; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Calculator pages, category pages and guides */
.flow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.prose { max-width: 760px; }
.prose h2 { margin: 32px 0 10px; }
.prose p, .prose li { color: var(--fg); line-height: 1.7; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 8px 0 16px; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; overflow-x: auto; }
.notes { color: var(--muted); padding-left: 1.2em; display: grid; gap: 4px; }
.calc-embed { margin: 0 0 18px; }
.calc-single .calc-header > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; font-weight: 650; text-decoration: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-ghost:focus-visible { outline: 2px solid #00e5ff; outline-offset: 3px; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px; margin: 28px 0 8px; max-width: 760px; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; display: grid; gap: 4px; }
.example { width: 100%; max-width: 520px; border-collapse: collapse; margin: 8px 0 14px; font-size: .95rem; }
.example th, .example td { text-align: left; padding: 8px 12px; border: 1px solid var(--line); }
.example th { font-weight: 600; background: var(--bg-soft); width: 55%; }
.example.result .main th, .example.result .main td { font-weight: 700; color: var(--accent); }
.prose section { scroll-margin-top: 80px; }
.calc-single .calc-header > p { display: none; }
.verify-form { margin: 14px 0; }
.verify-pick { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg-soft); font-weight: 650; }
.verify-summary { font-weight: 650; padding: 12px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.verify-error { color: #c62828; }
.compare-table th[scope=col] { background: var(--bg-soft); }
.compare-table td, .compare-table th { vertical-align: top; }
.compare-table { max-width: 100%; }
#v-log td { word-break: break-all; }
.new-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #00c853; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.release { margin: 0 0 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.release-date { margin: 0 0 4px; color: var(--muted); font-weight: 650; }
.release h3 { margin: 18px 0 10px; font-size: 1rem; }
.added-on { color: var(--accent); font-weight: 650; }
