:root {
  color-scheme: light;
  --blue: #00549f;
  --cyan: #00a0df;
  --orange: #f39200;
  --ink: #17324d;
  --muted: #5d7083;
  --line: #d8e3ec;
  --surface: #fff;
  --background: #f2f7fb;
  --error: #a52828;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: #fff; color: var(--blue); }
.skip-link:focus { top: 1rem; }
.site-shell { width: min(72rem, 100%); margin: 0 auto; padding: 0 1rem 2rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; }
.brand { display: block; flex: 0 1 15rem; text-decoration: none; }
.brand img { display: block; width: min(15rem, 100%); height: auto; }
.publication-brand { display: flex; align-items: center; gap: 1rem; }
.publication-brand img { width: min(15rem, 30vw); height: 5.5rem; object-fit: contain; }
.publication-brand h1 { margin: .1rem 0 0; font-size: clamp(1.2rem, 4vw, 1.7rem); }
.eyebrow { margin: 0; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-orange { color: var(--orange); }

.hero { position: relative; display: grid; grid-template-columns: 1fr auto; overflow: hidden; min-height: 15rem; align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem); color: #fff; background: linear-gradient(120deg, var(--blue), #006fb7 68%, var(--cyan)); border-radius: 1rem; box-shadow: 0 .8rem 2.5rem rgb(0 84 159 / 18%); }
.hero h2 { max-width: 14ch; margin: .35rem 0 .75rem; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.05; }
.hero p:last-child { max-width: 42rem; margin: 0; color: #e5f5ff; }
.hero .eyebrow { color: #fff; opacity: .8; }
.hero-accent { display: grid; width: clamp(6rem, 16vw, 10rem); height: clamp(6rem, 16vw, 10rem); place-items: center; border: .65rem solid rgb(255 255 255 / 25%); border-radius: 50%; font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; transform: rotate(-8deg); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.choice-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; width: 100%; border: 1px solid #b8dff1; border-radius: .8rem; padding: 1.35rem; color: var(--blue); background: #fff; text-align: left; box-shadow: 0 .35rem 1rem rgb(20 62 96 / 7%); }
.choice-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.choice-card-orange { color: #a75e00; border-color: #ffd59a; }
.choice-card-orange:hover { border-color: var(--orange); }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 1.08rem; }
.choice-card small { margin-top: .2rem; color: var(--muted); }
.choice-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; color: #fff; background: var(--cyan); font-size: 1.4rem; font-weight: 900; }
.choice-card-orange .choice-icon { background: var(--orange); }

.workflow { max-width: 58rem; margin: 0 auto; }
.workflow-heading { margin: 1rem 0 1.5rem; }
.workflow-heading h2 { margin: .25rem 0 .75rem; font-size: clamp(1.7rem, 5vw, 2.6rem); }
.back-link { border: 0; margin: 0 0 1.2rem; padding: 0; color: var(--blue); background: transparent; font-weight: 750; }
.steps { display: flex; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.steps li { flex: 1; border-top: .25rem solid var(--line); padding-top: .45rem; }
.steps li.active { color: var(--blue); border-color: var(--cyan); font-weight: 750; }
.panel { border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); box-shadow: 0 .35rem 1.4rem rgb(20 62 96 / 7%); }
.form-section { margin-bottom: 1rem; padding: clamp(1.1rem, 4vw, 2rem); }
.form-section h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.section-help { margin: 0 0 1.25rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #aebfce; border-radius: .45rem; padding: .68rem .75rem; color: var(--ink); background: #fff; }
input, select { min-height: 2.8rem; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: .2rem solid #7dcfff; outline-offset: .12rem; }
.field-small { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.check-field, .privacy-check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; }
.check-field input, .privacy-check input { width: 1.15rem; min-height: 1.15rem; margin-top: .2rem; }
.privacy-check { margin: 1rem 0; padding: .85rem; border-radius: .5rem; background: var(--background); }
.primary-button, .orange-button, .secondary-button { min-height: 2.85rem; border: 1px solid transparent; border-radius: .45rem; padding: .65rem 1.1rem; font-weight: 800; }
.primary-button { color: #fff; background: var(--blue); }
.primary-button:hover { background: #003f78; }
.orange-button { color: #fff; background: #d97900; }
.orange-button:hover { background: #ad6000; }
.secondary-button { color: var(--blue); border-color: #9db6ca; background: #fff; }
button:disabled { cursor: wait; opacity: .65; }

.edition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .8rem; }
.edition-option { position: relative; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: #fff; font-weight: 500; }
.edition-option:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 0 .16rem rgb(0 160 223 / 25%); }
.edition-option img { width: 100%; height: 10rem; object-fit: contain; background: #f5f8fa; }
.edition-option > span { display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .8rem; }
.edition-option input { width: 1rem; min-height: 1rem; margin-top: .2rem; }
.edition-option small { display: block; color: var(--muted); }
.return-summary { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding: 1rem; border-radius: .5rem; background: #fff5e7; }
.current-details { margin-bottom: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--background); }
.details-list { display: grid; gap: .65rem; margin: 1rem 0 0; }
.details-list div { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: 1rem; }
.details-list dt { color: var(--muted); font-weight: 700; }
.details-list dd { margin: 0; overflow-wrap: anywhere; }
.choice-fieldset { display: grid; gap: .7rem; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: .6rem; padding: 1rem; }
.choice-fieldset legend { padding: 0 .35rem; font-weight: 800; }
.radio-field { display: flex; align-items: center; gap: .6rem; font-weight: 650; }
.radio-field input { width: 1.15rem; min-height: 1.15rem; }
.notice { margin: 0 0 1rem; padding: 1rem; border-radius: .6rem; }
.notice-error { color: var(--error); border: 1px solid #e3aaaa; background: #fff7f7; }
.loading-panel, .success-panel { max-width: 36rem; margin: 5rem auto; padding: 2rem; text-align: center; }
.spinner { display: block; width: 2.7rem; height: 2.7rem; margin: 0 auto; border: .3rem solid #d8edf7; border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; }
.success-mark { display: grid; width: 4rem; height: 4rem; margin: 0 auto 1rem; place-items: center; border-radius: 50%; color: #fff; background: var(--cyan); font-size: 2.4rem; font-weight: 900; }
footer { padding: 2.5rem 0 1rem; color: var(--muted); font-size: .82rem; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .choice-card:hover { transform: none; } }
@media (max-width: 42rem) {
  .site-header { align-items: flex-start; }
  .brand { flex-basis: 11rem; }
  .publication-brand { text-align: right; }
  .publication-brand img { width: min(8rem, 28vw); height: 4rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-accent { display: none; }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .details-list div { grid-template-columns: 1fr; gap: .1rem; }
  .field-full { grid-column: auto; }
  .choice-card { padding: 1rem; }
}
