@font-face {
  font-family: Inter;
  src: url("assets/inter-ru.woff2") format("woff2");
  font-weight: 400 850;
  font-display: swap;
  unicode-range: U+400-45F,U+490-491,U+4B0-4B1,U+2116;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter-latin.woff2") format("woff2");
  font-weight: 400 850;
  font-display: swap;
  unicode-range: U+0-FF,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --ink: #212121;
  --muted: #605e59;
  --accent: #f05233;
  --paper: #faf9f6;
  --line: #dedcd6;
  --mono: Consolas,"Courier New",monospace;
  --radius: 15px;
  --nav-height: 78px;
  font: 16px/1.55 Inter,"Segoe UI",sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,input {
  font: inherit;
}

button,a {
  touch-action: manipulation;
}

button {
  color: inherit;
  cursor: pointer;
}

button {
  border: 0;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #126db3;
  outline-offset: 4px;
}

h1,h2,h3,p {
  margin: 0;
}

svg.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  flex: none;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: min(1296px,calc(100% - clamp(48px,10vw,160px)));
  margin-inline: auto;
}

.sr-only,.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip:focus {
  position: absolute;
  z-index: 9;
  background: white;
  padding: 12px;
}

.header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 8;
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1.25px;
}

.brand img {
  width: 35px;
  height: 35px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 44px;
  font-size: 14px;
  font-weight: 550;
}

.nav nav a:hover,.footer-links a:hover,.demo-link:hover {
  color: #bb3d24;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 9px;
  min-height: 52px;
  padding: 0 23px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 630;
  transition: background .18s,transform .18s;
}

.button:hover {
  transform: translateY(-2px);
}

.dark {
  background: var(--ink);
  color: white;
}

.dark:hover {
  background: #3c3b39;
}

.compact {
  min-height: 39px;
  font-size: 14px;
  padding: 0 17px;
  border-radius: 7px;
  gap: 8px;
}

.menu {
  display: none;
}

.hero {
  border-bottom: 1px solid var(--line);
  background-color: #faf9f6;
  background-image: linear-gradient(90deg,rgba(250,249,246,1) 3%,rgba(250,249,246,.97) 26%,rgba(250,249,246,0) 61%),linear-gradient(#30281d07 1px,transparent 1px),linear-gradient(90deg,#30281d07 1px,transparent 1px);
  background-size: auto,32px 32px,32px 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr);
  align-items: center;
  column-gap: 6.1%;
  padding-block: clamp(48px,3.8vw,65px) clamp(49px,3.8vw,65px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .115em;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
}

.eyebrow>.icon {
  color: var(--accent);
  width: 19px;
  height: 19px;
}

.dash {
  height: 2px;
  width: 24px;
  background: var(--accent);
  display: inline-block;
}

.intro {
  container-type: inline-size;
  min-width: 0;
}

h1 {
  font-size: min(16cqi, 7.0625rem);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 720;
  margin: 26px 0 22px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: clamp(16px,1.29vw,20px);
  line-height: 1.6;
  max-width: 472px;
  color: #504e49;
  letter-spacing: -.025em;
}

.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.primary {
  background: var(--accent);
  color: white;
}

.primary:hover {
  background: #d94427;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
}

.demo-link .icon {
  width: 22px;
  height: 22px;
}

.demo-column {
  min-width: 0;
  margin-top: 12px;
}

.editor-home {
  position: relative;
}

.editor-home:before,.editor-home:after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 23px;
  height: 23px;
  opacity: .65;
  pointer-events: none;
}

.editor-home:before {
  left: -11px;
  top: -11px;
  border-left: 1px solid #aaa8a1;
  border-top: 1px solid #aaa8a1;
}

.editor-home:after {
  right: -11px;
  bottom: -11px;
  border-right: 1px solid #aaa8a1;
  border-bottom: 1px solid #aaa8a1;
}

.editor {
  position: relative;
  background: #292929;
  border: 1px solid #2d2c29;
  border-radius: 12px;
  box-shadow: 0 20px 35px -22px #34241360,0 4px 8px #24180616;
  isolation: isolate;
}

