/* Signwings prototype — base styles for the engine components (flow.js). Packs set the --sw-* variables, fonts and layout. */
:root {
  --sw-fs: 18px;
  --sw-bg: #fbfaf7; --sw-bg-2: #f3f1ec; --sw-surface: #ffffff; --sw-surface-2: #f5f3ef;
  --sw-text: #1f2328; --sw-text-2: #5b616b; --sw-line: #e4e1da;
  --sw-primary: #1f3d33; --sw-primary-2: #16302a; --sw-on-primary: #ffffff;
  --sw-accent: #f2b38f; --sw-on-accent: #2a1d14;
  --sw-cta: var(--sw-primary); --sw-cta-2: var(--sw-primary-2); --sw-on-cta: var(--sw-on-primary);
  --sw-success: #2f7d4f; --sw-danger: #c2412d;
  --sw-focus: color-mix(in srgb, var(--sw-primary) 45%, transparent);
  --sw-highlight: color-mix(in srgb, var(--sw-accent) 45%, transparent);
  --sw-radius: 14px; --sw-radius-sm: 10px; --sw-radius-lg: 22px;
  --sw-shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 10px 28px -14px rgba(20, 20, 30, .22);
  --sw-shadow-lg: 0 2px 6px rgba(20, 20, 30, .05), 0 28px 64px -28px rgba(20, 20, 30, .34);
  --sw-font-head: Georgia, "Times New Roman", serif; --sw-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sw-font-doc: Georgia, "Times New Roman", serif; --sw-font-hand: "Segoe Script", "Bradley Hand", cursive;
  --sw-head-weight: 600; --sw-ease: cubic-bezier(.2, .7, .2, 1);
  --sw-paper: #fffdf9; --sw-paper-text: #2a2a2a; --sw-watermark: rgba(31, 61, 51, .13);
  --sw-maxw: 1180px;
}
html { font-size: var(--sw-fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sw-bg); color: var(--sw-text); font-family: var(--sw-font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
*, *::before, *::after { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sw-focus); outline-offset: 2px; }
a { color: var(--sw-primary); }
.sw-container { max-width: var(--sw-maxw); margin: 0 auto; padding: 0 24px; }
.sw-i { width: 1.25em; height: 1.25em; flex: none; }
.sw-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- logo */
.sw-logo { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: 1.15rem; color: var(--sw-text); text-decoration: none; letter-spacing: -.01em; }
.sw-logo-mark { width: 1.75em; height: 1.75em; color: var(--sw-primary); flex: none; }
.sw-logo-ink { fill: var(--sw-text); }   /* Federherz: ink line in the text colour (plum in Familienband) */

/* ---------------------------------------------------------------- buttons */
.sw-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.25em; border-radius: var(--sw-radius-sm);
  border: 1.5px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .2s, box-shadow .25s, color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.sw-btn:active { transform: translateY(1px) scale(.99); }
.sw-btn .sw-i { width: 1.15em; height: 1.15em; transition: transform .25s var(--sw-ease); }
.sw-btn:hover .sw-i:last-child:not(:first-child) { transform: translateX(3px); }
.sw-btn--primary { background: var(--sw-primary); color: var(--sw-on-primary); }
.sw-btn--primary:hover { background: var(--sw-primary-2); }
.sw-btn--cta { background: var(--sw-cta); color: var(--sw-on-cta); box-shadow: 0 12px 26px -14px var(--sw-cta); }
.sw-btn--cta:hover { background: var(--sw-cta-2); box-shadow: 0 16px 30px -14px var(--sw-cta); }
.sw-btn--ghost { background: transparent; color: var(--sw-text); border-color: var(--sw-line); }
.sw-btn--ghost:hover { background: var(--sw-surface-2); border-color: color-mix(in srgb, var(--sw-text) 25%, var(--sw-line)); }
.sw-btn--link { background: none; border: 0; padding: .35em 0; color: var(--sw-primary); }
.sw-btn--link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sw-btn--lg { font-size: 1.06rem; padding: .95em 1.55em; }
.sw-btn--sm { font-size: .85rem; padding: .5em .85em; }
.sw-btn--block { width: 100%; }
.sw-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.sw-btn.is-loading, .sw-xpay.is-loading { color: transparent !important; pointer-events: none; }
.sw-btn.is-loading .sw-i, .sw-xpay.is-loading span { visibility: hidden; }
.sw-btn.is-loading::after, .sw-xpay.is-loading::after { content: ""; position: absolute; left: calc(50% - 11px); top: calc(50% - 11px); width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .95); border-right-color: transparent; animation: sw-spin .7s linear infinite; }
.sw-xpay--google.is-loading::after { border-color: #333; border-right-color: transparent; }

/* ---------------------------------------------------------------- answer options (cards + chips) */
.sw-opts { display: grid; gap: 14px; }
.sw-opts--cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sw-opt { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px; text-align: left; cursor: pointer; background: var(--sw-surface); color: var(--sw-text);
  border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius); -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, box-shadow .3s, transform .3s var(--sw-ease), background .2s; animation: sw-pop-in .5s var(--sw-ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.sw-opt:hover { border-color: color-mix(in srgb, var(--sw-primary) 45%, var(--sw-line)); transform: translateY(-2px); box-shadow: var(--sw-shadow); }
.sw-opt.is-on { border-color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 6%, var(--sw-surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw-primary) 16%, transparent); }
.sw-opt-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 9%, var(--sw-surface)); transition: transform .3s var(--sw-ease); }
.sw-opt:hover .sw-opt-ic { transform: scale(1.06) rotate(-3deg); }
.sw-opt-ic .sw-i { width: 24px; height: 24px; }
.sw-opt-img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: calc(var(--sw-radius) - 6px); overflow: hidden; background: var(--sw-surface-2); }
.sw-opt-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--sw-ease); }
.sw-opt:hover .sw-opt-img img { transform: scale(1.04); }
.sw-opt-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; padding-right: 28px; }
.sw-opt-label { font-weight: 650; font-size: 1.02rem; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.sw-opt-sub { color: var(--sw-text-2); font-size: .9rem; line-height: 1.45; }
.sw-opt-mark { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sw-primary); color: var(--sw-on-primary); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.sw-opt.is-on .sw-opt-mark { transform: scale(1); }
.sw-opt-mark .sw-i { width: 15px; height: 15px; stroke-width: 2.8; }
.sw-opt-go { align-self: center; color: var(--sw-primary); transition: transform .25s var(--sw-ease); }
.sw-opt:hover .sw-opt-go { transform: translateX(4px); }
.sw-opts--hero .sw-opt { align-items: center; }
.sw-opts--hero .sw-opt-txt { padding-right: 0; }
.sw-opts--chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-chip { align-items: center; gap: 9px; padding: 10px 14px 10px 10px; border-radius: 999px; }
.sw-chip .sw-opt-ic { width: 32px; height: 32px; border-radius: 50%; }
.sw-chip .sw-opt-ic .sw-i { width: 18px; height: 18px; }
.sw-chip .sw-opt-txt { padding-right: 0; }
.sw-chip .sw-opt-label { font-size: .95rem; }
.sw-chip .sw-opt-mark { position: static; width: 0; height: 20px; margin-left: -4px; overflow: hidden; transition: width .25s, margin .25s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.sw-chip.is-on .sw-opt-mark { width: 20px; margin-left: 2px; }
.sw-chip:hover { transform: translateY(-1px); }

/* ---------------------------------------------------------------- questionnaire */
.sw-q-top { margin-bottom: 26px; }
.sw-progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 9px; font-size: .88rem; color: var(--sw-text-2); }
.sw-progress-label b { color: var(--sw-text); font-weight: 650; }
.sw-saved { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--sw-success); white-space: nowrap; }
.sw-saved .sw-i { width: 14px; height: 14px; stroke-width: 2.6; }
.sw-saved.is-pulse { animation: sw-saved 1.1s ease; }
.sw-progress-track { height: 8px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--sw-primary) 11%, var(--sw-surface-2)); }
.sw-progress-fill { position: relative; display: block; height: 100%; width: 8%; border-radius: inherit; overflow: hidden;
  background: linear-gradient(90deg, var(--sw-primary), color-mix(in srgb, var(--sw-primary) 55%, var(--sw-accent))); transition: width .8s var(--sw-ease); }
