@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Fraunces:opsz,ital,wght@9..144,0,400;9..144,1,400&family=Inter:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  --cream: #fff8f2;
  --cream-deep: #fcefe2;
  --pink: #ffd6dd;
  --pink-soft: #fff6f8;
  --pink-deep: #e66b8a;
  --butter: #ffe9a8;
  --white: #fff;
  --ink: #3d2c2a;
  --ink-soft: #8a7773;
  --line: #3d2c2a;
  --rule: #f0dcd0;
}

body[data-discovery-route] {
  box-sizing: border-box;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
}

body[data-discovery-route] *,
body[data-discovery-route] *::before,
body[data-discovery-route] *::after {
  box-sizing: inherit;
}

body[data-discovery-route] a {
  color: inherit;
}

body[data-discovery-route] .nav {
  display: flex;
  width: 100%;
  max-width: 1080px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 22px 24px;
}

body[data-discovery-route] .brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body[data-discovery-route] .brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--pink-deep);
}

body[data-discovery-route] .nav-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
}

body[data-discovery-route] .nav-links a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

body[data-discovery-route] .nav-links a:hover,
body[data-discovery-route] .nav-profile:hover {
  color: var(--pink-deep);
}

body[data-discovery-route] .nav a:focus-visible,
body[data-discovery-route] footer a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

body[data-discovery-route] .nav-profile {
  align-items: center;
  justify-content: center;
}

body[data-discovery-route] .page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

body[data-discovery-route] .discovery-hero {
  position: relative;
  padding: 24px 0 38px;
  text-align: center;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--rule);
}

body[data-discovery-route] .hero-inner {
  max-width: 900px;
}

body[data-discovery-route] .back-link {
  display: block;
  width: max-content;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  text-underline-offset: 4px;
}

body[data-discovery-route] .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-discovery-route] .discovery-hero .eyebrow {
  color: var(--pink-deep);
}

body[data-discovery-route] .section-heading .eyebrow {
  color: var(--ink-soft);
}

body[data-discovery-route] h1,
body[data-discovery-route] .hero-promise {
  margin-top: 0;
  font-family: 'Newsreader', serif;
  font-weight: 500;
  line-height: 1.08;
}

body[data-discovery-route] h1 {
  max-width: 700px;
  margin: 0 auto 10px;
  font-size: clamp(36px, 4.8vw, 58px);
  letter-spacing: -0.018em;
}

body[data-discovery-route] .hero-promise {
  margin: 0 auto 8px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

body[data-discovery-route] .hero-description {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

body[data-discovery-route] .hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

body[data-discovery-route] .button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

body[data-discovery-route] .button-primary {
  background: var(--ink);
  color: var(--white);
}

body[data-discovery-route] .button-secondary {
  background: var(--white);
}

body[data-discovery-route] .button:hover,
body[data-discovery-route] .button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(72, 52, 45, 0.09);
}

body[data-discovery-route] .button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

body[data-discovery-route] .collection-section,
body[data-discovery-route] .how-section,
body[data-discovery-route] .other-section {
  padding: 58px 0;
}

body[data-discovery-route] .collection-section:nth-of-type(even) {
  background: var(--cream-deep);
  border-block: 1px solid var(--rule);
}

body[data-discovery-route] .collection-section:nth-of-type(odd) {
  background: var(--cream);
}

body[data-discovery-route] .section-heading {
  margin-bottom: 30px;
}

body[data-discovery-route] .section-heading h2 {
  margin-bottom: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.018em;
}

body[data-discovery-route] .section-heading p {
  max-width: 610px;
  margin: 0;
}

body[data-discovery-route] .centered-heading {
  text-align: center;
}

body[data-discovery-route] .centered-heading p {
  margin-inline: auto;
}

body[data-discovery-route] .showcase-list {
  display: grid;
  gap: 52px;
}

body[data-discovery-route] .widget-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: 44px;
  align-items: center;
}

body[data-discovery-route] .widget-showcase.reverse .showcase-preview {
  order: 2;
}

body[data-discovery-route] .showcase-preview {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
}

