body.form-page { transition: background-color .8s var(--ease-out); }
body.form-page.is-crea { background-color: var(--sky); }
.form-page .sheet { margin-top: calc(var(--frame) + 74px); }

.fgrid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fside { position: sticky; top: 120px; }
.fside > p:not(.label):not(.fnote) { font-size: 1.1rem; color: var(--ink-soft); margin: 1.2rem 0 0; }
.ftitle { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1; font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
.fsteps { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: .2rem; border-left: 2px solid rgba(217,58,53,.35); }
.fsteps li { padding: .55rem 0 .55rem 1rem; font-weight: 500; background: repeating-linear-gradient(transparent 0 calc(100% - 1px), rgba(73,181,214,.25) calc(100% - 1px) 100%); }
.fsteps .mono { color: var(--sun-deep); font-weight: 700; font-size: .8rem; margin-right: .5rem; }
.fsteps small { color: var(--ink-soft); font-weight: 400; }
.fnote { font-size: 1.35rem; line-height: 1.3; margin: 0; color: var(--ink-soft); }
.fnote a { color: var(--ink); }

.fsheet {
  position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 22px;
  padding: 0 clamp(1.2rem, 3.5vw, 2.4rem) clamp(1.4rem, 3.5vw, 2.4rem);
  box-shadow: 10px 10px 0 var(--mint-2);
  transition: box-shadow .6s;
}
.is-crea .fsheet { box-shadow: 10px 10px 0 var(--violet); }
.fsheet__head {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin: 0 calc(-1 * clamp(1.2rem, 3.5vw, 2.4rem)) 1.4rem; padding: .8rem clamp(1.2rem, 3.5vw, 2.4rem);
  background: var(--ink); color: var(--paper); border-radius: 19px 19px 0 0; font-size: .72rem; letter-spacing: .14em;
  transition: background .6s;
}
.is-crea .fsheet__head { background: var(--violet); }

.fset { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
.fset[hidden] { display: none; }
.fset.appear { animation: appear .6s var(--ease-out); }
.flegend { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin-bottom: .9rem; padding: 0; display: flex; align-items: center; gap: .6rem; }
.flegend .mono { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); font-size: .8rem; background: var(--sun); }

.progs { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.prog input, .chip input, .consent input { position: absolute; opacity: 0; pointer-events: none; }
.prog__card {
  display: grid; gap: .25rem; height: 100%; padding: 1.1rem; border-radius: 16px; cursor: pointer;
  border: 2px solid rgba(51,54,90,.25); background: var(--paper);
  transition: border-color .25s, transform .4s var(--ease-spring), box-shadow .3s, background .3s;
}
.prog__card svg { width: 44px; height: 44px; color: var(--ink); margin-bottom: .3rem; transition: transform .6s var(--ease-spring); }
.prog__card b { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.prog__card b i { font-family: var(--f-script); font-style: normal; font-weight: 400; color: var(--violet); font-size: 1.35em; }
.prog__card small { color: var(--ink-soft); line-height: 1.35; }
.prog:hover .prog__card { border-color: var(--ink); transform: translateY(-2px); }
.prog input:focus-visible + .prog__card { outline: 3px solid var(--wire); outline-offset: 2px; }
.prog--sci input:checked + .prog__card { border-color: var(--ink); background: var(--mint); box-shadow: 4px 4px 0 var(--ink); }
.prog--crea input:checked + .prog__card { border-color: var(--ink); background: var(--sky); box-shadow: 4px 4px 0 var(--violet); }
.prog--sci input:checked + .prog__card svg { transform: rotate(180deg); }
.prog--crea input:checked + .prog__card svg { transform: translate(6px, -6px) rotate(-8deg); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip span {
  display: inline-flex; flex-direction: column; padding: .55rem 1rem; border-radius: 14px; cursor: pointer;
  border: 2px solid rgba(51,54,90,.25); background: var(--paper); font-weight: 500; line-height: 1.25;
  transition: border-color .2s, background .2s, transform .3s var(--ease-spring);
}
.chip small { font-weight: 400; color: var(--ink-soft); font-size: .8rem; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--ink); background: var(--sun-soft); transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--wire); outline-offset: 2px; }
.chips--sm .chip span { padding: .3rem .9rem; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field--s { grid-column: 1 / -1; max-width: 260px; }
.fields > .fhint { margin: -.4rem 0 0; }
.fields > .ferr { margin: -.6rem 0 0; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.08rem; color: var(--ink);
  padding: 1.35rem .9rem .5rem; border: 2px solid rgba(51,54,90,.25); border-radius: 12px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
  -moz-appearance: textfield;
}
.field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field label {
  position: absolute; left: .95rem; top: 1rem; color: var(--ink-soft); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease-out), color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,190,85,.35); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.65rem) scale(.74); color: var(--sun-deep); font-weight: 600; }
