* { box-sizing: border-box; }
:root { color-scheme: light; --cream: #fff8f0; --ink: #222; --orange: #f05a28; --peach: #ffe0cc; --muted: #6c625b; --line: #ded4ca; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.5 Arial, sans-serif; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a43615; outline-offset: 6px; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; }
h1 { font-size: 64px; line-height: 1.03; }
h2 { font-size: 50px; line-height: 1.08; }
em { color: var(--orange); font-style: normal; }
.skip { position: absolute; left: 20px; top: -90px; z-index: 3; padding: 12px; background: white; }
.skip:focus { top: 12px; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 25px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 36px; height: 36px; background: var(--orange); color: var(--ink); border-radius: 10px; flex-shrink: 0; font: 900 18px/1 "Arial Black", Arial, sans-serif; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { font-size: 14px; text-decoration: none; }
.header-link { border: 1px solid var(--ink); border-radius: 100px; padding: 10px 18px; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.header-link span { padding-left: 14px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding-block: 76px 88px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 26px; display: flex; align-items: center; gap: 8px; }
.small-square { display: inline-block; width: 7px; height: 7px; background: var(--orange); flex: 0 0 7px; }
.lead { font-size: 19px; line-height: 1.5; margin-top: 28px; color: #5c514a; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 17px 23px; background: var(--orange); color: var(--ink); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.primary:hover { background: #e54d1a; }
.primary span { font-size: 20px; line-height: 1; }
.text-link { font-size: 13px; font-weight: 700; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 11px; }
.motion-slot { min-width: 0; border-radius: 26px; padding: 27px; }
.hero-slot { position: relative; background: var(--ink); color: var(--cream); }
.slot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 9px; font-weight: 700; }
.orbit { position: relative; height: 242px; display: grid; place-items: center; }
.orbit-ring { position: absolute; width: 222px; height: 222px; border: 1px dashed #66564b; border-radius: 50%; }
.ai-core { z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 144px; height: 144px; border-radius: 36px; background: var(--orange); color: var(--ink); font-size: 58px; font-weight: 700; line-height: 1.2; transform: rotate(-6deg); }
.ai-core span { font-size: 10px; font-weight: 400; }
.orbit-dot { position: absolute; width: 17px; height: 17px; border: 4px solid var(--ink); background: var(--peach); border-radius: 50%; top: 37px; left: calc(50% + 73px); }
.flow { display: flex; align-items: center; justify-content: center; gap: 8px; }
.flow span { border: 1px solid #66564b; padding: 8px 13px; border-radius: 8px; font-size: 12px; }
.flow b { color: var(--orange); font-size: 15px; }
.motion-slot figcaption { margin-top: 24px; }
.motion-slot figcaption strong { display: block; font-size: 18px; }
.motion-slot figcaption > span { display: block; font-size: 12px; color: #ddcec1; margin-top: 5px; }
.slot-foot { border-top: 1px solid #4d443d; padding-top: 14px; margin-top: 20px; font-size: 10px; color: #c1b4a8; }
.dark-band { background: var(--ink); color: var(--cream); padding-block: 80px; }
.routine-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.dark-band .eyebrow { color: #cdbbaa; }
.section-copy { max-width: 410px; font-size: 17px; line-height: 1.6; color: var(--muted); margin-top: 24px; }
.dark-band .section-copy { color: #d4c9bf; }
.task-slot { border: 1px solid #5c5046; background: #2c2926; }
.task-list { padding: 0; margin: 28px 0 0; list-style: none; }
.task-list li { display: grid; grid-template-columns: 30px 1fr 30px; gap: 12px; align-items: center; padding: 20px 0; border-bottom: 1px solid #51463d; font-size: 17px; }
.task-number { color: #d7ad8e; font-size: 11px; }
.task-mark { display: grid; place-items: center; border: 1px solid #73503c; width: 28px; height: 28px; border-radius: 8px; color: #ff9c71; }
.task-slot figcaption strong { font-size: 17px; }
.result-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-block: 96px; align-items: center; }
.result-copy .text-link { display: inline-block; margin-top: 28px; }
.result-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.result-label { display: flex; gap: 8px; align-items: center; font-size: 10px; color: var(--muted); }
.finding-tag { margin-top: 30px; color: #a43615; font-size: 10px; font-weight: 700; }
.result-card h3 { font-size: 30px; line-height: 1.15; margin-top: 12px; }
.finding-text { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 320px; }
.result-card dl { margin: 24px 0 0; }
.result-card dl > div { padding-block: 16px; border-top: 1px solid var(--line); }
.result-card dt { font-size: 10px; font-weight: 700; margin-bottom: 6px; }
.result-card dd { font-size: 14px; margin: 0; }
.result-card .next-action { background: var(--peach); border: 0; padding: 16px; border-radius: 10px; margin-top: 6px; }
.data-note { font-size: 10px; color: var(--muted); margin-top: 20px; }
.start-band { background: var(--peach); padding-block: 72px 42px; }
.start-heading { display: flex; gap: 36px; justify-content: space-between; align-items: center; }
.start-heading h2 { font-size: 42px; }
.start-heading em { color: #a43615; }
.start-heading .primary { flex-shrink: 0; }
.start-steps { padding: 0; margin: 48px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.start-steps li { border-top: 1px solid #c4a78f; padding-top: 20px; }
.start-steps span { display: block; color: #80553d; font-size: 11px; margin-bottom: 12px; }
.start-steps h3 { font-size: 18px; }
.start-steps p { font-size: 13px; color: #624a3b; margin-top: 8px; max-width: 270px; }
.limits { margin-top: 42px; border-top: 1px solid #c4a78f; }
details { border-bottom: 1px solid #c4a78f; padding-block: 15px; font-size: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { max-width: 780px; margin-top: 14px; color: #624a3b; }
section { scroll-margin-top: 24px; }
.site-footer { padding-block: 28px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.footer-brand { font-size: 19px; }
.site-footer p, .site-footer > a:last-child { font-size: 10px; color: var(--muted); }
/* Motion is opt-in: unsupported preference queries keep the static scene. */
.motion-slot { position: relative; }
.motion-slot .slot-top { min-height: 27px; padding-right: 86px; }
.motion-toggle { display: none; position: absolute; top: 26px; right: 27px; margin: 0; padding: 0; border: 0; z-index: 2; font-size: 9px; }
.motion-toggle summary { padding: 6px 9px; border: 1px solid #736054; border-radius: 100px; color: var(--cream); list-style: none; }
.motion-toggle summary::-webkit-details-marker { display: none; }
.motion-toggle summary:focus-visible { outline-color: var(--peach); }
.motion-toggle .resume-label, .motion-toggle[open] .pause-label { display: none; }
.motion-toggle[open] .resume-label { display: inline; }
.orbit-track { position: absolute; top: calc(50% - 111px); left: calc(50% - 111px); width: 222px; height: 222px; transform: rotate(-30deg); }
.orbit-track .orbit-dot { top: -8px; left: calc(50% - 8px); }
.flow span:last-child { color: var(--ink); background: var(--peach); border-color: var(--peach); }
.task-list li { position: relative; }
.task-list li::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--orange); transform-origin: left; }
.task-mark { position: relative; }
.task-mark::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; border-radius: 7px; background: var(--orange); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .primary, .header-link { transition: transform 160ms ease, background-color 160ms ease; }
  .primary span, .header-link span { display: inline-block; transition: transform 160ms ease; }
  .primary:focus-visible span, .header-link:focus-visible span { transform: translate(2px, -2px); }
  @media (hover: hover) {
    .primary:hover, .header-link:hover { transform: translateY(-2px); }
    .primary:hover span, .header-link:hover span { transform: translate(2px, -2px); }
  }
  .primary:active, .header-link:active { transform: translateY(1px); }
  .hero-copy { animation: content-enter 600ms ease-out both; }
  @supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
    .routine-grid > div:first-child, .result-copy, .start-heading {
      animation: content-enter 1s linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .result-card { view-timeline-name: --report; view-timeline-axis: block; }
    .result-card .finding-tag, .result-card .next-action {
      animation: result-focus 1s linear both;
      animation-timeline: --report;
    }
    .result-card .finding-tag { animation-range: entry 10% entry 45%; }
    .result-card .next-action { animation-range: entry 55% entry 95%; }
  }
  .motion-toggle { display: block; }
  .orbit-track { animation: orbit-focus 7s ease-in-out infinite; }
  .ai-core { animation: core-focus 7s ease-in-out infinite; }
  .flow span:nth-child(1) { animation: flow-data 7s ease-in-out infinite; }
  .flow span:nth-child(3) { animation: flow-check 7s ease-in-out infinite; }
  .flow span:nth-child(5) { animation: flow-result 7s ease-in-out infinite; }
  .task-list li:nth-child(1)::after { animation: progress-one 7s ease-in-out infinite; }
  .task-list li:nth-child(2)::after { animation: progress-two 7s ease-in-out infinite; }
  .task-list li:nth-child(3)::after { animation: progress-three 7s ease-in-out infinite; }
  .task-list li:nth-child(1) .task-mark::after { animation: check-one 7s ease-in-out infinite; }
  .task-list li:nth-child(2) .task-mark::after { animation: check-two 7s ease-in-out infinite; }
  .task-list li:nth-child(3) .task-mark::after { animation: check-three 7s ease-in-out infinite; }
  .motion-toggle[open] ~ .motion-stage *,
  .motion-toggle[open] ~ .motion-stage *::after { animation-play-state: paused; }
}
@keyframes content-enter {
  from { opacity: .9; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes result-focus {
  from { box-shadow: 0 0 0 0 transparent; }
  to { box-shadow: 0 0 0 2px var(--orange); }
}
@keyframes orbit-focus {
  0%, 8% { transform: rotate(-30deg); }
  72%, 100% { transform: rotate(330deg); }
}
@keyframes core-focus {
  0%, 10%, 72%, 100% { transform: rotate(-6deg) scale(1); }
  30%, 48% { transform: rotate(-6deg) scale(1.04); }
}
@keyframes flow-data {
  0%, 6%, 30%, 100% { color: var(--cream); background: transparent; border-color: #66564b; }
  10%, 24% { color: var(--ink); background: var(--peach); border-color: var(--peach); }
}
@keyframes flow-check {
  0%, 28%, 54%, 100% { color: var(--cream); background: transparent; border-color: #66564b; }
  34%, 48% { color: var(--ink); background: var(--peach); border-color: var(--peach); }
}
@keyframes flow-result {
  0%, 52%, 100% { color: var(--cream); background: transparent; border-color: #66564b; }
  58%, 84% { color: var(--ink); background: var(--peach); border-color: var(--peach); }
}
@keyframes progress-one {
  0%, 6% { transform: scaleX(0); opacity: 1; } 26%, 82% { transform: scaleX(1); opacity: 1; }
  88% { transform: scaleX(1); opacity: 0; } 89%, 100% { transform: scaleX(0); opacity: 0; }
}
@keyframes progress-two {
  0%, 28% { transform: scaleX(0); opacity: 1; } 48%, 82% { transform: scaleX(1); opacity: 1; }
  88% { transform: scaleX(1); opacity: 0; } 89%, 100% { transform: scaleX(0); opacity: 0; }
}
@keyframes progress-three {
  0%, 50% { transform: scaleX(0); opacity: 1; } 70%, 82% { transform: scaleX(1); opacity: 1; }
  88% { transform: scaleX(1); opacity: 0; } 89%, 100% { transform: scaleX(0); opacity: 0; }
}
@keyframes check-one { 0%, 24%, 90%, 100% { opacity: 0; } 28%, 82% { opacity: 1; } }
@keyframes check-two { 0%, 46%, 90%, 100% { opacity: 0; } 50%, 82% { opacity: 1; } }
@keyframes check-three { 0%, 68%, 90%, 100% { opacity: 0; } 72%, 82% { opacity: 1; } }
@media (max-width: 480px) { .motion-toggle { top: 20px; right: 20px; } }
@media (max-width: 1100px) {
  h1 { font-size: 54px; }
  h2 { font-size: 42px; }
  .hero, .routine-grid, .result-section { gap: 30px; }
  .motion-slot { padding: 22px; }
  .start-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .site-header nav { display: none; }
  .hero, .routine-grid, .result-section { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding-block: 44px 56px; }
  .hero-copy { max-width: 620px; }
  .hero-slot, .task-slot, .result-card { width: 100%; max-width: 540px; }
  .hero-slot { justify-self: end; }
  .dark-band { padding-block: 56px; }
  .result-section { padding-block: 56px; }
  .start-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .start-steps p { max-width: none; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 78px; gap: 12px; }
  .brand { font-size: 20px; gap: 7px; }
  .brand-symbol { width: 29px; height: 29px; border-radius: 8px; font-size: 14px; }
  .header-link { font-size: 11px; padding: 9px 12px; }
  .header-link span { padding-left: 6px; }
  h1 { font-size: 42px; }
  h2, .start-heading h2 { font-size: 34px; }
  .eyebrow { font-size: 9px; margin-bottom: 22px; }
  .lead { font-size: 17px; margin-top: 24px; }
  .actions { gap: 18px; margin-top: 26px; }
  .primary { padding: 15px 18px; gap: 20px; font-size: 13px; }
  .hero-note { max-width: 270px; }
  .motion-slot { padding: 20px; border-radius: 20px; }
  .slot-top { font-size: 8px; }
  .flow { gap: 5px; }
  .flow span { padding: 7px 9px; font-size: 10px; }
  .motion-slot figcaption strong { font-size: 16px; }
  .motion-slot figcaption > span { font-size: 11px; }
  .section-copy { font-size: 16px; }
  .task-list li { grid-template-columns: 24px 1fr 28px; gap: 8px; font-size: 15px; }
  .result-card { padding: 24px; }
  .result-card h3 { font-size: 27px; }
  .start-band { padding-block: 48px 32px; }
  .start-heading { gap: 26px; }
  .start-steps { margin-top: 34px; }
  .site-footer { gap: 15px; }
  .site-footer p { flex-basis: 100%; }
}

/* #535: local audit prototype, existing palette and static motion fallback. */
.audit-page [hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.audit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding-block: 64px 90px; }
.audit-intro h1 { font-size: 48px; }
.audit-progress { list-style: none; padding: 0; margin: 42px 0 30px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.audit-progress li { border-top: 2px solid var(--line); padding-top: 10px; }
.audit-progress span { display: block; font-weight: 700; margin-top: 4px; }
.audit-progress [aria-current] { color: var(--ink); border-color: var(--orange); }
.demo-notice { padding: 16px; border-radius: 12px; background: var(--peach); font-size: 12px; line-height: 1.6; }
.audit-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.audit-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.audit-card h2 { font-size: 34px; margin-bottom: 18px; }
.audit-card h2:focus { outline: 2px solid #a43615; outline-offset: 6px; }
.audit-card #audit-status { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.audit-card label, .audit-card legend:not(.visually-hidden) { display: block; font-size: 14px; font-weight: 700; margin: 22px 0 8px; }
.audit-card input:not([type="checkbox"]):not([type="radio"]), .audit-card select, .audit-card textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #88786c; border-radius: 8px; padding: 12px; font: inherit; color: var(--ink); background: var(--cream); }
.audit-card textarea { resize: vertical; }
.audit-card input[type="radio"], .audit-card input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: #a43615; flex-shrink: 0; }
.audit-card .messenger-options { display: flex; gap: 24px; flex-wrap: wrap; }
.audit-card .messenger-options label, .audit-card .check-label { display: flex; gap: 12px; align-items: center; min-height: 44px; font-weight: 400; margin-top: 8px; }
.audit-help { font-size: 13px; line-height: 1.6; color: #5c514a; margin-block: 12px; }
.audit-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.audit-card button { cursor: pointer; font-family: inherit; min-height: 44px; }
.audit-card .primary { border: 0; text-align: left; }
.quiet-button, .demo-states button { border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); padding: 10px 12px; font-size: 13px; }
.audit-page :is(button, input, select, textarea):focus-visible { outline: 3px solid #a43615; outline-offset: 3px; }
.audit-card :disabled { cursor: not-allowed; opacity: .6; }
.audit-error { background: #fff0e9; color: #842b13; border-left: 3px solid #a43615; padding: 14px; font-size: 14px; margin-bottom: 20px; }
.audit-card [aria-invalid="true"] { border-color: #842b13; }
.audit-summary, .audit-result { padding: 20px; border: 1px solid var(--line); border-radius: 12px; margin-top: 20px; }
.audit-summary p, .audit-result p { font-size: 14px; margin-top: 12px; }
.audit-result h3 { font-size: 24px; line-height: 1.25; margin-top: 12px; }
.audit-result .finding-tag { margin-top: 0; font-size: 10px; }
.audit-result dl { margin-bottom: 0; }
.audit-result dl div { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.audit-result dt { font-size: 12px; font-weight: 700; }
.audit-result dd { font-size: 14px; margin: 6px 0 0; }
.demo-states { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; }
.demo-states > span { flex-basis: 100%; }
.demo-states [aria-pressed="true"] { border-color: var(--ink); background: var(--peach); }
@media (max-width: 900px) {
  .audit-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 56px; }
  .audit-intro h1 { font-size: 42px; }
  .audit-progress { margin-block: 28px 20px; }
}
@media (max-width: 480px) {
  .audit-card { padding: 22px 18px; border-radius: 18px; }
  .audit-card h2 { font-size: 30px; }
  .audit-page .site-header { flex-wrap: wrap; padding-block: 18px; }
  .audit-actions .primary { width: 100%; }
}
