

:root {

  --bg: #FFFFFF; --panel: #F4F2F0; --line: rgba(26, 23, 20, .16);
  --ink: #1A1714; --ink-2: #6B655F; --ink-off: #A39E98;

  --acc: #E4F222; --acc-h: #F0FA6E; --acc-p: #D3E10C; --acc-ink: #1A1714;


  --field-bg: rgba(26, 23, 20, .024); --shade: rgba(26, 23, 20, .08); --foot-ink: #C9C4BF; --on-frame: rgba(255, 255, 255, .92);

  --tint-1: #F0FA6E; --tint-2: #A9CFFF; --tint-3: #FFB5DA; --tint-4: #FFC690; --tint-5: #C8B8FF;
  --st-work-bg: #EAEFF7; --st-work: #2F4A78;
  --st-done-bg: #E6F2E9; --st-done: #1E6B3A;
  --st-err-bg: #FBEAE7; --st-err: #A3261A;
  --st-bank-bg: #FBF0D9; --st-bank: #7A5000;

  --font-body: 'Golos Text', system-ui, sans-serif;
  --font-display: 'Unbounded', 'Golos Text', system-ui, sans-serif; --fw-display: 600;

  --r-small: 8px; --r-control: 12px; --r-capsule: 16px; --r-card: 16px; --r-frame: 12px; --r-pill: 999px;
  --side: 16px; --gap: 16px; --floor: 72px; --pad-card: 24px; --hdr: 56px;

  --pad-plate: 16px;

  --sp-1: 4px; --sp-2: 8px; --sp-4: 16px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-18: 72px;

  --h-ctl: 48px; --h-target: 44px;

  --icon: 20px; --icon-s: 16px; --icon-l: 24px; --icon-play: 14px; --icon-stroke: 1.75px;

  --text: 400 16px/24px var(--font-body); --text-500: 500 16px/24px var(--font-body); --text-s: 400 14px/20px var(--font-body);
}
@media (min-width: 768px) { :root { --side: 32px; --floor: 120px; --pad-card: 32px; --hdr: 64px; --pad-plate: 24px; } }
@media (min-width: 960px) { :root { --gap: 24px; --floor: 160px; } }

:root { --dp: 32px; --dpl: 36px; }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
fieldset { border: 0; min-width: 0; }

html { scroll-padding-top: calc(var(--hdr) + 24px); }
body { min-height: 100vh; display: flex; flex-direction: column; }

body { font: var(--text); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
main { flex: 1; }
p, li, summary, figcaption, dd { text-wrap: pretty; }

a { color: var(--ink); text-decoration: none; }
a:hover, a.is-hover { color: var(--ink-2); }
:is(p, li, dd, td, th, caption, label, .small, .hint) > a:not(.btn) { font-weight: 500; }

h1, .t-h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1, .t-h1, .t-h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.015em; }
h1.display, .t-display { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--dp); line-height: var(--dpl); letter-spacing: -0.03em; }
.t-h2 { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -0.02em; }

h1.display, .t-h2 { overflow-wrap: break-word; }
h1.display > span, .t-display > span { display: block; }
h2, h3, .t-h3 { font-size: 20px; line-height: 24px; letter-spacing: -0.005em; font-weight: 500; }

.t-d { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -0.02em; }
.lead { font-size: 16px; line-height: 24px; color: var(--ink-2); max-width: 480px; }
.small { font-size: 14px; line-height: 20px; }

.label { font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
.muted, .hint { color: var(--ink-2); }
.hint { font-size: 14px; line-height: 20px; max-width: 40em; }
.strong { font-weight: 500; }
.num { font-variant-numeric: tabular-nums; }
@media (max-width: 359px) { h1.display, .t-display { font-size: calc(var(--dp) - 4px); line-height: calc(var(--dpl) - 4px); } }
@media (min-width: 768px) {
  h1, .t-h1, .t-h2 { font-size: 40px; line-height: 44px; }
  h1.display, .t-display { font-size: 64px; line-height: 68px; }
  h2, h3, .t-h3 { font-size: 24px; line-height: 28px; }
  .lead { font-size: 18px; line-height: 28px; }
}
.nw { white-space: nowrap; }

.tint-1 { --tint: var(--tint-1); }
.tint-2 { --tint: var(--tint-2); }
.tint-3 { --tint: var(--tint-3); }
.tint-4 { --tint: var(--tint-4); }
.tint-5 { --tint: var(--tint-5); }

.wrap { width: 100%; }

.wrap { max-width: calc(1200px + 2 * var(--side)); padding: 0 var(--side); margin: 0 auto; }
.g12 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.g12 > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 960px) {
  .g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .g12 > .s1-8 { grid-column: 1 / span 8; } .g12 > .s9-4 { grid-column: 9 / span 4; }
  .g12 > .s1-4 { grid-column: 1 / span 4; } .g12 > .s5-8 { grid-column: 5 / span 8; } .g12 > .sp4 { grid-column: span 4; }
}

.stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.stack-s { display: flex; flex-direction: column; gap: var(--sp-2); }
.stack-l { display: flex; flex-direction: column; gap: var(--sp-10); }
.row { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }

.row-apart { justify-content: space-between; }

.actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
@media (max-width: 640px) { .actions { flex-direction: column; } .actions .btn { width: 100%; } .actions .btn-quiet { width: auto; align-self: flex-start; } }
@media (hover: hover) and (pointer: fine) { .phone-only { display: none; } }

svg.i { stroke-width: var(--icon-stroke); }
svg.i :is(path, line, polyline, polygon, rect, circle, ellipse) { vector-effect: non-scaling-stroke; }
svg.i:is(:has(> polygon:only-child), :has(> use[href="#i-play"])) { fill: currentColor; width: var(--icon-play); height: var(--icon-play); }

.btn { position: relative; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: var(--h-ctl); padding: 0 var(--sp-6); border-radius: var(--r-control);
  border: 1px solid var(--ink); background: var(--bg); color: var(--ink); font: var(--text-500);
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color .12s, border-color .12s, color .12s, transform .12s; }

.btn:hover, .btn.is-hover { background: var(--panel); color: var(--ink); }
.btn:active, .btn.is-press { background: var(--panel); transform: translateY(1px); }

.btn:not(.btn-primary, .btn-quiet):active, .btn:not(.btn-primary, .btn-quiet).is-press { border-color: var(--ink-2); }
.btn-primary { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.btn-primary:hover, .btn-primary.is-hover { background: var(--acc-h); color: var(--acc-ink); }
.btn-primary:active, .btn-primary.is-press { background: var(--acc-p); color: var(--acc-ink); }

.btn-ink:not(:disabled, [aria-disabled="true"]) { background: var(--ink); color: var(--bg); border-color: transparent; }
.btn-ink:not(:disabled, [aria-disabled="true"]):is(:hover, .is-hover) { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); color: var(--bg); }
.btn-ink:not(:disabled, [aria-disabled="true"]):is(:active, .is-press) { background: var(--ink); color: var(--bg); border-color: transparent; }
.btn-quiet { background: transparent; border-color: transparent; padding: 0; min-height: var(--h-ctl); min-width: var(--h-ctl); }
.btn-quiet:hover, .btn-quiet.is-hover { background: transparent; color: var(--ink-2); }
.btn-quiet:active, .btn-quiet.is-press { background: transparent; color: var(--ink); transform: none; }
.btn-quiet[aria-expanded="true"] { color: var(--ink); }
.btn .i { flex: none; }
.btn .i-go { transition: transform .2s cubic-bezier(.3, .7, .4, 1.5); }
.btn:hover .i-go, .btn.is-hover .i-go { transform: translateX(2px); }
.btn[aria-expanded] .i-turn { transition: transform .15s; }
.btn[aria-expanded="true"] .i-turn { transform: rotate(180deg); }
.btn-done { background: var(--panel); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--panel); color: var(--ink-off); border-color: transparent; cursor: not-allowed; transform: none; }
.btn-quiet:disabled, .btn-quiet[aria-disabled="true"] { background: transparent; }