.sw-progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: sw-shimmer 2.6s 1s infinite; }
.sw-stepper { display: none; list-style: none; padding: 0; margin: 16px 0 0; gap: 6px; }
.sw-stepper-item { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .8rem; color: var(--sw-text-2); }
.sw-stepper-dot { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--sw-line); background: var(--sw-surface); font-weight: 700; font-size: .74rem; transition: all .3s; }
.sw-stepper-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-stepper-item.is-done .sw-stepper-dot { background: var(--sw-primary); border-color: var(--sw-primary); color: var(--sw-on-primary); }
.sw-stepper-item.is-on .sw-stepper-dot { border-color: var(--sw-primary); color: var(--sw-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sw-primary) 16%, transparent); }
.sw-stepper-item.is-on .sw-stepper-label { color: var(--sw-text); font-weight: 650; }
.sw-q-stage { display: grid; }
.sw-q-stage > .sw-step { grid-area: 1 / 1; min-width: 0; }
.sw-step.is-in-right { animation: sw-in-right .5s var(--sw-ease) both; }
.sw-step.is-in-left { animation: sw-in-left .5s var(--sw-ease) both; }
.sw-step.is-out-left { animation: sw-out-left .32s ease both; pointer-events: none; }
.sw-step.is-out-right { animation: sw-out-right .32s ease both; pointer-events: none; }
.sw-q-kicker { margin: 0 0 8px; font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--sw-primary); }
.sw-q-title { margin: 0 0 10px; font-family: var(--sw-font-head); font-weight: var(--sw-head-weight); font-size: clamp(1.55rem, 1.15rem + 1.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.01em; outline: none; }
.sw-q-help { margin: 0 0 22px; color: var(--sw-text-2); }
.sw-q-note, .sw-q-legal, .sw-q-info, .sw-q-callout { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 15px; border-radius: var(--sw-radius-sm); font-size: .92rem; line-height: 1.5; }
.sw-q-note .sw-i, .sw-q-legal .sw-i, .sw-q-info .sw-i, .sw-q-callout .sw-i { margin-top: 2px; width: 19px; height: 19px; }
.sw-q-note { background: color-mix(in srgb, var(--sw-accent) 22%, var(--sw-surface)); }
.sw-q-legal { background: var(--sw-surface-2); color: var(--sw-text-2); }
.sw-q-info { background: color-mix(in srgb, var(--sw-primary) 7%, var(--sw-surface)); }
.sw-q-callout { background: color-mix(in srgb, var(--sw-accent) 26%, var(--sw-surface)); animation: sw-pop-in .4s var(--sw-ease) both; }
.sw-q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }

