:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --panel: #fffefa;
  --ink: #202b36;
  --muted: #56616a;
  --line: #d8d8cf;
  --accent: #866437;
  --button: #20313d;
  --button-ink: #fffaf0;
  --error: #9c3638;
  --focus: #946926;
  font: 100%/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141c22;
  --panel: #1e2931;
  --ink: #f4efe6;
  --muted: #b4bfc4;
  --line: #3c4951;
  --accent: #dfbc83;
  --button: #e2c496;
  --button-ink: #202b36;
  --error: #ffb7b4;
  --focus: #e6c48b;
}
:root[data-text-size="120"] { font-size: 120%; }
:root[data-text-size="125"] { font-size: 125%; }
:root[data-text-size="130"] { font-size: 130%; }
:root[data-text-size="150"] { font-size: 150%; }
:root[data-text-size="175"] { font-size: 175%; }
:root[data-text-size="200"] { font-size: 200%; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
button, summary, .action { cursor: pointer; }
button:disabled { cursor: wait; opacity: .64; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.mast, footer { flex: none; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner, .foot-inner, .spread { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.mast-inner, .foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast-inner { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 730; font-size: 1.15rem; letter-spacing: -.045em; }
.brand img { width: 2.35rem; height: 2.35rem; }
.brand em { color: var(--accent); font-family: Georgia, serif; font-weight: 500; }
.back { display: inline-flex; gap: .45rem; align-items: center; font-size: .86rem; font-weight: 600; min-height: 44px; }
.back > :first-child { font-size: 1.15em; }
.back:hover, footer a:hover, .text-action:hover { text-decoration: underline; text-underline-offset: .23em; }
main { display: grid; align-items: center; flex: 1 0 auto; padding-block: clamp(38px, 6vh, 74px); }
.spread { display: grid; grid-template-columns: 49% 51%; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); box-shadow: 0 14px 42px #18212a0b; }
.account { grid-area: 1 / 2; min-width: 0; align-self: center; padding: clamp(38px, 5.7vw, 80px); }
.progress { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .85rem; padding: 0; margin: 0 0 2.15rem; list-style: none; }
.progress li { display: flex; align-items: center; gap: .45rem; font-size: .77rem; font-weight: 600; color: var(--muted); }
.progress li + li::before { content: ""; width: 1.65rem; height: 1px; background: var(--line); margin-right: .3rem; }
.marker { flex: none; display: grid; place-items: center; width: 1.48rem; height: 1.48rem; border: 1px solid var(--line); border-radius: 50%; font-size: .70rem; line-height: 1; }
.progress [aria-current="step"], .progress .done { color: var(--ink); }
[aria-current="step"] .marker, .done .marker { border-color: var(--button); background: var(--button); color: var(--button-ink); }
h1 { margin: 0; max-width: 12ch; font-size: clamp(2.45rem, 3.6vw, 3.65rem); line-height: 1.04; letter-spacing: -.062em; font-weight: 640; text-wrap: balance; overflow-wrap: anywhere; }
h1:focus { outline: 0; }
#status, .help p { font-size: .98rem; line-height: 1.62; color: var(--muted); }
#status { margin: 1rem 0 1.85rem; }
#status[data-error] { color: var(--error); }
.actions { display: grid; gap: .5rem; }
.action { border-radius: .6rem; min-height: 3.1rem; padding: .65rem 1rem; display: flex; align-items: center; justify-content: center; gap: .7rem; font-size: .97rem; font-weight: 620; width: 100%; line-height: 1.3; text-align: center; }
.google { background: #fff; color: #1f1f1f; border: 1px solid #747775; font: 500 .97rem/1.35 "Google Sans", Roboto, Arial, sans-serif; }
.google:hover { background: #f8fafd; }
.google img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.primary { background: var(--button); color: var(--button-ink); border: 1px solid var(--button); }
.primary:hover { filter: brightness(1.10); }
.secondary { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.text-action { min-height: 44px; background: transparent; color: var(--muted); border: 0; font-size: .86rem; justify-self: center; }
.help { border-top: 1px solid var(--line); margin-top: 1.65rem; padding-top: .65rem; }
.help summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 44px; list-style: none; font-size: .86rem; font-weight: 600; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.help[open] summary::after { content: "−"; }
.help p { margin: .1rem 0 .6rem; font-size: .88rem; }
.folio { grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden; min-height: clamp(500px, 44vw, 590px); background: #1b2731; color: #fff8ed; }
.still-life { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.folio::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#111e2bb3,#12202f52 31%,transparent 58%); }
.folio-copy { padding: clamp(32px, 3.8vw, 54px); }
.folio h2 { margin: 0; font: 400 clamp(2.2rem, 3.4vw, 3.5rem)/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.043em; }
.folio h2 em { display: block; color: #edc78e; font-weight: 400; }
.folio p { color: #e0e4e5; max-width: 34ch; margin: 1rem 0 0; font-size: .88rem; line-height: 1.55; }
footer { border-top: 1px solid var(--line); }
.foot-inner { min-height: 68px; font-size: .79rem; color: var(--muted); flex-wrap: wrap; }
.promise { font-weight: 600; }
footer nav { display: flex; gap: 1.4rem; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 770px) {
  .mast-inner, .foot-inner, .spread { width: min(550px, calc(100% - 36px)); }
  .mast-inner { min-height: 64px; }
  main { padding-block: 28px; }
  .spread { display: flex; flex-direction: column; border-radius: 16px; }
  .account { width: 100%; padding: 2rem clamp(21px, 6vw, 38px) 1.6rem; }
  .progress { margin-bottom: 1.5rem; }
  h1 { font-size: 2.55rem; }
  .folio { min-height: 0; }
  .folio-copy { padding: 1.4rem; width: 65%; }
  .folio h2 { font-size: 1.75rem; }
  .folio p { margin-top: .6rem; font-size: .8rem; }
  .still-life { left: auto; width: 58%; object-position: 52% 70%; }
  .folio::before { background: linear-gradient(90deg,#1b2731 40%,#1b2731f0 51%,#1b273166 68%,transparent 80%); }
  .foot-inner { padding-block: .4rem; gap: 0 1rem; }
}
@media (max-width: 380px) {
  .mast-inner, .foot-inner, .spread { width: calc(100% - 24px); }
  .brand { gap: .35rem; font-size: 1rem; }
  .brand img { width: 1.9rem; height: 1.9rem; }
  .back { font-size: .78rem; }
  .progress { gap: .45rem; }
  .progress li + li::before { width: .85rem; }
  .folio-copy { width: 72%; }
}
@media (max-width: 950px) {
  :root:is([data-text-size="150"],[data-text-size="175"],[data-text-size="200"]) .spread { display: flex; flex-direction: column; }
  :root:is([data-text-size="150"],[data-text-size="175"],[data-text-size="200"]) .account { width: 100%; }
}
:root:is([data-text-size="150"],[data-text-size="175"],[data-text-size="200"]) .folio-copy { width: 100%; background: #1b2731ed; }
:root:is([data-text-size="150"],[data-text-size="175"],[data-text-size="200"]) .mast-inner { flex-wrap: wrap; gap: 0 .75rem; }
@media (max-width: 480px) {
  :root:is([data-text-size="150"],[data-text-size="175"],[data-text-size="200"]) h1 { font-size: clamp(1.75rem, 12vw, 2.55rem); }
  :root:is([data-text-size="150"],[data-text-size="175"],[data-text-size="200"]) .progress li + li::before { display: none; }
}
@media (forced-colors: active) {
  .action, .marker { border: 1px solid ButtonText; }
  .folio-copy { background: Canvas; color: CanvasText; }
  .folio h2 em, .folio p { color: CanvasText; }
}
