:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #62606a;
  --paper: #f8f7f3;
  --paper-strong: #ffffff;
  --violet: #6c24ff;
  --violet-dark: #4b00ce;
  --violet-soft: #eee7ff;
  --line: #d9d7df;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
  padding: 12px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(248, 247, 243, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.brand__text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.header-social {
  position: relative;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-social {
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(56px, 8vw, 110px) max(24px, calc((100vw - var(--max-width)) / 2));
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: auto auto -120px -120px;
  width: 520px;
  height: 520px;
  background-image: linear-gradient(rgba(108, 36, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 36, 255, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to top right, #000, transparent 70%);
  transform: perspective(500px) rotateX(60deg) rotateZ(-18deg);
  transform-origin: center;
}

.hero__copy,
.hero__showcase {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--violet-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 3px;
  background: var(--violet);
  border-radius: 99px;
}

.eyebrow--light {
  color: #c9afff;
}

.hero h1,
.section-heading h2,
.how-section h2,
.about-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.6rem, 7vw, 7rem);
}

.hero h1 em {
  display: block;
  color: var(--violet);
  font-weight: 400;
}

.hero__lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: #4d4b53;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--violet);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 3px 3px 0 var(--violet);
}

.button--ghost {
  background: transparent;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--violet);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--violet-soft);
}

.hero__showcase {
  min-height: 610px;
}

.hero-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow);
}

.hero-card--main {
  top: 0;
  right: 0;
  width: min(100%, 465px);
  border-radius: 150px 24px 24px 24px;
}

.hero-card--main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card--main figcaption {
  display: grid;
  gap: 2px;
  padding: 22px 24px 24px;
}

.hero-card--main figcaption span {
  color: var(--violet-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card--main figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.hero-card--small {
  bottom: 12px;
  left: -46px;
  width: 215px;
  border: 8px solid var(--paper);
  border-radius: 22px;
  transform: rotate(-5deg);
}

.hero-card--small img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero__stamp {
  position: absolute;
  right: -24px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: #fff;
  background: var(--violet);
  border: 10px solid var(--paper);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-align: center;
  transform: rotate(8deg);
}

.catalog-section,
.about-section,
.site-footer {
  padding-right: max(24px, calc((100vw - var(--max-width)) / 2));
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2));
}

.catalog-section {
  padding-top: 110px;
  padding-bottom: 120px;
  background: var(--paper-strong);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 64px;
  align-items: end;
}

.section-heading h2,
.about-section h2 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 330px) 1fr;
  align-items: start;
  gap: 36px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 330px);
  min-height: 48px;
  padding: 0 16px;
  background: #f5f4f7;
  border: 1px solid transparent;
  border-radius: 12px;
}

.search-field:focus-within {
  background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-soft);
}

.search-field svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-groups {
  display: grid;
  gap: 18px;
}

.filter-group {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: start;
}

.filter-group__label {
  padding-top: 11px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  color: #54515b;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.results-summary {
  min-height: 24px;
  margin: 22px 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: rgba(108, 36, 255, 0.45);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.1);
  transform: translateY(-5px);
}

.product-card__image-wrap {
  position: relative;
  padding: 8px;
  background: #f0eef3;
}

.product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}

.product-card__placeholder {
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, #6c24ff, #24114f);
  border-radius: 14px;
  overflow: hidden;
}

