@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --cream: #F9F4ED;
  --blue: #0B5CFF;
  --functional-blue: #0746C4;
  --yellow: #F4FF00;
  --ink: #141414;
  --white: #FFFFFF;
  --line: #DED8CF;
  --muted: #615E58;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: "Geist", system-ui, sans-serif; }
body::before { position: fixed; inset: 0 0 auto; z-index: 100; height: 4px; background: var(--yellow); content: ""; }
iframe { border: 0; }

.set-skip { position: fixed; z-index: 110; top: 10px; left: 10px; min-height: 44px; padding: 11px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 850; text-decoration: none; transform: translateY(-160%); }
.set-skip:focus-visible { transform: translateY(0); }
.set-page { width: min(800px, calc(100% - 20px)); margin: 0 auto; padding: 9px 0 48px; }
.set-header { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 14px; }
.set-ops-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.set-ops-link:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; }
.set-review-label { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--functional-blue); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.set-intro { margin: 7px 2px 14px; }
.set-intro p { margin: 0; color: var(--functional-blue); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.set-intro h1 { margin: 4px 0 0; font-size: clamp(24px, 5vw, 34px); letter-spacing: -.045em; line-height: 1.05; }

.set-step { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.set-step[data-locked] { opacity: .58; }
.set-step summary { display: grid; min-height: 70px; grid-template-columns: 38px minmax(0, 1fr) 26px; gap: 11px; align-items: center; padding: 11px 14px; list-style: none; cursor: pointer; }
.set-step summary::-webkit-details-marker { display: none; }
.set-step summary > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.set-step summary strong { font-size: 16px; font-weight: 900; }
.set-step summary small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.set-step summary i { color: var(--functional-blue); font-size: 22px; font-style: normal; text-align: center; }
.set-step[open] summary i { transform: rotate(45deg); }
.set-step-number { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--blue); color: var(--yellow); font-size: 10px; font-weight: 900; }
.set-step-body { padding: 0 13px 13px; border-top: 1px solid var(--line); }
.set-connection-note { margin: 13px 0; padding: 12px 13px; border-left: 4px solid var(--blue); background: #E8F0FF; color: #3F3C38; font-size: 12px; line-height: 1.5; }
.set-submit-confirmation { display: grid; gap: 7px; margin-top: 12px; }
.set-submit-button { width: 100%; min-height: 50px; border: 0; border-radius: 13px; background: var(--blue); color: var(--white); font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
.set-submit-button:hover { background: var(--functional-blue); }
.set-submit-button:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; }
.set-submit-button:disabled { background: var(--functional-blue); cursor: default; }
.set-submit-confirmation p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; text-align: center; }
[hidden] { display: none !important; }

.set-step-schedule { background: var(--ink); color: var(--white); }
.set-step-schedule summary small { color: #D6D2CB; }
.set-step-schedule summary i { color: var(--yellow); }
.set-step-schedule .set-step-number { background: var(--yellow); color: var(--ink); }
.set-step-schedule .set-step-body { border-top-color: rgba(255,255,255,.17); }
.set-connection-note-dark { border-left-color: var(--yellow); background: rgba(255,255,255,.08); color: #F0EDE7; }

.embed-shell { position: relative; width: 100%; min-height: 620px; overflow: hidden; border-radius: 12px; background: var(--white); }
.embed-shell-schedule { min-height: 760px; background: var(--ink); }
.embedded-app { position: relative; z-index: 2; display: block; width: 100%; opacity: 0; transition: opacity .2s ease; }
.embed-shell.is-loaded .embedded-app { opacity: 1; }
.embed-shell.is-loaded .embed-loading { display: none; }
.embedded-app-form { min-height: 1500px; }
.embedded-app-schedule { min-height: 820px; }
.embed-loading { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: 12px; background: var(--white); color: var(--ink); text-align: center; }
.embed-loading-dark { background: var(--ink); color: var(--white); }
.embed-loading span { width: 36px; height: 36px; margin: 0 auto; border: 4px solid rgba(11,92,255,.18); border-top-color: var(--blue); border-radius: 50%; animation: set-spin .7s linear infinite; }
.embed-loading-dark span { border-color: rgba(255,255,255,.18); border-top-color: var(--yellow); }
@keyframes set-spin { to { transform: rotate(360deg); } }

.set-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 3px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.set-footer strong { color: var(--ink); text-transform: uppercase; letter-spacing: .07em; }

@media (max-width: 560px) {
  .set-page { width: min(100% - 12px, 800px); padding-top: 5px; }
  .set-ops-link { min-height: 40px; padding-inline: 12px; }
  .set-review-label { font-size: 8px; }
  .set-intro { margin-top: 3px; }
  .set-step { border-radius: 16px; }
  .set-step summary { min-height: 64px; grid-template-columns: 34px minmax(0,1fr) 22px; gap: 9px; padding: 9px 11px; }
  .set-step-number { width: 32px; height: 32px; }
  .set-step-body { padding-inline: 8px; }
  .embedded-app-form { min-height: 1640px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
