/* HugoMojo Premium UI System
   Clean replacement stylesheet for the public website.
   Direction: mature product site, strong workflow clarity, solid colors. */

:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --bg-soft: #eef4f6;
  --surface: #ffffff;
  --surface-soft: #f9fbfc;
  --ink: #081422;
  --text: #1b2a3a;
  --muted: #607184;
  --soft: #8a98a8;
  --line: #d9e4ec;
  --line-strong: #bdcdd9;
  --brand: #2f6bff;
  --brand-strong: #1e4fd6;
  --brand-soft: #eef4ff;
  --amber: #c78a22;
  --success: #147c4a;
  --danger: #b42318;
  --shadow-sm: 0 8px 24px rgba(8, 20, 34, 0.06);
  --shadow-md: 0 22px 60px rgba(8, 20, 34, 0.1);
  --shadow-lg: 0 34px 90px rgba(8, 20, 34, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 44%, #f1f5f8 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg,
video {
  max-width: 100%;
}

.site-shell,
.shell,
.vault-shell,
.page {
  width: min(100% - 48px, var(--shell));
  max-width: var(--shell);
  margin-inline: auto;
}

.topbar,
.scanner-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(189, 205, 217, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav,
.topline {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 820;
  line-height: 1;
}

.brand-mark,
.mark {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: block;
  background: transparent url("icons/hugomojo-mark.svg?v=20260620-bright-logo-1") center / contain no-repeat;
}

.brand-name {
  font-size: 18px;
  font-weight: 820;
}

.nav-links,
.links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links {
  padding: 5px;
  border: 1px solid rgba(189, 205, 217, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.nav-links a,
.links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  color: #46566a;
  font-size: 14px;
  font-weight: 720;
}

.nav-links a:hover,
.links a:hover {
  background: var(--bg-soft);
  color: var(--brand-strong);
}

.nav-links a.nav-cta {
  background: var(--brand);
  color: #ffffff;
  padding-inline: 17px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.nav-links a.nav-cta:hover {
  background: var(--brand-strong);
  color: #ffffff;
}

.section,
.contact-section,
.privacy-section,
.terms-section,
.refund-section,
.path-section,
.fit-section,
main.article {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid rgba(217, 228, 236, 0.86);
}

.section:first-child,
.home-tool-finder {
  border-top: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.hero-title,
.page-title,
.screen-title,
.display,
.result-name {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(44px, 6.4vw, 82px);
  font-weight: 840;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2,
.section-head h2,
.panel h2,
.card h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3,
.tool-card h3,
.pricing-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

p,
.hero-copy,
.lead,
.page-copy,
.fine-print,
.field-help {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.hero-copy,
.lead,
.page-copy {
  max-width: 690px;
  font-size: 20px;
  line-height: 1.5;
}

.fine-print,
.field-help {
  font-size: 14px;
  line-height: 1.5;
}

.eyebrow,
.label,
.badge,
.offer-kicker,
.preview-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.2;
}

.eyebrow,
.label {
  margin-bottom: 12px;
}

.badge,
.offer-kicker,
.preview-kicker {
  min-height: 28px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  background: var(--brand-soft);
  padding: 5px 10px;
}

.btn-primary,
.btn-secondary,
.btn,
.link-secondary,
button[type="submit"],
.pay-cta,
.cta-buy {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary,
.btn.primary,
button[type="submit"],
.pay-cta,
.cta-buy {
  border-color: var(--brand-strong);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.btn-secondary,
.btn.secondary,
.link-secondary {
  border-color: var(--line-strong);
  background: #ffffff;
  color: var(--ink);
}

.btn-primary:hover,
.btn:hover,
button[type="submit"]:hover,
.pay-cta:hover,
.cta-buy:hover,
.btn-secondary:hover,
.link-secondary:hover {
  transform: translateY(-2px);
}

.btn-primary:hover,
button[type="submit"]:hover {
  background: var(--brand-strong);
}

.btn-secondary:hover,
.link-secondary:hover {
  border-color: rgba(37, 99, 235, 0.34);
  color: var(--brand-strong);
}

.panel,
.card,
.tool-card,
.pricing-card,
.contact-card,
.privacy-card,
.terms-card,
.refund-card,
.assurance-card,
.faq-grid details,
.sample-details,
.empty-result,
.post-result-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.panel,
.card,
.contact-card,
.privacy-card,
.terms-card,
.refund-card,
.empty-result,
.post-result-card,
.result-card {
  padding: clamp(22px, 3vw, 34px);
}

/* Home */
.tools-home main.site-shell {
  padding-top: 0;
}

.home-tool-finder {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  padding-top: clamp(24px, 3.3vw, 46px);
  padding-bottom: clamp(42px, 5vw, 66px);
}

.tool-finder-head {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 4vw, 62px);
}

.home-hero-copy-block {
  min-width: 0;
}

.tools-home .home-hero-copy-block h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(50px, 5.3vw, 74px);
  line-height: 1;
}

.home-hero-actions,
.cta-row,
.utility-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.home-hero-actions {
  margin-top: 4px;
  margin-bottom: 18px;
}

.home-secondary-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 820;
  text-decoration: underline;
  text-decoration-color: rgba(47, 107, 255, 0.32);
  text-underline-offset: 4px;
}

.home-secondary-link:hover {
  color: var(--brand);
}

.home-hero-actions .btn-primary,
.home-hero-actions .btn-secondary {
  width: auto;
  min-width: 210px;
}

.home-trust-strip,
.pricing-trust-row,
.trust-bar,
.form-trust-note,
.checkout-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tools-home .hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.home-trust-strip span,
.pricing-trust-row span,
.trust-bar span,
.form-trust-note span,
.checkout-trust-row span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
}

.home-product-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.home-product-preview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--brand);
}

.preview-window-top {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.preview-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c6d2dc;
}

.preview-window-top span:first-child {
  background: var(--brand);
}

.preview-window-body {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
}

.preview-window-body h2 {
  margin: 2px 0 0;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.05;
}

.preview-window-body > p {
  max-width: 420px;
  margin-bottom: 2px;
  font-size: 15px;
  line-height: 1.45;
}

.preview-output-stack {
  display: grid;
  gap: 10px;
}

.preview-output-stack article {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 13px 14px;
}

.preview-output-stack strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 840;
}

.preview-output-stack span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 580;
  line-height: 1.38;
}

