/* Scoped homepage feature. The existing HTML-to-PDF hero has its own styles. */
.create-home {
  padding: 48px 0 64px;
  background: #fff;
  scroll-margin-top: 100px;
}
.create-home-panel {
  padding: clamp(24px, 3.5vw, 56px);
  border: 1px solid #e0e1f1;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0, #eeebff80, transparent 58%), #fff;
  box-shadow: 0 12px 40px #201b5510;
}
.create-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.create-home-copy,
.create-home-editor {
  min-width: 0;
}
.create-home-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #d9fbef;
  color: #164b3e;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
}
.create-home-label .icon {
  width: 17px;
  height: 17px;
}
.create-home h2 {
  margin: 26px 0 24px;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 820;
}
.create-home h2 > span {
  color: var(--primary);
}
.create-home-copy > p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.create-home-start {
  margin-top: 26px;
  min-height: 56px;
  padding: 15px 24px;
  font-size: 15px;
  gap: 12px;
}
.create-home-copy > .create-home-hint {
  font-size: 12px;
  margin-top: 10px;
  color: #586382;
}
.create-home-benefits {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
}
.create-home-benefits li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: #4d597b;
}
.create-home-benefits .icon {
  width: 26px;
  height: 26px;
}
.create-home-editor {
  margin: 0;
  border: 1px solid #d7d9ed;
  border-radius: 16px;
  background: white;
  box-shadow: 0 15px 40px #2d206616;
  overflow: hidden;
}
.create-home-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 18px;
  border-bottom: 1px solid #edeef7;
  font-size: 13px;
}
.create-home-editor-head > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.create-home-editor-head > span > .icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
.create-home-editor-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #c9beff;
  color: #4e32dd;
  min-height: 40px;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.create-home-editor-head > a:hover {
  background: #f5f2ff;
}
.create-home-editor-head > a > .icon {
  width: 15px;
  height: 15px;
}
.create-home-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e7e9f3;
  background: #fafbfe;
  color: #25314f;
  font-size: 13px;
}
.create-home-toolbar > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 24px;
  gap: 10px;
}
.create-home-toolbar > .create-home-format,
.create-home-toolbar > .create-home-size {
  border: 1px solid #e2e4ef;
  background: white;
  border-radius: 4px;
  padding: 0 7px;
  font-size: 11px;
}
.create-home-toolbar .icon {
  width: 17px;
  height: 17px;
}
.create-home-format > .icon,
.create-home-size > .icon {
  width: 11px;
  height: 11px;
}
.create-home-toolbar > .create-home-toolbar-rule {
  min-width: 1px;
  width: 1px;
  margin: 0 3px;
  height: 18px;
  background: #dce0ec;
}
.create-home-toolbar > .create-home-align,
.create-home-toolbar > .create-home-list {
  flex-direction: column;
  gap: 3px;
}
.create-home-align i,
.create-home-list i {
  width: 15px;
  height: 1px;
  background: currentColor;
}
.create-home-align i:nth-child(2) {
  width: 10px;
  align-self: flex-start;
  margin-left: 4px;
}
.create-home-list i {
  width: 10px;
  position: relative;
  margin-left: 5px;
}
.create-home-list i:before {
  content: "";
  position: absolute;
  left: -5px;
  top: -1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}