body[data-discovery-route] .showcase-preview:focus-visible,
body[data-discovery-route] .showcase-cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

body[data-discovery-route] .showcase-face {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: var(--white);
}

body[data-discovery-route] .showcase-mock,
body[data-discovery-route] .showcase-live {
  position: absolute;
  inset: 0;
}

body[data-discovery-route] .showcase-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 500ms ease, transform 500ms ease;
}

body[data-discovery-route] .showcase-live {
  background: var(--white);
  opacity: 0;
  transform: scale(1.03) translateY(6px);
  transition: opacity 500ms ease, transform 500ms ease;
}

body[data-discovery-route] .showcase-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

body[data-discovery-route] .widget-showcase.is-live .showcase-live {
  opacity: 1;
  transform: none;
}

body[data-discovery-route] .widget-showcase.is-live .showcase-mock {
  opacity: 0;
  transform: scale(.97);
}

body[data-discovery-route] .showcase-copy {
  text-align: left;
}

body[data-discovery-route] .showcase-label {
  display: block;
  margin-bottom: 10px;
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body[data-discovery-route] .showcase-copy h3 {
  margin: 0 0 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}

body[data-discovery-route] .showcase-copy p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

body[data-discovery-route] .showcase-price {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

body[data-discovery-route] .showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-discovery-route] .showcase-cta {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

body[data-discovery-route] .showcase-embed {
  background: var(--ink);
  color: var(--white);
}

body[data-discovery-route] .showcase-customise {
  background: var(--white);
}

body[data-discovery-route] .how-section {
  background: var(--cream-deep);
  border-block: 1px solid var(--rule);
}

body[data-discovery-route] .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-discovery-route] .steps li {
  padding: 28px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
}

body[data-discovery-route] .steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--pink);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 600;
}

body[data-discovery-route] .steps strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

body[data-discovery-route] .steps p {
  margin: 8px 0 0;
}

body[data-discovery-route] code {
  padding: 1px 5px;
  background: var(--cream-deep);
  border-radius: 4px;
}

body[data-discovery-route] .other-section {
  background: var(--cream);
}

body[data-discovery-route] .route-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

body[data-discovery-route] .route-links a {
  padding: 10px 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

body[data-discovery-route] .route-links .all-widgets-link {
  background: var(--ink);
  color: var(--white);
}

body[data-discovery-route] .route-links a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

body[data-discovery-route] footer {
  margin-top: 40px;
  padding: 36px 24px 48px;
  background: var(--cream);
  border-top: 1px solid var(--cream-deep);
}

body[data-discovery-route] .foot-wrap {
  display: flex;
  max-width: 1080px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  flex-wrap: wrap;
}

body[data-discovery-route] .foot-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 14px;
  font-style: italic;
}

body[data-discovery-route] .foot-note .brand-mark {
  width: 22px;
  height: 22px;
}

body[data-discovery-route] .foot-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

body[data-discovery-route] .foot-links a {
  color: inherit;
  text-decoration: none;
}

body[data-discovery-route] .foot-links a:hover {
  color: var(--pink-deep);
}