.btn-block { display: flex; width: 100%; }

@media (max-width: 359px) { .btn-fit { padding: 0 var(--sp-2); } }

.btn-field { padding: 0 var(--sp-4) 0 var(--sp-2); }
@media (max-width: 767px) { .btn-field { padding: 0 var(--sp-2); } }

.btn[aria-busy="true"] { color: transparent; pointer-events: none; }
.btn[aria-busy="true"]::after { content: "…"; position: absolute; }
.btn[aria-busy="true"]::after { color: var(--acc-ink); }
.btn:not(.btn-primary)[aria-busy="true"]::after { color: var(--ink); }
.btn.btn-ink[aria-busy="true"]::after { color: var(--bg); }

.file-x { font-size: 20px; }

.file-x { display: inline-flex; align-items: center; justify-content: center; width: var(--h-ctl); height: var(--h-ctl); border-radius: var(--r-control); border: 0;
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; flex: none; }
.file-x:hover { background: var(--panel); color: var(--ink); }
details > summary.label, .back { min-height: var(--h-target); display: inline-flex; align-items: center; cursor: pointer; }

.back { min-height: var(--h-target); display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0; border-radius: 0; font-weight: 500; text-decoration: none; align-self: flex-start; }
.back:hover { color: var(--ink-2); }

.btn.is-focus, .btn:focus-visible, .tab:focus-visible, .toggle:focus-visible, .frame:focus-visible, summary:focus-visible, .file-x:focus-visible,
.nav-login:focus-visible, .nav-links a:focus-visible, .logo:focus-visible, .frame-act:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.offer { display: block; align-self: flex-start; justify-self: start; width: fit-content; margin: 0; padding: 0; color: var(--ink);
  font: var(--text-500); background: linear-gradient(transparent 52%, var(--acc) 52%, var(--acc) 92%, transparent 92%) no-repeat;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.input, .textarea { width: 100%; }
.textarea { resize: none; overflow: hidden; }
.input, .textarea { width: 100%; }
.textarea { resize: none; overflow: hidden; }
.input, .textarea { min-height: var(--h-ctl); padding: 0 var(--sp-4); border-radius: var(--r-control); border: 1px solid var(--ink-2); background: var(--bg);
  font: var(--text); color: var(--ink); }
.textarea { padding: var(--sp-4); min-height: 120px; }
.input::placeholder, .textarea::placeholder { color: var(--ink-2); }
.input:hover, .textarea:hover, .input.is-hover { border-color: var(--ink); }
.input:focus, .textarea:focus, .input.is-focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.input:disabled, .textarea:disabled { background: var(--panel); border-color: var(--line); color: var(--ink-off); cursor: not-allowed; }

.field-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: var(--h-target); margin-top: calc(-1 * var(--sp-2)); font: var(--text-s); color: var(--ink-2); }
.field-link:hover { color: var(--ink); }
.error { font-size: 14px; }
.error::before { content: "⚠ "; }
.error { color: var(--st-err); font-weight: 500; }

.card { background: var(--panel); border: 0; border-radius: var(--r-card); padding: var(--pad-card); }

.card-s { padding: var(--sp-4) var(--sp-6); }
.card-s p { max-width: 40em; }
.panel { background: var(--panel); border: 0; border-radius: var(--r-card); }

.frame { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-frame); overflow: hidden; background: var(--panel);
  cursor: pointer; color: var(--ink); text-decoration: none; }
.frame > img, .frame > video { display: block; width: 100%; height: 100%; object-fit: cover; }

div.frame { cursor: default; }
.frame.v { aspect-ratio: 9 / 16; }
.frame.w { aspect-ratio: 16 / 9; }
.frame .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: var(--h-ctl); height: var(--h-ctl); border-radius: 50%;
  background: var(--on-frame); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.frame[aria-pressed="true"] .play { opacity: 0; }
.frame .tag.num { font-variant-numeric: tabular-nums; }
.frame .tag { position: absolute; left: 8px; top: 8px; background: var(--on-frame); font: var(--text-s);
  padding: var(--sp-1) var(--sp-2); border-radius: var(--r-small); }

.frame.lock > img { filter: blur(4px) saturate(.9); }
.frame.lock::after { content: ""; position: absolute; inset: 0; background: rgba(244, 242, 240, .2); }
.frame .lockico { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: var(--h-ctl); height: var(--h-ctl); border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; z-index: 1; }
.frame.empty { background: var(--panel); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--sp-4); color: var(--ink-2); cursor: default; font-size: 14px; line-height: 20px; }
.frame.more { background: var(--panel); border: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 28px; font-weight: 400; }
.frame.more:hover { background: var(--panel); color: var(--ink); }

.frame-act { position: absolute; right: 2px; top: 2px; z-index: 2; width: var(--h-target); height: var(--h-target); padding: 0; border: 0; background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
.frame-act::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--on-frame); transition: background-color .12s, transform .12s; }
.frame-act > .i { position: relative; width: var(--icon); height: var(--icon); }
.frame-act:hover::before { background: var(--bg); transform: scale(1.06); }
.frame-act:active::before { transform: scale(.96); }
.frame-act[aria-pressed="true"]::before, .frame-act.is-done::before { background: var(--acc); }
.frame .wm { position: absolute; right: 8px; bottom: 8px; width: var(--h-ctl); height: auto; opacity: .7; pointer-events: none; }
.frame.empty.is-soon, .is-loading { background: var(--panel) linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent) no-repeat;
  background-size: 50% 100%; animation: src-shim 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .frame.empty.is-soon, .is-loading { animation: none; } }

.status { display: inline-flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1) var(--sp-4); border-radius: var(--r-pill); font: var(--text-s);
  align-self: flex-start; color: var(--ink); background: var(--panel); }
.st-work, .status.work { background: var(--st-work-bg); color: var(--st-work); }
.status.ok { background: var(--st-done-bg); color: var(--st-done); }
.st-done { background: var(--st-done-bg); color: var(--st-done); }
.st-err { background: var(--st-err-bg); color: var(--st-err); }
.st-bank { background: var(--st-bank-bg); color: var(--st-bank); }
.status-mark { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; }
.status-mark > .i { width: var(--icon-s); height: var(--icon-s); }
@media (min-width: 768px) { .status-mark { width: 28px; height: 28px; } }
.status-mark.is-live::before, .status-mark.is-live::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-mark.is-live::after { animation: status-wave 2s cubic-bezier(.2, .6, .35, 1) infinite; }
@keyframes status-wave { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }

