/* Marketing pages: warm editorial layout shared by /salon, /clothing-color and /hair-color. */

/* Content pages live inside the same app shell as the tools. */

.content-main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.content-narrow {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pricing-page,
.legal-page {
  padding-top: 6px;
}

.mkt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 34px 0 44px;
}

.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mkt-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.mkt-hero h1 {
  margin: 14px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

.mkt-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 14.5px;
  line-height: 1.72;
}

.mkt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.mkt-btn:hover {
  transform: translateY(-1px);
}

.mkt-btn-primary {
  background: var(--accent);
  color: #fff8f0;
}

.mkt-btn-primary:hover {
  background: var(--accent-dark);
}

.mkt-btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--muted-strong);
}

.mkt-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.mkt-btn-light {
  background: #fff8f0;
  color: var(--accent-dark);
}

.mkt-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 11.5px;
}

.mkt-micro li::before {
  content: "·";
  margin-right: 7px;
  color: var(--accent);
}

.mkt-hero-media {
  position: relative;
}

.mkt-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
  box-shadow: var(--shadow-frame);
  aspect-ratio: 4 / 5;
}

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

.mkt-photo-wide {
  aspect-ratio: 16 / 10;
}

.mkt-float-card {
  position: absolute;
  right: -18px;
  bottom: 26px;
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(252, 250, 246, 0.94);
  box-shadow: 0 18px 40px rgba(59, 48, 38, 0.16);
  backdrop-filter: blur(6px);
}

.mkt-float-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mkt-float-card strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 19px;
}

.mkt-swatches {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mkt-swatches i {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(45, 35, 27, 0.18);
}

.mkt-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.mkt-section-tight {
  padding-top: 36px;
}

.mkt-section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.mkt-section-head h2 {
  margin: 10px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.16;
}

.mkt-section-head p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.75;
}

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

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

.mkt-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(59, 48, 38, 0.06);
}

.mkt-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
}

.mkt-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.68;
}

.mkt-card-index {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.mkt-steps {
  display: grid;
  gap: 14px;
  counter-reset: mkt-step;
}

.mkt-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.mkt-step::before {
  counter-increment: mkt-step;
  content: counter(mkt-step, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
}

.mkt-step h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
}

.mkt-step p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.68;
}

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

.mkt-color-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(59, 48, 38, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mkt-color-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 93, 69, 0.4);
  box-shadow: 0 22px 46px rgba(59, 48, 38, 0.12);
}

.mkt-color-card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-3);
}

.mkt-color-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkt-color-card-body {
  padding: 16px 18px 18px;
}

.mkt-color-card-body h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

.mkt-color-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.mkt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mkt-chip i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mkt-faq {
  border-top: 1px solid var(--line);
}

.mkt-faq details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.mkt-faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.mkt-faq summary::-webkit-details-marker {
  display: none;
}

.mkt-faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 400;
}

.mkt-faq details[open] summary::after {
  content: "−";
}

.mkt-faq p {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.75;
}

.mkt-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mkt-price {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.mkt-price.is-featured {
  border-color: rgba(167, 93, 69, 0.5);
  box-shadow: 0 18px 42px rgba(167, 93, 69, 0.14);
}

.mkt-price span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mkt-price strong {
  display: block;
  margin: 10px 0 4px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
}

.mkt-price p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 12.5px;
  line-height: 1.6;
}

.mkt-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 46px;
  border-radius: 26px;
  background: linear-gradient(135deg, #a75d45 0%, #8c4834 100%);
  color: #fff8f0;
}

.mkt-cta-band h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.15;
}

.mkt-cta-band p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 248, 240, 0.8);
  font-size: 13px;
  line-height: 1.7;
}

.mkt-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.mkt-crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.mkt-crumbs a:hover {
  color: var(--accent-dark);
}

.mkt-crumbs span {
  color: var(--accent);
}

.mkt-article {
  max-width: 760px;
  padding: 30px 0 20px;
}

.mkt-article h1 {
  margin: 14px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
}

.mkt-article h2 {
  margin: 34px 0 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.mkt-article p,
.mkt-article li {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.8;
}

.mkt-article ul {
  margin: 10px 0 18px;
  padding-left: 20px;
}

.mkt-article li {
  margin-bottom: 7px;
}

.mkt-article-image {
  overflow: hidden;
  margin: 24px 0 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-2);
  box-shadow: var(--shadow-card);
}