.create-home-toolbar > .create-home-table-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0 4px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.create-home-table-icon i:nth-child(odd) {
  border-right: 1px solid currentColor;
}
.create-home-table-icon i:nth-child(-n + 2) {
  border-bottom: 1px solid currentColor;
}
.create-home-paper {
  padding: clamp(22px, 3vw, 40px);
  min-height: 350px;
  color: #354361;
}
.create-home-document-label {
  font-size: 10px;
  color: #53618a;
  letter-spacing: 0.15em;
}
.create-home-paper h3 {
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 20px 0 16px;
  color: var(--ink);
}
.create-home-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--primary);
}
.create-home-paper p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.create-home-paper mark {
  background: #e6deff;
  color: #303452;
  padding: 3px 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.create-home-paper table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.5;
}
.create-home-paper th,
.create-home-paper td {
  border: 1px solid #dde1ef;
  padding: 10px 12px;
  text-align: left;
  overflow-wrap: anywhere;
}
.create-home-paper th {
  background: #f5f5fc;
  font-weight: 600;
}
.create-home-editor figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-top: 1px solid #edeef7;
  background: #fafbff;
  color: #546183;
  font-size: 11px;
}
.create-home-editor figcaption > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #4e32dd;
  font-weight: 600;
}
.create-home-editor figcaption .icon {
  width: 14px;
  height: 14px;
}
.create-home-layouts {
  border-top: 1px solid #e1e4ee;
  margin-top: 40px;
  padding-top: 20px;
}
.create-home-layouts h3 {
  font-size: 13px;
  font-weight: 650;
  color: #3d4969;
  margin: 0 0 16px;
}
.create-home-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.create-home-layout {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid #dce0ee;
  background: #ffffffc9;
  border-radius: 10px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.create-home-layout:hover {
  border-color: #b8a9ff;
  box-shadow: 0 5px 18px #5034d40d;
}
.create-home-layout-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.create-home-layout-copy strong {
  font-size: 16px;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.create-home-layout-copy > span {
  color: #596588;
  font-size: 12px;
  line-height: 1.45;
}
.create-home-layout > .create-home-layout-arrow {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 12px;
  right: 12px;
  color: #6d629c;
}
.create-home-thumbnail {
  width: 58px;
  height: 78px;
  border: 1px solid #dfe3f0;
  border-radius: 4px;
  background: #fff;
  padding: 9px 7px;
  box-shadow: 0 2px 5px #34395805;
  flex-shrink: 0;
}
.create-home-thumbnail > span {
  display: block;
  width: 65%;
  height: 3px;
  margin: 0 0 7px;
  background: #8c93b9;
}
.create-home-thumbnail > i {
  display: block;
  height: 2px;
  background: #d1d6e6;
  margin-bottom: 5px;
  width: 100%;
}
.create-home-thumbnail > i:nth-child(3n) {
  width: 65%;
}
.create-home-thumbnail > .icon {
  display: none;
}
.create-home-thumbnail-invoice > span {
  width: 100%;
  background: #9986ef;
}
.create-home-thumbnail-invoice > i {
  background: linear-gradient(
    to right,
    #d1d6e6 55%,
    transparent 55%,
    transparent 75%,
    #d1d6e6 75%
  );
  height: 3px;
  width: 100%;
}
.create-home-thumbnail-report > i:nth-last-of-type(-n + 3) {
  display: none;
}
.create-home-thumbnail-report > .icon {
  display: block;
  width: 100%;
  height: 27px;
  margin-top: 5px;
  color: #9786d4;
  background: #f3f0fe;
}
.create-home a:focus-visible {
  outline: 3px solid #7b60ed;
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .create-home-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .create-home-panel {
    padding: 30px;
  }
  .create-home h2 {
    font-size: 44px;
  }
  .create-home-copy > p {
    font-size: 14px;
  }
  .create-home-editor-head {
    padding: 10px 12px;
    font-size: 11px;
  }
  .create-home-paper {
    padding: 24px;
  }
  .create-home-layout {
    gap: 12px;
    padding: 16px 12px;
  }
  .create-home-benefits {
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .create-home-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .create-home-copy {
    max-width: 560px;
  }
  .create-home h2 {
    font-size: 48px;
  }
  .create-home-benefits {
    flex-direction: row;
    margin-top: 24px;
    gap: 28px;
  }
  .create-home-benefits li {
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }
  .create-home-benefits .icon {
    width: 20px;
    height: 20px;
  }
  .create-home-paper {
    min-height: 330px;
  }
  .create-home-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .create-home {
    padding: 26px 0 38px;
    scroll-margin-top: 76px;
  }
  .create-home-panel {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .create-home-copy {
    padding: 0 3px;
  }
  .create-home-label {
    font-size: 10px;
    padding: 8px 11px;
  }
  .create-home h2 {
    font-size: clamp(34px, 10.3vw, 46px);
    margin: 20px 0 18px;
  }
  .create-home-copy > p {
    font-size: 13px;
  }
  .create-home-start {
    width: 100%;
    padding: 13px 12px;
    min-height: 50px;
    font-size: 14px;
    margin-top: 22px;
  }
  .create-home-copy > .create-home-hint {
    text-align: center;
    font-size: 10px;
  }
  .create-home-benefits {
    display: none;
  }
  .create-home-editor {
    border-radius: 10px;
  }
  .create-home-editor-head {
    gap: 6px;
    min-height: 56px;
    padding: 8px 9px;
    font-size: 10px;
  }
  .create-home-editor-head > span {
    gap: 5px;
  }
  .create-home-editor-head > span > .icon {
    width: 17px;
    height: 17px;
  }
  .create-home-editor-head > a {
    min-height: 40px;
    font-size: 10px;
    padding: 6px;
    gap: 4px;
  }
  .create-home-editor-head > a > .icon {
    width: 12px;
    height: 12px;
  }
  .create-home-toolbar {
    padding: 8px;
    gap: 4px;
  }
  .create-home-toolbar > .create-home-toolbar-rule,
  .create-home-toolbar > .create-home-list {
    display: none;
  }
  .create-home-format,
  .create-home-size {
    gap: 4px !important;
  }
  .create-home-paper {
    padding: 23px 16px;
    min-height: 0;
  }
  .create-home-paper h3 {
    font-size: clamp(21px, 6.4vw, 28px);
  }
  .create-home-paper p {
    font-size: 12px;
  }
  .create-home-paper table {
    font-size: 10px;
  }
  .create-home-paper th,
  .create-home-paper td {
    padding: 8px;
  }
  .create-home-editor figcaption {
    padding: 0 10px;
    font-size: 10px;
  }
  .create-home-layouts {
    margin-top: 24px;
    padding-top: 18px;
  }
  .create-home-layout-grid {
    gap: 8px;
  }
  .create-home-layout {
    padding: 10px 8px;
    gap: 10px;
  }
  .create-home-layout-copy strong {
    font-size: 12px;
  }
  .create-home-layout-copy > span {
    font-size: 10px;
  }
  .create-home-layout > .create-home-layout-arrow {
    display: none;
  }
  .create-home-thumbnail {
    width: 42px;
    height: 60px;
    padding: 7px 5px;
  }
  .create-home-thumbnail > i {
    margin-bottom: 4px;
    height: 1px;
  }
  .create-home-thumbnail > span {
    margin-bottom: 5px;
  }
  .create-home-thumbnail-report > .icon {
    height: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .create-home-layout {
    transition: none;
  }
}