/* fields, switch, checkbox */
.sw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.sw-field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.sw-field--half { grid-column: auto; }
.sw-label { font-size: .88rem; font-weight: 600; color: var(--sw-text-2); }
.sw-input { width: 100%; min-height: 52px; padding: .75em .9em; font-size: 1.02rem; color: var(--sw-text); background: var(--sw-surface); border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius-sm); transition: border-color .2s, box-shadow .2s; }
.sw-input::placeholder { color: color-mix(in srgb, var(--sw-text-2) 70%, transparent); }
.sw-input:focus { outline: none; border-color: var(--sw-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sw-primary) 16%, transparent); }
select.sw-input { appearance: none; padding-right: 42px; background-repeat: no-repeat; background-position: right 15px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.sw-switch { display: flex; align-items: center; gap: 12px; margin-top: 20px; cursor: pointer; font-size: .98rem; position: relative; }
.sw-switch input, .sw-check input, .sw-addon input, .sw-method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-switch-ui { position: relative; width: 48px; height: 28px; flex: none; border-radius: 99px; background: color-mix(in srgb, var(--sw-text) 22%, var(--sw-line)); transition: background .25s; }
.sw-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .22); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.sw-switch input:checked + .sw-switch-ui { background: var(--sw-primary); }
.sw-switch input:checked + .sw-switch-ui::after { transform: translateX(20px); }
.sw-switch input:focus-visible + .sw-switch-ui, .sw-check input:focus-visible + .sw-check-ui, .sw-addon input:focus-visible + .sw-check-ui, .sw-method input:focus-visible + .sw-radio-ui { outline: 3px solid var(--sw-focus); outline-offset: 2px; }
.sw-demo { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 12px; font-size: .8rem; color: var(--sw-text-2); background: none; border: 1px dashed var(--sw-line); border-radius: 99px; cursor: pointer; transition: color .2s, border-color .2s; }
.sw-demo:hover { color: var(--sw-primary); border-color: var(--sw-primary); }
.sw-demo .sw-i { width: 14px; height: 14px; }
.sw-check { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer; font-size: .95rem; line-height: 1.5; background: var(--sw-surface); border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius-sm); transition: border-color .2s, background .2s; }
.sw-check-ui { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-top: 1px; border-radius: 7px; color: transparent; border: 2px solid color-mix(in srgb, var(--sw-text) 35%, var(--sw-line)); transition: background .2s, border-color .2s, color .2s; }
.sw-check-ui .sw-i { width: 16px; height: 16px; stroke-width: 3; transform: scale(.3); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.sw-check input:checked + .sw-check-ui, .sw-addon input:checked + .sw-check-ui { background: var(--sw-primary); border-color: var(--sw-primary); color: var(--sw-on-primary); }
.sw-check input:checked + .sw-check-ui .sw-i, .sw-addon input:checked + .sw-check-ui .sw-i { transform: scale(1); }
.sw-check:has(input:checked) { border-color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 5%, var(--sw-surface)); }
.sw-check.is-missing { border-color: var(--sw-danger); background: color-mix(in srgb, var(--sw-danger) 6%, var(--sw-surface)); }
.sw-req { font-style: normal; font-size: .76rem; color: var(--sw-text-2); white-space: nowrap; }

/* consent, matrix, summary */
.sw-consent { display: grid; gap: 16px; }
.sw-consent-text { display: flex; gap: 12px; margin: 0; padding: 16px; color: var(--sw-text-2); background: var(--sw-surface-2); border-radius: var(--sw-radius-sm); }
.sw-consent-text .sw-i { color: var(--sw-success); margin-top: 3px; }
.sw-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sw-matrix-for { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; font-size: .88rem; color: var(--sw-text-2); }
.sw-tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .8rem; font-weight: 650; color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 9%, var(--sw-surface)); }
.sw-matrix { display: grid; gap: 10px; container-type: inline-size; }
.sw-mrow { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.3fr); align-items: center; gap: 14px; padding: 10px 12px 10px 16px; background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: var(--sw-radius-sm);
  animation: sw-pop-in .45s var(--sw-ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.sw-mlabel { font-weight: 620; }
.sw-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 11px; background: var(--sw-surface-2); }
.sw-seg-btn { padding: 9px 6px; font-size: .84rem; line-height: 1.25; color: var(--sw-text-2); background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s, box-shadow .25s; }
.sw-seg-btn:hover { color: var(--sw-text); }
@container (max-width: 640px) { .sw-mrow { grid-template-columns: 1fr; gap: 8px; padding: 12px; } .sw-seg-btn { padding: 10px 6px; } }
.sw-seg-btn.is-on { color: var(--sw-text); font-weight: 650; background: var(--sw-surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 1.5px var(--sw-primary); }
.sw-summary { display: grid; overflow: hidden; background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: var(--sw-radius); }
.sw-sum-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--sw-line); animation: sw-fade-up .45s var(--sw-ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.sw-sum-row:last-child { border-bottom: 0; }
.sw-sum-t { display: block; font-size: .78rem; font-weight: 650; color: var(--sw-text-2); }
.sw-sum-v { display: block; font-weight: 550; line-height: 1.45; }
.sw-sum-edit { flex: none; font-size: .88rem; }
.sw-sum-edit .sw-i { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- Fragen & Hilfe (help panel + chat messages) */
.sw-help { display: flex; flex-direction: column; overflow: hidden; background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: var(--sw-radius); box-shadow: var(--sw-shadow); max-height: min(660px, calc(100vh - 120px)); }
.sw-help-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--sw-line); }
.sw-help-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--sw-primary), color-mix(in srgb, var(--sw-primary) 45%, var(--sw-accent))); }
.sw-help-avatar .sw-i { width: 20px; height: 20px; }
.sw-help-who { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.sw-help-quota { font-size: .76rem; color: var(--sw-text-2); }
.sw-help-close { display: none; padding: 6px; margin-left: auto; color: var(--sw-text-2); background: none; border: 0; border-radius: 8px; cursor: pointer; }
.sw-help-log { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 120px; padding: 14px 16px; overflow-y: auto; overscroll-behavior: contain; }
.sw-help-sugg { display: flex; flex-direction: column; gap: 6px; padding: 0 16px 12px; }
.sw-help-sugg:empty { display: none; }
.sw-help.is-off .sw-help-sugg, .sw-help.is-out .sw-help-sugg { display: none; }
.sw-sugg { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; text-align: left; font-size: .86rem; line-height: 1.4; color: var(--sw-primary); background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: 10px; cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s; animation: sw-fade-up .4s var(--sw-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.sw-sugg:hover { background: color-mix(in srgb, var(--sw-primary) 6%, var(--sw-surface)); border-color: color-mix(in srgb, var(--sw-primary) 35%, var(--sw-line)); transform: translateX(2px); }
.sw-sugg:disabled { opacity: .5; cursor: default; transform: none; animation: none; }
.sw-sugg[hidden] { display: none; }
.sw-sugg .sw-i { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.sw-help-note { margin: 0 16px 12px; padding: 10px 12px; font-size: .86rem; line-height: 1.45; color: var(--sw-text); background: var(--sw-surface-2); border-radius: 10px; }
.sw-help-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--sw-line); }
.sw-help-form[hidden] { display: none; }
.sw-help-form .sw-input { min-height: 44px; padding: .5em .8em; font-size: .92rem; }
.sw-help-send { display: grid; place-items: center; width: 44px; height: 44px; flex: none; color: var(--sw-on-primary); background: var(--sw-primary); border: 0; border-radius: 10px; cursor: pointer; transition: transform .2s, opacity .2s; }
.sw-help-send:hover:not(:disabled) { transform: rotate(-8deg) scale(1.05); }
.sw-help-send:disabled { opacity: .45; cursor: default; }
.sw-help-send .sw-i { width: 19px; height: 19px; }
.sw-help-foot { display: flex; align-items: flex-start; gap: 6px; margin: 0; padding: 0 16px 12px; font-size: .74rem; line-height: 1.4; color: var(--sw-text-2); }
.sw-help-foot .sw-i { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.sw-help-foot a { color: inherit; }
.sw-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; animation: sw-fade-up .35s var(--sw-ease) both; }
.sw-msg--me { align-self: flex-end; flex-direction: row-reverse; }
.sw-msg-av { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 12%, var(--sw-surface)); }
.sw-msg-av .sw-i { width: 15px; height: 15px; }
.sw-msg-b { min-width: 0; padding: 10px 14px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; background: var(--sw-surface-2); border-radius: 16px 16px 16px 5px; }
.sw-msg--me .sw-msg-b { color: var(--sw-on-primary); background: var(--sw-primary); border-radius: 16px 16px 5px 16px; }
.sw-msg.is-error .sw-msg-b { color: var(--sw-danger); }
.sw-help-status { display: block; font-size: .8rem; color: var(--sw-text-2); }
.sw-help-status:empty { display: none; }
.sw-help-err { display: block; margin-top: 6px; color: var(--sw-danger); }
.sw-help-err:first-child { margin-top: 0; }
.sw-help-src { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--sw-line); font-size: .8rem; }
.sw-help-src li { margin: 2px 0; }
.sw-help-src-t { font-weight: 700; color: var(--sw-text-2); }
.sw-help-src a { display: inline-flex; align-items: flex-start; gap: 5px; color: var(--sw-primary); }
.sw-help-src .sw-i { width: 13px; height: 13px; flex: none; margin-top: 3px; }
.sw-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.sw-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: sw-dot 1s infinite; }
.sw-dots i:nth-child(2) { animation-delay: .15s; }
.sw-dots i:nth-child(3) { animation-delay: .3s; }
.sw-msg:not(.is-pending) .sw-dots { display: none; }
@media (max-width: 1023px) {
  [data-sw="help"].sw-help { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-height: 82vh; transform: translateY(115%); visibility: hidden; transition: transform .45s var(--sw-ease), visibility 0s .45s; box-shadow: var(--sw-shadow-lg); }
  body.sw-help-open [data-sw="help"].sw-help { transform: none; visibility: visible; transition-delay: 0s; }
  .sw-help-close { display: block; }
}

