.automation-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.automation-main { width: min(1260px, 100%); margin: 0 auto; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 24px 0; }
.automation-page .site-footer { padding-block: 14px 18px; }
.automation-page .site-footer .footer-bottom { gap: 8px; }
@media (min-width: 761px) { .automation-page .site-header { min-height: 84px; } }

.automation-intro { width: min(740px, 100%); margin: auto; text-align: center; }
.automation-eyebrow { margin: 0 0 16px; color: var(--muted); font: 11px/1.5 'Courier New', monospace; letter-spacing: .13em; }
.automation-intro h1 { max-width: 720px; margin: 0 auto; font-size: clamp(48px, 5.8vw, 76px); font-weight: 400; line-height: 1.04; letter-spacing: -.048em; }
.automation-lead { max-width: 610px; margin: 20px auto 0; font-size: clamp(17px, 1.65vw, 20px); line-height: 1.45; }
.automation-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.automation-primary span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--signal); color: #362936; font: 22px/1 Arial, sans-serif; transition: transform .2s; }
.automation-primary:hover span { transform: translateX(3px); }
.automation-primary:disabled { opacity: .55; cursor: wait; }
.automation-intro .automation-primary { margin-top: 26px; }
.automation-intro-note { margin: 22px 0 0; color: var(--muted); font: 12px/1.5 'Courier New', monospace; }
.automation-remember { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 17px auto 0; font-size: 14px; cursor: pointer; }
.automation-remember input { width: 17px; height: 17px; margin: 0; accent-color: var(--ink); }
.automation-remember-note { max-width: 540px; margin: 6px auto 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.automation-remember-note a, .automation-privacy a { text-decoration: underline; text-underline-offset: 3px; }

.automation-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.automation-form-section { width: min(820px, 100%); min-width: 0; margin: 0 auto; }
.automation-progress { flex: 0 0 auto; margin-bottom: 8px; }
.automation-progress-copy { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--muted); font: 11px/1.5 'Courier New', monospace; letter-spacing: .11em; text-transform: uppercase; }
.automation-track { height: 2px; background: var(--line); }
.automation-track span { display: block; width: 6.25%; height: 100%; background: var(--ink); transition: width .25s ease; }
.automation-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.automation-step legend { max-width: 800px; padding: 0; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.12; letter-spacing: -.035em; }
.automation-step legend:focus, .automation-contact h2:focus { outline: none; }
.automation-hint { max-width: 700px; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.4; }
.automation-multi-hint { font: 12px/1.4 'Courier New', monospace; letter-spacing: .03em; }
.automation-step textarea, .automation-step input:not([type=radio]):not([type=checkbox]) { display: block; width: 100%; margin-top: 22px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; }
.automation-step textarea { min-height: 140px; padding: 14px; border: 1px solid var(--line); resize: vertical; font-size: 17px; }
.automation-step input::placeholder, .automation-step textarea::placeholder { color: var(--muted); opacity: .8; }
.automation-step input:focus-visible, .automation-step textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.automation-step label:not(.automation-sr-only) { display: block; font-size: 15px; }
.automation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 18px; }
.automation-options label { position: relative; cursor: pointer; }
.automation-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.automation-options span { display: flex; align-items: center; min-height: 44px; height: 100%; padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; background: color-mix(in srgb, var(--panel) 38%, transparent); font-size: 15px; line-height: 1.25; transition: border-color .15s, background-color .15s; }
.automation-options label:hover span { border-color: var(--ink); }
.automation-options input:checked + span { border-color: var(--ink); background: var(--signal); color: #362936; }
.automation-options input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.automation-other { width: 100%; margin-top: 14px; color: var(--muted); }
.automation-other[hidden] { display: none !important; }
.automation-other span { color: var(--muted); }
.automation-other input { margin-top: 4px !important; }
.automation-privacy { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.automation-yearly { margin: 18px 0 0; padding-left: 14px; border-left: 2px solid var(--signal); color: var(--muted); font-size: 15px; line-height: 1.5; }
.automation-contact h2 { max-width: 700px; margin: 0; font-size: clamp(36px, 4.1vw, 54px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.automation-contact .automation-eyebrow { margin-bottom: 10px; }
.automation-contact-lead { max-width: 690px; margin: 16px 0 0; font-size: 17px; line-height: 1.45; }
.automation-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 24px; }
.automation-contact-grid > div { min-width: 0; }
.automation-contact-grid label { margin-bottom: 3px; }
.automation-contact-grid label span { color: var(--muted); }
.automation-contact-grid input { margin-top: 0 !important; }
.automation-contact .automation-privacy { margin-top: 20px; }
.automation-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; padding-top: 10px; }
.automation-secondary { padding: 8px 0; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; }
.automation-secondary:hover { color: var(--ink); }
.automation-error { margin-top: 8px; color: #a0392d; font-size: 14px; line-height: 1.4; }
.automation-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.automation-success { margin: auto 0; }
.automation-success h2 { margin: 0 0 18px; font-size: clamp(42px, 5vw, 68px); }
.automation-success p:last-child { max-width: 650px; font-size: 18px; line-height: 1.5; }

.automation-page.is-answering { height: 100dvh; overflow: hidden; }
.automation-page.is-answering .site-footer { display: none; }
.automation-page.is-answering .automation-main { flex: 1 1 auto; align-items: stretch; min-height: 0; overflow: hidden; padding: 16px 0; }
.automation-page.is-answering .automation-form-section { display: flex; flex-direction: column; height: 100%; }
.automation-page.is-answering #automation-form { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.automation-page.is-answering #automation-form[hidden] { display: none; }
.automation-page.is-answering .automation-step-scroller { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.automation-page.is-answering .automation-step:not([hidden]) { display: block; flex: 0 0 auto; width: 100%; margin-block: auto; padding: 14px 6px 18px; }

@media (max-height: 700px) and (min-width: 761px) {
  .automation-main { padding-block: 14px; }
  .automation-intro h1 { font-size: clamp(44px, 5vw, 62px); }
  .automation-lead { margin-top: 14px; }
  .automation-intro .automation-primary { margin-top: 18px; }
  .automation-intro-note { margin-top: 15px; }
  .automation-remember { margin-top: 12px; }
  .automation-step legend { font-size: 34px; }
  .automation-options { gap: 6px; margin-top: 12px; }
  .automation-options span { min-height: 40px; padding: 7px 12px; font-size: 14px; }
}
@media (max-width: 760px) {
  .automation-main { padding: 22px 0 28px; }
  .automation-intro h1 { font-size: clamp(42px, 9vw, 58px); }
  .automation-lead { font-size: 17px; }
  .automation-page.is-answering .automation-main { padding: 12px 0; }
  .automation-page.is-answering .automation-step:not([hidden]) { padding: 16px 3px 24px; }
  .automation-step legend { font-size: clamp(29px, 7.3vw, 40px); }
  .automation-options { grid-template-columns: 1fr; gap: 7px; margin-top: 16px; }
  .automation-options span { min-height: 44px; padding: 9px 13px; font-size: 15px; }
  .automation-contact-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .automation-contact-lead { font-size: 16px; }
}
@media (max-width: 480px) {
  .automation-intro h1 { font-size: clamp(39px, 10vw, 48px); }
  .automation-intro .automation-primary { margin-top: 22px; }
  .automation-remember-note { font-size: 11px; }
  .automation-step legend { font-size: 30px; }
  .automation-contact h2 { font-size: 38px; }
  .automation-actions { padding-top: 6px; }
}