.mkt-article-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.mkt-note {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--surface-2);
  color: var(--muted-strong);
  font-size: 12.5px;
  line-height: 1.7;
}

.mkt-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mkt-list li + li {
  margin-top: 6px;
}

.guide-compare {
  margin: 18px 0 6px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.75;
}

.guide-compare a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.mkt-related a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 12.5px;
  text-decoration: none;
}

.mkt-related a:hover {
  border-color: rgba(167, 93, 69, 0.45);
  color: var(--accent-dark);
}

.mkt-related i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.guide-layout .mkt-article {
  max-width: none;
  padding-top: 10px;
}

.guide-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(59, 48, 38, 0.06);
}

.guide-card h3 {
  margin: 8px 0 6px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.guide-card p {
  margin: 0 0 14px;
  color: var(--muted-strong);
  font-size: 12.5px;
  line-height: 1.65;
}

.guide-card .mkt-btn {
  width: 100%;
  margin-bottom: 8px;
}

.guide-swatch {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mkt-color-swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  aspect-ratio: 4 / 3;
  padding: 18px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.3), transparent 58%),
    linear-gradient(150deg, color-mix(in srgb, var(--shade) 58%, #f6f0e7) 0%, var(--shade) 100%);
  color: #fff8f0;
  overflow: hidden;
}

.mkt-color-swatch::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.mkt-color-swatch.is-light {
  color: #2e2823;
}

.mkt-color-swatch.is-light::after {
  border-color: rgba(36, 33, 30, 0.18);
}

.mkt-color-index {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-serif);
  font-size: 18px;
  opacity: 0.8;
}

.mkt-color-swatch small {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.guide-color-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 320px;
  margin: 24px 0 8px;
  padding: 30px;
  border-radius: 22px;
  background:
    radial-gradient(110% 80% at 15% 0%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(150deg, var(--shade) 0%, color-mix(in srgb, var(--shade) 55%, #2e2823) 100%);
  color: #fff8f0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.guide-color-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.guide-color-hero span {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
}

.guide-color-hero small {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  opacity: 0.8;
}

.guide-color-hero.is-light {
  background:
    radial-gradient(110% 80% at 15% 0%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(150deg, var(--shade) 0%, #fff8f0 100%);
  color: #2e2823;
}

.guide-color-hero.is-light::after {
  border-color: rgba(36, 33, 30, 0.18);
}

.guide-photo {
  max-width: 420px;
  margin: 18px auto 26px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.guide-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.guide-photo figcaption {
  padding: 10px 16px 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 10px;
}

.compare-card {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.compare-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.compare-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  font-size: 12px;
}

.compare-card figcaption strong {
  font-family: var(--font-serif);
  font-size: 15px;
}

.compare-card figcaption span {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 14px 0 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-table tbody th {
  width: 26%;
  font-weight: 500;
  color: var(--muted);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 720px) {
  .compare-grid {
    gap: 8px;
  }

  .compare-card figcaption {
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
  }
}

.clothing-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}

.clothing-demo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 18px;
  background: var(--surface);
}

.clothing-demo-panel:last-child {
  background: var(--surface-2);
}

.clothing-demo-panel svg {
  width: min(215px, 82%);
  height: auto;
}

.clothing-demo-label {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clothing-demo-panel strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .mkt-color-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .mkt-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 26px 0 34px;
  }

  .mkt-hero-media {
    max-width: 520px;
  }

  .mkt-grid-3,
  .mkt-color-grid,
  .mkt-related,
  .mkt-price-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mkt-grid-2 {
    grid-template-columns: 1fr;
  }

  .mkt-cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
}

@media (max-width: 620px) {
  .mkt-grid-3,
  .mkt-color-grid,
  .mkt-related,
  .mkt-price-row {
    grid-template-columns: 1fr;
  }

  .mkt-float-card {
    right: 10px;
    bottom: 10px;
  }

  .mkt-section {
    padding: 44px 0;
  }

  .mkt-article-image img {
    max-height: 360px;
  }
}