.product-card__placeholder small {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__placeholder small {
  max-width: 170px;
  font-size: 0.62rem;
  line-height: 1.4;
}

.product-card__media-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(17, 17, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.product-card__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(17, 17, 17, 0.88);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.product-card__body {
  padding: 17px 18px 20px;
}

.product-card__body > p {
  margin: 0 0 4px;
  color: var(--violet-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 52px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.product-card__availability {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 14px;
  padding: 6px 10px;
  color: #68646d;
  background: #f3f2f5;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-card__availability--available {
  color: var(--violet-dark);
  background: var(--violet-soft);
  border-color: rgba(108, 36, 255, 0.22);
}

.product-card__actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.product-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease,
    transform 150ms ease;
}

.product-card__action:hover,
.product-card__action:focus-visible {
  transform: translateY(-1px);
}

.product-card__action--marketplace:hover,
.product-card__action--marketplace:focus-visible {
  color: var(--violet-dark);
  border-color: rgba(108, 36, 255, 0.45);
}

.product-card__action--instagram {
  color: #fff;
  background: linear-gradient(110deg, #6c24ff, #a52ee8 56%, #e63b77);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(108, 36, 255, 0.2);
}

.product-card__action--instagram:hover,
.product-card__action--instagram:focus-visible {
  color: #fff;
  box-shadow: 0 11px 26px rgba(108, 36, 255, 0.3);
}

.product-card__action--contact {
  color: var(--violet-dark);
  background: #fff;
  border-color: rgba(108, 36, 255, 0.34);
}

.product-card__action--contact:hover,
.product-card__action--contact:focus-visible {
  color: #fff;
  background: var(--violet-dark);
  border-color: var(--violet-dark);
}

.empty-state {
  padding: 70px 24px;
  text-align: center;
  background: #f5f4f7;
  border: 1px dashed #c9c5d0;
  border-radius: var(--radius-lg);
}

.empty-state strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.empty-state p {
  margin: 4px 0 16px;
  color: var(--muted);
}

.text-button {
  padding: 0;
  color: var(--violet-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.how-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 80px;
  padding: 110px max(24px, calc((100vw - var(--max-width)) / 2));
  color: #fff;
  background: var(--ink);
}

.how-section__intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.how-section h2 {
  max-width: 590px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.steps li > span {
  color: var(--violet);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-style: italic;
}

.steps strong {
  font-size: 1.15rem;
}

.steps p {
  margin: 6px 0 0;
  color: #bdbbc3;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.8fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.about-section__visual {
  --about-label-space: clamp(108px, 9vw, 140px);
  position: relative;
  min-height: 590px;
}

.about-section__visual::before {
  position: absolute;
  inset: var(--about-label-space) 46px 0 0;
  content: "";
  background: var(--violet);
  border-radius: 26px 130px 26px 26px;
}

.about-section__visual img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 58px);
  height: calc(100% - var(--about-label-space) - 14px);
  object-fit: cover;
  border: 8px solid var(--paper);
  border-radius: 24px 120px 24px 24px;
  box-shadow: var(--shadow);
}

.about-section__number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
}

.about-section__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 30px 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-dark);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.launch-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 28px 24px;
  color: #fff;
  background: var(--violet);
}

.launch-banner p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.launch-banner a {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 46px;
  color: #c3c1c8;
  background: var(--ink);
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: #a9a6b0;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer p:nth-of-type(1) {
  text-align: center;
}

:focus-visible {
  outline: 3px solid #9a66ff;
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr 0.76fr;
    gap: 40px;
  }

  .hero__showcase {
    min-height: 520px;
  }

  .hero-card--small {
    left: -24px;
    width: 175px;
  }

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

@media (max-width: 820px) {
  .desktop-nav,
  .header-social {
    display: none;
  }

  .site-header {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero__showcase {
    min-height: 580px;
    width: min(100%, 570px);
    margin: 0 auto;
  }

  .section-heading,
  .how-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 28px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .search-field {
    width: 100%;
  }

  .category-filters {
    justify-content: flex-start;
  }

  .filter-group {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .filter-group__label {
    padding-top: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-section {
    gap: 38px;
  }

  .how-section__intro {
    position: static;
  }

  .about-section__visual {
    min-height: 520px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand--footer {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .hero__lead {
    margin-top: 24px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__showcase {
    min-height: 450px;
  }

  .hero-card--main {
    width: calc(100% - 14px);
    border-radius: 90px 20px 20px 20px;
  }

  .hero-card--main figcaption {
    padding: 16px 18px 18px;
  }

  .hero-card--small {
    left: 0;
    width: 135px;
    border-width: 5px;
  }

  .hero__stamp {
    right: 0;
    bottom: 2px;
    width: 86px;
    height: 86px;
    border-width: 7px;
    font-size: 0.78rem;
  }

  .catalog-section,
  .how-section,
  .about-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .section-heading h2,
  .how-section h2,
  .about-section h2 {
    font-size: clamp(2.55rem, 13vw, 3.8rem);
  }

  .category-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-right: -24px;
    padding-right: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card h3 {
    min-height: auto;
  }

  .steps li {
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .about-section__visual {
    --about-label-space: 88px;
    min-height: 440px;
  }

  .about-section__visual::before {
    inset: var(--about-label-space) 34px 0 0;
  }

  .about-section__visual img {
    width: calc(100% - 38px);
    height: calc(100% - var(--about-label-space) - 12px);
    border-radius: 20px 86px 20px 20px;
  }

  .launch-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