.progress { height: 8px; border: 0; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.progress > i { background: var(--ink); border-radius: var(--r-pill); }
.progress > i { display: block; height: 100%; width: var(--p, 0); transition: width .4s linear; }

.progress.is-indeterminate { position: relative; }
.progress.is-indeterminate > i { position: absolute; top: 0; bottom: 0; left: 0; width: 32%; height: auto; transition: none;
  animation: progress-glide 2s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes progress-glide { from { transform: translateX(-100%); } to { transform: translateX(312.5%); } }

@media (prefers-reduced-motion: reduce) {
  .status-mark.is-live::after { animation: none; opacity: 0; }
  .progress.is-indeterminate { display: none; }
}

.tab { position: relative; min-height: var(--h-ctl); padding: var(--sp-4) 0 0; border: 0; border-radius: 0; background: transparent; color: var(--ink-2);
  font: var(--text); white-space: nowrap; cursor: pointer; display: inline-flex; align-items: flex-start; text-decoration: none; flex: none; min-width: 0; }

.tab::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 6px; border-radius: var(--r-pill); background: var(--line); }
.tab:hover, .tab.is-hover { color: var(--ink); }

.tab.is-on, .tab[aria-current="page"], .tab[aria-selected="true"] { color: var(--ink); font-weight: 400; border: 0; }
.tab.is-on::after, .tab[aria-current="page"]::after, .tab[aria-selected="true"]::after { background: var(--ink); }

.seg .toggle, .toggle { min-height: var(--h-ctl); min-width: 80px; padding: 0 var(--sp-4); border: 1px solid transparent; border-radius: var(--r-control); background: transparent; color: var(--ink-2);
  font: var(--text-500); cursor: pointer; transition: color .2s; }
.toggle:hover { color: var(--ink); }
.toggle[aria-pressed="true"] { background: var(--bg); color: var(--ink); border-color: var(--line); }

.icon-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--h-ctl); height: var(--h-ctl);
  border-radius: var(--r-control); background: var(--panel); color: var(--ink); }
.icon-tile > .i { width: var(--icon-l); height: var(--icon-l); }

.lockup { --logo-h: 24px; display: block; white-space: nowrap; font: 400 calc(var(--logo-h) * 1000 / 913)/0 var(--font-body); }
.lockup > img { display: inline; height: var(--logo-h); width: auto; vertical-align: calc(var(--logo-h) * -213 / 913); }
.lockup-ru { margin-left: var(--sp-2); color: var(--ink-2); font-family: 'Unbounded', var(--font-body); font-weight: 400; font-size: calc(var(--logo-h) * 1000 / 913 / 2); letter-spacing: 0; }
@media (min-width: 768px) { .lockup { --logo-h: 28px; } }

.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field.has-error .input { border-color: var(--st-err); border-width: 1px; }

.field > .t-h3 { margin-bottom: var(--sp-2); }

.choice input { position: absolute; opacity: 0; pointer-events: none; }

.choices { display: flex; flex-direction: column; gap: var(--sp-2); }
.choice { position: relative; display: flex; flex-direction: column; gap: 0; min-height: 72px; padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-12); border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.choice:hover { background: var(--panel); }
.choice::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: var(--bg); box-sizing: border-box; }

.choice:not(:has(.small)) { justify-content: center; }
.choice:not(:has(.small))::before { top: 50%; transform: translateY(-50%); }
.choice:has(input:checked) { border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -2px; padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-12); font-weight: 400; }
.choice:has(input:checked)::before { border-color: var(--ink); background: radial-gradient(var(--ink) 0 4.5px, var(--bg) 5px); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice:has(input:disabled) { color: var(--ink-off); cursor: not-allowed; background: var(--bg); }

.choice-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-2); font-weight: 500; }
.choice-top .num { white-space: nowrap; }
.choice .small { color: var(--ink-2); font-weight: 400; }

.choice-top { align-items: flex-start; }
@supports (text-box: trim-start cap alphabetic) {
  .choice:has(.small) > span:not(.small, .choice-top), .choice:has(.small) .choice-top > * { text-box: trim-start cap alphabetic; }
  .choice:has(.small), .choice:has(.small):has(input:checked) { padding-top: 20px; }
  .choice:has(.small)::before { top: 20px; }
}
@supports not (text-box: trim-start cap alphabetic) {
  .choice:has(.small)::before { top: 22px; }
}

@media (min-width: 768px) { .choices.choices-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (min-width: 960px) and (max-width: 1199px), (max-width: 359px) { .choices-narrow .choice-top { flex-direction: column; align-items: flex-start; gap: 0; }

  .choices-narrow .choice-top > .num { text-box: normal; } }

.file-pick, .more-pick { position: relative; }
.menu, .file-menu, .profile .menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 240px; max-width: calc(100vw - 2 * var(--side));
  display: flex; flex-direction: column; padding: var(--sp-2); border-radius: var(--r-card); background: var(--bg); border: 1px solid var(--line); box-shadow: none; }
.file-menu { width: 320px; }
.menu[hidden], .file-menu[hidden] { display: none; }
.menu.at-right, .profile .menu { left: auto; right: 0; }
:is(.menu, .file-menu) [role="menuitem"], .profile .menu a { display: flex; align-items: center; gap: var(--sp-2); width: 100%; min-height: var(--h-ctl); padding: 0 var(--sp-4); border: 0;
  border-radius: var(--r-control); background: transparent; color: var(--ink); font: var(--text-500); text-align: left; text-decoration: none; cursor: pointer; }
:is(.menu, .file-menu) [role="menuitem"]:hover, :is(.menu, .file-menu) [role="menuitem"].is-hover, .profile .menu a:hover { background: var(--panel); color: var(--ink); }
:is(.menu, .file-menu) [role="menuitem"]:focus-visible, .profile .menu a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; background: var(--panel); }
:is(.menu, .file-menu) [role="menuitem"] > :is(.i, img) { flex: none; width: var(--icon); height: var(--icon); }
:is(.menu, .file-menu) .menu-danger { color: var(--st-err); }

:is(.menu, .file-menu) > .small, .profile .menu > .small { padding: var(--sp-2) var(--sp-4); color: var(--ink-2); }

.src-field input { flex: 1; min-width: 0; min-height: var(--h-ctl); padding: 0 var(--sp-4); border: 0; outline: 0; border-radius: var(--r-control); background: transparent;
  font: var(--text); color: var(--ink); }
.src-field input::placeholder { color: var(--ink-2); }
.src-field input:disabled { color: var(--ink-off); cursor: not-allowed; }

.src-field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.src-field input { width: 100%; }
.src-ph-icon { width: var(--icon); height: var(--icon); }
.src-ph { position: absolute; top: 0; bottom: 0; left: 16px; right: 4px; display: flex; align-items: center; overflow: hidden; white-space: nowrap;
  color: var(--ink-2); font: var(--text); pointer-events: none; }
.src-field input:not(:placeholder-shown) + .src-ph { display: none; }
.src-ph-short, .src-ph-icon { display: none; }
@media (max-width: 767px) { .src-ph-long { display: none; } .src-ph-short { display: inline; } }