@media (max-width: 820px) {
  body[data-discovery-route] .widget-showcase {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body[data-discovery-route] .widget-showcase.reverse .showcase-preview {
    order: 0;
  }

  body[data-discovery-route] .showcase-face {
    height: 360px;
  }
}

@media (max-width: 760px) {
  body[data-discovery-route] .nav {
    gap: 16px;
    padding: 18px 14px;
  }

  body[data-discovery-route] .nav-links {
    gap: 14px;
  }

  body[data-discovery-route] .page-shell {
    width: min(100% - 28px, 620px);
  }

  body[data-discovery-route] .discovery-hero {
    padding: 20px 0 36px;
  }

  body[data-discovery-route] .steps {
    grid-template-columns: 1fr;
  }

  body[data-discovery-route] .collection-section,
  body[data-discovery-route] .how-section,
  body[data-discovery-route] .other-section {
    padding: 46px 0;
  }

  body[data-discovery-route] footer {
    padding-inline: 18px;
  }
}

@media (max-width: 560px) {
  body[data-discovery-route] .nav {
    gap: 12px;
    padding: 16px 12px;
  }

  body[data-discovery-route] .brand {
    gap: 6px;
    font-size: 18px;
  }

  body[data-discovery-route] .nav-links {
    gap: 12px;
    font-size: 12px;
  }

  body[data-discovery-route] .nav-links a[href='/guides/'],
  body[data-discovery-route] .nav-links a[href='/pricing'] {
    display: none;
  }

  body[data-discovery-route] .foot-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not([data-discovery-route]) .nav {
    width: 100%;
    max-width: 100%;
    gap: 12px;
    padding: 16px 12px;
  }

  body:not([data-discovery-route]) .brand {
    flex: none;
    gap: 6px;
    font-size: 18px;
    white-space: nowrap;
  }

  body:not([data-discovery-route]) .nav-links {
    min-width: 0;
    align-items: center;
    gap: 12px;
    font-size: 12px;
  }

  body:not([data-discovery-route]) .nav-links a[href='/'],
  body:not([data-discovery-route]) .nav-links a[href='/guides/'],
  body:not([data-discovery-route]) .nav-links a[href='/pricing'] {
    display: none;
  }

  body:not([data-discovery-route]) .hero-stage {
    display: none;
  }

  body[data-discovery-route] .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-discovery-route] *,
  body[data-discovery-route] *::before,
  body[data-discovery-route] *::after,
  .discovery-gateway,
  .discovery-gateway *,
  .discovery-gateway *::before,
  .discovery-gateway *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  body[data-discovery-route] .showcase-mock,
  body[data-discovery-route] .showcase-live {
    transition: none;
  }
}

.discovery-gateway {
  --gateway-ink-soft: #6f5b57;
  padding: 68px 24px;
  background: var(--pink-soft);
  border-bottom: 1px solid var(--rule, var(--line));
}

.discovery-gateway__inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.discovery-gateway__eyebrow {
  margin-bottom: 10px;
  color: var(--pink-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.discovery-gateway h2 {
  margin: 0 auto 32px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.discovery-gateway__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.discovery-gateway__card {
  grid-column: span 2;
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--white, #fff);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  text-align: left;
  text-decoration: none;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.discovery-gateway__card:nth-child(4) {
  grid-column: 2 / span 2;
}

.discovery-gateway__card:nth-child(5) {
  grid-column: 4 / span 2;
}

.discovery-gateway__card:hover,
.discovery-gateway__card:focus-visible {
  box-shadow: 7px 7px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.discovery-gateway__card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.discovery-gateway__card h3 {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
}

.discovery-gateway__card p {
  margin: 10px 0 0;
  color: var(--gateway-ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.discovery-gateway__all {
  display: inline-block;
  margin-top: 32px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.discovery-gateway.compact {
  padding: 18px 24px;
  background: var(--pink-soft);
}

.discovery-gateway.compact h2 {
  margin: 0;
  flex: none;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.discovery-gateway.compact .discovery-gateway__inner {
  display: flex;
  max-width: 1080px;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.discovery-gateway.compact .discovery-gateway__grid {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px;
}

.discovery-gateway.compact .discovery-gateway__card {
  display: inline-flex;
  min-height: 44px;
  padding: 9px 14px;
  align-items: center;
  background: var(--white, #fff);
  border: 1px solid var(--rule, #e8ddd2);
  border-radius: 999px;
  box-shadow: none;
}

.discovery-gateway.compact .discovery-gateway__card:hover,
.discovery-gateway.compact .discovery-gateway__card:focus-visible {
  background: var(--pink);
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}

.discovery-gateway.compact .discovery-gateway__card h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .discovery-gateway {
    padding: 52px 20px;
  }

  .discovery-gateway__grid {
    grid-template-columns: 1fr;
  }

  .discovery-gateway__card,
  .discovery-gateway__card:nth-child(4),
  .discovery-gateway__card:nth-child(5) {
    grid-column: 1;
  }

  .discovery-gateway__card {
    min-height: 0;
  }

  .discovery-gateway.compact {
    padding: 16px 14px;
  }

  .discovery-gateway.compact .discovery-gateway__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