.preview-footer-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.preview-footer-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 820;
}

.preview-footer-row span:first-child {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--muted);
}

.workflow-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.workflow-section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 3.7vw, 44px);
}

.tool-launcher-grid,
.tool-shelf,
.pricing-mini,
.home-workflow-strip,
.assurance-grid,
.faq-grid,
.example-grid {
  display: grid;
  gap: 18px;
}

.tool-launcher-grid,
.tool-shelf {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr) minmax(280px, 0.72fr);
}

.tool-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: clamp(22px, 2.8vw, 30px);
  overflow: hidden;
}

.primary-tool-card,
.secondary-tool-card,
.featured-tool {
  border-color: rgba(37, 99, 235, 0.32);
}

.primary-tool-card h3 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
}

.secondary-tool-card h3 {
  font-size: clamp(23px, 2.35vw, 28px);
}

.utility-tool-card h3 {
  font-size: 22px;
}

.tool-card-body {
  display: grid;
  gap: 10px;
}

.tool-card p {
  margin-bottom: 0;
  font-size: 15.5px;
  line-height: 1.55;
}

.tool-card .btn-primary,
.tool-card .btn-secondary {
  width: 100%;
  margin-top: auto;
}

.tool-card-preview {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.tool-card-preview.compact-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-card-preview span {
  min-height: 32px;
  display: flex;
  align-items: center;
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 820;
}

.feature-points,
.compact-points {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
}

.feature-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: var(--brand);
}

.tag-row,
.compact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span,
.quick-chips button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 760;
}

.quick-chips button {
  cursor: pointer;
}

.home-workflow-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-workflow-strip article {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.home-workflow-strip span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 820;
}

.home-workflow-strip strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.home-workflow-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.tool-search {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  padding: 18px;
  box-shadow: none;
}

.tool-search input {
  width: 100%;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.pricing-mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
}

.pricing-card h3 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  margin-top: auto;
}

/* Tool pages */
.instant-tool-page {
  padding-top: clamp(36px, 5vw, 62px);
}

.instant-tool-shell {
  padding-top: 0;
}

.instant-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, auto);
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.instant-tool-head h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.2vw, 68px);
}

.listing-event-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.listing-event-row button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.listing-event-row button:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: var(--brand-soft);
}

.tool-workspace,
.instant-workspace {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 20px;
}

.tool-form {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.tool-form.panel {
  padding: clamp(20px, 2.5vw, 28px);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.form-head h2 {
  font-size: clamp(24px, 2.5vw, 30px);
}

.no-login-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(20, 124, 74, 0.22);
  border-radius: 999px;
  background: #eefaf3;
  color: var(--success);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 820;
}

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(37, 99, 235, 0.48);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.delivery-strip,
.empty-output-preview,
.quality-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.delivery-strip span,
.empty-output-preview span,
.quality-check-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 820;
}

.customize-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 12px 14px;
}

.customize-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 820;
}

.customize-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.result-panel,
.success-delivery {
  display: grid;
  gap: 14px;
}

.empty-result {
  min-height: 400px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.empty-result h2 {
  font-size: clamp(30px, 3.5vw, 44px);
}

.result-preview-surface {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.75), rgba(255, 255, 255, 0.92));
}