@media (max-width: 359px) { .src-ph-short { display: none; } .src-ph-icon { display: block; flex: none; margin-right: var(--sp-2); } }

.src-card { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: var(--sp-4); min-height: var(--h-ctl); padding-left: var(--sp-1); }
.src-thumb { flex: none; width: 64px; height: 36px; border-radius: var(--r-small); overflow: hidden; background: var(--panel); }
.src-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .24s ease-out; }
.src-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.src-meta > span { overflow-wrap: anywhere; }
.src-card .file-x { flex: none; }
.src-later { border-radius: var(--r-small); transition: color .16s ease-out; }
.src-card.is-in { animation: src-in .22s cubic-bezier(.2, .7, .3, 1); }
@keyframes src-in { from { opacity: 0; transform: translateY(4px); } }

.src-card.is-out { overflow: hidden; min-height: 0; pointer-events: none;
  animation: src-out .28s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes src-out {
  0% { opacity: 1; transform: none; height: var(--h); margin-top: 0; margin-bottom: 0; }
  43% { opacity: 0; transform: translateY(-4px); height: var(--h); margin-top: 0; margin-bottom: 0; }
  100% { opacity: 0; transform: translateY(-4px); height: var(--h-end, 0px); margin-top: var(--mt, 0); margin-bottom: var(--mb, 0); }
}

.src-meta > .btn { align-self: flex-start; }
.src-meta > .progress { margin: var(--sp-2) 0; }
.src-card.is-reading .src-thumb img { opacity: 0; }
.src-card.is-reading .src-later { color: transparent; }
.src-card.is-reading .src-thumb, .src-card.is-reading .src-later { background: var(--line) linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent) no-repeat;
  background-size: 50% 100%; animation: src-shim 1.2s linear infinite; }
@keyframes src-shim { from { background-position: -100% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .src-card.is-in, .src-card.is-reading .src-thumb, .src-card.is-reading .src-later { animation: none; }
}

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: var(--sp-1); gap: var(--sp-1); border-radius: var(--r-card);
  background: var(--panel); flex: none; align-self: flex-start; isolation: isolate; }
.seg::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 12px) / 2); border-radius: var(--r-control);
  background: var(--bg); border: 1px solid var(--line); box-sizing: border-box; transition: transform .2s cubic-bezier(.3, .7, .4, 1); }
.seg:has(> :nth-child(3))::before { width: calc((100% - 16px) / 3); }
.seg:not(:has([aria-pressed="true"]))::before { opacity: 0; }
.seg:has(> :nth-child(2)[aria-pressed="true"])::before { transform: translateX(calc(100% + 4px)); }
.seg:has(> :nth-child(3)[aria-pressed="true"])::before { transform: translateX(calc(200% + 8px)); }
.seg .toggle[aria-pressed="true"] { background: transparent; border-color: transparent; }

.tabs { display: flex; flex-wrap: nowrap; gap: var(--gap); overflow-x: auto; scrollbar-width: none; }

@media (max-width: 959px) { .tabs { margin-left: calc(-1 * var(--side)); margin-right: calc(-1 * var(--side)); padding: 0 var(--side); scroll-padding: 0 var(--side); } }
.tabs::-webkit-scrollbar { display: none; }

@media (min-width: 960px) { .tabs-fill .tab { flex: 1 1 0; } }

.tabs-progress { align-items: flex-start; }

.tabs-progress .tab[aria-selected="true"]::after, .tabs-progress .tab.is-on::after { background: var(--line); }
.tabs-progress .tab[aria-selected="true"]::before, .tabs-progress .tab.is-on::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 6px; z-index: 1;
  border-radius: var(--r-pill); background: var(--tint, var(--ink)); clip-path: inset(0 100% 0 0 round var(--r-pill)); animation: tab-fill var(--dur, 7s) linear forwards; }
.tabs-progress.is-paused .tab::before, .is-paused .tabs-progress .tab::before { animation-play-state: paused; }

@media (max-width: 959px) {
  .tabs-progress { margin: 0; padding: 0; gap: var(--sp-2); overflow: visible; }
  .tabs-progress .tab { flex: 1 1 0; min-width: 0; font-size: 0; line-height: 0; padding: var(--sp-4) 0 0; }
}
@keyframes tab-fill { from { clip-path: inset(0 100% 0 0 round 999px); } to { clip-path: inset(0 0 0 0 round 999px); } }
@media (prefers-reduced-motion: reduce) {
  .tabs-progress .tab[aria-selected="true"]::before, .tabs-progress .tab.is-on::before { animation: none; clip-path: none; }
}

.tabs.tabs-seg { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-1); margin: 0; padding: var(--sp-1); overflow: visible;
  border-radius: var(--r-card); background: var(--panel); isolation: isolate; }
.tabs-seg::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 12px) / 2); border-radius: var(--r-control);
  background: var(--bg); border: 1px solid var(--line); box-sizing: border-box; transition: transform .2s cubic-bezier(.3, .7, .4, 1); }
.tabs-seg:not(:has(> .is-on, > [aria-current="page"], > [aria-selected="true"]))::before { opacity: 0; }
.tabs-seg:has(> :nth-child(2):is(.is-on, [aria-current="page"], [aria-selected="true"]))::before { transform: translateX(calc(100% + 4px)); }
.tabs-seg .tab { min-height: var(--h-ctl); padding: 0 var(--sp-4); align-items: center; justify-content: center; border-radius: var(--r-control);
  color: var(--ink-2); font: var(--text-500); transition: color .2s; }
.tabs-seg .tab::after { content: none; }
.tabs-seg .tab:hover, .tabs-seg .tab.is-hover { color: var(--ink); }
.tabs-seg .tab.is-on, .tabs-seg .tab[aria-current="page"], .tabs-seg .tab[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.tabs-seg .tab:focus-visible, .tabs-seg .tab.is-focus { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tabs-seg::before { transition: none; } }

.tile { text-decoration: none; }
.tile-title { display: block; }

.tile { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }

.tile-media { position: relative; min-width: 0; }
.tile > .btn { margin-top: auto; }

.tile-title, .tile-title.small { font-size: 16px; line-height: 20px; text-decoration: none; min-height: var(--h-ctl); }
.cap { text-wrap: pretty; }
.tile-title { text-wrap: balance; }
.tile-title:hover { color: var(--ink-2); }

.cap { font-size: 16px; line-height: 20px; min-height: 40px; margin: 0; }

.tile > .tile-title + .small { margin-top: calc(-1 * var(--sp-2)); }

.status-line { display: flex; align-items: flex-start; gap: var(--sp-4); min-width: 0; }
.status-line > :not(.status-mark) { margin: 0; min-width: 0; }

.reel-nav { display: flex; align-items: center; gap: var(--sp-6); }
.reel-nav .num { flex: 1 1 auto; }
@media (max-width: 559px) { .reel-nav { gap: var(--sp-4); } }

.fact { display: flex; flex-direction: column; gap: var(--sp-2); min-width: 0; }
.fact > * { margin: 0; }
.fact-value { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 24px; line-height: 28px; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: break-word; }
.fact > p:not(.fact-value) { text-wrap: pretty; max-width: 40em; }
@media (min-width: 768px) { .fact-value { font-size: 28px; line-height: 32px; } }

.next-step { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); min-width: 0; }
.next-step > * { margin: 0; }
.next-step > .icon-tile { margin-bottom: var(--sp-2); }
.next-step > p { max-width: 40em; text-wrap: pretty; }
.next-step { justify-items: start; }

