:root {
  --bg: #fcfbfa;
  --surface: #fdfcfb;
  --surface-muted: #f5f4f2;
  --text: #3a3834;
  --primary: #3a3834;
  --primary-dark: #2a2825;
  --on-primary: #fcfbfa;
  --secondary: #6b6660;
  --secondary-soft: #f3f2f0;
  --accent: #148562;
  --accent-hover: #0e6649;
  --accent-soft: #dff0e9;
  --line: #edecea;
  --line-strong: #3a3834;
  --muted: #6b6660;
  --primary-rgb: 58, 56, 52;
  --secondary-rgb: 107, 102, 96;
  --accent-rgb: 20, 133, 98;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", var(--font-body);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-accent: 0 8px 24px rgba(var(--accent-rgb), 0.18);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  scroll-behavior: auto;
  scroll-padding-top: var(--header-height);
}

#form,
#pricing,
#examples {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(58, 56, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 56, 52, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header a:hover {
  color: inherit;
}

a.btn:hover:not(.btn-ghost),
.btn:hover:not(.btn-ghost) {
  color: var(--on-primary);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 64px 0;
  overflow: clip;
}

.section::before,
.section::after {
  display: none;
}

.section:nth-of-type(even) {
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.examples-lead {
  max-width: 52ch;
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.lookbook-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.lookbook-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lookbook-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.lookbook-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.lookbook-card figcaption {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  border-top: 1px solid var(--line);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .lookbook-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .lookbook-gallery {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.section h2 {
  position: relative;
  display: block;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
}

.hero.section {
  padding-top: 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.section .container {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background: rgba(252, 251, 249, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header .btn:hover {
  text-decoration: none;
}

.nav {
  height: var(--header-height);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 {
  color: var(--text);
}

h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 600;
}

h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.lead--form {
  max-width: 34ch;
  margin-bottom: 28px;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.small {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-hover);
}

.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 10px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: color-mix(in oklab, var(--accent) 35%, var(--line));
}

.hero-card {
  position: relative;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  background: var(--accent);
}

.hero-card::after {
  display: none;
}

.hero-card h3 {
  font-size: 18px;
  margin-top: 8px;
}

.hero-card ul,
.tariff ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-card li,
.tariff li {
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-pill);
  padding: 0 24px;
  border: none;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

a.btn:hover {
  text-decoration: none;
}

.btn:hover:not(.btn-ghost) {
  background: var(--primary-dark);
  color: var(--on-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-small {
  height: 38px;
}

.btn-ghost {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--surface-muted);
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
  transform: none;
}

.btn-full {
  width: 100%;
  margin-top: 12px;
}

.steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.step-head .step-num {
  margin-bottom: 0;
}

.step-num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--on-primary);
  background: var(--accent);
}

.field-optional--step {
  font-size: 11px;
  padding: 5px 10px;
}

.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tariff ul {
  flex: 1 1 auto;
}

.featured {
  border: 2px solid var(--accent);
  background: var(--bg);
  box-shadow: var(--shadow-accent);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.tariff.featured:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.steps .card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.badge {
  position: absolute;
  right: 14px;
  top: -12px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-primary);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  box-shadow: var(--shadow-accent);
}

.price-old {
  margin: 8px 0 2px;
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}

.price {
  margin: 10px 0 12px;
  font-size: 38px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.featured .price {
  color: var(--accent);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-lead {
  max-width: 58ch;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-answer {
  margin-top: 10px;
}

.faq-answer p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq details.card {
  transition: box-shadow 0.15s ease;
}

.faq details[open].card {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
  box-shadow: var(--shadow-md);
}

details summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

details[open] summary {
  color: var(--accent-hover);
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-wrapper {
  display: grid;
  gap: 16px;
}

.form-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: form-step;
}

.form-success {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.form-success-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-hover);
}

.form-success-lead {
  margin: 0 auto;
  max-width: 42ch;
}

.form-section {
  margin: 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  counter-increment: form-step;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  border: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.form-section-title::before {
  content: counter(form-step);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border-radius: 50%;
}

.form-section-title--footer::before {
  content: "4";
}

#form .form-section:has(.vm-picker) {
  position: relative;
  z-index: 2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-grid--sizes-meta {
  margin-bottom: 20px;
}

.form-grid--sizes-clothing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-footer {
  margin: 0;
  padding: 26px 28px;
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.tariff-picker--footer {
  width: 100%;
}

.form-pay-hint {
  margin: -6px 0 0;
  text-align: center;
  line-height: 1.45;
}

.form-pay-hint--refund {
  margin-top: 10px;
  color: #0e6649;
}

.btn-pay {
  min-height: 52px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.field-optional {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: none;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.field-hint {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.gender-picker {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.gender-picker legend {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 8px;
}

.gender-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gender-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gender-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 600;
}

.gender-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.vm-picker-field {
  display: grid;
  gap: 8px;
}

.vm-picker-label {
  font-size: 14px;
  font-weight: 500;
}

.vm-picker {
  position: relative;
}

.vm-picker-combo {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border: 2px solid color-mix(in oklab, var(--accent) 28%, var(--line));
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vm-picker-combo:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--line));
}

.vm-picker-combo[aria-expanded="true"],
.vm-picker-combo:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}

.vm-picker-combo-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vm-picker-combo:has(.vm-picker-chip) .vm-picker-placeholder {
  display: none;
}

.vm-picker-placeholder {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.vm-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
}

.vm-picker-chip-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.vm-picker-chip-remove {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.vm-picker-chip-remove:hover {
  background: var(--accent);
  color: var(--on-primary);
}

.color-swatches--chip {
  width: 52px;
  height: 22px;
}

.color-swatches--chip .color-swatch {
  width: 20px;
  height: 20px;
  margin-left: -7px;
  border-width: 1.5px;
}

.vm-picker-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  margin-top: -3px;
  margin-right: 4px;
  transition: transform 0.2s ease;
}

.vm-picker-combo[aria-expanded="true"] .vm-picker-chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.color-swatches {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 62px;
  height: 28px;
}

.color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  box-shadow: 0 1px 4px rgba(31, 41, 51, 0.14);
  margin-left: -9px;
}

.color-swatch:first-child {
  margin-left: 0;
}

.vm-picker-option.is-selected {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 35%, transparent);
}

.vm-picker-option.is-selected::after {
  content: "✓";
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.vm-picker-dropdown {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: min(360px, 55vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

#stylePickerDropdown {
  max-height: min(480px, 68vh);
}

.vm-picker-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.vm-picker-option:hover,
.vm-picker-option:focus-visible {
  background: var(--surface-muted);
  outline: none;
}

.vm-picker-option-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.vm-picker-option-name {
  font-weight: 600;
  line-height: 1.25;
}

.vm-picker-option-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

.vm-picker-option--photo {
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
}

.style-photo {
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
  line-height: 0;
}

.style-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.style-photo--option {
  width: 156px;
  height: 195px;
}

.style-photo--chip {
  width: 56px;
  height: 70px;
  border-radius: 8px;
}

.tariff-picker {
  position: relative;
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.tariff-picker-legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.tariff-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tariff-option {
  display: block;
  cursor: pointer;
}

.tariff-option-body {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tariff-option input {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  opacity: 1;
  accent-color: var(--accent);
  cursor: pointer;
}

.tariff-option-details {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tariff-option-name {
  font-weight: 600;
  font-size: 15px;
}

.tariff-option-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.tariff-option-price-old {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1.1;
}

.tariff-option-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.tariff-option-meta {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

.tariff-option:has(input:checked) .tariff-option-body {
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  box-shadow: var(--shadow-accent);
}

.tariff-option:has(input:checked) .tariff-option-name {
  color: var(--text);
  font-weight: 600;
}

.tariff-option:has(input:checked) .tariff-option-price {
  color: var(--accent);
}

.tariff-option:has(input:checked) .tariff-option-price-old {
  color: var(--muted);
}

.tariff-option:has(input:checked) .tariff-option-meta {
  color: var(--muted);
}

.tariff-option:has(input:focus-visible) .tariff-option-body {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tariff-option:has(input:focus-visible) input {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  height: 46px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

#leadForm select,
#form .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--bg);
  box-shadow: none;
  scroll-margin-top: 96px;
  scroll-margin-bottom: 32px;
}

#leadForm select:focus,
#form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

select:invalid {
  color: var(--muted);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 400;
}

.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 3px 0 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox input[type="checkbox"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border: none;
  box-shadow: none;
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checkbox a {
  color: var(--accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox a:hover {
  color: var(--accent);
}

.col-2 {
  grid-column: 1 / -1;
}

.photo-upload {
  display: grid;
  gap: 10px;
}

.photo-upload .label-row {
  margin-bottom: 2px;
}

.photo-dropzone {
  position: relative;
  border: 2px dashed color-mix(in oklab, var(--accent) 28%, var(--line));
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.photo-dropzone.is-dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.photo-dropzone.is-invalid {
  border-color: #c45c5c;
}

.photo-dropzone.is-filled .photo-dropzone-input {
  pointer-events: none;
}

.photo-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.photo-dropzone-empty,
.photo-dropzone-filled {
  padding: 24px 20px;
}

.photo-dropzone-empty {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.photo-dropzone-lead {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.photo-dropzone-lead--mobile,
.photo-dropzone-btn {
  display: none;
}

.photo-dropzone-hint {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.photo-dropzone-btn {
  position: relative;
  z-index: 2;
  min-width: 180px;
}

.photo-dropzone-filled {
  display: grid;
  gap: 14px;
}

.photo-dropzone-filled[hidden],
.photo-dropzone-empty[hidden],
.photo-upload-error[hidden] {
  display: none !important;
}

.photo-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.photo-preview img {
  width: 88px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-muted);
}

.photo-preview-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.photo-preview-size {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.photo-remove-btn {
  justify-self: start;
  position: relative;
  z-index: 2;
  border: none;
  background: transparent;
  color: var(--accent-hover);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-remove-btn:hover {
  color: var(--accent);
}

.photo-upload-error {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #9f2d2d;
}

#form .form-layout {
  position: relative;
  overflow: visible;
  background: var(--surface-muted);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 20px;
  gap: 14px;
}

#form .form-section,
#form .form-footer {
  overflow: visible;
}

#form label,
#form .vm-picker-label,
#form .gender-picker legend {
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  color: var(--text);
}

#form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
#form .form-select {
  font-size: 16px;
  height: 48px;
}

#form .vm-picker-field {
  gap: 10px;
}

#form .vm-picker-placeholder {
  font-size: 15px;
  color: var(--muted);
}

#form .vm-picker-combo {
  min-height: 56px;
  border-width: 2px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

#form .vm-picker-combo:hover {
  background: color-mix(in oklab, var(--accent-soft) 35%, var(--surface));
}

#form .vm-picker-label {
  font-weight: 600;
}

#form .field-optional {
  font-size: 13px;
}

#form .checkbox {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

#form .checkbox a {
  color: var(--accent-hover);
}

#form .tariff-option-name {
  font-size: 16px;
}

#form .tariff-option-meta {
  font-size: 14px;
}

#form .form-section-title--footer {
  margin-bottom: 2px;
}

#form .form-layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--accent);
}

#form.section {
  background: var(--bg);
}

@media (max-width: 980px) {
  .hero-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }

  .hero.section {
    padding-top: 24px;
  }

  body {
    background-attachment: scroll;
  }

  .header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .section::before {
    width: 220px;
    height: 220px;
  }

  .section::after {
    width: 140px;
    height: 140px;
  }

  #form .form-layout {
    padding: 14px;
    gap: 12px;
  }

  .form-success {
    padding: 28px 20px;
  }

  #form .form-section,
  #form .form-footer {
    padding: 20px 18px;
  }

  #form .form-section-title {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .form-grid,
  .form-grid--sizes-clothing {
    grid-template-columns: 1fr;
  }

  .photo-dropzone-lead--desktop {
    display: none;
  }

  .photo-dropzone-lead--mobile,
  .photo-dropzone-btn {
    display: block;
  }

  .photo-dropzone-btn {
    display: inline-flex;
  }

  .photo-dropzone-input {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
  }

  .tariff-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tariff-option-body {
    padding: 16px;
    min-height: 48px;
  }

  #form .btn-pay {
    min-height: 56px;
    font-size: 18px;
  }

  #form .form-pay-hint {
    font-size: 13px;
    padding: 0 4px;
  }

  #form .vm-picker-combo {
    min-height: 52px;
    padding: 10px 12px;
  }

  #form .vm-picker-option {
    min-height: 48px;
    padding: 12px;
  }

  #form .vm-picker-dropdown {
    max-height: min(320px, 50vh);
    -webkit-overflow-scrolling: touch;
  }

  #stylePickerDropdown {
    max-height: min(420px, 58vh);
  }

  .style-photo--option {
    width: 132px;
    height: 165px;
  }

  .style-photo--chip {
    width: 50px;
    height: 62px;
  }
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }

  .header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .tariff.featured:hover,
  .steps .card:hover,
  .card:hover {
    transform: none;
  }
}