.result-preview-surface article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 11px;
  background: #ffffff;
  padding: 13px 14px;
}

.result-preview-surface strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 840;
}

.result-preview-surface p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.post-result-card,
.kit-result-card {
  display: grid;
  gap: 14px;
}

.result-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.copy-button {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
}

.copy-button:hover {
  border-color: rgba(37, 99, 235, 0.42);
  color: var(--brand-strong);
}

.caption-body {
  white-space: pre-line;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.6;
}

.locked-result {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
}

.blurred-result {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.lock-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-strong);
  padding: 12px 14px;
  font-weight: 820;
  text-align: center;
}

.unlock-strip,
.preview-limit-card {
  border-color: rgba(37, 99, 235, 0.28);
  background: var(--brand-soft);
}

.tool-paid-options {
  margin-top: 14px;
}

.old-price {
  color: var(--soft);
  font-size: 15px;
  font-weight: 720;
  text-decoration: line-through;
}

.compact-guardrail {
  padding-top: 0;
  padding-bottom: 14px;
}

.compact-guardrail p {
  max-width: 940px;
  margin: 0;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  background: var(--brand-soft);
  padding: 13px 15px;
  font-size: 14px;
}

.sample-details {
  padding: 18px;
}

.sample-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 820;
}

.sample-details .example-grid {
  margin-top: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sample-details .panel {
  padding: 16px;
  box-shadow: none;
}

.product-assurance,
.trust-faq {
  padding-top: 30px;
  padding-bottom: 30px;
}

.assurance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assurance-card,
.faq-grid details {
  padding: 18px;
}

.assurance-card p,
.faq-grid p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
}

.faq-grid details[open] summary {
  margin-bottom: 10px;
}

.compact-utility,
.install-hint {
  padding: 22px;
  background: var(--brand-soft);
}

/* Content pages */
.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.content,
.article .card,
.privacy-card,
.terms-card,
.refund-card,
.contact-card {
  max-width: 820px;
}

.member-grid,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.member-grid > *,
.admin-grid > * {
  min-width: 0;
}

.member-grid .page-title,
.admin-grid .page-title {
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.02;
}

.member-form {
  display: grid;
  gap: 13px;
}

.member-form-row {
  display: grid;
  gap: 8px;
}