/* ---------------------------------------------------------------- live document */
.sw-ld-paper { position: relative; overflow: hidden; min-height: 440px; padding: 26px 30px 30px; color: var(--sw-paper-text); background: var(--sw-paper); border-radius: 6px; box-shadow: var(--sw-shadow-lg); font-family: var(--sw-font-doc); font-size: .92rem; line-height: 1.68; }
.sw-ld-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--sw-line); font-family: var(--sw-font-body); font-size: .74rem; color: var(--sw-text-2); }
.sw-ld-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.sw-ld-brand .sw-logo-mark { width: 20px; height: 20px; }
.sw-ld-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--sw-success); }
.sw-ld-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: sw-live 1.6s infinite; }
.sw-ld-kicker { margin: 14px 0 6px !important; font-family: var(--sw-font-body); font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--sw-primary); }
.sw-ld-block { border-radius: 4px; }
.sw-ld-block p { margin: 0 0 8px; }
.sw-ld-block.is-new { animation: sw-ld-in .9s var(--sw-ease) both; }
.sw-ld-block.is-flash { animation: sw-flash 1.3s ease; }
.sw-ld-block.is-leaving { animation: sw-ld-out .3s ease both; }
.sw-v { font-weight: 700; background-image: linear-gradient(var(--sw-highlight), var(--sw-highlight)); background-size: 100% 38%; background-position: 0 90%; background-repeat: no-repeat; padding: 0 1px; }
.sw-ph { font-weight: 600; font-style: italic; color: color-mix(in srgb, var(--sw-paper-text) 42%, transparent); background-image: none; border-bottom: 1px dashed currentColor; }
.sw-ld-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin: 6px 0 10px; padding: 0; list-style: none; font-family: var(--sw-font-body); font-size: .82rem; }
.sw-ld-areas li { display: flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--sw-paper-text) 38%, transparent); text-decoration: line-through; transition: color .3s; }
.sw-ld-areas li.is-on { color: var(--sw-paper-text); text-decoration: none; }
.sw-ld-areas .sw-i { width: 14px; height: 14px; }
.sw-ld-areas li.is-on .sw-i { color: var(--sw-success); stroke-width: 2.6; }
.sw-ld-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; font-family: var(--sw-font-body); font-size: .72rem; color: var(--sw-text-2); }
.sw-ld-sign span { padding-top: 6px; border-top: 1px solid currentColor; }
.sw-ld-wm { position: absolute; left: -10%; right: -10%; bottom: 32%; text-align: center; transform: rotate(-24deg); pointer-events: none; font: 800 3.2rem/1 var(--sw-font-body); letter-spacing: .22em; color: var(--sw-watermark); }