.field--area { margin-top: 1rem; }
.field.has-error input { border-color: var(--apple); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; margin-top: 1.2rem; font-weight: 500; }

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; cursor: pointer; color: var(--ink-soft); font-size: .95rem; }
.consent span::before { content: none; }
.consent::before {
  content: ""; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--ink); background: var(--paper);
  margin-top: .1rem; transition: background .2s;
}
.consent:has(input:checked)::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%2333365a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.consent:has(input:focus-visible)::before { outline: 3px solid var(--wire); outline-offset: 2px; }

.ferr { display: none; margin: .35rem 0 0; color: var(--apple); font-size: .85rem; font-weight: 500; }
.ferr.on { display: block; }

.fsubmit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1.5px dashed rgba(51,54,90,.25); }
.fprice { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.fprice b { font-family: var(--f-display); font-size: 1.4rem; color: var(--ink); }
.fbtn { border: 0; cursor: pointer; font-size: 1.15rem; color: var(--ink); }
.fbtn__plane { width: 26px; height: 26px; transition: transform .5s var(--ease-out); }
.fbtn:hover .fbtn__plane { transform: translate(4px, -4px) rotate(-8deg); }
.fbtn.is-sending { pointer-events: none; opacity: .85; }
.fbtn.is-sending .fbtn__plane { animation: fly 1s ease-in infinite; }
.fstatus { margin: .8rem 0 0; font-weight: 500; }
.fstatus.err { color: var(--apple); }

.fdone {
  position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; text-align: center; gap: .6rem;
  padding: 2rem; background: #fff; border-radius: 20px;
  animation: appear .6s var(--ease-out);
}
.fdone[hidden] { display: none; }
.fdone h2 { font-size: clamp(2rem, 4vw, 3rem); }
.fdone p { max-width: 28em; color: var(--ink-soft); margin: 0 0 1rem; font-size: 1.1rem; }
.fdone__check { width: 120px; }
.fdone__check circle { fill: var(--sun-soft); stroke: var(--ink); stroke-width: 4; stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw .8s var(--ease-out) forwards; }
.fdone__check path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .6s .6s var(--ease-out) forwards; }

@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fly { 0% { transform: translate(0,0); opacity: 1; } 70% { transform: translate(18px,-18px); opacity: 0; } 71% { transform: translate(-12px,12px); opacity: 0; } 100% { transform: translate(0,0); opacity: 1; } }

@media (max-width: 980px) {
  .fgrid { grid-template-columns: 1fr; }
  .fside { position: static; }
}
@media (max-width: 560px) {
  .progs { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field--s { max-width: none; }
}

.rgpd { margin: 0 0 1.1rem; border: 1.5px dashed rgba(51,54,90,.3); border-radius: 14px; padding: .8rem 1rem; background: var(--paper); font-size: .86rem; color: var(--ink-soft); }
.rgpd summary { cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.rgpd dl { display: grid; grid-template-columns: 110px 1fr; gap: .35rem .8rem; margin: .8rem 0 0; }
.rgpd dt { font-weight: 600; color: var(--ink); }
.rgpd dd { margin: 0; line-height: 1.45; }
.rgpd a, .consent a { color: var(--ink); font-weight: 500; }
.fhint { margin: .35rem 0 0; font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 560px) { .rgpd dl { grid-template-columns: 1fr; gap: .1rem; } .rgpd dd { margin-bottom: .4rem; } }
.chip[hidden] { display: none; }
.fhint[hidden] { display: none; }