/* Form validation highlight — must stay last */
#leadForm input.form-field-invalid,
#leadForm select.form-field-invalid,
#leadForm .form-select.form-field-invalid,
#leadForm textarea.form-field-invalid,
#leadForm .vm-picker-combo.form-field-invalid {
  border-color: #c44b4b !important;
  box-shadow: 0 0 0 3px rgba(196, 75, 75, 0.28) !important;
}

#leadForm input.form-field-invalid:focus,
#leadForm input.form-field-invalid:focus-visible,
#leadForm select.form-field-invalid:focus,
#leadForm select.form-field-invalid:focus-visible,
#leadForm .form-select.form-field-invalid:focus,
#leadForm .form-select.form-field-invalid:focus-visible,
#leadForm textarea.form-field-invalid:focus,
#leadForm textarea.form-field-invalid:focus-visible,
#leadForm .vm-picker-combo.form-field-invalid:focus,
#leadForm .vm-picker-combo.form-field-invalid:focus-visible,
#leadForm .vm-picker-combo.form-field-invalid[aria-expanded="true"] {
  border-color: #c44b4b !important;
  box-shadow: 0 0 0 3px rgba(196, 75, 75, 0.32) !important;
}

#leadForm .tariff-options.form-field-invalid {
  outline: 2px solid #c44b4b !important;
  outline-offset: 3px;
  border-radius: var(--radius-lg);
}