/* ---------------------------------------------------------------- "draft is being created" overlay */
.sw-assemble { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: color-mix(in srgb, var(--sw-bg) 82%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.sw-assemble.is-on { opacity: 1; }
.sw-assemble-card { min-width: 300px; padding: 30px 34px; text-align: center; background: var(--sw-surface); border-radius: var(--sw-radius-lg); box-shadow: var(--sw-shadow-lg); transform: translateY(12px) scale(.97); transition: transform .5s var(--sw-ease); }
.sw-assemble.is-on .sw-assemble-card { transform: none; }
.sw-assemble.is-done .sw-assemble-card { transform: scale(1.02); }
.sw-assemble-paper { position: relative; display: flex; flex-direction: column; gap: 7px; width: 86px; height: 112px; margin: 0 auto 18px; padding: 12px; background: var(--sw-paper); border-radius: 4px; box-shadow: var(--sw-shadow); animation: sw-float 2.4s ease-in-out infinite; }
.sw-assemble-paper .sw-logo-mark { width: 24px; height: 24px; margin-bottom: 4px; }
.sw-assemble-paper i { display: block; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--sw-paper-text) 18%, transparent); transform-origin: left; animation: sw-line .55s var(--sw-ease) both; }
.sw-assemble-paper i:nth-of-type(1) { animation-delay: .15s; } .sw-assemble-paper i:nth-of-type(2) { width: 82%; animation-delay: .35s; }
.sw-assemble-paper i:nth-of-type(3) { animation-delay: .55s; } .sw-assemble-paper i:nth-of-type(4) { width: 64%; animation-delay: .75s; }
.sw-assemble-paper i:nth-of-type(5) { width: 40%; margin-top: auto; background: var(--sw-primary); opacity: .55; animation-delay: .95s; }
.sw-assemble-t { margin: 0 0 12px; font-weight: 650; }
.sw-assemble ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; text-align: left; }
.sw-assemble li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--sw-text-2); opacity: .35; animation: sw-tick .3s ease forwards; animation-delay: calc(.4s + var(--i) * .33s); }
.sw-assemble li .sw-i { width: 18px; height: 18px; color: var(--sw-success); stroke-width: 2.6; }

/* ---------------------------------------------------------------- preview */
.sw-pv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sw-pv-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; font-size: .9rem; font-weight: 600; color: var(--sw-text-2); background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: 99px; cursor: pointer; transition: all .2s; }
.sw-pv-tab:hover { color: var(--sw-text); border-color: color-mix(in srgb, var(--sw-text) 25%, var(--sw-line)); }
.sw-pv-tab.is-on { color: var(--sw-on-primary); background: var(--sw-primary); border-color: var(--sw-primary); }
.sw-pv-tab .sw-i { width: 17px; height: 17px; }
.sw-pv-stage { position: relative; perspective: 1600px; }
.sw-pv-stage::before, .sw-pv-stage::after { content: ""; position: absolute; top: 0; left: 50%; width: min(620px, 100%); aspect-ratio: 1 / 1.414; background: var(--sw-paper); border-radius: 4px; box-shadow: var(--sw-shadow); opacity: .75; }
.sw-pv-stage::before { transform: translateX(-50%) rotate(-2.4deg); }
.sw-pv-stage::after { transform: translateX(-50%) rotate(1.7deg); }
.sw-pv-stack { position: relative; z-index: 1; display: grid; }
.sw-page { grid-area: 1 / 1; position: relative; width: 100%; max-width: 620px; margin: 0 auto; aspect-ratio: 1 / 1.414; padding: 7% 8% 10%; overflow: hidden; color: var(--sw-paper-text); background: var(--sw-paper); border-radius: 4px; box-shadow: var(--sw-shadow-lg);
  font-family: var(--sw-font-doc); font-size: clamp(.62rem, .42rem + .55vw, .9rem); line-height: 1.62; visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .45s var(--sw-ease), visibility 0s .35s; }