.member-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.member-status {
  min-height: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.member-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.member-tabs button {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.member-tabs button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 16px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.member-table-wrap {
  overflow-x: auto;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.member-table th,
.member-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 8px;
  text-align: left;
  vertical-align: top;
}

.member-table th {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
}

.member-table td {
  color: var(--muted);
  font-weight: 620;
}

.footer,
footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--soft);
  padding: 30px 0 38px;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.footer a:hover {
  color: var(--brand-strong);
}

@media (max-width: 1080px) {
  .tool-finder-head,
  .instant-tool-head,
  .tool-workspace,
  .instant-workspace {
    grid-template-columns: 1fr;
  }

  .home-product-preview {
    max-width: 720px;
  }

  .listing-event-row {
    justify-content: flex-start;
  }

  .tool-form {
    position: static;
  }

  .tool-launcher-grid,
  .tool-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-tool-card {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .pricing-mini,
  .assurance-grid,
  .sample-details .example-grid,
  .member-grid,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell,
  .shell,
  .vault-shell,
  .page {
    width: min(100% - 32px, var(--shell));
  }

  .nav,
  .topline {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
  }

  .brand-mark,
  .mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .nav-links {
    width: auto;
    max-width: 100%;
  }

  .nav-links a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .home-tool-finder {
    gap: 24px;
    padding-top: 34px;
  }

  h1,
  .hero-title,
  .page-title,
  .screen-title,
  .display {
    max-width: 100%;
    font-size: clamp(39px, 10.6vw, 49px);
    line-height: 1.02;
  }

  h2,
  .section-head h2,
  .workflow-section-head h2 {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.12;
  }

  .hero-copy,
  .lead,
  .page-copy {
    font-size: 17px;
  }

  .home-hero-actions,
  .cta-row,
  .utility-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-actions .btn-primary,
  .home-hero-actions .btn-secondary,
  .btn-primary,
  .btn-secondary,
  button[type="submit"] {
    width: 100%;
  }

  .home-trust-strip,
  .pricing-trust-row,
  .trust-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-trust-strip span,
  .pricing-trust-row span,
  .trust-bar span {
    justify-content: center;
    text-align: center;
  }

  .preview-window-body {
    padding: 20px;
  }

  .preview-window-body h2 {
    font-size: 28px;
  }

  .preview-footer-row,
  .tool-launcher-grid,
  .tool-shelf,
  .pricing-mini,
  .home-workflow-strip,
  .assurance-grid,
  .faq-grid,
  .sample-details .example-grid,
  .tool-search,
  .member-grid,
  .admin-grid,
  .account-summary,
  .member-form-actions {
    grid-template-columns: 1fr;
  }

  .tool-card,
  .primary-tool-card,
  .secondary-tool-card,
  .utility-tool-card {
    min-height: 0;
    padding: 22px;
  }

  .primary-tool-card h3,
  .secondary-tool-card h3,
  .utility-tool-card h3 {
    font-size: 24px;
  }

  .quick-chips {
    justify-content: flex-start;
  }

  .tool-card-preview.compact-preview {
    grid-template-columns: 1fr;
  }

  .instant-tool-head h1 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .listing-event-row {
    display: none;
  }

  .form-head {
    display: grid;
  }

  .delivery-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-actions {
    display: grid;
  }

  .copy-button {
    width: 100%;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 390px) {
  .site-shell,
  .shell,
  .vault-shell,
  .page {
    width: min(100% - 24px, var(--shell));
  }

  h1,
  .hero-title,
  .page-title,
  .screen-title,
  .display {
    font-size: 37px;
  }

  .home-trust-strip,
  .pricing-trust-row,
  .trust-bar,
  .delivery-strip {
    grid-template-columns: 1fr;
  }
}

/* 2026-06-20 brand-motion pass
   Goal: mature blue/black/white product feel, lighter first screens, and subtle
   motion that supports trust without slowing the workflow. */
:root {
  --bg: #f5f8fc;
  --bg-soft: #eef4fb;
  --surface-soft: #f8fbff;
  --ink: #07111f;
  --text: #172435;
  --muted: #58697d;
  --soft: #8190a3;
  --line: #dbe5ef;
  --line-strong: #bccddd;
  --brand: #2f6bff;
  --brand-strong: #1e4fd6;
  --brand-soft: #eef4ff;
  --shadow-sm: 0 8px 22px rgba(7, 17, 31, 0.055);
  --shadow-md: 0 20px 54px rgba(7, 17, 31, 0.095);
  --shadow-lg: 0 34px 84px rgba(7, 17, 31, 0.13);
}

body {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 38%, #f3f7fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(47, 107, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 62%);
}

.topbar,
.scanner-topbar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.03);
}

.nav,
.topline {
  min-height: 68px;
}

.brand-mark,
.mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.nav-links {
  box-shadow: 0 8px 22px rgba(7, 17, 31, 0.045);
}

.nav-links a.nav-cta,
.btn-primary,
.btn.primary,
button[type="submit"],
.pay-cta,
.cta-buy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.nav-links a.nav-cta::after,
.btn-primary::after,
.btn.primary::after,
button[type="submit"]::after,
.pay-cta::after,
.cta-buy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.22) 38%, transparent 62%);
  transform: translateX(-120%);
}

.section {
  padding-block: clamp(40px, 5.6vw, 76px);
}

.home-tool-finder {
  gap: clamp(18px, 2.8vw, 32px);
  padding-top: clamp(22px, 3vw, 42px);
  padding-bottom: clamp(34px, 4.8vw, 58px);
}

.tools-home .home-hero-copy-block h1 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: clamp(44px, 4.9vw, 66px);
  line-height: 1.01;
}

.tools-home .hero-copy {
  max-width: 610px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.46;
}

.home-hero-actions {
  margin-top: 16px;
  margin-bottom: 14px;
}

.home-trust-strip,
.pricing-trust-row,
.trust-bar {
  margin-top: 14px;
}

.home-trust-strip span,
.pricing-trust-row span,
.trust-bar span,
.form-trust-note span,
.checkout-trust-row span {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.03);
}

.home-product-preview {
  transform-origin: center;
}

.preview-output-stack article,
.result-preview-surface article,
.tool-card-preview span {
  box-shadow: 0 1px 0 rgba(7, 17, 31, 0.025);
}

.workflow-section-head h2 {
  font-size: clamp(26px, 3.1vw, 38px);
}

.tool-card,
.pricing-card,
.home-workflow-strip article,
.empty-result,
.post-result-card {
  position: relative;
}

.tool-card::before,
.pricing-card::before,
.empty-result::before,
.post-result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.primary-tool-card::before,
.secondary-tool-card::before,
.empty-result::before {
  opacity: 1;
}

.tool-card {
  min-height: 350px;
  box-shadow: var(--shadow-sm);
}

.primary-tool-card,
.secondary-tool-card,
.featured-tool {
  border-color: rgba(47, 107, 255, 0.3);
}

.primary-tool-card h3 {
  font-size: clamp(25px, 2.45vw, 31px);
}

.secondary-tool-card h3,
.utility-tool-card h3 {
  font-size: clamp(21px, 2vw, 25px);
}

