:root {
  --ink: #251829;
  --plum: #5b244a;
  --muted: #645a66;
  --accent: #ffcd47;
  --preview: #fcf9fb;
  --border: #e8dde5;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.45;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; background: white; padding: 8px; z-index: 1; }
.skip:not(:focus) { clip-path: inset(50%); }
.site-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 16px; }
.site-nav, .account, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.site-bar a { font-size: .9375rem; }
.site-bar a:not(:hover), .button { text-decoration: none; }
.site-bar .wordmark { color: var(--plum); font-size: 1.875rem; font-weight: 800; letter-spacing: -.04em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 19px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 650;
  font-size: .9375rem;
}
.button:hover { background: #ffdf83; }
.hero { padding-block: clamp(40px, 6vw, 74px); background: var(--plum); color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 510fr) minmax(0, 614fr); align-items: center; gap: clamp(24px, 5vw, 76px); }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.16; letter-spacing: -.025em; max-inline-size: 15ch; }
.hero-copy p { margin-block: 23px; max-width: 43ch; color: #f4e3ed; font-size: 1.125rem; }
.hero-actions .demo-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; font-size: .9375rem; }
.catalog { min-width: 0; padding: clamp(14px, 2vw, 24px); border-radius: 16px; background: white; color: var(--ink); }
.catalog figcaption { margin-bottom: 12px; font-size: 1.375rem; font-weight: 750; }
.catalog img { border-radius: 4px; }
.catalog p, .steps p { font-size: .875rem; color: var(--muted); margin-top: 12px; }
.workflow { padding-block: clamp(42px, 6vw, 66px); }
.workflow h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); line-height: 1.2; letter-spacing: -.02em; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.steps h3 { margin-bottom: 14px; font-size: 1.375rem; line-height: 1.25; }
.preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 158px;
  padding: 12px;
  background: var(--preview);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
}
.preview:hover { border-color: var(--plum); }
.preview img { object-fit: contain; max-height: 130px; }
.result span { color: var(--plum); font-size: .8125rem; font-weight: 650; }
.step-link { display: inline-block; margin-top: 12px; color: var(--plum); font-size: .875rem; font-weight: 650; }
.steps p { max-width: 34ch; }
.site-footer { padding-block: 24px; }
dialog { width: min(94vw, 1560px); max-width: none; max-height: 90vh; padding: 0; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); background: white; }
dialog::backdrop { background: rgb(37 24 41 / 75%); }
.dialog-header { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 16px; }
.dialog-header h2 { font-size: 1.125rem; }
.close-button { font: inherit; padding: 8px 12px; border-radius: 6px; background: var(--preview); border: 1px solid var(--border); cursor: pointer; }
.dialog-image { overflow: auto; padding: 0 16px 16px; }
.dialog-image img { width: auto; min-width: min(100%, 720px); }
@media (max-width: 780px) {
  .hero-grid, .steps { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .steps { gap: 28px; }
  .steps li { max-width: 560px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .site-header .site-nav { order: 1; width: 100%; }
  .site-nav, .account, .hero-actions { column-gap: 12px; }
  .site-footer .site-nav { order: 1; width: 100%; }
}
