/* Shared intake, plus the dedicated audit flow. The public homepage keeps its
   own layout; none of these rules change the live-site worktree. */
[hidden] { display: none !important; }
.hero-audit { width: min(100%, 660px); margin: 2rem auto 0; text-align: left; }
.hero-emphasis { margin-right: .1em; }
.audit-intake { width: 100%; }
.audit-url-row { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid var(--line); border-radius: 48px; background: var(--sheet); }
.audit-url-row input { flex: 1; min-width: 0; width: 0; border: 0; padding: 14px 16px; background: transparent; font: 1rem/1.5 var(--sans); color: var(--ink); }
.audit-url-row input::placeholder { color: var(--muted); opacity: 1; }
.audit-url-row .button { flex: none; min-height: 52px; padding: 14px 24px; white-space: nowrap; }
.audit-intake button:disabled { opacity: .55; cursor: wait; }
.audit-socials { border: 0; margin-top: 10px; text-align: left; }
.audit-socials summary { display: flex; align-items: center; justify-content: flex-start; gap: 6px; list-style: none; cursor: pointer; min-height: 48px; font: .875rem/1.5 var(--sans); }
.audit-socials summary::-webkit-details-marker { display: none; }
.audit-socials summary > span:not(.disclosure-plus) { color: var(--muted); }
.disclosure-plus { margin-left: auto; color: var(--oxblood); font-size: 1.25rem; transition: transform 180ms ease; }
.audit-socials[open] .disclosure-plus { transform: rotate(45deg); }
.audit-social-fields { display: grid; gap: 10px; padding: 8px 0 20px; }
.audit-social-fields label { font: 600 .875rem/1.5 var(--sans); }
.audit-social-fields label:not(:first-child) { margin-top: 12px; }
.audit-social-fields small { display: block; color: var(--muted); font-weight: 400; font-size: .8125rem; margin-top: 3px; }
.audit-social-fields textarea, .audit-social-fields input, .email-report input[type="email"] { width: 100%; min-height: 48px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--sheet); color: var(--ink); font: .9375rem/1.6 var(--sans); }
.audit-helper { color: var(--muted); font: .8125rem/1.6 var(--sans); margin: 0; }
.audit-privacy-note { margin: 12px 0 0; color: var(--muted); font: .75rem/1.7 var(--sans); }
.audit-privacy-note a { text-decoration: underline; text-underline-offset: 3px; }
.audit-message { font: .875rem/1.6 var(--sans); color: var(--oxblood); margin: 12px 0 0; }
.audit-message:empty { display: none; }
.waitlist-section { border-top: 1px solid var(--line); margin-top: 6rem; padding-top: 4rem; text-align: center; }
.waitlist-section .waitlist { margin: 0 auto; }
.waitlist-section h2.coming-soon { font: clamp(1.8rem, 4vw, 2.5rem)/1.4 var(--serif); }
.audit-page { background: var(--paper); color: var(--ink); }
.audit-page .audit-mast, .audit-page main, .audit-page .page-footer { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.audit-page .audit-mast { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.audit-page .wordmark { display: block; width: 108px; }
.audit-page .wordmark svg { width: 100%; display: block; }
.audit-page .audit-mast > a:last-child { font-size: .8125rem; min-height: 44px; display: inline-flex; align-items: center; }
.audit-page main { padding-top: 32px; }
.audit-page #intake { max-width: 680px; margin-inline: auto; }
.audit-page h1 { margin: 18px 0 24px; font: clamp(2rem, 5vw, 3.8rem)/1.2 var(--serif); letter-spacing: -.055em; }
.audit-page h2 { font: 1.8rem/1.4 var(--serif); letter-spacing: -.035em; }
.audit-page p { line-height: 1.7; }
.audit-page .intro { margin: 0 0 32px; color: var(--muted); max-width: 58ch; }
.audit-page .note { font: .8125rem/1.7 var(--sans); color: var(--muted); margin: 16px 0; }
.audit-page .note a { text-decoration: underline; text-underline-offset: 3px; }
.audit-page .message { color: var(--oxblood); font-size: .875rem; margin: 12px 0; min-height: 1.5em; }
.audit-page .message:empty { display: none; }
.audit-page .honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.audit-page button, .audit-page a.secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid var(--oxblood); border-radius: 32px; background: var(--oxblood); color: var(--paper); font: 600 .8125rem/1.5 var(--sans); cursor: pointer; text-align: center; }
.audit-page button.secondary, .audit-page a.secondary { color: var(--oxblood); background: transparent; }
.audit-page button:disabled { opacity: .5; cursor: not-allowed; }
.audit-page #progress { text-align: center; }
.audit-page #progress h1 { margin: 12px 0 16px; font-size: clamp(2rem, 4vw, 2.8rem); }
.audit-page #progress-message { color: var(--muted); min-height: 1.7em; max-width: 56ch; margin: 0 auto; }
.research-network { position: relative; isolation: isolate; width: 100%; max-width: 860px; aspect-ratio: 1000 / 420; margin: 24px auto 0; color: var(--oxblood); }
.network-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network-trails { stroke: var(--oxblood); stroke-width: 1.2; stroke-dasharray: 1 7; stroke-linecap: round; opacity: .32; }
.network-signals { fill: var(--oxblood); opacity: .7; }
.network-signals circle { opacity: 0; }
.network-signals circle:nth-child(even) { fill: var(--blue-ink); }
.network-core { position: absolute; z-index: 1; left: 50%; top: 47%; width: clamp(106px, 16vw, 156px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid var(--oxblood); border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.network-core::before, .network-core::after { content: ""; pointer-events: none; position: absolute; inset: -9px; border: 1px solid var(--line); border-radius: inherit; }
.network-core::before { animation: network-breathe 4s cubic-bezier(.65,0,.35,1) infinite; }
.network-core::after { inset: -18px; opacity: 0; border-color: var(--blue-ink); }
.network-core svg { width: 65%; }
.network-core > span { font: .5625rem/1.4 var(--mono); letter-spacing: -.02em; }
.network-core .core-activity { display: flex; align-items: center; justify-content: center; gap: 4px; height: 6px; }
.core-activity i { width: 4px; height: 4px; border-radius: 50%; background: var(--oxblood); animation: activity-tap 1.8s cubic-bezier(.65,0,.35,1) infinite; }
.core-activity i:nth-child(2) { animation-delay: .25s; }.core-activity i:nth-child(3) { animation-delay: .5s; }
.network-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 88px; transform: translate(-50%, -50%); font: .6875rem/1.4 var(--mono); color: var(--muted); }
.node-icon { position: relative; width: 52px; height: 52px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--oxblood); }
.node-icon::after { content: ""; position: absolute; inset: -7px; border: 1px solid var(--blue-ink); border-radius: inherit; opacity: 0; pointer-events: none; }
.node-icon svg, .node-icon img { width: 24px; height: 24px; }
.node-site { left: 13%; top: 45%; }.node-x { left: 27%; top: 16%; }.node-tiktok { left: 50%; top: 8%; }.node-instagram { left: 73%; top: 16%; }.node-reddit { left: 87%; top: 45%; }.node-youtube { left: 73%; top: 76%; }.node-category { left: 50%; top: 88%; }.node-audience { left: 27%; top: 76%; }
.research-network[data-current-stage="reading_site"] .node-site .node-icon,
.research-network[data-current-stage="researching_founder"] :is(.node-audience, .node-x, .node-instagram) .node-icon,
.research-network[data-current-stage="researching_market"] :is(.node-category, .node-tiktok, .node-reddit, .node-youtube) .node-icon { background: var(--blue); border-color: var(--blue-ink); }
.research-network[data-current-stage="compiling_report"] .network-core { background: var(--blue); }
.research-network[data-current-stage="reading_site"] .node-site .node-icon::after,
.research-network[data-current-stage="researching_founder"] :is(.node-audience, .node-x, .node-instagram) .node-icon::after,
.research-network[data-current-stage="researching_market"] :is(.node-category, .node-tiktok, .node-reddit, .node-youtube) .node-icon::after { animation: research-ripple 3.6s cubic-bezier(.25,1,.5,1) infinite; }
.research-network[data-current-stage="reading_site"] .node-site .node-icon { overflow: hidden; }
.research-network[data-current-stage="reading_site"] .node-site .node-icon::before { content: ""; position: absolute; z-index: 1; inset: 8px 7px auto; height: 2px; background: var(--oxblood); opacity: .6; animation: site-scan 3.2s cubic-bezier(.65,0,.35,1) infinite; }
.research-network[data-current-stage="researching_founder"] :is(.node-audience, .node-x, .node-instagram) .node-icon { animation: audience-lift 4s cubic-bezier(.65,0,.35,1) infinite; }
.research-network[data-current-stage="researching_founder"] .node-x .node-icon { animation-delay: -.8s; }
.research-network[data-current-stage="researching_founder"] .node-instagram .node-icon { animation-delay: -1.6s; }
.research-network[data-current-stage="researching_market"] .node-category .node-icon::after { animation-delay: -.9s; }
.research-network[data-current-stage="researching_market"] .node-reddit .node-icon::after { animation-delay: -1.8s; }
.research-network[data-current-stage="researching_market"] .node-youtube .node-icon::after { animation-delay: -2.7s; }
.research-network[data-current-stage="researching_market"] .network-core::after { animation: research-ripple 5s cubic-bezier(.25,1,.5,1) infinite; }
.research-network[data-current-stage="reading_site"] #trail-site,
.research-network[data-current-stage="researching_founder"] :is(#trail-x, #trail-audience, #trail-instagram),
.research-network[data-current-stage="researching_market"] :is(#trail-category, #trail-tiktok, #trail-reddit, #trail-youtube) { stroke-width: 2; }
.research-network[data-current-stage="reading_site"] .network-signals circle:nth-child(1),
.research-network[data-current-stage="researching_founder"] .network-signals :is(circle:nth-child(2), circle:nth-child(4), circle:nth-child(8)),
.research-network[data-current-stage="researching_market"] .network-signals :is(circle:nth-child(3), circle:nth-child(5), circle:nth-child(6), circle:nth-child(7)),
.research-network[data-current-stage="compiling_report"] .network-signals circle { opacity: 1; }
.research-network[data-current-stage="compiling_report"] .core-activity { flex-direction: column; gap: 3px; height: 16px; }
.research-network[data-current-stage="compiling_report"] .core-activity i { width: 26px; height: 2px; border-radius: 1px; transform-origin: left; animation-name: report-write; animation-duration: 2.6s; }
.research-network[data-running="false"] .network-signals { display: none; }
.research-network[data-running="false"] .network-core::before { animation: none; }
.progress-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 24px; margin: 12px 0 0; }
.audit-page .stage-focus { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: .6875rem/1.7 var(--mono); color: var(--oxblood); }
.stage-focus::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: working-blink 2s cubic-bezier(.65,0,.35,1) infinite; }
#progress[data-running="false"] .stage-focus::before { opacity: .4; animation: none; }
.audit-page #progress-motion { min-height: 44px; padding: 8px 0; background: none; border: 0; border-radius: 0; color: var(--muted); font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.stage-list { counter-reset: stages; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; text-align: left; list-style: none; margin: 32px 0; padding: 0; }
.stage-list li { counter-increment: stages; display: grid; grid-template-columns: 34px 1fr; align-content: center; align-items: center; column-gap: 12px; border-top: 1px solid var(--line); padding: 16px 12px; font: .8125rem/1.65 var(--sans); color: var(--muted); }
.stage-list li::before { content: "0" counter(stages); grid-row: 1 / span 2; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; font: .6875rem var(--mono); }
.stage-list [aria-current="step"] { color: var(--oxblood); border-color: var(--oxblood); background: color-mix(in srgb, var(--blue) 38%, transparent); }
.stage-list [aria-current="step"]::before { color: var(--paper); background: var(--oxblood); }
.stage-live { display: flex; align-items: center; gap: 7px; grid-column: 2; min-height: 18px; font: .5625rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; visibility: hidden; }
.stage-list [aria-current="step"] .stage-live { visibility: visible; }
.stage-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: working-blink 2s cubic-bezier(.65,0,.35,1) infinite; }
#progress[data-motion="paused"] *, #progress[data-motion="paused"] ::before, #progress[data-motion="paused"] ::after { animation-play-state: paused !important; }
#progress[data-running="false"] .stage-live { visibility: hidden; }
.audit-page #progress > .note { max-width: 65ch; margin: 24px auto; }
.audit-page #new-audit { margin: 12px 0 0 8px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 32px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.email-report { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; margin-top: 48px; border-block: 1px solid var(--line); scroll-margin-top: 24px; }
.email-report h2 { margin: 12px 0 16px; }
.email-report p:not(.eyebrow) { color: var(--muted); font-size: .875rem; }
.email-report form { display: grid; gap: 12px; align-content: start; }
.email-report label { font: .875rem/1.6 var(--sans); }
.email-report form button { justify-self: start; }
.privacy-page main { max-width: 740px; padding-bottom: 24px; }
.privacy-page .policy-date { color: var(--muted); font-size: .8125rem; margin-bottom: 24px; }
.privacy-page .policy-section { margin-top: 32px; }
.privacy-page .policy-section h2 { margin-bottom: 12px; font-size: 1.4rem; }
.privacy-page .policy-section p + p { margin-top: 12px; }
.privacy-page main a { text-decoration: underline; text-underline-offset: 3px; }
.preferences-page main { max-width: 680px; min-height: 48vh; }
.preferences-page #unsubscribe-form { margin: 28px 0; }
.preferences-page .page-footer { align-items: center; }
.audit-page .email-report .note { margin: 0; font-size: .75rem; }
.audit-page .email-report .message { margin: 4px 0 0; font-size: .8125rem; }
.audit-page .follow { padding: 48px 0; }
.audit-page .follow h2 { margin: 12px 0; }
.audit-page .follow p:not(.eyebrow) { color: var(--muted); font-size: .875rem; max-width: 65ch; margin-bottom: 16px; }
.audit-page .follow > a { text-decoration: underline; text-underline-offset: 5px; display: inline-flex; min-height: 44px; align-items: center; font-size: .875rem; }
.audit-page .page-footer { padding: 32px 0; margin-top: 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font: .6875rem/1.6 var(--mono); color: var(--muted); }
.preview-bar { padding: 10px 24px; background: var(--blue); color: var(--blue-ink); font: .6875rem/1.7 var(--mono); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.preview-bar nav { display: flex; gap: 20px; }
.preview-bar a { text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: flex; align-items: center; }
@keyframes network-breathe { 0%, 100% { transform: scale(1); opacity: .65; } 50% { transform: scale(1.045); opacity: 1; } }
@keyframes activity-tap { 0%, 65%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes research-ripple { 0% { transform: scale(.92); opacity: 0; } 18% { opacity: .6; } 78%, 100% { transform: scale(1.25); opacity: 0; } }
@keyframes site-scan { 0%, 100% { transform: translateY(0); opacity: 0; } 15%, 70% { opacity: .65; } 85% { transform: translateY(32px); opacity: 0; } }
@keyframes audience-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes report-write { 0%, 15% { transform: scaleX(.2); opacity: .25; } 60%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(.2); opacity: .25; } }
@keyframes working-blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (max-width: 620px) {
  .hero-audit { margin-top: 1.5rem; }
  .audit-url-row { flex-direction: column; align-items: stretch; padding: 0; border: 0; background: none; gap: 10px; }
  .audit-url-row input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 32px; background: var(--sheet); padding: 14px 18px; }
  .audit-url-row .button { width: 100%; min-height: 52px; }
  .audit-socials summary { min-height: 48px; }
  .audit-page .audit-mast, .audit-page main, .audit-page .page-footer { width: calc(100% - 40px); }
  .audit-page main { padding-top: 40px; }
  .audit-page .audit-mast { padding: 18px 0; }
  .audit-page .wordmark { width: 90px; }
  .research-network { aspect-ratio: 1; margin-top: 32px; }
  .network-core { width: 104px; gap: 8px; }
  .network-core > span { font-size: .48rem; }
  .network-node { width: 68px; gap: 6px; font-size: .5625rem; }
  .node-icon { width: 42px; height: 42px; }
  .node-icon img, .node-icon svg { width: 21px; height: 21px; }
  .progress-tools { gap: 0 16px; margin-top: 20px; }
  .audit-page .stage-focus { font-size: .625rem; }
  .stage-list { grid-template-columns: 1fr; margin: 24px 0; }
  .audit-page #new-audit { margin: 12px 0 0; }
  .report-actions { gap: 8px; }
  .report-actions > * { flex: 1 1 calc(50% - 8px); }
  .audit-page .report-actions button, .audit-page .report-actions a { padding-inline: 12px; font-size: .75rem; }
  .email-report { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .email-report form button { width: 100%; }
  .waitlist-section { margin-top: 4rem; padding-top: 3rem; }
  .audit-page .page-footer { flex-direction: column; gap: 8px; }
  .preview-bar { padding: 8px 20px; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .network-signals { display: none; }
  #progress *, #progress ::before, #progress ::after { animation: none !important; transition: none !important; }
  .disclosure-plus, .node-icon { transition: none; }
}
@media print {
  .audit-page .audit-mast, .report-actions, .email-report, .audit-page .follow, .audit-page .page-footer, .preview-bar, #report-message { display: none !important; }
  .audit-page main { width: 100%; padding: 0; margin: 0; }
}