.tool-card-preview {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-workflow-strip article {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.instant-tool-page {
  padding-top: clamp(24px, 3.5vw, 46px);
}

.instant-tool-head {
  gap: 16px;
  margin-bottom: 16px;
}

.instant-tool-head h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(38px, 4.45vw, 58px);
  line-height: 1.03;
}

.instant-tool-head .hero-copy {
  max-width: 630px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.48;
}

.tool-workspace,
.instant-workspace {
  gap: 18px;
}

.tool-form.panel {
  padding: clamp(18px, 2.2vw, 24px);
}

.empty-result {
  min-height: 340px;
}

.empty-result h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.result-preview-surface {
  background: linear-gradient(180deg, rgba(238, 244, 255, 0.58), rgba(255, 255, 255, 0.94));
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero-copy-block,
  .home-product-preview,
  .workflow-section-head,
  .tool-card,
  .home-workflow-strip article,
  .pricing-card,
  .tool-form.panel,
  .empty-result,
  .post-result-card,
  .assurance-card {
    animation: hm-rise-in 0.56s cubic-bezier(.16, 1, .3, 1) both;
  }

  .home-product-preview {
    animation-name: hm-rise-in, hm-preview-float;
    animation-duration: 0.56s, 5.6s;
    animation-delay: 0.04s, 0.7s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1), ease-in-out;
    animation-iteration-count: 1, infinite;
  }

  .tool-card:nth-child(2),
  .pricing-card:nth-child(2),
  .home-workflow-strip article:nth-child(2) {
    animation-delay: 0.05s;
  }

  .tool-card:nth-child(3),
  .pricing-card:nth-child(3),
  .home-workflow-strip article:nth-child(3) {
    animation-delay: 0.1s;
  }

  .nav-links a.nav-cta:hover::after,
  .btn-primary:hover::after,
  .btn.primary:hover::after,
  button[type="submit"]:hover::after,
  .pay-cta:hover::after,
  .cta-buy:hover::after {
    animation: hm-button-sheen 0.72s ease;
  }

  .tool-card,
  .pricing-card,
  .home-workflow-strip article,
  .preview-output-stack article,
  .result-preview-surface article,
  .listing-event-row button,
  .quick-chips button,
  .copy-button {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  }

  .tool-card:hover,
  .pricing-card:hover,
  .home-workflow-strip article:hover,
  .preview-output-stack article:hover,
  .result-preview-surface article:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 107, 255, 0.34);
    box-shadow: var(--shadow-md);
  }

  .tool-card:hover::before,
  .pricing-card:hover::before,
  .post-result-card:hover::before {
    opacity: 1;
  }

  @keyframes hm-rise-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes hm-preview-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }

  @keyframes hm-button-sheen {
    from {
      transform: translateX(-120%);
    }
    to {
      transform: translateX(120%);
    }
  }
}

@media (max-width: 760px) {
  .site-shell,
  .shell,
  .vault-shell,
  .page {
    width: min(100% - 28px, var(--shell));
  }

  .nav,
  .topline {
    min-height: 62px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark,
  .mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav-links {
    max-width: calc(100vw - 158px);
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 31px;
    padding: 0 10px;
    white-space: nowrap;
    font-size: 12px;
  }

  .section {
    padding-block: 34px;
  }

  .home-tool-finder {
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .tool-finder-head {
    gap: 14px;
  }

  .tools-home .home-hero-copy-block h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(32px, 8.7vw, 40px);
    line-height: 1.04;
  }

  .tools-home .hero-copy {
    font-size: 16px;
    line-height: 1.44;
  }

  .home-hero-actions {
    gap: 9px;
    margin: 12px 0;
  }

  .home-secondary-link {
    min-height: 32px;
    justify-content: center;
    font-size: 13px;
  }

  .home-product-preview {
    display: none;
  }

  .home-trust-strip,
  .pricing-trust-row,
  .trust-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
  }

  .home-trust-strip span,
  .pricing-trust-row span,
  .trust-bar span {
    min-width: 0;
    min-height: 28px;
    justify-content: center;
    padding: 6px 9px;
    font-size: 11.5px;
    text-align: center;
  }

  .workflow-section-head {
    padding-top: 4px;
  }

  .workflow-section-head h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .tool-launcher-grid,
  .tool-shelf,
  .home-workflow-strip,
  .pricing-mini {
    gap: 12px;
  }

  .tool-card,
  .primary-tool-card,
  .secondary-tool-card,
  .utility-tool-card {
    padding: 18px;
    gap: 10px;
  }

  .primary-tool-card h3,
  .secondary-tool-card h3,
  .utility-tool-card h3 {
    font-size: 22px;
    line-height: 1.13;
  }

  .tool-card p {
    font-size: 14px;
    line-height: 1.48;
  }

  .tool-card-preview {
    gap: 6px;
    padding: 9px;
  }

  .tool-card-preview span {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 11.5px;
  }

  .feature-points,
  .tag-row,
  .compact-tags {
    display: none;
  }

  .home-workflow-strip article {
    min-height: 0;
    padding: 15px;
  }

  .tool-search {
    padding: 15px;
  }

  .instant-tool-page {
    padding-top: 16px;
  }

  .instant-tool-shell {
    padding-bottom: 20px;
  }

  .instant-tool-head {
    gap: 8px;
    margin-bottom: 12px;
  }

  .instant-tool-head h1 {
    margin-bottom: 8px;
    font-size: clamp(31px, 8.8vw, 40px);
    line-height: 1.04;
  }

  .instant-tool-head .hero-copy {
    font-size: 15.5px;
    line-height: 1.43;
  }

  .tool-workspace,
  .instant-workspace {
    gap: 14px;
  }

  .tool-form.panel {
    padding: 16px;
  }

  .form-head h2 {
    font-size: 22px;
  }

  textarea {
    min-height: 118px;
  }

  .empty-result {
    min-height: 0;
    gap: 12px;
    padding: 18px;
  }

  .empty-result h2 {
    font-size: 25px;
    line-height: 1.12;
  }

  .result-preview-surface {
    padding: 10px;
  }

  .delivery-strip,
  .empty-output-preview {
    gap: 7px;
  }

  .delivery-strip span,
  .empty-output-preview span,
  .quality-check-row span {
    min-height: 28px;
    font-size: 11.5px;
  }
}

