:root {
  --ink: #19151b;
  --muted: #615963;
  --brand: #b00389;
  --tint: #f7dcef;
  --line: #e6dee3;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #81156a; outline-offset: 4px; }
[hidden] { display: none !important; }
a { color: inherit; }
.mast { min-height: 73px; border-bottom: 1px solid var(--line); padding: 16px clamp(18px, 5vw, 76px); display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mast img { display:block; width:clamp(140px, 18vw, 190px); height:auto; }
.mast span { font-size:var(--type-label); font-weight:600; color:var(--muted); }
main { width:min(100% - 40px, 920px); margin:0 auto; flex:1; }
#screen { padding:clamp(34px,6vh,62px) 0 40px; text-align:center; }
#screen.enter { animation:arrive .22s ease-out; }
@keyframes arrive { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
h1,h2,p { margin:0; }
h1 { font-size:var(--type-display); line-height:1.08; letter-spacing:-.059em; font-weight:760; text-wrap:balance; }
h1:focus { outline:none; }
.intro-title span { display:block; color:var(--brand); }
.marker { display:inline-block; background:var(--tint); color:#71105b; font-size:var(--type-label); font-weight:700; padding:5px 12px; border-radius:5px; margin-bottom:19px; line-height:1.35; }
.deck { color:var(--muted); font-size:var(--type-intro); line-height:1.58; max-width:605px; margin:18px auto 0; text-wrap:pretty; }
.tiles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; max-width:820px; margin:30px auto 0; }
.tile { display:flex; align-items:center; gap:14px; border:1px solid #d9cdd5; background:#fff; padding:0 15px 0 0; color:var(--ink); border-radius:13px; overflow:hidden; text-align:left; box-shadow:0 3px 10px #33172b0b; transition:transform .15s,border-color .15s; }
.tile:hover, .tile[aria-pressed=true] { border-color:var(--brand); transform:translateY(-2px); }
.tile img { width:104px; height:104px; min-height:0; flex-shrink:0; aspect-ratio:1; object-fit:cover; object-position:center 35%; }
.tile-caption { flex:1; padding:8px 0; }
.tile strong { display:block; font-size:var(--type-body); line-height:1.25; letter-spacing:-.02em; }
.tile-outcome { display:block; font-size:var(--type-label); line-height:1.35; color:var(--muted); margin-top:6px; }
.ring { flex:none; width:17px; height:17px; border:1.5px solid #bdacb8; border-radius:50%; }
button:hover .ring, button[aria-pressed=true] .ring { border:5px solid var(--brand); }
.byline { display:flex; align-items:center; justify-content:center; gap:10px; font-size:var(--type-label); color:var(--muted); margin:26px auto 0; text-align:left; }
.byline img { width:41px; height:41px; border-radius:50%; object-fit:cover; object-position:50% 20%; }
.byline strong { display:block; font-size:var(--type-label); color:var(--ink); }
.progress { width:min(100%,540px); margin:28px auto 0; display:grid; grid-template-columns:1fr 1fr; align-items:center; row-gap:11px; font-size:var(--type-label); color:var(--muted); }
.progress button, .text-btn { color:var(--muted); background:none; border:0; padding:6px 0; text-decoration:underline; text-underline-offset:3px; }
.progress button { justify-self:start; }
#step-label { text-align:right; }
progress { grid-column:span 2; appearance:none; width:100%; height:5px; border:0; border-radius:16px; background:#eee8ec; }
progress::-webkit-progress-bar { background:#eee8ec; border-radius:16px; }
progress::-webkit-progress-value { background:var(--brand); border-radius:16px; }
progress::-moz-progress-bar { background:var(--brand); border-radius:16px; }
.inner { width:min(100%,540px); margin:auto; }
.inner h1, .result h1 { font-size:var(--type-section); line-height:1.12; letter-spacing:-.045em; }
.choices,.fields { display:grid; gap:11px; margin:26px auto 0; text-align:left; }
.choice { font-size:var(--type-body); width:100%; border-radius:11px; display:flex; justify-content:space-between; gap:13px; align-items:center; border:1px solid #d9cfd5; background:white; min-height:59px; padding:15px 18px; color:var(--ink); font-weight:650; text-align:left; line-height:1.35; }
.choice:hover, .choice[aria-pressed=true] { border-color:var(--brand); background:#fff7fc; }
.fields { margin-top:24px; gap:16px; }
.fields label:not(.opt-in) { font-size:var(--type-label); font-weight:700; display:grid; gap:7px; }
.fields input:not([type=checkbox]) { border:1px solid #bcaeb8; border-radius:8px; padding:13px 14px; color:var(--ink); width:100%; font-size:1rem; }
.opt-in { display:flex; gap:10px; font-size:var(--type-label); line-height:1.45; align-items:flex-start; }
.opt-in input { accent-color:var(--brand); margin:3px 0 0; flex:none; height:17px; width:17px; }
.cta { font-size:var(--type-action); display:flex; align-items:center; justify-content:center; width:100%; min-height:54px; background:var(--brand); color:white; font-weight:700; text-decoration:none; border:0; border-radius:9px; padding:14px; line-height:1.3; text-align:center; }
.cta:hover { background:#8b076e; } button:disabled { cursor:wait; opacity:.65; }
.note { color:var(--muted); font-size:var(--type-label); line-height:1.46; }
.text-btn { margin-top:14px; font-size:var(--type-label); }
#form-error { color:#922342; font-size:var(--type-label); line-height:1.4; }
.result { max-width:630px; margin:auto; }
.result .deck { max-width:550px; }
.first-move { margin:24px 0; padding:18px 20px; border-left:3px solid var(--brand); background:#fcf5fa; text-align:left; }
.first-move h2, .overview h2 { font-size:var(--type-card); letter-spacing:-.025em; }
.first-move p { margin-top:6px; line-height:1.5; }
.overview { text-align:left; }
.automation-intro { margin:12px 0 0; color:var(--muted); font-size:var(--type-body); line-height:1.55; }
.actions-list { margin:12px auto 24px; padding:0; list-style:none; text-align:left; counter-reset:steps; }
.actions-list li { counter-increment:steps; position:relative; border-top:1px solid var(--line); padding:18px 0 18px 43px; line-height:1.48; color:var(--muted); }
.actions-list li::before { content:counter(steps); position:absolute; left:0; top:19px; width:27px; height:27px; display:grid; place-items:center; border-radius:50%; color:#86216b; background:#f9e8f4; font-size:var(--type-label); font-weight:700; }
.actions-list strong { display:block; color:var(--ink); font-size:1.1875rem; line-height:1.25; margin-bottom:5px; }
.focus-label { line-height:1.25; display:inline-block; vertical-align:middle; padding:3px 7px; margin-left:4px; border-radius:4px; background:var(--tint); color:#71105b; font-size:var(--type-note); letter-spacing:0; }
.actions-list .current-stage::before { background:var(--brand); color:white; }
.next { background:#fbf4f9; border:1px solid #edd9e7; border-radius:15px; padding:24px; text-align:center; }
.next h2 { font-size:var(--type-card); letter-spacing:-.035em; }
.next p { margin:7px 0 16px; color:var(--muted); line-height:1.5; text-align:center; }
.next .secondary { display:block; margin:15px auto 0; font-weight:600; font-size:var(--type-label); text-align:center; text-underline-offset:3px; }
footer { display:flex; gap:10px; justify-content:center; padding:20px; border-top:1px solid var(--line); color:var(--muted); font-size:var(--type-note); }
footer a { text-decoration:none; } footer a:hover { text-decoration:underline; }
@media(max-width:570px) {
  .mast { min-height:58px; } .mast span { font-size:var(--type-note); }
  main { width:calc(100% - 32px); } #screen { padding-top:31px; }
  .marker { margin-bottom:14px; } .deck { margin-top:12px; }
  .tiles { grid-template-columns:1fr; gap:9px; max-width:410px; margin-top:20px; }
  .tile { gap:12px; border-radius:10px; padding-right:12px; }
  .tile img { width:88px; height:88px; min-height:0; object-position:50% 33%; }
  .tile-caption { padding:8px 0; }
  .tile-outcome { margin-top:3px; }
  .byline { margin-top:19px; } .progress { margin-top:16px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before { animation:none!important; transition:none!important; } }
.result > a.text-btn { display:inline-block; }
@media print {
  .mast span, footer, .next, .text-btn, .progress { display:none!important; }
  .mast { min-height:0; padding:0 0 1rem; } .mast img { width:140px; }
  main, .result { width:100%; max-width:none; } #screen { padding:20px 0; }
  .actions-list li { break-inside:avoid; } .result h1 { font-size:29pt; }
}
.scheduler summary { cursor:pointer; list-style:none; }
.scheduler summary::-webkit-details-marker { display:none; }
.scheduler summary:focus-visible { outline:3px solid #81156a; outline-offset:4px; }
.scheduler iframe { margin-top:16px; display:block; background:white; border:1px solid var(--line); border-radius:9px; width:100%; height:min(700px,80svh); }

.fields textarea{width:100%;box-sizing:border-box;padding:14px;border:1px solid #555;border-radius:12px;background:#17131b;color:#fff;font:inherit;resize:vertical}.fields textarea:focus-visible{outline:2px solid #dc58be;outline-offset:3px}
