:root {
  --ink: #14161c;
  --ink2: #2d3445;
  --paper: #fff;
  --soft: #f0f3fa;
  --line: #dfe3ec;
  --clay: #2453ff;
  --blue: #2453ff;
  --muted: #626876;
  --white: #fff;
  --radius: 16px;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1,h2 {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(2.4rem,6vw,5.9rem);
}

h2 {
  font-size: clamp(2rem,4vw,3.5rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

p {
  margin: .8em 0;
  color: var(--muted);
}

a,.link {
  color: var(--ink);
  text-underline-offset: .22em;
}

button,input,textarea,select {
  font: inherit;
  color: inherit;
}

button,summary,select,input[type=submit] {
  cursor: pointer;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}

.wrap {
  width: min(1216px,calc(100% - 72px));
  margin: auto;
}

.mast {
  border-bottom: 1px solid var(--line);
}

.navline,.tenant-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 1.45rem;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.065em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.navline nav,.tenant-header nav,.actions,.tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.navline nav a {
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-login {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.locale select {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0;
  font-size: .85rem;
}

.eyebrow,.number {
  font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
  font-weight: 650;
  letter-spacing: .09em;
  font-size: .72rem;
  text-transform: uppercase;
  color: var(--clay);
}

.eyebrow {
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .7em;
}

.eyebrow i {
  width: .65em;
  height: .65em;
  background: var(--clay);
  transform: rotate(45deg);
}

.lead {
  font-size: clamp(1.05rem,1.6vw,1.25rem);
  max-width: 46ch;
  margin: 1.35rem 0 1.8rem;
}

.btn,.link {
  border: 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 12px 20px;
  min-height: 46px;
  background: var(--ink);
  color: white;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 1px 1px #14161c16;
}

.btn:hover {
  background: #153bd2;
}

.btn.secondary,.btn.light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.link {
  background: none;
  text-decoration: underline;
  min-height: 44px;
  padding: 0;
}

.text-link {
  font-size: .9rem;
  font-weight: 650;
}

.fine,small {
  font-size: .83rem;
}

.section,.work {
  padding-block: 64px;
}

.section h2 {
  max-width: 18em;
  margin-bottom: 28px;
}

.three,.four {
  display: grid;
  gap: 22px;
}

.three {
  grid-template-columns: repeat(3,1fr);
}

.four {
  grid-template-columns: repeat(4,1fr);
  margin-top: 32px;
}

.step-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.number {
  display: block;
  margin-bottom: 30px;
}

.price,.card,.panel,.empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
}

.price strong,.total {
  font-family: inherit;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.1;
  display: block;
  margin-top: 18px;
}

.price small {
  display: block;
}

.price p {
  font-size: .91rem;
}

.price hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
}

.panel {
  width: min(596px,calc(100% - 32px));
  padding: clamp(24px,5vw,48px);
  margin: 55px auto;
}

.panel h1,.workspace-head h1,.work h1 {
  font-size: clamp(2.1rem,4vw,3.7rem);
  margin: 0 0 1rem;
}

.panel form,.card form,.work form:not(.button_to) {
  margin: 18px 0;
}

.field {
  margin: 14px 0;
}

.field label,label:not(.choice) {
  font-weight: 600;
}

.field input,.field textarea,select:not(.locale select) {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #c5cbd7;
  border-radius: 7px;
  background: white;
  min-height: 44px;
}

.field textarea {
  resize: vertical;
}

.choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.choice {
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  padding: 10px 14px;
  margin: 5px 5px 12px 0;
}

.field input[type=file] {
  max-width: 100%;
  font-size: .88rem;
}

.actions {
  gap: 12px;
  margin: 16px 0;
}

.notice,.record {
  background: #edf2ff;
  padding: 12px 18px;
  border-radius: 8px;
  margin-block: 12px;
}

.workspace-head {
  padding-top: 36px;
}

.tabs {
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.tabs a {
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}

.tabs a:hover {
  background: var(--soft);
}

.work {
  max-width: 970px;
  padding-top: 26px;
}

.work h2 {
  margin-top: 22px;
}

.card {
  margin: 14px 0;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-block-end: 1px solid var(--line);
  padding: 14px 0;
}

.badge {
  display: inline-block;
  border-radius: 18px;
  padding: 3px 12px;
  background: #eaf0ff;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 650;
}

.empty {
  margin-top: 20px;
}

.card summary,summary {
  font-weight: 650;
  min-height: 44px;
  padding: 6px 0;
}

.panel dl {
  margin-bottom: 25px;
}

dt {
  font-size: .85rem;
  color: var(--muted);
}

dd {
  margin: 0 0 12px;
  font-weight: 550;
}

.preview-bar {
  background: var(--ink);
  color: white;
  padding: 8px 0;
}

.preview-bar>.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preview-bar small {
  display: block;
}

.preview-bar .btn:not(.light) {
  background: #d7ff6b;
  color: #14161c;
}

.tenant-header {
  border-bottom: 1px solid var(--line);
}

.tenant-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5%;
  padding-block: 56px;
}

.tenant .cover {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 10px;
}

.theme-clay {
  --ink: #673d2d;
  background: #faf2ec;
}

.theme-ink {
  --ink: #1f3047;
  background: #f1f4fa;
}

.record,code,dd,.work,.tenant,.panel {
  overflow-wrap: anywhere;
}

.trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media(max-width:820px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .four {
    grid-template-columns: repeat(2,1fr);
  }
  .navline nav {
    gap: 12px;
  }
  .section,.work {
    padding-block: 42px;
  }
}

@media(max-width:640px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .mast .desktop {
    display: none;
  }
  .navline {
    min-height: 64px;
    gap: 8px;
  }
  .brand {
    font-size: 1.15rem;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .navline nav {
    gap: 9px;
  }
  .nav-login {
    border: 0;
    padding: 0;
  }
  .navline nav a {
    font-size: .78rem;
  }
  .three,.tenant-hero {
    grid-template-columns: 1fr;
  }
  .section h2 {
    margin-bottom: 20px;
  }
  .three,.four {
    gap: 12px;
  }
  .price {
    padding: 16px;
  }
  .price h3 {
    font-size: 1.07rem;
  }
  .number {
    margin-bottom: 8px;
  }
  .preview-bar>.wrap {
    display: block;
  }
  .preview-bar .actions {
    margin: 6px 0;
  }
  .preview-bar .btn {
    font-size: .83rem;
    padding: 8px 10px;
  }
  .panel {
    margin-block: 24px;
  }
  .tabs {
    gap: 0;
  }
  .tabs a {
    font-size: .9rem;
    padding: 8px;
  }
  .card {
    padding: 16px;
  }
  .tenant-hero {
    padding-block: 28px;
  }
  .work h1 {
    font-size: 2.4rem;
  }
}

.wide {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  margin: 6px 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
}

.footer nav {
  font-size: .86rem;
}

.work pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tenant.font-sans h1,.tenant.font-sans h2 {
  font-family: inherit;
}

.tenant.fit-contain .cover {
  object-fit: contain;
}

.blocks {
  display: flex;
  flex-direction: column;
}

.blocks.gallery-first>.three {
  order: -1;
}