.editor-head {
  background: #292929;
  color: #e9e9e5;
  border-radius: 11px 11px 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 37px;
  padding: 0 12px;
  font: 12px var(--mono);
}

.editor-head span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.editor-head span .icon {
  width: 14px;
  height: 14px;
  color: #c3c3bf;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74726f;
}

.window-dots b:nth-child(2) {
  background: #888581;
}

.window-dots b:nth-child(3) {
  background: #a39e96;
}

.editor-head button {
  justify-self: end;
  color: #c5c2bc;
  display: grid;
  place-items: center;
  padding: 5px;
}

.editor-head button:hover {
  color: #fff;
}

.viewport {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: crosshair;
  border-radius: 0 0 11px 11px;
  user-select: none;
}

.viewport .landscape,.viewport canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  pointer-events: none;
}

.viewport canvas {
  z-index: 1;
}

.selection {
  pointer-events: none;
  position: absolute;
  left: 22%;
  top: 21%;
  width: 62.5%;
  height: 58.3333%;
  background: transparent;
  border: 1.5px dashed #fff;
  box-shadow: 0 0 0 2000px #17191445;
  z-index: 2;
}

.selection>span {
  position: absolute;
  left: -2px;
  bottom: calc(100% + 8px);
  font: 12px var(--mono);
  letter-spacing: .02em;
  padding: 4px 8px;
  color: white;
  background: #272725dd;
  border-radius: 4px;
  white-space: nowrap;
}

.selection.low>span {
  bottom: auto;
  top: 5px;
  left: 6px;
}

.selection>b {
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border: 1px solid #4c4943;
}

.selection>b:nth-of-type(1) {
  left: -5px;
  top: -5px;
}

.selection>b:nth-of-type(2) {
  right: -5px;
  top: -5px;
}

.selection>b:nth-of-type(3) {
  left: -5px;
  bottom: -5px;
}

.selection>b:nth-of-type(4) {
  right: -5px;
  bottom: -5px;
}

.pointer-tag {
  position: absolute;
  left: 100%;
  top: 100%;
  transform: translate(-2px,-2px);
  filter: drop-shadow(0 2px 2px #231a1550);
  color: #ff5a39;
}

.pointer-tag .icon {
  width: 31px;
  height: 31px;
  stroke: white;
  fill: #fa5939;
  stroke-width: 1.4;
}

.pointer-tag strong {
  position: absolute;
  left: 21px;
  top: 25px;
  background: #f35534;
  border: 1px solid #ffffff80;
  color: #fff;
  border-radius: 4px;
  padding: 1px 7px;
  font: 600 12px/18px Inter,sans-serif;
}

.used .pointer-tag {
  display: none;
}

.toolbar {
  position: absolute;
  z-index: 3;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 5px;
  background: #fff;
  border: 1px solid #d4d1c9;
  border-radius: 10px;
  box-shadow: 0 5px 14px #29201822;
}

.toolbar button {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  transition: background .15s;
}

.toolbar button .icon {
  width: 18px;
  height: 18px;
}

.toolbar button:hover {
  background: #f0eeea;
}

.toolbar button[aria-pressed=true] {
  background: #ffe3da;
  color: #ca3f20;
}

.toolbar .divider {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 0 3px;
}

.toolbar button:disabled {
  color: #b1afa9;
  cursor: default;
}

.demo-caption {
  margin-top: 32px;
  font: 12px/1.5 var(--mono);
  color: #5e5b54;
  text-align: center;
}

.demo-caption:empty {
  margin: 0;
}

section[id] {
  scroll-margin-top: 26px;
}

.features {
  padding-block: 62px 80px;
}

h2 {
  font-size: clamp(34px,3.6vw,56px);
  line-height: 1.09;
  letter-spacing: -.065em;
  font-weight: 680;
}

.feature-heading {
  margin: 0 0 22px;
  text-align: center;
  text-wrap: balance;
}

.feature-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 clamp(32px, 3vw, 44px);
}

.feature-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fffefa;
  border-radius: 7px;
  padding: 7px 11px;
  font-size: 14px;
  font-weight: 550;
}

.feature-index a:hover {
  border-color: #bb6a52;
  background: #ffede5;
}

