:root {
  --ink: #222222;
  --muted: #6a6a6a;
  --line: #dddddd;
  --soft: #f7f7f7;
  --brand: #ff385c;
  --brand-dark: #d70466;
  --warm: #fff8f2;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.brand,
.header-actions,
.main-nav,
.menu-button {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  font-size: 18px;
}

.main-nav {
  gap: 4px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.main-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  color: #333333;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a:hover {
  background: var(--soft);
}

.header-actions {
  justify-content: flex-end;
  gap: 12px;
}

.host-link,
.menu-button,
.outline-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.host-link {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #333333;
  font-weight: 700;
}

.host-link:hover {
  background: var(--soft);
}

.menu-button {
  gap: 12px;
  min-width: 86px;
  min-height: 48px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.menu-button svg,
.search-button svg,
.heart-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, #ffffff 0 10%, transparent 11%),
    linear-gradient(135deg, #555555, #111111);
}

.hero {
  position: relative;
  min-height: 650px;
  padding: 104px 48px 76px;
  overflow: hidden;
  background: #111111;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 48%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin: 0 auto;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
}

.search-bar {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: center;
  width: min(920px, 100%);
  min-height: 78px;
  padding: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-bar label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.search-bar label span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.search-bar input {
  width: 100%;
  min-width: 0;
  padding: 3px 0 0;
  color: var(--muted);
  border: 0;
  outline: 0;
}

.search-button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  cursor: pointer;
}

.search-button:hover {
  background: var(--brand-dark);
}

.category-strip {
  position: sticky;
  top: 80px;
  z-index: 10;
  display: flex;
  gap: 34px;
  align-items: center;
  padding: 20px 48px 14px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.category {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 86px;
  padding: 0 0 12px;
  color: #737373;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.category.is-active,
.category:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.category-icon {
  font-size: 22px;
  line-height: 1;
}

.category span:last-child {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.section {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 48px;
}

.compact {
  padding-top: 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.outline-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
}

.outline-button:hover {
  background: var(--ink);
  color: #ffffff;
}

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

.listing-card {
  min-width: 0;
}

.listing-image {
  position: relative;
  aspect-ratio: 1 / 0.96;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.listing-card:hover .listing-image img {
  transform: scale(1.035);
}

.heart-button {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.heart-button.is-saved {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.94);
}

.heart-button.is-saved svg {
  fill: currentColor;
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
}

.listing-meta h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.listing-meta p,
.price,
.feature-copy p,
.workflow-grid p {
  color: var(--muted);
  line-height: 1.45;
}

.listing-meta p,
.price {
  margin-bottom: 4px;
  font-size: 15px;
}

.rating {
  flex: 0 0 auto;
  font-size: 14px;
}

.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: min(1344px, calc(100% - 96px));
  margin: 26px auto 0;
  padding: 56px;
  border-radius: 8px;
  background: var(--warm);
}

.feature-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 18px;
}

.studio-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #eaded4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(82, 58, 38, 0.08);
}

.studio-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
}

.studio-row span {
  color: var(--muted);
}

.studio-row strong {
  text-align: right;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  font-weight: 800;
}

.workflow-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.workflow-grid p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 30px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--soft);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 0 20px;
  }

  .brand {
    font-size: 19px;
  }

  .host-link {
    display: none;
  }

  .menu-button {
    min-width: 74px;
  }

  .hero {
    min-height: 720px;
    padding: 76px 20px 36px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .search-bar {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 10px;
    border-radius: 28px;
  }

  .search-bar label {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-bar label:nth-of-type(3) {
    border-bottom: 0;
  }

  .search-button {
    width: 100%;
    height: 50px;
    margin-top: 6px;
    border-radius: 999px;
  }

  .category-strip {
    top: 68px;
    gap: 24px;
    padding: 16px 20px 10px;
  }

  .section {
    padding: 38px 20px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .listing-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    width: calc(100% - 40px);
    padding: 32px 20px;
  }

  .studio-row {
    flex-direction: column;
    gap: 8px;
  }

  .studio-row strong {
    text-align: left;
  }
}
