:root {
  color-scheme: light;
  --background: #f6f6f3;
  --surface: #fff;
  --ink: #202925;
  --muted: #646b66;
  --line: #d4d8d3;
  --accent: #253d32;
  --error: #9f2c25;
  --focus: #356b8a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
button:disabled { opacity: .48; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
button { transition: background-color .12s ease, color .12s ease; }
button:not(:disabled):hover { filter: brightness(.93); }
[hidden] { display: none !important; }
.shell { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; }
.brand { font-size: 21px; font-weight: 700; letter-spacing: -.7px; }
.text-button { border: 0; background: transparent; color: var(--muted); padding: 10px 4px; font-size: 14px; line-height: 1.5; min-height: 44px; }
.text-button:hover { color: var(--ink); }
.page-grid { width: min(1128px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: 160px minmax(0, 760px) 160px; gap: 24px; align-items: start; }
.content { grid-column: 2; min-width: 0; }
.composer { padding-top: 44px; }
h1 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -1.4px; margin: 0 0 12px; font-weight: 700; text-align: center; text-wrap: balance; }
.intro { color: var(--muted); margin: 0 auto 28px; font-size: 16px; line-height: 1.6; text-align: center; max-width: 54ch; }
.field-label, legend { display: block; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
input[type=url], input[type=password] { width: 100%; height: 54px; padding: 13px 16px; border: 1px solid #bbc3bd; background: var(--surface); border-radius: 10px; color: var(--ink); font-size: 16px; min-width: 0; }
input[type=url]::placeholder { color: #747b76; }
input[aria-invalid=true] { border-color: var(--error); }
.url-row { display: flex; gap: 12px; align-items: stretch; }
.url-row input { flex: 1; }
.url-row .primary { flex-shrink: 0; min-height: 54px; }
fieldset { border: 0; margin: 22px 0 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; width: 100%; text-align: center; }
.radio-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: 432px; margin-inline: auto; padding: 4px; background: #e7eae4; border-radius: 12px; }
.radio-row label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 12px; cursor: pointer; font-size: 14px; border: 1px solid transparent; border-radius: 8px; }
.radio-row input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.radio-row label:has(input:checked) { background: var(--surface); border-color: #cbd2cb; color: var(--accent); font-weight: 600; }
.radio-row label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.radio-row label:has(input:disabled) { opacity: .48; cursor: not-allowed; }
.helper { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }
#download-form > .helper { text-align: center; }
.pilot-limit { margin-top: 4px; }
.source-options { margin: 0 0 22px; font-size: 13px; color: var(--muted); text-align: center; }
.source-options p { margin: 0 auto; max-width: 76ch; line-height: 1.75; text-wrap: pretty; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.probe-actions { text-align: center; }
.primary, .secondary { min-height: 46px; border-radius: 9px; padding: 11px 20px; border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1.5; }
.primary { background: var(--accent); color: white; min-width: 144px; }
.secondary { background: transparent; color: var(--ink); border-color: #aab4ad; }
.recent { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 36px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.35px; margin: 0 0 14px; }
.section-heading h2 { margin-bottom: 0; }
h3 { font-size: 16px; margin: 20px 0 5px; }
.muted { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
footer { font-size: 12px; color: var(--muted); padding: 30px 0; text-align: center; }
.account { border-bottom: 1px solid var(--line); padding: 24px 0; }
.account p { font-size: 14px; margin: 8px 0; color: var(--muted); }
.account .secondary { margin-top: 12px; }
.notice { padding: 14px 0; border-block: 1px solid var(--line); font-size: 14px; margin: 0 0 20px; }
.error { color: var(--error); font-size: 14px; overflow-wrap: anywhere; }
.field-error { margin: 9px 0 0; }
.probe { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; background: var(--surface); }
.probe h3 { font-size: 16px; margin: 0 0 6px; overflow-wrap: anywhere; }
.probe p { margin: 6px 0; }
.choice-details { color: var(--muted); font-size: 14px; }
.job-list { list-style: none; margin: 0; padding: 0; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.job-body { min-width: 0; }
.job h3 { font-size: 15px; line-height: 1.5; margin: 0 0 4px; overflow-wrap: anywhere; }
.job-state { font-size: 13px; margin: 0; }
.job-detail, .artifact-detail { font-size: 12px; color: var(--muted); margin: 4px 0 0; overflow-wrap: anywhere; }
.job-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.job-actions .text-button { color: var(--accent); font-size: 14px; font-weight: 600; }
.job-actions .primary { min-width: 136px; min-height: 44px; padding: 10px 16px; }
progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 4px; overflow: hidden; margin-top: 12px; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: #e0e4de; }
progress::-webkit-progress-value { background: var(--accent); }
.how-to { margin-top: 36px; }
.steps { list-style: none; counter-reset: steps; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 20px 0 0; }
.steps li { counter-increment: steps; position: relative; padding-top: 30px; }
.steps li::before { content: "0" counter(steps); position: absolute; top: 0; left: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.steps strong { display: block; font-size: 14px; margin-bottom: 5px; }
.steps span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; }
.faq { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 17px 30px 17px 0; min-height: 52px; list-style: none; font-size: 14px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(225deg); top: 25px; }
.faq details p { margin: -2px 28px 18px 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.ad-slot { min-width: 0; }
.ad-slot--top { margin-top: 20px; }
.ad-slot--side { width: 160px; margin-top: 44px; }
#ad-left { grid-column: 1; grid-row: 1; }
#ad-right { grid-column: 3; grid-row: 1; }
.ad-slot-label { display: block; text-align: center; font-size: 10px; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.ad-slot a { display: block; border-radius: 8px; overflow: hidden; }
.ad-slot img { display: block; width: 100%; height: auto; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 10px; background: var(--surface); color: var(--ink); z-index: 2; }
.skip-link:focus { top: 10px; }
.confirm-field { margin-top: 22px; }
.owner-access form { max-width: 440px; margin-inline: auto; }
.owner-access .form-actions { justify-content: center; }
.owner-access .form-actions .primary { min-width: 160px; }
@media (max-width: 1199px) {
  .page-grid { width: min(760px, calc(100% - 48px)); grid-template-columns: minmax(0, 1fr); gap: 0; }
  .content { grid-column: 1; }
  .ad-slot--side { display: none !important; }
}
@media (max-width: 600px) {
  .shell, .page-grid { width: calc(100% - 32px); }
  .header { padding-top: 16px; gap: 16px; }
  .brand { font-size: 19px; }
  .composer { padding-top: 32px; }
  h1 { letter-spacing: -.9px; }
  .intro { font-size: 14px; margin-bottom: 24px; }
  .url-row { flex-direction: column; gap: 10px; }
  .url-row .primary { width: 100%; }
  .radio-row label { padding-inline: 8px; }
  .helper { font-size: 12px; }
  .recent { margin-top: 28px; padding-top: 18px; }
  h2 { font-size: 19px; }
  .job { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 18px; }
  .job-actions { justify-content: flex-start; }
  .job-actions .primary { width: 100%; }
  .how-to, .faq { margin-top: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
  .steps li { padding: 0 0 0 30px; }
  .steps li::before { top: 2px; }
  .steps strong { margin-bottom: 2px; }
  footer { padding-block: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
