:root {
  --brand: #1f4266;
  --brand-dark: #16324e;
  --ink: #1c1f24;
  --muted: #626b75;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #dfe7ee;
  --accent: #f5c85c;
  --radius: 8px;
  --shadow: 0 20px 48px rgba(22, 50, 78, 0.16);
}

body[data-business="eatlistly"] {
  --brand: #8c3028;
  --brand-dark: #451c1a;
  --soft: #fff7f2;
  --accent: #e8b35a;
}

body[data-business="salonlistly"] {
  --brand: #7f4d75;
  --brand-dark: #372238;
  --soft: #fbf5fb;
  --accent: #e7c4a3;
}

body[data-business="buylistly"] {
  --brand: #26704e;
  --brand-dark: #173f31;
  --soft: #f3fbf6;
  --accent: #f0c85b;
}

body[data-business="makelistly"] {
  --brand: #1f4266;
  --brand-dark: #13283f;
  --soft: #f2f7fb;
  --accent: #ebaa3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.demo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px clamp(18px, 5vw, 68px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(31, 66, 102, 0.12);
  backdrop-filter: blur(14px);
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.demo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-family: "Righteous", serif;
}

.demo-name {
  display: block;
  color: var(--brand);
  font-family: "Righteous", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.demo-tag {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
}

.demo-nav a:hover,
.demo-nav a[aria-current="page"] {
  color: var(--brand);
}

.demo-nav .book-link {
  min-height: 42px;
  padding: 10px 15px;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius);
}

.demo-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.demo-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand);
}

.demo-hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  align-items: end;
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 80px) 34px;
  overflow: hidden;
  color: #fff;
}

.demo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(18, 20, 24, 0.84), rgba(18, 20, 24, 0.46), rgba(18, 20, 24, 0.14));
}

.demo-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Righteous", serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  color: var(--brand-dark);
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
}

h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 1.28rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand);
  background: #fff;
}

.section {
  padding: clamp(62px, 9vw, 108px) clamp(18px, 5vw, 80px);
}

.section.soft {
  background: var(--soft);
}

.section-header {
  max-width: 740px;
  margin-bottom: 32px;
}

.feature-grid,
.offer-grid,
.catalog-grid,
.story-grid,
.proof-grid,
.page-grid {
  display: grid;
  gap: 18px;
}

.feature-grid,
.offer-grid,
.catalog-grid,
.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 70px);
}

.feature-card,
.offer-card,
.catalog-section,
.proof-card,
.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-list {
  display: grid;
  gap: 14px;
}

.catalog-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.catalog-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.catalog-item strong {
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.catalog-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.catalog-item span {
  color: var(--brand);
  font-weight: 700;
  white-space: nowrap;
}

.feature-card p,
.offer-card p,
.proof-card p,
.info-card p,
.story-copy p,
.page-card p {
  color: var(--muted);
}

.offer-card strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--brand);
  font-family: "Righteous", serif;
  font-size: 2rem;
  font-weight: 400;
}

.story-image,
.page-card img {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

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

.page-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.page-card img {
  width: 100%;
  height: 260px;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.page-card div {
  padding: 24px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 74px);
  padding: clamp(62px, 9vw, 108px) clamp(18px, 5vw, 80px);
  color: #fff;
  background: var(--brand-dark);
}

.contact-band h2 {
  color: #fff;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.demo-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.demo-form input,
.demo-form textarea,
.demo-form select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-form option {
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 80px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.demo-footer a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 980px) {
  .feature-grid,
  .offer-grid,
  .catalog-grid,
  .proof-grid,
  .page-grid,
  .story-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .demo-menu-button {
    display: block;
  }

  .demo-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .demo-nav.is-open {
    display: flex;
  }

  .demo-hero {
    min-height: auto;
    padding-top: 84px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .story-image img {
    min-height: 300px;
  }

  .demo-footer {
    display: block;
  }

  .demo-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