.pricing {
  padding-block: clamp(56px, 6.5vw, 100px);
  background: #efeee8;
  border-bottom: 1px solid var(--line);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.55fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.pricing-intro h2 {
  margin: 18px 0;
}

.pricing-intro p, .free-copy p {
  font-size: 17px;
  line-height: 1.6;
}

.pricing-intro p {
  color: var(--muted);
  max-width: 35ch;
}

.pricing-intro .button {
  margin-top: 24px;
}

.plan-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #d1cec3;
  border-radius: 14px;
  overflow: hidden;
  border-spacing: 0;
  background: #fffefa;
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
}

.plan-label {
  width: 40%;
}

.plan-table th, .plan-table td {
  padding: 12px clamp(12px, 1.4vw, 22px);
  vertical-align: middle;
}

.plan-table thead th {
  padding-block: 20px;
  background: #f7f5f0;
  font-size: 14px;
}

.plan-table thead th:first-child {
  font-weight: 550;
  color: var(--muted);
}

.plan-table thead span {
  display: block;
  font-size: clamp(18px, 1.55vw, 23px);
  letter-spacing: -.04em;
}

.plan-table thead small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 450;
}

.plan-table thead .pro-column {
  color: #fffaf3;
  background: var(--ink);
  box-shadow: inset 0 4px var(--accent);
}

.plan-table tbody th, .plan-table tbody td {
  border-top: 1px solid #dddad2;
}

.plan-table tbody th {
  font-weight: 550;
}

.plan-table td:last-child {
  background: #fbe9df;
}

.free-section {
  padding-bottom: clamp(45px, 5vw, 78px);
}

.free-offer {
  display: grid;
  grid-template-columns: 1fr .74fr;
  align-items: center;
  gap: 25px;
  padding: clamp(30px, 5vw, 76px);
  background: #ff7450;
  border: 1px solid #e65c39;
  border-radius: 18px;
  color: #251a15;
  overflow: hidden;
}

.free-copy .eyebrow .icon {
  color: inherit;
}

.free-copy h2 {
  margin: 15px 0 14px;
  font-size: clamp(55px, 6.6vw, 98px);
  line-height: 1;
  font-weight: 700;
}

.free-copy p {
  max-width: 48ch;
}

.free-copy .button {
  margin-top: 25px;
}

.free-art {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 230px;
  background-image: radial-gradient(#8d371b64 1px, transparent 1.2px);
  background-size: 10px 10px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.offer-frame {
  display: grid;
  place-items: center;
  position: relative;
  width: 75%;
  max-width: 300px;
  aspect-ratio: 1.65;
  border: 1px dashed #6a3927;
}

.offer-frame > b {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid #563629;
  background: #fff6e7;
}

.offer-frame > b:nth-child(1) { top: -5px; left: -5px; }
.offer-frame > b:nth-child(2) { top: -5px; right: -5px; }
.offer-frame > b:nth-child(3) { bottom: -5px; left: -5px; }
.offer-frame > b:nth-child(4) { bottom: -5px; right: -5px; }

.offer-key {
  width: 66%;
  border: 2px solid #402c23;
  border-radius: 16px;
  background: #d1bca0;
  padding: 4px 6px 13px;
  box-shadow: 5px 8px 0 #9c47273b;
  transform: rotate(-8deg);
}

.key-top {
  display: grid;
  align-content: space-between;
  aspect-ratio: 1.7;
  padding: 9px 12px;
  background: #fff7e9;
  border: 1px solid #836955;
  border-radius: 10px;
  font: 600 clamp(23px, 2.6vw, 39px)/1 var(--mono);
  letter-spacing: -.06em;
}

.key-top .icon {
  width: 19px;
  height: 19px;
  justify-self: end;
}

.offer-pointer {
  position: absolute;
  right: -22px;
  bottom: -28px;
}

.offer-pointer .icon {
  width: 31px;
  height: 31px;
  fill: var(--ink);
  stroke: #fff4e3;
}

@media (max-width: 1000px) {
  .pricing-layout { grid-template-columns: 1fr; gap: 26px; }
  .pricing-intro h2 br { display: none; }
  .pricing-intro p { max-width: 61ch; }
}

@media (max-width: 600px) {
  .feature-index { gap: 6px; margin-bottom: 26px; }
  .feature-index a { font-size: 14px; padding: 6px 9px; }
  .plan-table { font-size: 14px; }
  .plan-table th, .plan-table td { padding: 11px 7px; }
  .plan-table thead small { font-size: 13px; }
  .plan-table thead th { padding-block: 15px; }
  .plan-label { width: 37%; }
  .free-offer { grid-template-columns: 1fr; padding: 27px 22px; gap: 13px; }
  .free-art { min-height: 134px; }
  .offer-frame { width: 157px; }
  .offer-key { width: 68%; padding-bottom: 7px; }
  .key-top { padding: 5px 8px; }
  .key-top .icon { width: 15px; height: 15px; }
}

@media (max-width: 375px) {
  .plan-label { width: 34%; }
  .plan-table thead span { font-size: 16px; }
  .plan-table th, .plan-table td { padding-inline: 6px; }
}

.scenario-section {
  background: #292929;
  color: #f9f8f3;
  padding: 76px 0;
}

.scenario-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 10%;
}

.scenario-section .eyebrow {
  color: #e0ddd5;
}

.scenario-section h2,.questions h2 {
  margin-top: 18px;
}

.scenario-options {
  display: grid;
  gap: 4px;
  margin-top: 27px;
}

.scenario-options button {
  position: relative;
  text-align: left;
  color: #c1bfb9;
  font-size: 16px;
  padding: 10px 0 10px 19px;
  border-left: 2px solid #55524f;
}

.scenario-options button:hover {
  color: #fff;
}

.scenario-options button[aria-pressed=true] {
  border-color: #ff6b47;
  color: white;
}

.scenario-body {
  background: #f6f4ef;
  color: var(--ink);
  padding: clamp(24px,3vw,46px);
  border-radius: 15px;
  min-height: 285px;
}

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 24px;
}