.checks { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); margin: 0; padding: 0; }
.checks li { position: relative; padding-left: var(--sp-8); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: var(--mark) center / 20px no-repeat; mask: var(--mark) center / 20px no-repeat; }
.checks { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14' /%3E%3Cpath d='M12 5v14' /%3E%3C/svg%3E"); }

@media (min-width: 960px) { .checks-l { gap: var(--sp-4); } }

.tp-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.tp-group > *, .tp-group dt, .tp-group dd { margin: 0; }
.tp-group dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-4); }
.tp-group dd { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.disc { border: 0; background: var(--panel); border-radius: var(--r-card); padding: 0 var(--pad-plate); }
.disc + .disc { margin-top: var(--sp-2); }
.disc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 64px; cursor: pointer; font: var(--text-500); }
@media (min-width: 768px) { .disc > summary { min-height: 72px; } }
.disc > summary::-webkit-details-marker { display: none; }
.disc > summary svg { flex: none; transition: transform .15s; }
.disc[open] > summary svg { transform: rotate(45deg); }
.disc > :not(summary) { padding-bottom: var(--sp-6); color: var(--ink-2); max-width: 40em; }
.faq summary { cursor: pointer; }
.faq details > :not(summary) { max-width: 40em; }

.faq + .stack-s, .faq + .stack { margin-top: var(--sp-8); }

.faq { display: flex; flex-direction: column; gap: var(--sp-2); border: 0; }
.faq details, .faq details:last-child { border: 0; background: var(--panel); border-radius: var(--r-card); padding: 0 var(--sp-6); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 64px; padding: 0;
  font: var(--text-500); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { color: var(--ink-2); padding-bottom: var(--sp-6); }
@media (min-width: 768px) { .faq summary { min-height: 72px; } }

.notice { display: flex; flex-direction: column; }
.notice, .notice-soft { background: var(--panel); border: 0; border-radius: var(--r-card); padding: var(--sp-4) var(--pad-card); gap: var(--sp-4); }

.bubble { border: 0; background: var(--panel); border-radius: var(--r-card); padding: var(--sp-4); }
.bubble .small { color: var(--ink-2); margin-top: var(--sp-2); }

.sum { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); }

.price { font: 500 20px/24px var(--font-body); letter-spacing: -0.005em; }
@media (min-width: 768px) { .price { font-size: 24px; line-height: 28px; } }
@media (min-width: 768px) { .sum .price { font-size: 24px; line-height: 28px; } }

.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); color: #fff; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 50; }
.toast.on { opacity: 1; }
.toast { border-radius: var(--r-card); background: var(--ink); padding: var(--sp-4); }

.profile { position: relative; }
.profile > summary { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--h-ctl); padding: 0; border-radius: var(--r-control);
  border: 0; background: transparent; color: var(--ink); font: var(--text-500); cursor: pointer; list-style: none; transition: color .12s; }
.profile > summary::-webkit-details-marker { display: none; }
.profile > summary::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; transition: transform .15s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6' /%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6' /%3E%3C/svg%3E") center / 20px no-repeat; width: 20px; height: 20px; }
.profile[open] > summary::after { transform: rotate(180deg); }

.prof-ico { display: none; }
@media (max-width: 767px) { .prof-name { display: none; } .prof-ico { display: block; } .profile > summary { min-width: var(--h-ctl); justify-content: center; } }
.profile > summary:hover { color: var(--ink-2); }

@media (max-width: 359px) { .profile > summary { gap: var(--sp-1); } }

.top { position: sticky; top: 0; z-index: 20; height: var(--hdr); border-bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }

.top::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--bg); }
html.is-scrolled .top::before { border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; min-height: var(--h-target); flex: none; }

@media (max-width: 767px) { .top .lockup-ru { display: none; } }
@media (min-width: 960px) and (max-width: 1199px) { .top:has(> .nav-links) .lockup-ru { display: none; } }

.nav-links { display: none; }
@media (min-width: 960px) { .nav-links { display: flex; flex: 1 1 auto; align-items: center; gap: var(--sp-8); margin-left: var(--sp-12); }
  .nav-links a { min-height: var(--h-ctl); display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; color: var(--ink); }
  .nav-links a:hover { color: var(--ink-2); } }
.nav { display: flex; gap: var(--sp-4); align-items: center; }
@media (min-width: 768px) { .nav { gap: var(--sp-6); } }
.nav > a:not(.btn) { min-height: var(--h-ctl); display: inline-flex; align-items: center; padding: 0; text-decoration: none; font-weight: 500; }

.nav-login { min-height: var(--h-ctl); min-width: var(--h-ctl); display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent;
  color: var(--ink); font: var(--text-500); text-decoration: none; }
.nav-login:hover { color: var(--ink-2); }

.nav .nav-cta { white-space: nowrap; gap: 0; }

.cta-tail { display: none; white-space: pre; }
@media (min-width: 768px) { .cta-tail { display: inline; } }

@media (min-width: 1200px) {
  .top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: var(--sp-8); justify-content: stretch; }
  .top > .logo { grid-column: 1; grid-row: 1; justify-self: start; }
  .top > .nav-links { grid-column: 2; grid-row: 1; margin-left: 0; flex: none; }
  .top > .nav { grid-column: 3; grid-row: 1; justify-self: end; }
}

@media (max-width: 359px) { .nav { gap: var(--sp-2); } }

@media (max-width: 767px) { .top .profile { position: static; } .top .profile .menu { left: auto; right: var(--side); } }

.foot { background: var(--ink); color: var(--foot-ink); border: 0; margin-top: var(--floor); padding: 0; max-width: none; }
.foot { --ink-2: var(--foot-ink); }
.foot-in { max-width: calc(1200px + 2 * var(--side)); margin: 0 auto; padding: var(--sp-12) var(--side) var(--sp-8); display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8) var(--gap); }
.foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.foot-brand p { margin: 0; max-width: 24em; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.foot-col > .label { margin: 0 0 var(--sp-2); color: var(--bg); }
.foot a { color: var(--foot-ink); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--h-target); font-weight: 400; }
.foot a:hover { color: var(--bg); }
.foot-base { max-width: calc(1200px + 2 * var(--side)); margin: 0 auto; padding: var(--sp-6) var(--side) var(--sp-12); display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-8); }
.foot-base > * { margin: 0; }
@media (min-width: 768px) { .foot-in { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: var(--sp-18); } }
@media (min-width: 960px) { .foot-in { grid-template-columns: repeat(12, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / span 4; } .foot-col { grid-column: span 2; } }
.foot .lockup { --logo-h: 32px; }

.capsule { position: relative; display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-1); border-radius: var(--r-capsule); border: 1px solid var(--line);
  background: var(--field-bg); transition: border-color .12s; }