.sw-page.is-on { z-index: 2; visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sw-pv.is-intro .sw-page.is-on { animation: sw-page-in .9s var(--sw-ease) both; }
.sw-page.is-flip { animation: sw-page-flip .55s var(--sw-ease) both; }
.sw-watermark { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.sw-watermark span { display: grid; justify-items: center; gap: .15em; padding: .35em .8em .45em; transform: rotate(-32deg); white-space: nowrap; text-align: center; color: var(--sw-watermark); border: 3px solid var(--sw-watermark); border-radius: 8px; font-family: var(--sw-font-body); }
.sw-watermark b { font-size: clamp(1.6rem, .9rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: .22em; line-height: 1; margin-right: -.22em; }
.sw-watermark small { font-size: clamp(.6rem, .4rem + .5vw, .95rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.sw-pv.is-intro .sw-watermark span { animation: sw-stamp .6s .8s cubic-bezier(.3, 1.4, .5, 1) both; }
.sw-page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6em; padding-bottom: .8em; border-bottom: 1px solid #e6e2da; font-family: var(--sw-font-body); font-size: .72em; color: #7a7a7a; }
.sw-page-logo { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: #444; }
.sw-page-logo .sw-logo-mark { width: 1.75em; height: 1.75em; }
.sw-page-title { margin: 0 0 .9em; text-align: center; font-family: var(--sw-font-doc); font-size: 1.6em; letter-spacing: .02em; }
.sw-page-sub { margin: -.4em 0 1.2em; padding: .5em .8em; text-align: center; font-family: var(--sw-font-body); font-size: .8em; color: #7a4f00; background: #fff4dc; border-radius: 4px; }
.sw-page p { margin: 0 0 .85em; }
.sw-page-center { text-align: center; font-size: 1.12em; }
.sw-page-muted { color: #777; font-weight: 400; }
.sw-page-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .35em 1.2em; margin: .4em 0 1em; padding: 0; list-style: none; font-family: var(--sw-font-body); font-size: .86em; }
.sw-page-checks li { display: flex; align-items: center; gap: .5em; color: #9a9a9a; }
.sw-page-checks li.is-on { color: var(--sw-paper-text); }
.sw-box { display: grid; place-items: center; width: 1.1em; height: 1.1em; flex: none; border: 1.3px solid currentColor; font-size: .85em; font-weight: 700; line-height: 1; }
.sw-page-fine { font-size: .82em; color: #555; }
.sw-page-list { margin: 0 0 1em 1.2em; padding: 0; }
.sw-page-table { width: 100%; margin: .4em 0 1em; border-collapse: collapse; font-family: var(--sw-font-body); font-size: .82em; }
.sw-page-table td { padding: .45em .2em; border-bottom: 1px solid #ebe7df; }
.sw-page-table td:last-child { text-align: right; font-weight: 600; }
.sw-page-hand { padding: .2em 0; font-family: var(--sw-font-hand); font-size: 1.12em; line-height: 1.95; color: #23395d; background: repeating-linear-gradient(transparent 0 1.9em, #e5ebf5 1.9em calc(1.9em + 1px)); }
.sw-page-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4em; margin-top: 2.2em; font-family: var(--sw-font-body); }
.sw-page-sign span { display: block; border-top: 1px solid #555; }
.sw-page-sign small { display: block; padding-top: .35em; font-size: .7em; color: #777; }
.sw-page-foot { position: absolute; left: 8%; right: 8%; bottom: 3.2%; text-align: center; font-family: var(--sw-font-body); font-size: .62em; color: #a0a0a0; }
.sw-benefits { display: grid; gap: 16px; }
.sw-ben-t { margin: 0; font-weight: 700; font-size: 1.05rem; }
.sw-ben { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.sw-ben li { display: flex; align-items: flex-start; gap: 10px; animation: sw-fade-up .45s var(--sw-ease) both; animation-delay: calc(.3s + var(--i) * 80ms); }
.sw-ben .sw-i { margin-top: 3px; color: var(--sw-success); stroke-width: 2.4; }
.sw-ben-fine { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .84rem; color: var(--sw-text-2); }
.sw-ben-fine .sw-i { width: 18px; height: 18px; color: var(--sw-success); }

/* ---------------------------------------------------------------- tiers, add-ons, totals */
.sw-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.sw-tier { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 22px 20px; cursor: pointer; background: var(--sw-surface); border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius-lg);
  transition: transform .35s var(--sw-ease), box-shadow .35s, border-color .2s; animation: sw-fade-up .55s var(--sw-ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.sw-tier:hover { transform: translateY(-4px); box-shadow: var(--sw-shadow); }
.sw-tier.is-on { border-color: var(--sw-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sw-primary) 15%, transparent), var(--sw-shadow-lg); }
.sw-tier.is-pop { animation: sw-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.sw-tier-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; white-space: nowrap;
  font-size: .75rem; font-weight: 750; letter-spacing: .03em; color: var(--sw-on-accent); background: var(--sw-accent); border-radius: 99px; }
.sw-tier-badge .sw-i { width: 13px; height: 13px; }
.sw-tier-name { margin: 0; font-weight: 700; font-size: 1.05rem; }
.sw-tier-price { display: flex; align-items: baseline; gap: 4px; margin: 0; font-family: var(--sw-font-head); }
.sw-tier-price b { font-size: 2.9rem; line-height: 1; font-weight: var(--sw-head-weight); letter-spacing: -.02em; }
.sw-tier-price span { font-size: 1.3rem; color: var(--sw-text-2); }
.sw-tier-lead { margin: 0; min-height: 2.9em; font-size: .9rem; color: var(--sw-text-2); }
.sw-tier-anchor { margin: 0; font-size: .8rem; font-weight: 650; color: var(--sw-success); }
.sw-tier-feats { display: grid; gap: 7px; flex: 1; align-content: start; margin: 4px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--sw-line); font-size: .88rem; }
.sw-tier-feats li { display: flex; align-items: center; gap: 8px; }
.sw-tier-feats .sw-i { width: 17px; height: 17px; color: var(--sw-success); stroke-width: 2.4; }
.sw-tier-feats .is-off { color: var(--sw-text-2); opacity: .55; }
.sw-tier-feats .is-off .sw-i { color: currentColor; }
.sw-tier-select { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; padding: 11px; font-weight: 650; border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius-sm); transition: all .25s; }
.sw-tier.is-on .sw-tier-select { color: var(--sw-on-primary); background: var(--sw-primary); border-color: var(--sw-primary); }
.sw-tier-select .sw-i { width: 17px; height: 17px; }
.sw-tiers--table { display: block; overflow-x: auto; }
.sw-ttable { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .95rem; background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg); }
.sw-ttable th, .sw-ttable td { padding: 14px 16px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--sw-line); transition: background .25s; }
.sw-ttable tbody th { text-align: left; font-size: .9rem; font-weight: 600; color: var(--sw-text-2); }
.sw-ttable thead th { position: relative; padding-top: 30px; cursor: pointer; vertical-align: bottom; }
.sw-ttable td[data-tier] { cursor: pointer; }
.sw-ttable .is-on { background: color-mix(in srgb, var(--sw-primary) 6%, var(--sw-surface)); }
.sw-ttable thead .sw-tier-badge { top: 7px; }
.sw-tt-corner { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sw-text-2); }
.sw-tt-name { display: block; font-weight: 700; }
.sw-tt-price { display: block; margin-top: 4px; font-family: var(--sw-font-head); font-size: 2rem; line-height: 1.1; font-weight: var(--sw-head-weight); }
.sw-tt-anchor { display: block; font-size: .74rem; font-weight: 650; color: var(--sw-success); }
.sw-yes { width: 22px; height: 22px; margin: 0 auto; color: var(--sw-success); stroke-width: 2.6; }
.sw-tt-no { color: var(--sw-text-2); opacity: .55; }
.sw-tt-select td, .sw-tt-select th { border-bottom: 0; }
.sw-addons { display: grid; gap: 10px; }
.sw-addons-t { margin: 0; font-weight: 700; }
.sw-addon { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; background: var(--sw-surface); border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius); transition: border-color .2s, background .2s; }
.sw-addon.is-on { border-color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 5%, var(--sw-surface)); }
.sw-addon-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; color: var(--sw-primary); background: var(--sw-surface-2); }
.sw-addon-txt { display: flex; flex-direction: column; flex: 1; font-size: .86rem; color: var(--sw-text-2); line-height: 1.4; }
.sw-addon-txt b { font-size: .98rem; color: var(--sw-text); }
.sw-addon-price { font-weight: 700; white-space: nowrap; }
.sw-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
.sw-total-l { font-weight: 650; }
.sw-total-v { font-family: var(--sw-font-head); font-size: 1.7rem; }
.sw-total-vat { grid-column: 1 / -1; text-align: right; font-size: .82rem; color: var(--sw-text-2); }
.sw-guarantee { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--sw-text-2); }
.sw-guarantee .sw-i { width: 22px; height: 22px; color: var(--sw-success); }

/* ---------------------------------------------------------------- checkout */
.sw-pay { display: grid; gap: 16px; }
.sw-pay-express { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-xpay { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; font-weight: 650; font-size: 1rem; color: #fff; background: #000; border: 1px solid #000; border-radius: var(--sw-radius-sm); cursor: pointer; transition: transform .15s, opacity .2s; }
.sw-xpay:hover { opacity: .88; }
.sw-xpay:active { transform: scale(.99); }
.sw-xpay--google { color: #1f1f1f; background: #fff; border-color: #cfcfcf; }
.sw-pay-or { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--sw-text-2); }
.sw-pay-or::before, .sw-pay-or::after { content: ""; flex: 1; height: 1px; background: var(--sw-line); }
.sw-pay-methods { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.sw-pay-methods legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.sw-method { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; background: var(--sw-surface); border: 1.5px solid var(--sw-line); border-radius: var(--sw-radius-sm); transition: border-color .2s, background .2s; }
.sw-method.is-on { border-color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 5%, var(--sw-surface)); }
.sw-radio-ui { position: relative; width: 21px; height: 21px; flex: none; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--sw-text) 35%, var(--sw-line)); transition: border-color .2s; }
.sw-radio-ui::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sw-primary); transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.sw-method input:checked + .sw-radio-ui { border-color: var(--sw-primary); }
.sw-method input:checked + .sw-radio-ui::after { transform: scale(1); }
.sw-method-l { flex: 1; min-width: 0; font-weight: 600; }
.sw-method-badges { display: flex; gap: 5px; }
.sw-mb { padding: 5px 7px; font: 800 .7rem/1 var(--sw-font-body); letter-spacing: .02em; color: #1a1a1a; background: #fff; border: 1px solid #ddd; border-radius: 5px; }
.sw-mb--paypal { color: #003087; } .sw-mb--paypal i { font-style: normal; color: #009cde; }
.sw-mb--klarna { color: #17120f; background: #ffb3c7; border-color: #ffb3c7; }
.sw-mb--card { color: #1a1f71; } .sw-mb--sepa { color: #2c4a9a; }
.sw-pay-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: .82rem; color: var(--sw-text-2); }
.sw-pay-secure .sw-i { width: 16px; height: 16px; color: var(--sw-success); }
.sw-pay-links { display: flex; justify-content: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--sw-text-2); }
.sw-pay-links a { color: inherit; }
.sw-order { display: grid; gap: 10px; padding: 20px 22px; background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg); }
.sw-order-t { margin: 0; font-weight: 700; }
.sw-order ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sw-order li { display: flex; justify-content: space-between; gap: 12px; }
.sw-order-vat { display: flex; justify-content: space-between; font-size: .85rem; color: var(--sw-text-2); }
.sw-order-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--sw-line); font-weight: 700; }
.sw-order-sum b { font-family: var(--sw-font-head); font-size: 1.55rem; }
.sw-order .sw-btn--link { justify-self: start; font-size: .85rem; }

/* ---------------------------------------------------------------- success */
.sw-done { display: grid; gap: 28px; }
.sw-done-hero { display: grid; justify-items: center; gap: 10px; text-align: center; }
.sw-done-check { width: 88px; height: 88px; color: var(--sw-success); animation: sw-pop .6s .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.sw-done-check circle { fill: color-mix(in srgb, var(--sw-success) 12%, transparent); stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sw-draw .7s ease forwards; }
.sw-done-check path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sw-draw .45s .55s ease forwards; }
.sw-done-title { margin: 6px 0 0; font-family: var(--sw-font-head); font-weight: var(--sw-head-weight); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.15; }
.sw-done-sub { max-width: 560px; margin: 0; color: var(--sw-text-2); }
.sw-done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sw-done-files, .sw-done-next { padding: 22px; background: var(--sw-surface); border: 1px solid var(--sw-line); border-radius: var(--sw-radius-lg); }
.sw-done h2 { margin: 0 0 14px; font-size: 1.1rem; }
.sw-done-files ul { display: grid; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; }
.sw-done-files li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--sw-line); animation: sw-fade-up .45s var(--sw-ease) both; animation-delay: calc(.5s + var(--i) * 60ms); }
.sw-file-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 9px; color: var(--sw-primary); background: color-mix(in srgb, var(--sw-primary) 8%, var(--sw-surface)); }
.sw-file-ic .sw-i { width: 19px; height: 19px; }
.sw-file-n { display: flex; flex-direction: column; flex: 1; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.sw-file-n small { font-size: .74rem; font-weight: 500; color: var(--sw-text-2); }
.sw-done-next ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sw-done-next li { display: flex; gap: 14px; animation: sw-fade-up .45s var(--sw-ease) both; animation-delay: calc(.6s + var(--i) * 90ms); }
.sw-n { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; font-weight: 700; color: var(--sw-on-primary); background: var(--sw-primary); }
.sw-done-next p { margin: 2px 0 0; font-size: .92rem; color: var(--sw-text-2); }
.sw-done-will { display: flex; gap: 10px; margin: 18px 0 0; padding: 12px 14px; font-size: .9rem; background: color-mix(in srgb, var(--sw-accent) 22%, var(--sw-surface)); border-radius: var(--sw-radius-sm); }
.sw-done-will .sw-i { margin-top: 2px; }
.sw-done-gift { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: color-mix(in srgb, var(--sw-accent) 18%, var(--sw-surface)); border: 1px solid color-mix(in srgb, var(--sw-accent) 40%, var(--sw-line)); border-radius: var(--sw-radius-lg); }
.sw-done-gift-ic { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 13px; color: var(--sw-primary); background: var(--sw-surface); }
.sw-done-gift div { flex: 1; }
.sw-done-gift p { margin: 2px 0 0; font-size: .92rem; color: var(--sw-text-2); }
.sw-done-legal { display: flex; justify-content: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--sw-text-2); }
.sw-done-legal a { color: inherit; }
.sw-confetti { position: fixed; inset: 0; z-index: 95; overflow: hidden; pointer-events: none; }
.sw-confetti i { position: absolute; top: -14px; width: 8px; height: 13px; border-radius: 2px; animation: sw-confetti var(--t) var(--d) cubic-bezier(.2, .6, .4, 1) forwards; }