.keys kbd {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid #c6c2b7;
  border-bottom-width: 3px;
  border-radius: 6px;
  background: white;
  font: 14px/1.5 var(--mono);
}

.keys span {
  font: 14px var(--mono);
  color: #817b70;
}

.scenario-body h3 {
  font-size: clamp(23px,2vw,32px);
  letter-spacing: -.055em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.scenario-body p,.faq p {
  font-size: 16px;
  line-height: 1.65;
  color: #56534e;
}

.questions {
  padding-block: 82px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 7%;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 32px 19px 0;
  font-size: 17px;
  font-weight: 570;
  line-height: 1.4;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  font: 24px var(--mono);
  color: var(--muted);
}

.faq details[open] summary:after {
  content: "−";
}

.faq p {
  padding: 0 25px 21px 0;
}

.faq a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq a:hover {
  color: #ad371f;
}

footer {
  border-top: 1px solid var(--line);
  background: #eeede7;
}

.footer {
  padding-block: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer .brand {
  font-size: 20px;
}

.footer .brand img {
  width: 30px;
  height: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  font-size: 14px;
}

.legal-main {
  max-width: 47rem;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) 0;
  overflow-wrap: anywhere;
}

.legal-main h1 {
  font-size: clamp(1.95rem, 5vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  margin: 0 0 14px;
}

.legal-main h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 2rem 0 .65rem;
}

.legal-main p {
  margin-top: .65rem;
}

.legal-main .revision {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.legal-main a,.legal-back {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.legal-back {
  margin-left: auto;
}

.footer .button {
  min-height: 43px;
}

dialog {
  color: var(--ink);
  width: min(500px,calc(100% - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 20px 80px #12121240;
  max-height: 88dvh;
  overflow: auto;
}

dialog::backdrop {
  background: #1e1c18a6;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 21px;
}

.close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.close:hover {
  background: #e7e4dc;
}

.maintenance-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 36px 28px 28px;
  text-align: center;
}

.maintenance-dialog .close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.maintenance-emoji {
  display: block;
  font-size: 48px;
  line-height: 1.2;
}

.maintenance-dialog h2 {
  margin: 18px 0 24px;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.demo-dialog {
  width: min(810px,calc(100% - 24px));
}

.video-dialog {
  width: min(1080px, calc(100% - 24px));
  padding: clamp(14px, 2.5vw, 26px);
}

.video-dialog video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65dvh;
  border-radius: 8px;
  background: #151515;
}

#video-error a {
  text-decoration: underline;
}

.demo-dialog h2,.video-dialog h2 {
  font-size: 24px;
}

.demo-dialog #expand {
  visibility: hidden;
}

.demo-dialog p {
  font: 13px/1.5 var(--mono);
  margin-top: 31px;
  text-align: center;
  color: #605d55;
}

.demo-dialog .viewport {
  aspect-ratio: 16/9;
}

.demo-dialog .editor {
  max-width: min(100%,88dvh);
  margin: auto;
}

#text-form label {
  font-weight: 650;
}

#text-form input {
  display: block;
  width: 100%;
  border: 1px solid #bdb9ae;
  background: white;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

@media (max-width:1050px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .hero-layout {
    gap: 4%;
    grid-template-columns: .88fr 1.12fr;
  }

  .nav nav {
    gap: 22px;
    margin-right: 28px;
  }

  .scenario-layout {
    gap: 6%;
  }
}

@media (max-width:800px) {
  :root {
    --nav-height: 65px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .nav nav {
    gap: 15px;
    margin-right: 17px;
    font-size: 13px;
  }

  .brand {
    font-size: 20px;
    gap: 8px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .hero-layout {
    grid-template-columns: .86fr 1fr;
    gap: 25px;
    padding-block: 52px;
  }

  .lead {
    font-size: 16px;
  }

  .actions {
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 21px;
  }

  .actions .button {
    padding: 0 14px;
    font-size: 14px;
    min-height: 45px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero .viewport {
    aspect-ratio: 16/9;
  }

  .toolbar {
    gap: 0;
  }

  .toolbar button {
    width: 29px;
    height: 30px;
  }

  .demo-caption {
    font-size: 11px;
  }

  .footer-links {
    flex-direction: column;
    gap: 3px;
  }

  .questions {
    grid-template-columns: .6fr 1fr;
    gap: 4%;
  }

  .scenario-options button {
    font-size: 15px;
  }
}

@media (max-width:650px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--paper);
    padding: 17px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 9px #0000000a;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
  }

  .nav nav.open {
    display: flex;
  }

  .menu {
    display: grid;
    place-items: center;
    width: 35px;
    height: 36px;
    margin-left: 8px;
  }

  .nav .compact {
    margin-left: auto;
    min-height: 34px;
    font-size: 13px;
    padding: 0 11px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 40px 34px;
  }

  .hero {
    background-size: auto,25px 25px,25px 25px;
  }

  .intro h1 {
    font-size: min(16cqi, 5.125rem);
    margin: 19px 0 17px;
  }

  .lead {
    max-width: 480px;
    font-size: 16px;
  }

  .actions {
    gap: 22px;
    margin-top: 23px;
  }

  .actions .button {
    min-height: 48px;
    padding: 0 17px;
  }

  .demo-column {
    margin: 0 3px;
  }

  .hero .viewport {
    aspect-ratio: 16/9;
  }

  .editor-head {
    height: 31px;
  }

  .toolbar {
    padding: 4px;
  }

  .toolbar button {
    width: 31px;
  }

  .demo-caption {
    margin-top: 28px;
  }

  .features,.questions {
    padding-block: 43px;
  }

  .features h2,h2 {
    font-size: 35px;
  }

  .scenario-section {
    padding: 44px 0;
  }

  .scenario-layout,.questions {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .scenario-options {
    margin-top: 17px;
  }

  .scenario-body {
    min-height: 0;
  }

  .questions h2 {
    margin-top: 11px;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .footer .button {
    justify-self: start;
  }

  .footer-links {
    font-size: 13px;
  }

  .scenario-section h2,.questions h2 {
    line-height: 1.1;
  }

}

@media (max-width:440px) {
  .footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    align-items: flex-start;
    gap: 8px;
  }

  .toolbar button {
    min-height: 31px;
  }

  .brand {
    font-size: 19px;
  }

  .hero .eyebrow {
    font-size: 11px;
  }

  .feature-heading h2 {
    font-size: 33px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
