.nav-html-feature {
  color: var(--primary) !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.desktop-nav {
  gap: 20px;
}
.html-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 78% 38%,
      #e6e2ff 0%,
      #f3f2ff80 37%,
      transparent 66%
    ),
    linear-gradient(115deg, #fbfcff, #f4f3ff);
  padding: 62px 0 0;
}
.html-hero:before {
  content: "";
  position: absolute;
  width: 750px;
  height: 750px;
  border: 1px solid #fff;
  transform: rotate(45deg);
  right: -500px;
  top: -350px;
  pointer-events: none;
}
.html-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 34px;
  align-items: center;
}
.html-hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 22px;
}
.html-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e2dcff;
  background: #eeeaff;
  color: #5140bc;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  border-radius: 25px;
  padding: 6px 12px;
}
.html-feature-label .icon {
  width: 14px;
  height: 14px;
}
.html-hero h2 {
  font-size: clamp(42px, 4.6vw, 65px);
  font-weight: 820;
  line-height: 1.05;
  letter-spacing: -3.1px;
  margin: 24px 0 22px;
}
.html-hero h2 > span {
  color: var(--primary);
  background: linear-gradient(100deg, #4430fa 5%, #5933ff 65%, #a636e5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.html-hero-copy > p:not(.html-start-hint) {
  max-width: 465px;
  color: #596486;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 27px;
}
.html-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.html-hero-actions .button {
  padding: 13px 20px;
  min-height: 54px;
  font-size: 13px;
}
.html-example-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}
.html-example-link > span {
  width: 32px;
  height: 32px;
  background: white;
  color: var(--primary);
  display: grid;
  place-items: center;
  border: 1px solid #d8d0ff;
  border-radius: 50%;
  box-shadow: 0 2px 7px #7056de18;
}
.html-example-link .icon {
  width: 15px;
  height: 15px;
}
.html-start-hint {
  font-size: 11px;
  color: var(--muted);
  margin: 13px 0 0;
}
.html-start-hint > span {
  padding: 0 5px;
  color: #7a68c6;
}
.html-hero-benefits {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 19px;
  align-items: center;
  margin: 31px 0 0;
}
.html-hero-benefits li {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #576286;
  white-space: nowrap;
}
.html-hero-benefits .icon {
  color: var(--primary);
  width: 18px;
  height: 18px;
}
.html-hero-art {
  height: 520px;
  position: relative;
  min-width: 0;
}
.html-code-card {
  position: absolute;
  left: 0;
  top: 55px;
  width: 50%;
  min-width: 238px;
  background: #1b2035;
  border: 5px solid #ffffffc9;
  color: #d9d9ed;
  border-radius: 15px;
  box-shadow: 0 16px 45px #51408025;
  transform: rotate(-2deg);
  overflow: hidden;
}
.html-code-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 12px;
  color: #dbdbf3;
  font-size: 9px;
  background: #23283f;
}
.html-code-title > .icon {
  width: 14px;
  height: 14px;
  color: #8f91b4;
}
.html-window-dots {
  display: flex;
  gap: 4px;
}
.html-window-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a9a2dd;
}
.html-window-dots i:nth-child(2) {
  background: #c4bcec;
}
.html-window-dots i:nth-child(3) {
  background: #7f73c4;
}
.html-code-tabs {
  display: flex;
  padding: 0 13px;
  gap: 16px;
  border-bottom: 1px solid #393b55;
}
.html-code-tabs button {
  border: 0;
  background: transparent;
  color: #c2c4da;
  font-size: 10px;
  min-height: 42px;
  padding: 9px 9px;
}
.html-code-tabs button[aria-selected="true"] {
  color: #d8a9ff;
  border-bottom: 2px solid #ad7cfb;
}
.html-code-card pre {
  font-family: Consolas, monospace;
  font-size: 9px;
  line-height: 1.85;
  overflow: auto;
  white-space: pre;
  margin: 0;
  padding: 19px 15px;
  height: 262px;
  outline-offset: -2px;
}
.html-code-tag {
  color: #d59df7;
}
.html-code-comment {
  color: #9aa4c5;
}
.html-code-foot {
  border-top: 1px solid #36384f;
  padding: 11px 14px;
  font-size: 9px;
  color: #bac4de;
  display: flex;
  align-items: center;
  gap: 6px;
}
.html-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2caf88;
  display: inline-block;
  flex-shrink: 0;
}
.html-pdf-card {
  width: 53%;
  max-width: 315px;
  position: absolute;
  top: 20px;
  right: 0;
  background: #fff;
  border: 1px solid #e0dcf8;
  border-radius: 12px;
  padding: 10px;
  margin: 0;
  transform: rotate(3deg);
  box-shadow: 0 14px 45px #51408020;
}
.html-pdf-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
  color: #535d7d;
  padding: 2px 3px 10px;
}
.html-pdf-badge {
  background: #fff0f0;
  color: #c53349;
  padding: 4px 5px;
  font-size: 8px;
  border-radius: 4px;
  font-weight: 800;
}
.html-pdf-title > .icon {
  width: 16px;
  height: 16px;
  color: #249876;
  margin-left: auto;
}
.html-pdf-card > a {
  display: block;
  background: #f4f5f9;
  padding: 7px;
  border: 1px solid #efedf8;
  border-radius: 5px;
}
.html-pdf-card img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 2px 7px #34374b0a;
}
.html-pdf-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  color: var(--muted);
  margin-top: 8px;
  white-space: nowrap;
}
.html-transform-arrow {
  position: absolute;
  z-index: 3;
  left: 44%;
  top: 215px;
  width: 52px;
  height: 52px;
  border: 6px solid #ebe6ff;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 15px #7d6ee333;
}
.html-transform-arrow > .icon {
  width: 26px;
  height: 26px;
}
.html-art-caption {
  position: absolute;
  right: 22px;
  bottom: 19px;
  font-size: 11px;
  color: #685aa8;
  text-align: right;
  line-height: 1.5;
  transform: rotate(-4deg);
}
.html-art-caption strong {
  font-weight: 650;
  color: var(--primary);
}
.html-other-tasks {
  border-top: 1px solid #e0dcf4;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 13px;
  padding-bottom: 16px;
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
}
.html-other-tasks > a {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.html-other-tasks > a:last-child {
  color: var(--primary);
}
.html-other-tasks .icon {
  width: 14px;
  height: 14px;
}
.html-examples-section {
  padding: 56px 0 40px;
  background: #fff;
  scroll-margin-top: 84px;
}
.html-examples-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 22px;
  align-items: center;
}
.html-examples-copy .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.html-examples-copy h2 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 16px 0 16px;
}
.html-examples-copy h2 span {
  color: var(--primary);
}
.html-examples-copy p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 245px;
  margin-bottom: 22px;
}
.html-examples-copy > .button {
  font-size: 12px;
  min-height: 46px;
  padding: 11px 17px;
}
.html-example-card {
  min-width: 0;
}
.html-example-card > a:first-child {
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.html-example-image {
  position: relative;
  padding: 15px 18px 0;
  background: linear-gradient(135deg, #eeebfc, #f7f7ff);
  border: 1px solid #e4def9;
  border-radius: 12px;
  height: 246px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.html-example-card:hover .html-example-image {
  box-shadow: 0 8px 24px #574b9319;
  transform: translateY(-3px);
}
.html-example-image img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 18px #4d447d15;
}
.html-example-image > span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 10px;
  background: #fffffff2;
  border: 1px solid #e5e0f7;
  border-radius: 7px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 650;
  backdrop-filter: blur(8px);
}
.html-example-image .icon {
  width: 14px;
  height: 14px;
}
.html-example-info h3 {
  font-size: 13px;
  margin: 12px 0 4px;
}
.html-example-info p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.html-sample-download {
  font-size: 10px;
  min-height: 36px;
  color: var(--primary);
  display: flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
}
.html-sample-download .icon {
  width: 13px;
  height: 13px;
}
.html-strengths {
  padding: 48px 0;
  background: linear-gradient(140deg, #f6f5ff, #f0f2ff);
}
.html-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}
.html-section-heading h2 {
  font-size: 32px;
  line-height: 1.17;
  letter-spacing: -1px;
  margin: 16px 0 0;
}
.html-section-heading > p {
  max-width: 365px;
  color: var(--muted);
  font-size: 13px;
}
.html-strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 29px;
}
.html-strength-grid article {
  padding-right: 22px;
  border-right: 1px solid #deddf0;
}
.html-strength-grid article:last-child {
  padding-right: 0;
  border: 0;
}
.html-strength-grid h3 {
  font-size: 14px;
  margin: 12px 0 7px;
}
.html-strength-grid p {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 13px;
  }
  .html-hero-grid {
    gap: 25px;
  }
  .html-hero h2 {
    font-size: 55px;
    letter-spacing: -2.5px;
  }
  .html-hero-copy > p:not(.html-start-hint) {
    font-size: 14px;
  }
  .html-hero-actions {
    gap: 16px;
  }
  .html-hero-actions .button {
    font-size: 12px;
    padding: 12px 16px;
  }
  .html-hero-benefits {
    gap: 13px;
  }
  .html-hero-benefits li {
    font-size: 10px;
  }
  .html-code-card {
    min-width: 210px;
  }
  .html-code-card pre {
    font-size: 8px;
    height: 244px;
    padding: 16px 11px;
  }
  .html-pdf-card {
    width: 54%;
    top: 35px;
  }
  .html-code-card {
    top: 68px;
  }
  .html-hero-art {
    height: 482px;
  }
  .html-transform-arrow {
    left: 42%;
    width: 47px;
    height: 47px;
    top: 210px;
  }
  .html-art-caption {
    bottom: 16px;
  }
  .html-examples-grid {
    gap: 16px;
  }
  .html-example-image {
    height: 226px;
    padding: 12px 13px 0;
  }
  .html-examples-copy h2 {
    font-size: 28px;
  }
}
@media (max-width: 1000px) {
  .html-hero {
    padding-top: 45px;
  }
  .html-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .html-hero h2 {
    font-size: 47px;
    letter-spacing: -2px;
  }
  .html-hero-art {
    height: 443px;
  }
  .html-code-card {
    width: 58%;
    min-width: 0;
    top: 75px;
  }
  .html-code-card pre {
    font-size: 7px;
    height: 218px;
    line-height: 1.8;
  }
  .html-code-foot {
    font-size: 8px;
    padding: 10px;
  }
  .html-pdf-card {
    width: 58%;
    top: 42px;
  }
  .html-pdf-card figcaption {
    font-size: 6.5px;
  }
  .html-transform-arrow {
    left: 38%;
    top: 217px;
    width: 40px;
    height: 40px;
    border-width: 4px;
  }
  .html-transform-arrow > .icon {
    width: 21px;
    height: 21px;
  }
  .html-hero-benefits {
    gap: 13px;
    flex-wrap: wrap;
  }
  .html-hero-actions {
    gap: 12px;
  }
  .html-example-link {
    font-size: 11px;
  }
  .html-art-caption {
    right: 6px;
    bottom: 30px;
  }
  .html-examples-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .html-examples-copy {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    column-gap: 24px;
    align-items: center;
  }
  .html-examples-copy > .eyebrow {
    grid-column: 1/-1;
  }
  .html-examples-copy h2 {
    grid-row: 2/4;
    margin: 13px 0 8px;
    font-size: 32px;
  }
  .html-examples-copy p {
    margin: 10px 0;
    max-width: none;
  }
  .html-examples-copy > .button {
    justify-self: start;
    grid-column: 2;
    margin-top: 4px;
  }
  .html-example-image {
    height: 260px;
  }
  .html-strength-grid {
    gap: 20px;
  }
  .html-strength-grid h3 {
    font-size: 13px;
  }
  .html-strength-grid p {
    font-size: 11px;
  }
  .html-other-tasks {
    gap: 19px;
  }
  .html-other-tasks > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .html-hero {
    padding-top: 34px;
  }
  .html-hero-grid {
    grid-template-columns: 1fr;
  }
  .html-hero-copy {
    padding: 0;
    text-align: center;
  }
  .html-hero h2 {
    font-size: 52px;
    letter-spacing: -2.4px;
    line-height: 1.06;
    margin: 21px 0;
  }
  .html-hero-copy > p:not(.html-start-hint) {
    font-size: 14px;
    max-width: 470px;
    margin: 0 auto 24px;
  }
  .html-hero-actions {
    justify-content: center;
    gap: 21px;
  }
  .html-start-hint {
    font-size: 10px;
  }
  .html-hero-benefits {
    justify-content: center;
    margin-top: 23px;
    gap: 22px;
  }
  .html-hero-benefits li {
    font-size: 11px;
  }
  .html-hero-art {
    width: 500px;
    max-width: 100%;
    height: 460px;
    margin: 0 auto;
  }
  .html-code-card {
    width: 51%;
    top: 49px;
  }
  .html-code-card pre {
    font-size: 8px;
    height: 230px;
    padding: 15px 13px;
  }
  .html-pdf-card {
    width: 54%;
    top: 5px;
  }
  .html-code-title {
    font-size: 9px;
  }
  .html-code-foot {
    font-size: 9px;
  }
  .html-pdf-card figcaption {
    font-size: 7.5px;
  }
  .html-transform-arrow {
    left: 42%;
    top: 190px;
    width: 46px;
    height: 46px;
  }
  .html-art-caption {
    bottom: 4px;
    right: 6px;
  }
  .html-other-tasks {
    margin-top: 8px;
    gap: 22px;
    padding: 7px 0 12px;
    font-size: 11px;
  }
  .html-other-tasks > a {
    min-height: 44px;
  }
  .html-examples-section {
    padding: 37px 0 27px;
  }
  .html-examples-grid {
    gap: 14px;
  }
  .html-example-image {
    height: 230px;
    padding: 10px 10px 0;
  }
  .html-example-image > span {
    font-size: 8px;
    padding: 8px;
    left: 7px;
    right: 7px;
  }
  .html-sample-download {
    min-height: 44px;
  }
  .html-strengths {
    padding: 35px 0;
  }
  .html-section-heading h2 {
    font-size: 29px;
  }
  .html-section-heading > p {
    font-size: 12px;
    max-width: 250px;
  }
  .html-strength-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .html-strength-grid article:nth-child(2) {
    border: 0;
  }
  .html-strength-grid p {
    font-size: 12px;
  }
  .html-strength-grid h3 {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .html-hero-copy {
    text-align: left;
  }
  .html-feature-label {
    font-size: 9px;
    padding: 6px 10px;
    letter-spacing: 0.6px;
  }
  .html-hero h2 {
    font-size: 43px;
    letter-spacing: -1.8px;
    margin-top: 18px;
  }
  .html-hero-copy > p:not(.html-start-hint) {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 22px;
  }
  .html-hero-actions {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .html-hero-actions .button {
    font-size: 13px;
    justify-content: center;
    min-height: 52px;
  }
  .html-example-link {
    justify-content: center;
    font-size: 12px;
  }
  .html-start-hint {
    text-align: center;
    font-size: 9px;
    margin-top: 8px;
  }
  .html-hero-benefits {
    gap: 13px;
    justify-content: space-between;
    margin-top: 19px;
  }
  .html-hero-benefits li {
    font-size: 9px;
    gap: 5px;
  }
  .html-hero-benefits .icon {
    width: 15px;
    height: 15px;
  }
  .html-hero-art {
    height: auto;
    margin-top: 10px;
    width: 100%;
    padding: 10px 25px 0;
  }
  .html-code-card,
  .html-transform-arrow,
  .html-art-caption {
    display: none;
  }
  .html-pdf-card {
    position: static;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    transform: none;
    padding: 10px;
    border-radius: 13px;
    box-shadow: 0 9px 28px #51408015;
  }
  .html-pdf-card > a {
    max-height: 310px;
    overflow: hidden;
  }
  .html-pdf-card figcaption {
    font-size: 8px;
    margin: 9px 0 2px;
  }
  .html-other-tasks {
    gap: 16px;
    font-size: 10px;
    margin-top: 25px;
  }
  .html-other-tasks > a:last-child {
    width: 100%;
    justify-content: center;
    min-height: 35px;
    margin-top: -10px;
  }
  .html-examples-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .html-examples-copy {
    display: block;
    grid-column: auto;
    margin-bottom: 9px;
  }
  .html-examples-copy h2 {
    font-size: 31px;
    margin: 14px 0;
  }
  .html-examples-copy p {
    font-size: 12px;
    max-width: 330px;
  }
  .html-examples-copy > .button {
    margin-top: 10px;
  }
  .html-example-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    min-height: 163px;
  }
  .html-example-card > a:first-child {
    display: grid;
    grid-template-columns: 106px 1fr;
    gap: 16px;
    align-items: start;
  }
  .html-example-image {
    height: 143px;
    border-radius: 6px;
    padding: 7px 7px 0;
  }
  .html-example-image > span {
    display: none;
  }
  .html-example-info h3 {
    font-size: 14px;
    margin: 12px 0 7px;
  }
  .html-example-info p {
    font-size: 11px;
  }
  .html-sample-download {
    position: absolute;
    left: 132px;
    bottom: 13px;
    font-size: 10px;
  }
  .html-section-heading {
    display: block;
  }
  .html-section-heading h2 {
    font-size: 30px;
    margin-top: 14px;
  }
  .html-section-heading > p {
    max-width: 325px;
    font-size: 12px;
    margin-top: 15px;
  }
  .html-strength-grid {
    gap: 24px 16px;
  }
  .html-strength-grid article {
    padding-right: 9px;
  }
  .html-strength-grid h3 {
    font-size: 12px;
  }
  .html-strength-grid p {
    font-size: 11px;
  }
  .html-strength-grid .tool-icon {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .html-example-image {
    transition: none;
  }
}