.capsule:hover, .capsule.is-hover { border-color: var(--ink-2); }
.capsule:has(input:focus), .capsule.is-focus { border-color: var(--ink); }
.capsule .btn { flex: none; }
.capsule .file-pick { flex: none; }
.fp-short { display: none; }
@media (max-width: 767px) {
  .capsule { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--sp-1); row-gap: var(--sp-1); align-items: center; }
  .capsule > .src-field { grid-row: 1; grid-column: 1; }
  .capsule > .file-pick { grid-row: 1; grid-column: 2; position: static; }
  .capsule > .src-card { grid-row: 1; grid-column: 1 / -1; }
  .capsule > .btn-primary { grid-row: 2; grid-column: 1 / -1; width: 100%; }
  .capsule .file-menu { left: -1px; right: -1px; top: calc(48px + 4px + 8px); width: auto; max-width: none; }
  .fp-long { display: none; } .fp-short { display: inline; }
}

@media (min-width: 768px) { .capsule .file-menu { left: auto; right: 0; } }

.src-list { display: flex; flex-direction: column; gap: var(--sp-2); flex: 1 1 auto; min-width: 0; }
@media (max-width: 767px) { .capsule > .src-list { grid-row: 1; grid-column: 1 / -1; } }
.menu-grp { display: contents; }
.add-file { align-self: flex-start; }

.capsule > .is-in { animation: src-in .22s cubic-bezier(.2, .7, .3, 1); }
@media (prefers-reduced-motion: reduce) { .capsule > .is-in { animation: none; } }

.capsule-first > * { min-width: 0; overflow-wrap: anywhere; }

@media (min-width: 768px) { .capsule-first .src-field input { margin-left: -5px; padding-left: var(--sp-4); } .capsule-first .src-ph { left: 11px; } }

@media (max-width: 767px) {
  .capsule-first { grid-template-rows: minmax(72px, auto) auto; }
  .capsule-first > .src-field { align-self: stretch; }
  .capsule-first .file-menu { top: calc(72px + 4px + 8px); }
}
@media (min-width: 768px) { .capsule-first > .btn-primary { align-self: flex-start; } }

@media (max-width: 359px) { .capsule-first .src-thumb { display: none; } }

.carousel { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; overflow: visible; padding-bottom: 0; }
.slides { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides > .slide { flex: 0 0 100%; scroll-snap-align: start; }

.slide { background: var(--tint, var(--tint-1)); border: 0; border-radius: var(--r-card); padding: var(--pad-plate); display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }

.slide-stage { display: flex; flex-direction: column; aspect-ratio: 16 / 9; min-width: 0; min-height: 0; }
.slide-stage > .slide-media { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }

.slide-copy { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--sp-2); flex: 1 1 auto; min-width: 0; }
.slide-name { margin: 0; }
@media (max-width: 767px) {

  .slide-stage { aspect-ratio: 4 / 5; }

  .slides { align-items: flex-start; }
}
@media (min-width: 960px) {

  .slide { display: grid; grid-template-columns: calc((100% + 2 * var(--pad-plate) - 11 * var(--gap)) / 12 * 8 + 7 * var(--gap) - var(--pad-plate)) minmax(0, 1fr); column-gap: var(--gap); }
}

.slide .muted, .slide .small, .slide .hint { color: var(--ink); }

.slide-media { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-frame); overflow: hidden; background: var(--shade); }
.slide-media > picture, .slide-media > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.slide-media img, .slide-media > video { display: block; width: 100%; height: 100%; object-fit: cover; }

.slide-text { margin: 0; font-size: 16px; line-height: 24px; text-wrap: pretty; }
@media (min-width: 768px) { .slide-text { font-size: 18px; line-height: 28px; } }

.ex-link { align-self: flex-start; }

.case { display: grid; gap: var(--sp-4) var(--gap); padding: var(--pad-plate); border-radius: var(--r-card); background: var(--panel); align-items: start; }
.case > * { margin: 0; min-width: 0; }
.case-value { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 24px; line-height: 28px; letter-spacing: -0.02em; text-wrap: balance; }
.case-value { overflow-wrap: break-word; }

.case-value:has(> .case-from) { font-size: inherit; line-height: inherit; }

.case-value:has(> .case-from) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-2); row-gap: var(--sp-2); align-items: start; }
.case-value > .case-from { grid-column: 2; grid-row: 1; }
.case-value > .case-arr { grid-column: 1; grid-row: 2; }
.case-value > .case-to:not(.case-arr) { grid-column: 2; grid-row: 2; }

@media (min-width: 768px) { .case-value:has(> .case-from) { column-gap: var(--sp-6); } }
.case-from { display: block; font-size: 20px; line-height: 24px; letter-spacing: -0.02em; }
.case-to { display: block; font-size: var(--dp); line-height: var(--dpl); letter-spacing: -0.03em; }
@media (min-width: 768px) { .case-from { font-size: 24px; line-height: 28px; } .case-to { font-size: 64px; line-height: 68px; } }
.case-act { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); }

@media (max-width: 767px) { .case-act > .btn { align-self: stretch; } .case-act > .btn-quiet { align-self: flex-start; } }

@media (max-width: 359px) { .case-value { font-size: 22px; } }
@media (min-width: 768px) { .case-value { font-size: 40px; line-height: 44px; } }
@media (min-width: 960px) { .case { grid-template-columns: calc((100% + 2 * var(--pad-plate) - 11 * var(--gap)) / 12 * 8 + 7 * var(--gap) - var(--pad-plate)) minmax(0, 1fr); row-gap: var(--sp-4); }
  .case > .case-value { grid-column: 1; grid-row: 1 / span 2; } .case > :not(.case-value) { grid-column: 2; } }

@media (min-width: 960px) and (max-width: 1199px) { .case { grid-template-columns: minmax(0, 1fr); } .case > .case-value, .case > :not(.case-value) { grid-column: 1; grid-row: auto; } }

@media (min-width: 1200px) { .case > .case-act, .case > .case-value { align-self: end; } }
@media (max-width: 1199px) { .case > .case-act { margin-top: var(--sp-2); } }

.tariff { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--pad-plate); border-radius: var(--r-card); background: var(--panel); min-width: 0; }
.tariff > * { margin: 0; min-width: 0; }
.tariff.is-featured { background: var(--acc-h); }
.tariff-top { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sp-2); align-items: flex-start; }
.tariff-top > * { margin: 0; }
.tariff-name { margin: 0; }
.tariff-badge { display: inline-flex; align-self: flex-start; align-items: center; padding: var(--sp-1) var(--sp-4); border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font: var(--text-s); }

.tariff.is-featured { position: relative; }

@media (max-width: 767px) { .tariff.is-featured { padding-top: var(--sp-6); } }
.tariff > .tariff-badge { position: absolute; top: 0; left: var(--pad-plate); z-index: 1; transform: translateY(-50%); margin: 0;
  padding: var(--sp-1) var(--sp-4); border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-weight: 400; white-space: nowrap; }
.tariff.is-featured .muted { color: var(--ink); }