/* ---------------------------------------------------------------- toast, modal, prototype nav */
.sw-toast { position: fixed; left: 50%; bottom: 76px; z-index: 99; width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; font-size: .92rem; color: var(--sw-bg); background: var(--sw-text); border-radius: 12px; box-shadow: var(--sw-shadow-lg); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .35s var(--sw-ease); }
.sw-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sw-modal { position: fixed; inset: 0; z-index: 98; display: grid; place-items: center; padding: 16px; background: rgba(15, 18, 25, .45); opacity: 0; transition: opacity .25s; }
.sw-modal.is-on { opacity: 1; }
.sw-modal-card { max-width: 460px; padding: 26px; color: var(--sw-text); background: var(--sw-surface); border-radius: var(--sw-radius-lg); box-shadow: var(--sw-shadow-lg); transform: translateY(12px) scale(.98); transition: transform .35s var(--sw-ease); }
.sw-modal.is-on .sw-modal-card { transform: none; }
.sw-modal-card h3 { margin: 0 0 8px; font-family: var(--sw-font-head); font-size: 1.35rem; }
.sw-modal-card p { margin: 0; color: var(--sw-text-2); }
.sw-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.sw-proto { position: fixed; left: 16px; bottom: 16px; z-index: 97; display: flex; align-items: center; gap: 2px; padding: 5px; font: 600 12px/1 system-ui, -apple-system, sans-serif; background: rgba(20, 22, 28, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 99px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.sw-proto-tag { padding: 0 9px 0 8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9aa3b2; }
.sw-proto a { padding: 7px 10px; color: #e6e8ec; text-decoration: none; border-radius: 99px; transition: background .2s; }
.sw-proto a:hover { background: rgba(255, 255, 255, .12); }
.sw-proto a.is-on { color: #111; background: #fff; }
.sw-proto button { display: grid; place-items: center; padding: 5px 8px; color: #9aa3b2; background: none; border: 0; cursor: pointer; }
.sw-proto .sw-i { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- reveal, signature, shake */
.sw-js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--sw-ease), transform .8s var(--sw-ease); transition-delay: calc(var(--d, 0) * 1ms); }
.sw-js [data-reveal].is-in { opacity: 1; transform: none; }
.sw-sign { width: 100%; height: auto; color: var(--sw-primary); }
.sw-sign path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sw-draw 2.6s .5s ease-in-out forwards; }
.sw-sign path + path { animation-duration: .9s; animation-delay: 2.9s; }
.sw-shake { animation: sw-shake .45s; }

/* ---------------------------------------------------------------- page transitions + keyframes */
::view-transition-old(root) { animation: sw-vt-out .22s ease both; }
::view-transition-new(root) { animation: sw-vt-in .5s var(--sw-ease) both; }
html:not(.sw-reduce) [data-screen].is-active { animation: sw-screen-in .5s var(--sw-ease) both; }
@supports (view-transition-name: none) { html:not(.sw-reduce) [data-screen].is-active { animation: none; } }
@keyframes sw-screen-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes sw-vt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sw-vt-out { to { opacity: 0; } }
@keyframes sw-pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sw-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sw-in-right { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes sw-in-left { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes sw-out-left { to { opacity: 0; transform: translateX(-48px); } }
@keyframes sw-out-right { to { opacity: 0; transform: translateX(48px); } }
@keyframes sw-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes sw-flash { 0%, 25% { background: var(--sw-highlight); } 100% { background: transparent; } }
@keyframes sw-ld-in { 0% { opacity: 0; transform: translateY(-6px); background: var(--sw-highlight); } 50% { opacity: 1; transform: none; background: var(--sw-highlight); } 100% { background: transparent; } }
@keyframes sw-ld-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes sw-live { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes sw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sw-tick { to { opacity: 1; color: var(--sw-text); } }
@keyframes sw-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes sw-page-in { from { opacity: 0; transform: translateY(46px) rotate(-3deg) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes sw-page-flip { from { opacity: .2; transform: rotateY(-16deg) translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes sw-stamp { from { opacity: 0; transform: rotate(-32deg) scale(1.6); } to { opacity: 1; transform: rotate(-32deg) scale(1); } }
@keyframes sw-pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes sw-draw { to { stroke-dashoffset: 0; } }
@keyframes sw-shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
@keyframes sw-saved { 30% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes sw-shimmer { to { transform: translateX(100%); } }
@keyframes sw-spin { to { transform: rotate(360deg); } }
@keyframes sw-confetti { 0% { transform: translate3d(0, 0, 0) rotate(0); } 100% { transform: translate3d(var(--x), 106vh, 0) rotate(var(--r)); } }

/* ---------------------------------------------------------------- responsive + reduced motion */
@media (max-width: 860px) {
  .sw-tiers { grid-template-columns: 1fr; gap: 22px; }
  .sw-done-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --sw-fs: 17px; }
  .sw-container { padding: 0 18px; }
  .sw-fields { grid-template-columns: 1fr; }
  .sw-field--half { grid-column: 1 / -1; }
  .sw-mrow { grid-template-columns: 1fr; gap: 8px; }
  .sw-pay-express { grid-template-columns: 1fr; }
  .sw-method { flex-wrap: wrap; }
  .sw-pay, .sw-pay-methods, .sw-method { min-width: 0; max-width: 100%; }
  .sw-done-gift { flex-wrap: wrap; }
  .sw-proto { left: 8px; right: 8px; bottom: 8px; overflow-x: auto; }
  .sw-proto-tag { display: none; }
  .sw-ld-areas, .sw-page-checks { grid-template-columns: 1fr; }
  .sw-page { aspect-ratio: auto; min-height: 138vw; padding: 9% 7% 14%; font-size: .78rem; }
  .sw-pv-stage::before, .sw-pv-stage::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .sw-js [data-reveal] { opacity: 1; transform: none; }
}