@media (max-width: 390px) {
  .site-shell,
  .shell,
  .vault-shell,
  .page {
    width: min(100% - 22px, var(--shell));
  }

  .tools-home .home-hero-copy-block h1,
  .instant-tool-head h1 {
    font-size: 31px;
  }

  .brand-name {
    display: none;
  }

  .nav-links {
    max-width: calc(100vw - 76px);
  }
}

/* 2026-06-20 independent-products pass
   Two product lines should feel separate, with Real Estate clearly primary. */
.home-product-lanes {
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.home-product-entry {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.8vw, 28px);
}

.home-product-entry::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand);
}

.home-product-entry.is-primary {
  border-color: rgba(47, 107, 255, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: var(--shadow-lg);
}

.entry-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.entry-label,
.entry-domain {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 820;
  line-height: 1.1;
}

.entry-label {
  background: var(--brand);
  color: #ffffff;
}

.entry-domain {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.home-product-entry h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-product-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.entry-pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.entry-pieces span {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 820;
  text-align: center;
}

.home-product-entry .btn-primary,
.home-product-entry .btn-secondary {
  width: 100%;
}

.tool-launcher-grid.tool-shelf {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.tool-launcher-grid.tool-shelf .tool-card {
  min-height: 320px;
}

@media (prefers-reduced-motion: no-preference) {
  .home-product-entry {
    animation: hm-rise-in 0.56s cubic-bezier(.16, 1, .3, 1) both;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .home-product-entry:nth-child(2) {
    animation-delay: 0.06s;
  }

  .home-product-entry:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 107, 255, 0.42);
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 1020px) {
  .tool-finder-head {
    grid-template-columns: 1fr;
  }

  .home-product-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .home-product-lanes {
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-product-entry {
    min-width: 0;
    border-radius: 14px;
    gap: 10px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
  }

  .entry-topline {
    align-items: flex-start;
  }

  .entry-label,
  .entry-domain {
    min-height: 25px;
    padding: 5px 8px;
    font-size: 10.8px;
  }

  .entry-domain {
    max-width: 48%;
    justify-content: flex-end;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-product-entry h2 {
    font-size: 21px;
    line-height: 1.12;
  }

  .home-product-entry p {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .entry-pieces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .entry-pieces span {
    min-height: 29px;
    border-radius: 8px;
    padding: 6px 5px;
    font-size: 11px;
  }

  .entry-pieces span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .home-product-entry .btn-primary,
  .home-product-entry .btn-secondary {
    min-height: 42px;
    font-size: 13px;
  }

  .home-hero-copy-block {
    min-width: 0;
  }

  .home-hero-actions .btn-primary,
  .home-hero-actions .btn-secondary {
    min-width: 0;
    width: 100%;
  }

  .nav-links {
    max-width: none;
    flex: 0 0 auto;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a:not(.nav-cta):not([data-member-nav]) {
    display: none;
  }

  .nav-links a.nav-cta {
    display: inline-flex;
  }

  .tool-launcher-grid.tool-shelf {
    grid-template-columns: 1fr;
  }

  .tool-launcher-grid.tool-shelf .tool-card {
    min-height: 0;
  }
}

/* 2026-06-20 product typography pass
   Reference direction: compact SaaS navigation, restrained product-page type scale. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-tool-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
  margin-left: auto;
}

.nav-tool-search::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid var(--soft);
  border-radius: 999px;
  transform: translateY(-50%);
}

.nav-tool-search::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--soft);
  transform: translateY(5px) rotate(45deg);
}

.nav-tool-search input {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0 14px 0 40px;
  font-size: 13px;
  font-weight: 650;
}

h1,
.hero-title,
.page-title,
.screen-title,
.display,
.result-name {
  max-width: 760px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
}

h2,
.section-head h2,
.panel h2,
.card h2 {
  max-width: 720px;
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.12;
}

.tools-home .home-hero-copy-block h1 {
  max-width: 680px;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.03;
}

.workflow-section-head h2 {
  font-size: clamp(24px, 2.6vw, 34px);
}

.section-head {
  max-width: 700px;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.member-grid .page-title,
.admin-grid .page-title {
  max-width: 620px;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
}

.page-hero,
.hero.page-hero {
  padding: clamp(34px, 5vw, 58px) 0;
}

.page-copy,
.hero-copy,
.lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.52;
}

.contact-card h2,
.privacy-card h2,
.terms-card h2,
.refund-card h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.contact-card p,
.privacy-card p,
.terms-card p,
.refund-card p {
  font-size: 15px;
}

.pricing-mini {
  margin-top: 8px;
}

.tool-search {
  display: none;
}

@media (max-width: 1060px) {
  .nav-tool-search {
    display: none;
  }
}

@media (max-width: 760px) {
  h1,
  .hero-title,
  .page-title,
  .screen-title,
  .display,
  .result-name {
    font-size: clamp(32px, 8.3vw, 40px);
    line-height: 1.06;
  }

  h2,
  .section-head h2,
  .panel h2,
  .card h2 {
    font-size: clamp(23px, 6.2vw, 30px);
  }

  .tools-home .home-hero-copy-block h1,
  .instant-tool-head h1 {
    font-size: clamp(31px, 8.4vw, 38px);
  }

  .page-hero,
  .hero.page-hero {
    padding: 30px 0;
  }

  .member-grid .page-title,
  .admin-grid .page-title {
    font-size: 34px;
    line-height: 1.1;
  }

  .contact-card h2,
  .privacy-card h2,
  .terms-card h2,
  .refund-card h2 {
    font-size: 24px;
  }
}

/* 2026-06-20 product usability pass
   Product pages should open as usable tools, not long landing pages. */
.tool-page .instant-tool-page {
  padding-top: 14px;
}

.tool-page .instant-tool-shell {
  padding-top: 0;
  padding-bottom: clamp(24px, 4vw, 44px);
}

.tool-page .instant-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(189, 205, 217, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
}

.tool-page .instant-tool-head .eyebrow {
  margin-bottom: 5px;
  font-size: 11px;
}

.tool-page .instant-tool-head h1 {
  max-width: none;
  margin-bottom: 4px;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.08;
}

.tool-page .instant-tool-head .hero-copy {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.42;
}

.tool-page .instant-tool-head .trust-bar {
  gap: 6px;
  margin-top: 8px;
}

.tool-page .instant-tool-head .trust-bar span {
  min-height: 25px;
  padding: 5px 8px;
  font-size: 11px;
}

.tool-page .listing-event-row {
  align-self: center;
  max-width: 440px;
  gap: 6px;
}

.tool-page .listing-event-row button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.tool-page .tool-workspace,
.tool-page .instant-workspace {
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
}

.tool-page .tool-form {
  position: static;
  gap: 10px;
}

.tool-page .tool-form.panel {
  padding: 18px;
}

.tool-page .form-head {
  align-items: center;
}

.tool-page .form-head h2 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.12;
}

.tool-page .no-login-pill {
  min-height: 29px;
  padding: 5px 9px;
  font-size: 11.5px;
}

.tool-page input,
.tool-page textarea,
.tool-page select {
  min-height: 46px;
  font-size: 14px;
}

.tool-page textarea {
  min-height: 108px;
}

.tool-page .field-help,
.tool-page .fine-print {
  font-size: 12.5px;
  line-height: 1.42;
}

.tool-page .delivery-strip span,
.tool-page .empty-output-preview span,
.tool-page .form-trust-note span {
  min-height: 26px;
  padding: 5px 8px;
  font-size: 11px;
}

.tool-page .delivery-strip,
.tool-page .form-trust-note {
  display: none;
}

.tool-page .empty-result {
  min-height: 0;
  gap: 11px;
  padding: 18px;
}

.tool-page .empty-result h2 {
  max-width: 620px;
  font-size: clamp(24px, 2.35vw, 32px);
  line-height: 1.12;
}

.tool-page .result-preview-surface {
  margin-top: 2px;
  padding: 10px;
}

.tool-page .result-preview-surface article {
  padding: 11px 12px;
}

.home-product-ad-rail {
  box-shadow: var(--shadow-md);
  transform: none;
}

.home-product-ad-rail .preview-window-body {
  padding: 0;
}

.preview-carousel {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.preview-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 26px);
  opacity: 0;
  transform: translateX(16px);
  animation: hm-preview-carousel 12s infinite;
}

.preview-slide:nth-child(2) {
  animation-delay: 6s;
}

.preview-slide h2 {
  margin: 0;
  font-size: clamp(25px, 2.55vw, 34px);
  line-height: 1.08;
}

.preview-slide > p {
  max-width: 430px;
  margin: 0;
  font-size: 14px;
  line-height: 1.44;
}

.preview-mini-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 820;
}

.preview-carousel-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 6px;
}

.preview-carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(96, 113, 132, 0.34);
}

.preview-carousel-dots span:first-child {
  background: var(--brand);
  animation: hm-preview-dot-a 12s infinite;
}

.preview-carousel-dots span:nth-child(2) {
  animation: hm-preview-dot-b 12s infinite;
}

@keyframes hm-preview-carousel {
  0%, 44% {
    opacity: 1;
    transform: translateX(0);
  }
  50%, 94% {
    opacity: 0;
    transform: translateX(-16px);
  }
  95%, 100% {
    opacity: 0;
    transform: translateX(16px);
  }
}

@keyframes hm-preview-dot-a {
  0%, 49% { background: var(--brand); }
  50%, 100% { background: rgba(96, 113, 132, 0.34); }
}

@keyframes hm-preview-dot-b {
  0%, 49% { background: rgba(96, 113, 132, 0.34); }
  50%, 100% { background: var(--brand); }
}

@media (prefers-reduced-motion: no-preference) {
  .home-product-ad-rail {
    animation: hm-rise-in 0.56s cubic-bezier(.16, 1, .3, 1) both !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-slide {
    position: relative;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .preview-slide:nth-child(2),
  .preview-carousel-dots {
    display: none;
  }
}

@media (max-width: 900px) {
  .tool-page .instant-tool-head {
    grid-template-columns: 1fr;
  }

  .tool-page .listing-event-row {
    max-width: none;
    justify-content: flex-start;
  }

  .tool-page .tool-workspace,
  .tool-page .instant-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .tool-page .instant-tool-page {
    padding-top: 10px;
  }

  .tool-page .instant-tool-head {
    padding: 12px;
  }

  .tool-page .instant-tool-head h1 {
    font-size: 25px;
  }

  .tool-page .instant-tool-head .hero-copy {
    font-size: 13.5px;
  }

  .tool-page .instant-tool-head .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-page .listing-event-row {
    display: flex;
  }

  .tool-page .listing-event-row button {
    flex: 1 1 calc(50% - 6px);
  }

  .tool-page .form-head {
    display: flex;
  }

  .tool-page .tool-form.panel,
  .tool-page .empty-result {
    padding: 15px;
  }

  .tool-page .empty-result h2 {
    font-size: 23px;
  }
}

/* 2026-06-20 product shelf equality pass
   Hero can recommend one product; the product shelf itself is neutral. */
.product-shelf-list.tool-shelf {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.product-shelf-list .shelf-product-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-color: rgba(189, 205, 217, 0.88);
  box-shadow: var(--shadow-sm);
}

.product-shelf-list .shelf-product-card::before {
  opacity: 0;
}

.product-shelf-list .shelf-product-copy {
  gap: 7px;
}

.product-shelf-list .shelf-product-card h3 {
  margin: 0;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.12;
}

.product-shelf-list .shelf-product-card p {
  max-width: 34ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.product-shelf-list .shelf-product-pieces {
  width: 100%;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px;
  border-radius: 10px;
}

.product-shelf-list .shelf-product-pieces span {
  min-height: 30px;
  justify-content: center;
  border-left: 0;
  padding: 6px 7px;
  text-align: center;
  font-size: 11.2px;
}

.product-shelf-list .shelf-product-card .btn-primary {
  width: auto;
  min-width: 96px;
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .product-shelf-list .shelf-product-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .product-shelf-list .shelf-product-card .btn-primary {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .product-shelf-list.tool-shelf {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-shelf-list .shelf-product-card {
    padding: 15px;
    gap: 12px;
  }

  .product-shelf-list .shelf-product-card h3 {
    font-size: 21px;
  }

  .product-shelf-list .shelf-product-pieces {
    grid-template-columns: 1fr;
  }

  .product-shelf-list .shelf-product-pieces span {
    justify-content: flex-start;
    text-align: left;
  }
}
