:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #f6f5fc;
  color: #201932;
  --muted: #635b75;
  --purple: #5736cb;
  --deep: #362385;
  --border: #e7e2f2;
  --soft: #efeaff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--purple); font-weight: 700; }
.top { min-height: 76px; padding: 0 max(5vw, 20px); display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.55rem; font-weight: 850; letter-spacing: -.07em; text-decoration: none; color: #201932; }
.mark { display: grid; place-items: center; background: var(--purple); color: white; width: 35px; height: 35px; font-size: 1.25rem; border-radius: 11px; }
.dot { color: var(--purple); margin-left: -7px; }
.home-link { text-decoration: none; font-size: .92rem; }
main { width: min(1080px, calc(100% - 40px)); margin: 40px auto 70px; }
.hero { overflow: hidden; position: relative; isolation: isolate; padding: clamp(28px, 6vw, 68px); background: #ddcffb; border-radius: 30px; margin-bottom: 26px; }
.hero::after { content: '✳'; position: absolute; z-index: -1; right: 3%; top: -45%; color: #c6aff4; font-size: clamp(190px, 38vw, 460px); line-height: 1; transform: rotate(-16deg); pointer-events: none; }
.hero h1 { max-width: 680px; overflow-wrap: anywhere; margin: 0 0 12px; font-size: clamp(2.35rem, 7vw, 4.8rem); line-height: .98; letter-spacing: -.075em; }
.hero p { max-width: 540px; margin-bottom: 0; font-size: 1.05rem; }
.hero .hero-actions { margin-top: 22px; }
.hero .state { margin: 0 0 13px; font-size: .875rem; font-weight: 750; color: var(--deep); }
.grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { padding: clamp(18px, 4vw, 28px); background: white; border: 1px solid var(--border); border-radius: 22px; min-width: 0; }
.stack { display: grid; gap: 20px; }
h2 { margin: 0 0 8px; font-size: 1.45rem; letter-spacing: -.035em; }
h3 { margin: 0; font-size: 1.05rem; }
p { line-height: 1.55; }
.muted, small { color: var(--muted); }
.card > p { margin: 0 0 16px; }
form { display: grid; gap: 13px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; }
input, select, button, .button { font: inherit; }
input, select { width: 100%; min-width: 0; padding: 11px 12px; min-height: 45px; background: #faf9fd; border: 1px solid #d9d2e7; border-radius: 10px; color: inherit; }
button, .button { padding: 11px 15px; min-height: 44px; border: 0; border-radius: 10px; color: white; background: var(--purple); font-weight: 750; cursor: pointer; width: fit-content; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
button:hover, .button:hover { background: var(--deep); }
button.secondary { background: var(--soft); color: var(--deep); }
button.secondary:hover { background: #dfd4ff; }
button[aria-pressed="true"] { background: var(--deep); color: white; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #7654ed; outline-offset: 3px; }
.rows { list-style: none; display: grid; gap: 8px; padding: 0; margin: 12px 0 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: #f8f6fd; border-radius: 11px; overflow-wrap: anywhere; }
.row small { display: block; margin-top: 3px; }
.row a { overflow-wrap: anywhere; }
.choice { display: flex; align-items: center; gap: 8px; }
.choice input { width: 19px; min-height: 19px; accent-color: var(--purple); }
.inline { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.inline > label { flex: 1 1 150px; }
.rule { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
.toast { position: fixed; z-index: 2; bottom: 12px; right: max(12px, 4vw); max-width: min(420px, calc(100% - 24px)); background: #261950; color: white; border-radius: 12px; padding: 12px 16px; }
.confirmed { background: #eee6ff; border-color: #e2d5fd; }
.countdown { font-size: clamp(1.5rem, 5vw, 2.5rem); font-weight: 850; letter-spacing: -.04em; }
@media (max-width: 700px) {
  main { margin-top: 24px; }
  .grid { grid-template-columns: 1fr; }
}
