:root {
  color-scheme: light;
  --ink: #28173b;
  --muted: #5c5065;
  --purple: #4c247d;
  --lavender: #efddfc;
  --paper: #fffaf7;
  --line: #e7d9e8;
  --sell: #c52334;
  font: 16px Arial, "Liberation Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ab3f85; outline-offset: 4px; }
section[id] { scroll-margin-top: 67px; }
.wrap { width: min(1280px, 100% - 110px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 12px; z-index: 10; transform: translateY(-180%); padding: 12px; background: white; }
.skip:focus { transform: none; }

.sale {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; align-items: center;
  min-height: 45px; padding: 6px 14px; gap: 14px; text-align: center;
  background: var(--sell); color: white; font-size: .91rem; font-weight: 800;
}
.sale a { padding: 5px 12px; border: 1px solid #ffffffb8; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.sale a:hover { background: white; color: var(--sell); }
.header { background: #fffaf7; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 19px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo strong { font-size: 1.52rem; letter-spacing: -.066em; }
.logo strong span { color: var(--purple); }
.mark {
  display: inline-block; position: relative; width: 31px; height: 31px; border-radius: 50%; background: var(--lavender);
}
.mark::before, .mark::after {
  content: ""; position: absolute; width: 9px; height: 14px; border: 1.5px solid var(--purple); top: 8px; border-radius: 75% 75% 70% 70%;
}
.mark::before { left: 8px; transform: rotate(-40deg); }
.mark::after { right: 8px; transform: rotate(40deg); }
.nav, .langs { display: flex; align-items: center; }
.nav { gap: clamp(14px, 2.6vw, 38px); }
.nav a, .langs a { text-decoration: none; font-weight: 700; font-size: .875rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; color: var(--purple); }
.langs { gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { border-radius: 999px; padding: 7px 8px; }
.langs a[aria-current] { background: var(--purple); color: white; }
.langs a:hover:not([aria-current]) { background: var(--lavender); }

.hero { background: #f4e6fb; padding-block: 35px 46px; }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(28px, 4.8vw, 78px); }
.hero-copy { padding-block: 16px; }
.kicker { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; line-height: 1.5; }
.hero .kicker { color: var(--purple); margin-bottom: 16px; }
h1 { font-size: clamp(3.6rem, 6.85vw, 7rem); font-weight: 800; line-height: .89; letter-spacing: -.082em; }
h1 em {
  display: block; margin-top: 8px; font: italic 400 .93em/.94 Georgia, "Liberation Serif", serif;
  letter-spacing: -.072em; color: #6b2d83;
}
.hero p { max-width: 440px; margin-top: 25px; color: var(--muted); font-size: clamp(1rem, 1.36vw, 1.22rem); }
p, li, dd { line-height: 1.57; }
.hero-photo { border-radius: 48% 48% 21px 21px / 34% 34% 21px 21px; overflow: hidden; background: #f1c3b7; }
.hero-photo img { height: auto; aspect-ratio: 1.36; object-fit: cover; object-position: 58% 55%; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 0; border-radius: 999px; padding: 11px 21px; font-weight: 800; line-height: 1.3; text-decoration: none; }
.btn-accent { margin-top: 24px; color: white; background: var(--purple); }
.btn-accent:hover { background: #66379a; }

h2 { font-size: clamp(2.3rem, 4.3vw, 4.5rem); line-height: .99; letter-spacing: -.065em; }
h3 { font-size: clamp(1.15rem, 1.65vw, 1.62rem); line-height: 1.12; letter-spacing: -.035em; }
.section-title { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 29px; margin-bottom: 26px; }
.section-title p, .category p, .step p, .glossary dd, .models p, .faq p { color: var(--muted); }
.styles, .first-class, .site, .faq, .buy { padding-block: 74px; }
.categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.category { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.category img { aspect-ratio: 1.44; object-fit: cover; height: auto; background: var(--lavender); }
.category div { padding: 18px 17px 22px; }
.category p, .step p, .models p { margin-top: 8px; }

.finder { background: #efbda9; padding-block: 72px; }
.finder-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(27px, 6vw, 84px); }
.finder .side p { margin-top: 16px; max-width: 420px; }
.finder-picker { padding: clamp(15px, 2.9vw, 31px); background: #fff8f5; border-radius: 26px; }
.finder-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; border-radius: 16px; padding: 4px; background: #f1e3f4; }
.finder-tabs button { min-height: 43px; padding: 5px; background: transparent; color: var(--ink); border: 0; border-radius: 12px; font-weight: 700; font-size: .875rem; line-height: 1.2; overflow-wrap: anywhere; }
.finder-tabs button:hover { background: #e9d4f3; }
.finder-tabs button[aria-selected="true"] { color: white; background: var(--purple); }
.finder-panel { min-height: 185px; padding-top: 24px; }
.finder-panel h3 { font-size: clamp(1.38rem, 2.35vw, 2.1rem); }
.finder-panel p { margin-top: 8px; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; padding: 0; list-style: none; }
.tags li { border-radius: 999px; border: 1px solid #cbb5d5; padding: 3px 10px; font-size: .875rem; }

.steps, .models, .glossary dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step { padding: clamp(16px, 2.6vw, 31px); border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.step .kicker, .site .kicker { margin-bottom: 10px; color: var(--purple); }
.glossary { margin-top: 32px; padding: clamp(17px, 3vw, 34px); border-radius: 18px; background: #f6eafa; }
.glossary h3 { margin-bottom: 17px; }
.glossary dt { font-weight: 800; margin-bottom: 4px; }
.site { background: #f5e7db; }
.models article { padding-top: 15px; border-top: 1px solid #c9b4c6; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; padding-block: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.22rem; color: var(--purple); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 20px 15px 0; }

.buy, .footer { background: #321b4a; color: #fff9ff; }
.form-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(28px, 6.5vw, 90px); align-items: start; }
.form-copy .kicker { color: #f8c8b7; margin-bottom: 12px; }
.form-copy h2 { overflow-wrap: anywhere; }
.form-copy p { margin-top: 15px; max-width: 430px; color: #f3e5f8; }
.form { background: #fff9ff; color: var(--ink); display: grid; gap: 13px; padding: 24px; border-radius: 17px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.form label { display: grid; gap: 5px; font-weight: 700; font-size: .9rem; }
.form input, .form textarea { width: 100%; min-height: 44px; padding: 11px; border: 1px solid #b0a0ba; border-radius: 8px; background: white; color: var(--ink); font-size: 1rem; font-weight: 400; }
.form textarea { min-height: 110px; resize: vertical; }
.form button { justify-self: start; background: var(--sell); color: white; }
.form button:hover { background: #a1192c; }
.form :is(.preview-note,.form-status) { font-size: .875rem; color: var(--muted); }
.form-status:empty { display: none; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 13px; border-top: 1px solid #ffffff46; padding-block: 23px; }
.footer-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; }
.footer-copy span { color: #f1deef; font-size: .875rem; }
.footer a { white-space: nowrap; text-underline-offset: 4px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 58px); }
  .hero-grid { gap: 24px; }
  .categories { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category img { aspect-ratio: 1.65; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 5px; min-height: unset; padding-top: 12px; }
  .langs { grid-area: 1 / 2; }
  .nav { grid-column: 1 / -1; justify-content: space-between; gap: 7px; min-height: 38px; }
  .nav a { font-size: .875rem; }
  .hero { padding-block: 24px 31px; }
  .hero-grid, .section-title, .finder-grid, .faq, .form-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 0; }
  .hero p { margin-top: 16px; }
  .hero-photo { border-radius: 40% 40% 17px 17px / 30% 30% 17px 17px; }
  h1 { font-size: clamp(2.8rem, 11.7vw, 5.4rem); }
  .section-title { gap: 10px; margin-bottom: 19px; }
  .finder-grid, .faq { gap: 20px; }
  .styles, .finder, .first-class, .site, .faq, .buy { padding-block: 42px; }
  .steps, .models { grid-template-columns: 1fr; gap: 12px; }
  .form { padding: 15px; }
}
@media (max-width: 420px) {
  .categories, .glossary dl, .fields { grid-template-columns: 1fr; }
  .finder-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
