/* /creators: the creator programme in direction B, "Blue precision". Builds on page.css (tokens, .top,
 * .btn, .orb, .foot). Fields step light → paper → night → blue the way the homepage deck does; no outlines,
 * separation comes from a tone step. */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.cur::before { content: "$"; }
html[data-cur="eur"] .cur::before { content: "€"; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--m); }
.band { padding: clamp(64px, 9vw, 120px) 0; }
main > .band:first-child { padding-top: clamp(32px, 5vw, 64px); }
.band.paper { background: var(--paper); }
.band.night { background: var(--night); color: var(--on-night); }
.band.night .lead { color: var(--on-night-2); }
.band.blue { background: var(--blue); color: #fff; }
.band.blue .lead { color: rgba(255, 255, 255, 0.78); }
.band-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.band-head .head { font-size: clamp(36px, 1rem + 3.6vw, 68px); }
.head .soft { color: var(--ink-3); }
.band.night .head .soft { color: var(--on-night-2); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; background: var(--tone); color: var(--ink-2); width: max-content;
}
.paper .tag { background: var(--ground); }
.night .tag { background: var(--night-3); color: var(--on-night-2); }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.checks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button {
  height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; white-space: nowrap;
  color: var(--ink-2); background: var(--tone); font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.paper .chips button { background: var(--ground); }
.night .chips button { background: var(--night-3); color: var(--on-night-2); }
.chips button:active { transform: scale(0.96); }
@media (hover: hover) { .chips button:hover { color: var(--ink); } .night .chips button:hover { color: var(--on-night); } }
.chips button[aria-checked="true"] { background: var(--ink); color: #fff; }
.night .chips button[aria-checked="true"] { background: var(--blue); color: #fff; }


/* ---------- the pay ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 10px; }
.calc-in { background: var(--ground); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; align-content: start; }
.calc-in h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.calc-in p { font-size: 15px; color: var(--ink-2); max-width: 52ch; }
.calc-out { background: var(--ground); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: grid; align-content: center; gap: 10px; }
.calc-k { font-size: 15px; color: var(--ink-2); }
.calc-v { display: flex; align-items: baseline; font-size: clamp(56px, 1rem + 5vw, 104px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-v .orb { --o: 0.2em; margin-left: 0.04em; align-self: baseline; }
.calc-eq { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.note { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); max-width: 70ch; }

/* ---------- how it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.step { background: var(--paper); border-radius: 28px; padding: clamp(22px, 2.4vw, 30px); display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; }
.step-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); }
.step-top .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step-viz { margin-top: 8px; border-radius: 18px; background: var(--ground); padding: 14px; min-height: 148px; display: grid; align-content: center; }
.viz-setup { list-style: none; display: grid; gap: 8px; }
.viz-setup li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--paper); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 500; }
.viz-setup li span { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.viz-chart svg { width: 100%; height: auto; display: block; }
.step.pay { background: var(--night); color: var(--on-night); }
.step.pay .step-top, .step.pay p { color: var(--on-night-2); }
.step.pay .step-top .n { background: var(--blue); }
.step.pay .step-viz { background: var(--night-2); gap: 8px; }
.viz-pay > span { display: flex; justify-content: space-between; align-items: center; background: var(--night-3); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.viz-pay b { color: #8fb0ff; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- the format ---------- */
.arc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.beat { background: var(--paper); border-radius: 28px; padding: clamp(22px, 2.4vw, 30px); display: grid; grid-template-rows: auto 1fr auto; gap: 16px; }
.beat-k { font-size: 14px; font-weight: 500; color: var(--blue); }
.beat-line { font-size: clamp(19px, 0.9rem + 0.5vw, 22px); line-height: 1.35; letter-spacing: -0.015em; text-wrap: pretty; }
.beat-foot { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line, rgba(11, 12, 15, 0.08)); }
.beat-foot i { color: var(--ink); }
.beat.life { background: var(--blue); color: #fff; }
.beat.life .beat-k { color: rgba(255, 255, 255, 0.78); }
.beat.life .beat-foot { color: rgba(255, 255, 255, 0.78); border-top-color: rgba(255, 255, 255, 0.2); }
.beat.life .beat-foot i { color: #fff; }
.hooks { margin-top: 10px; background: var(--paper); border-radius: 28px; padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 14px; }
.hooks h3 { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.hooks ul { list-style: none; display: grid; gap: 8px; }
.hooks li { background: var(--ground); border-radius: 14px; padding: 13px 16px; font-size: 16px; }
.free-note { margin-top: 22px; color: var(--ink-2); max-width: 70ch; }
.free-note b { color: var(--ink); font-weight: 500; }

/* ---------- apply ---------- */
.apply .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.apply-copy { display: grid; gap: 18px; position: sticky; top: 96px; }
.apply-copy .head { font-size: clamp(40px, 1rem + 4vw, 76px); }
.apply-copy .orb { --o: 64px; }
.form { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.form .opt { font-weight: 400; color: var(--ink-3); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--ground);
  font: inherit; font-size: 16px; color: var(--ink); transition: box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form select {
  padding-right: 40px; cursor: pointer;
  background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23565b66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.form textarea { height: 112px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background-color: #fff; box-shadow: 0 0 0 2px var(--blue); }
.form ::placeholder { color: var(--ink-3); }
.acct { display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; gap: 10px; align-items: end; }
.acct + .acct { margin-top: 10px; }
.acct:first-child .rm { visibility: hidden; }
.rm { width: 40px; height: 52px; border-radius: 12px; font-size: 22px; color: var(--ink-3); }
@media (hover: hover) { .rm:hover { color: var(--ink); background: var(--ground); } }
.addrow { justify-self: start; color: var(--blue); font-size: 15px; font-weight: 500; padding: 4px 0; }
@media (hover: hover) { .addrow:hover { text-decoration: underline; text-underline-offset: 3px; } }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14.5px !important; color: var(--ink-2); cursor: pointer; margin: 0 !important; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: none; }
#formmsg { font-size: 15px; }
#formmsg:empty { display: none; }
#formmsg.err { color: #c62f2f; }
#formmsg.ok { background: var(--blue-tint); color: var(--ink); border-radius: 14px; padding: 14px 16px; }
.form .btn { justify-self: start; }
.form .btn:disabled { background: var(--tone); color: var(--ink-2); cursor: default; transform: none; }
.formnote { font-size: 13.5px; color: var(--ink-3); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.faq details { background: var(--paper); border-radius: 22px; padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%230b0c0f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 62ch; }
.faq details a { color: var(--blue); text-decoration: none; }

/* ---------- close ---------- */
.end .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.end .head { font-size: clamp(48px, 1rem + 6vw, 120px); letter-spacing: -0.045em; line-height: 0.94; }
.end .lead { margin-top: 16px; }
.btn-invert { background: #fff; color: var(--blue); }
@media (hover: hover) { .btn-invert:hover { background: var(--blue-tint); } }
.foot.on-blue { background: var(--blue); color: rgba(255, 255, 255, 0.78); }
@media (hover: hover) { .foot.on-blue a:hover { color: #fff; } }

/* ---------- phone ---------- */
@media (max-width: 1024px) {
  .calc, .apply .wrap { grid-template-columns: 1fr; }
  .steps, .arc { grid-template-columns: 1fr; }
  .apply-copy { position: static; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .top { padding: 12px var(--m); }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--m)); margin: 0 calc(-1 * var(--m)); padding: 0 var(--m); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .row2 { grid-template-columns: 1fr; }
  .acct { grid-template-columns: minmax(0, 1fr) 36px; gap: 12px 8px; }
  .acct > div:first-child, .acct:first-child > div { grid-column: 1 / -1; }
  .acct:first-child .rm { display: none; }
  .acct + .acct { margin-top: 20px; }
  .rm { width: 36px; }
  .form .btn { justify-self: stretch; }
  .faq summary { font-size: 16px; }
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