.tariff-was { font: var(--text); line-height: 0; font-variant-numeric: tabular-nums; letter-spacing: 0;    color: var(--ink-2); white-space: nowrap; }
.tariff.is-featured .tariff-was { color: var(--ink); }
.tariff-price { display: flex; flex-direction: column; }
.tariff-price > * { margin: 0; }
.tariff-basis { margin-top: var(--sp-2); font-size: 16px; line-height: 24px; color: var(--ink); }
.tariff-sum { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 28px; line-height: 32px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tariff-sum { overflow-wrap: break-word; }
.tariff > .btn { width: 100%; }
.tariff-get { display: flex; flex-direction: column; gap: var(--sp-2); }
.tariff-get > * { margin: 0; }
@media (min-width: 768px) { .tariff-sum { font-size: 40px; line-height: 44px; } }

@media (min-width: 960px) and (max-width: 1199px) { .tariff-sum { font-size: 28px; line-height: 32px; } }

.tariff > .tariff-basis { margin-top: calc(-1 * var(--sp-2)); }
.tariff-price { min-height: 0; }

.tariff-prices { display: flex; flex-direction: column; gap: var(--sp-6); padding-top: var(--sp-4); }

.fan { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.fan > span { position: absolute; left: 50%; bottom: 4%; width: 28%; aspect-ratio: 9 / 16; border-radius: var(--r-capsule);
  background: center / cover no-repeat; outline: 4px solid var(--bg); outline-offset: -4px; transform-origin: 50% 100%; }

.fan > :nth-child(1) { transform: translateX(-150%) translateY(-0.76%) rotate(-10deg); }
.fan > :nth-child(2) { transform: translateX(-100%) translateY(-0.19%) rotate(-5deg); z-index: 1; }
.fan > :nth-child(3) { transform: translateX(-50%); z-index: 2; }
.fan > :nth-child(4) { transform: translateX(0) translateY(-0.19%) rotate(5deg); z-index: 1; }
.fan > :nth-child(5) { transform: translateX(50%) translateY(-0.76%) rotate(10deg); }

@media (min-width: 960px) {
  .cta-panel > .fan { aspect-ratio: 2 / 1; align-self: start; margin-top: calc(-1 * var(--sp-12) - var(--sp-2)); }
  .cta-panel > .fan > span { top: 0; bottom: auto; }
}

.cta-panel { display: grid; gap: var(--sp-8) var(--gap); padding: var(--sp-8) var(--pad-plate); align-items: center; }
.cta-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-8); min-width: 0; }
.cta-text > * { margin: 0; }
@media (max-width: 767px) { .cta-text > .btn { align-self: stretch; } }
@media (min-width: 768px) { .cta-panel { padding: var(--sp-12) var(--pad-plate); } }
@media (min-width: 960px) { .cta-panel { grid-template-columns: calc((100% + 2 * var(--pad-plate) - 11 * var(--gap)) / 12 * 6 + 5 * var(--gap) - var(--pad-plate)) minmax(0, 1fr); } }

.otile { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); }
.otile:hover { border-color: var(--ink-2); }
.otile-pic { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; background: var(--panel);
  display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.otile-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.otile-pic > .status { position: absolute; top: 8px; right: 8px; max-width: calc(100% - 16px); }
.otile-body { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-4) var(--sp-2) var(--sp-4) var(--sp-4); }
.otile-text { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.otile-text > h3 { margin: 0; }
.otile-link { color: var(--ink); }
.otile-link:hover { color: var(--ink); }
.otile-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-card); }
.otile-link:focus-visible { outline: none; }
.otile:has(.otile-link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.otile .more-pick > .btn { position: relative; z-index: 2; margin-top: calc(-1 * var(--sp-2)); }
.otile .menu { width: max-content; max-width: calc(100vw - 2 * var(--side)); right: -8px; }

.order-plate { display: grid; row-gap: var(--sp-6); }
.order-about, .order-state, .order-now { display: flex; flex-direction: column; min-width: 0; }

.order-about, .order-now { gap: var(--sp-2); }
.order-state { gap: var(--sp-4); }
.order-about > *, .order-state > *, .order-now > * { margin: 0; }
@media (min-width: 768px) {

  .order-plate { grid-template-columns: calc((100% - 3 * var(--gap)) / 4 * 2 + var(--gap)) minmax(0, 1fr);
    column-gap: var(--gap); row-gap: var(--sp-2); align-items: start; }

  .order-about, .order-state, .order-now { display: contents; }
  .order-about > :is(h1, .t-h1) { grid-column: 1; grid-row: 1; }
  .order-about > p { grid-column: 1; grid-row: 2; }
  .order-now > .status-line { grid-column: 2; grid-row: 1; position: relative; top: 3px; }
  .order-now > p { grid-column: 2; grid-row: 2; }
  .order-state > :not(.order-now) { grid-column: 2; margin-top: var(--sp-2); }
}
@media (min-width: 960px) {
  .order-plate { grid-template-columns: calc((100% - 11 * var(--gap)) / 12 * 6 + 5 * var(--gap)) minmax(0, 1fr); }
}

.reels-grid { display: grid; }
.reels-grid { display: grid; }
.reels-grid { gap: var(--sp-6) var(--gap); }

@media (min-width: 960px) { .reels-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

@media (max-width: 767px) { .reels-grid, .reels-grid:has(> .tile > .btn) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 959px) { .reels-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (min-width: 960px) { .reels-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.res-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--gap); align-items: center; }
.res-bar > .tabs { grid-column: 1 / -1; }
.res-bar > .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 960px) {
  .res-bar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .res-bar > .tabs { grid-column: 1 / span 2; }
  .res-bar > .btn { grid-column: 5 / span 2; grid-row: 1; justify-self: end; }
  .res-bar > .btn:first-child { grid-column: 1 / span 2; justify-self: start; }
}

@media (min-width: 960px) { .res-bar-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .res-bar-4 > .btn { grid-column: 3 / span 2; } }

.trial-aside { display: flex; flex-direction: column; gap: var(--sp-6); }

.ex-pair { row-gap: var(--sp-4); align-items: start; }
.ex-cams { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: var(--sp-2); aspect-ratio: 2 / 1; border-radius: var(--r-frame); overflow: hidden; }
.ex-cams img { display: block; width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.ex-arrow { justify-self: center; color: var(--ink-2); transform: rotate(90deg); }
.ex-out { display: grid; grid-template-columns: 256fr 81fr 81fr 81fr; gap: var(--sp-2); }
.ex-more { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--sp-2);
  color: var(--ink); }

.ex-go { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); text-align: left; margin-top: var(--sp-4); }
@media (max-width: 959px) {
  .ex-out { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex-out > :first-child { grid-column: 1 / -1; }
  .ex-go .btn { width: 100%; }
}
@media (min-width: 960px) {
  .ex-pair > .ex-l1 { grid-column: 1 / span 4; grid-row: 1; }
  .ex-pair > .ex-l2 { grid-column: 6 / span 7; grid-row: 1; }
  .ex-pair > .ex-cams { grid-column: 1 / span 4; grid-row: 2; }
  .ex-pair > .ex-arrow { grid-column: 5; grid-row: 2; align-self: center; transform: none; }
  .ex-pair > .ex-out { grid-column: 6 / span 7; grid-row: 2; }
}

.auth-card, .wrap.narrow > .auth-card { max-width: 486px; }
.auth-card .actions > .btn-primary { flex: 1; }

.chat { display: flex; flex-direction: column; gap: var(--sp-2); }
.chat { max-width: 384px; }

dialog { max-height: calc(100% - 32px); overflow: auto; }

dialog { border: 0; border-radius: var(--r-card); padding: var(--sp-8); width: min(480px, calc(100% - 32px)); margin: auto; max-width: calc(100% - 2 * var(--side)); }
dialog:modal { margin: auto; }
@media (max-width: 767px) { dialog { padding: var(--sp-6); } }
dialog::backdrop { background: rgba(26, 23, 20, .40); }

main.page { padding-top: var(--sp-6); }
@media (min-width: 960px) { main.page { padding-top: var(--sp-12); } }

.wrap.narrow { max-width: calc(1200px + 2 * var(--side)); }
.wrap.narrow > * { max-width: 792px; }
.wrap.narrow p { max-width: 40em; }
.doc { max-width: calc(1200px + 2 * var(--side)); }
.doc > * { max-width: 40em; }
.doc { display: flex; flex-direction: column; gap: var(--sp-4); }
.doc ul, .doc ol { display: flex; flex-direction: column; }
.doc > h2 { margin-top: var(--sp-8); }
.doc ul, .doc ol { gap: var(--sp-2); padding-left: var(--sp-6); }

.floor { margin-top: var(--floor); }
.floor-head { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-8); }
@media (min-width: 768px) { .floor-head { gap: var(--sp-4); margin-bottom: var(--sp-12); } }

.hero { padding-top: var(--sp-10); row-gap: 0; }

.hero > .hero-act { margin-top: var(--sp-8); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.hero-text > .offer { margin-bottom: var(--sp-2); }
.hero-act { display: flex; flex-direction: column; gap: var(--sp-2); }
.hero-act > .pick-go { display: flex; flex-direction: column; }

@media (max-width: 767px) { .hero-act > .capsule ~ .small { text-align: center; } }
@media (min-width: 768px) { .hero { padding-top: var(--sp-18); } .hero-act > .small { margin-top: var(--sp-2); } .hero-act > .pick-go { flex-direction: row; } }
@media (min-width: 960px) { .hero > .hero-text, .hero > .hero-act { grid-column: 1 / span 10; } }

.ch-proof { margin-top: var(--sp-12); }
.ch-proof > .case { margin-top: var(--sp-8); }

@media (max-width: 959px) {
  .ch-three > .tariff + .tariff { margin-top: var(--sp-4); }
  .ch-three > .tariff.is-featured { margin-top: var(--sp-8); }
}
.ch-three > .next-step + .next-step { margin-top: var(--sp-8); }

@supports (grid-template-rows: subgrid) { @media (min-width: 960px) {
  .ch-three > .tariff, .ch-three > .next-step { display: grid; grid-template-rows: subgrid; grid-row: 2 / span var(--rows); align-content: start; }
  .ch-three > .tariff { --rows: 5; }
  .ch-three.is-open > .tariff { --rows: 6; }
  .ch-three > .next-step { --rows: 3; } } }
@media (min-width: 960px) { .ch-three > .next-step + .next-step { margin-top: 0; } }

.ch-act { margin-top: var(--sp-8); }
@media (min-width: 960px) { .ch-act { margin-top: var(--sp-12); } }
@media (max-width: 767px) { .ch-act > .btn { width: 100%; } }

.ch-more { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); margin-top: var(--sp-6); }

.ch-list { row-gap: var(--sp-8); }
@media (min-width: 768px) { .ch-list { row-gap: var(--sp-12); } }

fieldset.card { min-width: 0; }
fieldset.card > legend { float: left; width: 100%; padding: 0; margin-bottom: var(--sp-4); }
fieldset.card > legend + * { clear: both; }
.new-form { gap: var(--sp-8); }
@media (min-width: 960px) { .new-form { gap: var(--sp-12); } }

.row-split { border-top: 0; padding-top: 0; row-gap: var(--sp-4); align-items: start; }
:not(.new-form) > .row-split + .row-split { margin-top: var(--sp-8); }
@media (min-width: 960px) { :not(.new-form) > .row-split + .row-split { margin-top: var(--sp-12); } }
.row-split > .split-head { margin: 0; }
fieldset.split-body { border: 0; padding: 0; margin: 0; min-width: 0; }
@media (min-width: 960px) { .row-split > .split-head { grid-column: 1 / span 4; } .row-split > .split-body { grid-column: 5 / span 8; }

  .split-body > .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .split-body > .actions > .btn-quiet { justify-self: start; } }

.order-page { display: flex; flex-direction: column; }
.order-page > .back { margin-bottom: var(--sp-4); }

.order-result { display: flex; flex-direction: column; gap: var(--sp-6); margin-top: var(--sp-8); }
.order-wishes { margin-top: var(--sp-8); }

@media (max-width: 959px) { .o-wide { display: none; } }
@media (min-width: 960px) { .order-result, .order-wishes { margin-top: var(--sp-12); } }

.otiles { list-style: none; margin: 0; padding: 0; row-gap: var(--gap); }
@media (min-width: 768px) and (max-width: 959px) { .otiles > li { grid-column: span 2; } }
.orders-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }

.res-head { margin-top: calc(-1 * var(--sp-4)); }

.res-view { display: flex; flex-direction: column; gap: var(--sp-6); }

.video-view { row-gap: var(--sp-6); align-items: start; }
.covers { row-gap: var(--sp-2); }
@media (min-width: 960px) { .video-desc { width: calc((100% - 11 * var(--gap)) * 8 / 12 + 7 * var(--gap)); } }

@media (max-width: 959px) { .covers { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none; overflow-x: auto;
  margin: 0 calc(-1 * var(--side)); padding: 0 var(--side); scroll-padding: 0 var(--side); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .covers > * { grid-column: auto; scroll-snap-align: start; } .covers::-webkit-scrollbar { display: none; } }

.reel-view { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: var(--sp-10); align-items: start; }
@media (max-width: 759px) { .reel-view { grid-template-columns: minmax(0, 1fr); gap: var(--sp-6); } }
@media (min-width: 960px) { .reel-view { grid-template-columns: calc((100% - 11 * var(--gap)) / 12 * 4 + 3 * var(--gap)) minmax(0, 1fr); gap: var(--gap); } }

@media (min-width: 960px) {
  .trial { align-items: start; }
  .trial-main { display: flex; flex-direction: column; gap: var(--sp-6); }
  .trial-aside { position: sticky; top: calc(var(--hdr) + 24px); }
}

@media (max-width: 959px) {
  .trial { row-gap: var(--sp-6); }
  .trial-main, .trial .reels-grid { display: contents; }
  .trial-main > *, .trial-aside { grid-column: 1 / -1; }
  .trial .reels-grid > .tile { grid-column: span 2; order: 1; }
  .trial .reels-grid > .tile:has(> .lock) { order: 3; }
  .trial-video { order: 1; }
  .trial-aside { order: 2; margin: var(--sp-6) 0; }
}

.ex { gap: var(--floor); }

html.in-frame .devbar { display: none; }
.devbar > summary { min-height: var(--h-target); display: flex; align-items: center; }

.why, .build, .proto-flag { display: none !important; }
.mock { border-bottom: 0; }
.stack-s:not(:has(> :not(.why, .build, .proto-flag))) { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
