
.share-page {
  padding-top: 0;
}

.share-page .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.share-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, var(--text-2));
  margin: 0 0 0.5rem;
}

.share-eyebrow--center {
  text-align: center;
}

.share-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.share-hero--hallow {
  padding: 4.75rem 0 4.5rem;
  background: var(--bg);
}

.share-hero__glow {
  position: absolute;
  inset: -20% 20% auto;
  height: 280px;
  background: radial-gradient(ellipse, rgba(45, 106, 90, 0.14), transparent 70%);
  pointer-events: none;
}

[data-theme='dark'] .share-hero__glow {
  background: radial-gradient(ellipse, rgba(58, 184, 172, 0.18), transparent 70%);
}

.share-hero__stage {
  position: relative;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
  padding-bottom: 1.5rem;
}

.share-hero__title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink, var(--text));
}

.share-hero__title--display {
  font-size: clamp(2.8rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0;
  line-height: 1.05;
}

.share-hero__verse {
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 106, 90, 0.12);
  box-shadow: 0 12px 40px rgba(30, 40, 30, 0.06);
}

.share-hero__verse--float {
  position: relative;
  width: min(100%, 24rem);
  margin: 1.75rem 0 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(45, 106, 90, 0.2);
  box-shadow: 0 10px 28px rgba(30, 40, 30, 0.06);
  padding: 1.15rem 1.25rem 1.1rem 1.2rem;
  border-radius: 1.15rem;
  border-left: 4px solid rgba(47, 143, 130, 0.7);
}

[data-theme='dark'] .share-hero__verse {
  background: var(--elevated);
  border-color: rgba(58, 184, 172, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

[data-theme='dark'] .share-hero__verse--float {
  background: rgba(22, 36, 34, 0.92);
  border: 1px solid rgba(58, 184, 172, 0.32);
  border-left: 4px solid rgba(58, 184, 172, 0.75);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.share-hero__verse p {
  font-family: var(--font);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  color: var(--ink, var(--text));
}

.share-hero__verse--float p {
  font-size: 1.02rem;
  font-weight: 400;
}

.share-hero__verse cite {
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--muted, var(--text-2));
}

.share-ways {
  padding: 1rem 0 3.5rem;
}

.share-ways--hallow {
  padding: 0;
}

.share-ways__grid {
  display: grid;
  gap: 1rem;
}

.share-ways__grid--hallow {
  gap: 1.15rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .share-ways__grid,
  .share-ways__grid--hallow {
    grid-template-columns: repeat(3, 1fr);
  }
}

.share-way {
  background: var(--surface);
  border: 1px solid rgba(45, 106, 90, 0.12);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 20px rgba(17, 24, 28, 0.07),
    0 2px 6px rgba(17, 24, 28, 0.04);
  transition:
    border-color 0.28s var(--ease, ease),
    box-shadow 0.28s var(--ease, ease),
    transform 0.28s var(--ease, ease),
    background 0.28s var(--ease, ease);
}

.share-way--hallow {
  background: var(--surface);
  border: 1px solid rgba(45, 106, 90, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 10px 26px rgba(17, 24, 28, 0.08),
    0 3px 8px rgba(17, 24, 28, 0.04);
  padding: 1.5rem 1.25rem 1.35rem;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  border-radius: 1.35rem;
}

@media (hover: hover) and (pointer: fine) {
  .share-way:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 106, 90, 0.34);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.55) inset,
      0 12px 28px rgba(17, 24, 28, 0.1),
      0 28px 52px rgba(17, 24, 28, 0.14);
  }

  .share-way--hallow:hover {
    transform: translateY(-7px);
    border-color: rgba(45, 106, 90, 0.4);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.6) inset,
      0 14px 32px rgba(17, 24, 28, 0.12),
      0 32px 56px rgba(17, 24, 28, 0.16);
  }

  .share-way--hallow:hover .share-way__orb {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
      0 0 0 5px rgba(45, 106, 90, 0.1),
      0 16px 34px rgba(17, 24, 28, 0.16);
  }

  .share-way--hallow:hover .share-way__cta {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(17, 24, 28, 0.2);
  }
}

[data-theme='dark'] .share-way {
  background: var(--elevated);
  border-color: rgba(58, 184, 172, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 10px 24px rgba(0, 0, 0, 0.3),
    0 20px 44px rgba(0, 0, 0, 0.34);
}

[data-theme='dark'] .share-way--hallow {
  background: rgba(22, 36, 34, 0.92);
  border-color: rgba(58, 184, 172, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 22px 48px rgba(0, 0, 0, 0.38);
}

@media (hover: hover) and (pointer: fine) {
  [data-theme='dark'] .share-way:hover,
  [data-theme='dark'] .share-way--hallow:hover {
    border-color: rgba(58, 184, 172, 0.55);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.1) inset,
      0 14px 32px rgba(0, 0, 0, 0.4),
      0 32px 64px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(58, 184, 172, 0.18);
  }

  [data-theme='dark'] .share-way--hallow:hover .share-way__orb {
    box-shadow:
      0 0 0 5px rgba(58, 184, 172, 0.18),
      0 18px 40px rgba(0, 0, 0, 0.5);
  }

  [data-theme='dark'] .share-way--hallow:hover .share-way__cta {
    box-shadow: 0 12px 28px rgba(58, 184, 172, 0.32);
  }
}

.share-way h2 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
  color: var(--ink, var(--text));
}

.share-way--hallow h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}

.share-way p {
  margin: 0;
  flex: 1;
  color: var(--muted, var(--text-2));
  line-height: 1.55;
  font-size: 0.98rem;
}

.share-way--hallow p {
  max-width: 17rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.share-way__orb {
  width: min(100%, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow:
    0 0 0 4px rgba(45, 106, 90, 0.08),
    0 10px 24px rgba(17, 24, 28, 0.1);
  transition: transform 0.35s var(--ease, ease), box-shadow 0.35s var(--ease, ease);
}

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

[data-theme='dark'] .share-way__orb {
  box-shadow:
    0 0 0 4px rgba(58, 184, 172, 0.14),
    0 16px 40px rgba(0, 0, 0, 0.4);
}

.share-way__cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 9.5rem;
  padding: 0.75rem 1.75rem;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: #15201c;
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(17, 24, 28, 0.12);
  transition: transform 0.25s var(--ease, ease), background 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease);
}

@media (hover: hover) and (pointer: fine) {
  .share-way__cta:hover {
    transform: translateY(-2px);
    background: #1f2e29;
    box-shadow: 0 12px 28px rgba(17, 24, 28, 0.22);
    color: #fff;
  }
}

.share-way__cta:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary, #2a9a8e) 55%, transparent);
  outline-offset: 3px;
}

[data-theme='dark'] .share-way__cta {
  background: #3ab8ac;
  color: #0e1716;
  box-shadow: 0 8px 20px rgba(58, 184, 172, 0.22);
}

[data-theme='dark'] .share-way__cta:hover {
  background: #5ecec4;
  color: #0e1716;
  box-shadow: 0 14px 32px rgba(58, 184, 172, 0.36);
}

@media (max-width: 767px) {
  .share-hero__verse--float {
    margin: 1.5rem auto 0;
    width: min(100%, 20rem);
  }

  .share-ways__grid--hallow {
    gap: 0.9rem;
  }

  .share-way--hallow {
    padding: 1.25rem 1.1rem 1.2rem;
  }

  .share-way__orb {
    width: min(100%, 118px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .share-way,
  .share-way__orb,
  .share-way__cta {
    transition: none;
  }

  .share-way:hover,
  .share-way--hallow:hover,
  .share-way__cta:hover {
    transform: none;
  }
}

.share-browse {
  padding: 2.5rem 0 3.5rem;
}

.share-browse--quotes {
  background:
    radial-gradient(ellipse 55% 40% at 15% 10%, rgba(42, 154, 142, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 80%, rgba(154, 115, 68, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(45, 106, 90, 0.05), transparent 50%);
  padding-top: 3.25rem;
  padding-bottom: 4rem;
}

[data-theme='dark'] .share-browse--quotes {
  background:
    radial-gradient(ellipse 55% 40% at 15% 10%, rgba(58, 184, 172, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 90% 80%, rgba(154, 115, 68, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(58, 184, 172, 0.06), transparent 50%);
}

.share-section-head {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.share-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.share-section-head h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--ink, var(--text));
}

.share-section-head p:last-child {
  margin: 0;
  color: var(--muted, var(--text-2));
  line-height: 1.55;
}

.share-topic-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.share-topic-bar--center {
  justify-content: center;
}

.share-topic-chip {
  appearance: none;
  border: 1px solid rgba(45, 106, 90, 0.22);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink, var(--text));
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

[data-theme='dark'] .share-topic-chip {
  background: var(--elevated);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.share-topic-chip:hover {
  border-color: rgba(45, 106, 90, 0.45);
}

[data-theme='dark'] .share-topic-chip:hover {
  border-color: rgba(58, 184, 172, 0.45);
  background: rgba(58, 184, 172, 0.12);
}

.share-topic-chip.is-active {
  background: #1f3d34;
  border-color: #1f3d34;
  color: #fff;
}

[data-theme='dark'] .share-topic-chip.is-active {
  background: #3ab8ac;
  border-color: #3ab8ac;
  color: #0e1716;
}

.share-empty {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  background: rgba(45, 106, 90, 0.08);
  color: var(--muted, var(--text-2));
  font-size: 0.95rem;
}

[data-theme='dark'] .share-empty {
  background: rgba(58, 184, 172, 0.12);
  color: var(--text-2);
}

.share-podcast-grid {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

.share-podcast-grid--cascade {
  gap: 1.35rem 1.15rem;
  padding-bottom: 1rem;
}

@media (min-width: 720px) {
  .share-podcast-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-podcast-grid--cascade > :nth-child(even) {
    margin-top: 1.75rem;
  }
}

@media (min-width: 1040px) {
  .share-podcast-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .share-podcast-grid--cascade > :nth-child(even) {
    margin-top: 0;
  }

  .share-podcast-grid--cascade > :nth-child(3n + 2) {
    margin-top: 2.5rem;
  }

  .share-podcast-grid--cascade > :nth-child(3n + 3) {
    margin-top: 1.15rem;
  }
}

.share-podcast-card[hidden],
.share-quote-card[hidden],
.share-empty[hidden] {
  display: none !important;
}

.share-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.share-load-more {
  min-width: min(100%, 220px);
  min-height: 46px;
}

.share-load-more[hidden] {
  display: none !important;
}

.share-podcast-card {
  background: var(--surface);
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(30, 40, 30, 0.08);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease), transform 0.25s var(--ease, ease);
}

@media (hover: hover) and (pointer: fine) {
  .share-podcast-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(45, 106, 90, 0.22);
  }
}

[data-theme='dark'] .share-podcast-card {
  background: var(--elevated);
  border-color: rgba(58, 184, 172, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.share-podcast-card__media {
  aspect-ratio: 16 / 10;
  background: #e8ebe6;
  overflow: hidden;
}

[data-theme='dark'] .share-podcast-card__media {
  background: #1a2423;
}

.share-podcast-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.share-podcast-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  background: var(--surface);
}

[data-theme='dark'] .share-podcast-card__body {
  background: var(--elevated);
}

.share-podcast-card__title,
.share-podcast-card__body h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink, var(--text));
}

.share-podcast-card__topic {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-dark, #247569);
  letter-spacing: 0.01em;
  line-height: 1.4;
}

[data-theme='dark'] .share-podcast-card__topic {
  color: var(--primary-light, #7ad9cf);
}

.share-podcast-card__body > p:not(.share-podcast-card__topic) {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, var(--text-2));
  line-height: 1.45;
  flex: 1;
}

.share-chip {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(45, 106, 90, 0.12);
  color: #2d6a5a;
}

[data-theme='dark'] .share-chip {
  background: rgba(58, 184, 172, 0.18);
  color: #7ad9cf;
}

.share-podcast-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

[data-theme='dark'] .share-podcast-card__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

[data-theme='dark'] .share-podcast-card__actions .btn--ghost:hover {
  border-color: rgba(58, 184, 172, 0.45);
  background: rgba(58, 184, 172, 0.12);
}

.share-quote-rail {
  display: grid;
  gap: 1rem;
}

.share-quote-rail--cascade {
  gap: 1.35rem 1.15rem;
  align-items: start;
  padding-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .share-quote-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-quote-rail--cascade > :nth-child(even) {
    margin-top: 2rem;
  }
}

@media (min-width: 1040px) {
  .share-quote-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .share-quote-rail--cascade > :nth-child(even) {
    margin-top: 0;
  }

  .share-quote-rail--cascade > :nth-child(3n + 2) {
    margin-top: 2.75rem;
  }

  .share-quote-rail--cascade > :nth-child(3n + 3) {
    margin-top: 1.25rem;
  }
}

.share-quote-card {
  --quote-accent: #2f8f82;
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(45, 106, 90, 0.12);
  border-radius: 1.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.25s var(--ease, ease),
    box-shadow 0.25s var(--ease, ease),
    transform 0.3s var(--ease, ease);
}

.share-quote-card--tone-0 { --quote-accent: #2f8f82; }
.share-quote-card--tone-1 { --quote-accent: #3d6b8e; }
.share-quote-card--tone-2 { --quote-accent: #9a7344; }
.share-quote-card--tone-3 { --quote-accent: #8f5f63; }

@media (hover: hover) and (pointer: fine) {
  .share-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: color-mix(in srgb, var(--quote-accent) 40%, transparent);
  }

  .share-quote-card:hover .share-quote-card__media img {
    transform: scale(1.04);
  }
}

[data-theme='dark'] .share-quote-card {
  background: var(--elevated);
  border-color: rgba(58, 184, 172, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.share-quote-card__media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #e6ece9;
}

[data-theme='dark'] .share-quote-card__media {
  background: #1a2423;
}

.share-quote-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease, ease);
}

.share-quote-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    color-mix(in srgb, var(--quote-accent) 35%, rgba(17, 24, 28, 0.55)) 100%
  );
  pointer-events: none;
}

.share-quote-card__mark {
  position: absolute;
  left: 1rem;
  bottom: 0.35rem;
  z-index: 1;
  margin: 0;
  font-family: var(--font);
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.share-quote-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-top: 3px solid var(--quote-accent);
  flex: 1;
}

.share-quote-card blockquote,
.share-quote-card__quote {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.55;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  flex: 1;
  color: var(--ink, var(--text));
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.share-quote-card__line {
  display: block;
  text-wrap: pretty;
}

.share-quote-card__q {
  font-weight: 500;
  opacity: 0.88;
}

.share-quote-card__line + .share-quote-card__line {
  padding-left: 0.15em;
  color: color-mix(in srgb, var(--ink, var(--text)) 92%, var(--muted, var(--text-2)) 8%);
}

.share-quote-card__from {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted, var(--text-2));
  line-height: 1.45;
}

.share-quote-card__from-label {
  display: inline-block;
  margin-right: 0.25rem;
  opacity: 0.8;
  font-weight: 500;
}

.share-quote-card__from-title {
  font-weight: 700;
  color: var(--quote-accent, var(--primary, #2f8f82));
  letter-spacing: 0.01em;
}

[data-theme='dark'] .share-quote-card__from-title {
  color: color-mix(in srgb, var(--quote-accent, #3ab8ac) 88%, #fff 12%);
}

.share-quote-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.share-quote-card__actions .btn--primary {
  background: linear-gradient(
    145deg,
    var(--quote-accent),
    color-mix(in srgb, var(--quote-accent) 70%, #1a2e28)
  );
  box-shadow: 0 8px 20px color-mix(in srgb, var(--quote-accent) 28%, transparent);
}

[data-theme='dark'] .share-quote-card__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

@media (max-width: 719px) {
  .share-quote-rail--cascade > :nth-child(even),
  .share-quote-rail--cascade > :nth-child(3n + 2),
  .share-quote-rail--cascade > :nth-child(3n + 3) {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .share-quote-card,
  .share-quote-card__media img {
    transition: none;
  }
}

.share-split {
  padding: 3rem 0;
}

.share-split__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 880px) {
  .share-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .share-split__inner--rev .share-split__art {
    order: -1;
  }
}

.share-split__copy h2 {
  font-family: var(--font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--ink, var(--text));
}

.share-split__copy > p:not(.share-eyebrow) {
  color: var(--muted, var(--text-2));
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.share-split__art {
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(30, 40, 30, 0.1);
}

[data-theme='dark'] .share-split__art {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(58, 184, 172, 0.16);
}

.share-split__art img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.share-split__art figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted, var(--text-2));
  background: rgba(255, 255, 255, 0.7);
}

[data-theme='dark'] .share-split__art figcaption {
  background: var(--elevated);
  color: var(--text-2);
}

.share-stack-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.share-cta {
  padding: 3rem 0 4rem;
}

.share-cta__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(31, 61, 52, 0.94), rgba(45, 106, 90, 0.9));
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  color: #f5f7f4;
}

[data-theme='dark'] .share-cta__inner {
  background: linear-gradient(135deg, #1a3d36 0%, #246b5f 55%, #2f8f82 100%);
  border: 1px solid rgba(58, 184, 172, 0.28);
}

@media (min-width: 800px) {
  .share-cta__inner {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.5rem 2.5rem 2.5rem 2.75rem;
  }
}

.share-cta__copy h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: #fff;
}

.share-cta__copy p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  line-height: 1.6;
}

.share-cta__copy .btn--primary {
  background: #fff;
  color: #1f3d34;
}

.share-cta__phone {
  justify-self: center;
  max-width: 220px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.share-cta__phone-frame {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: #1a2e28;
  aspect-ratio: 9 / 16;
}

.share-cta__phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.share-cta__phone-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.15rem 0.9rem 1.1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 28, 24, 0.55) 28%, rgba(10, 22, 18, 0.88) 100%);
  color: #f5f7f4;
  text-align: center;
}

.share-cta__phone-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.share-cta__phone-title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.share-cta__phone-quote {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  opacity: 0.82;
}

body.share-sheet-open {
  overflow: hidden;
}

.share-sheet[hidden] {
  display: none !important;
}

.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.share-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 18, 16, 0.45);
  cursor: pointer;
}

.share-sheet__panel {
  position: relative;
  width: min(100%, 420px);
  max-height: min(88vh, 560px);
  overflow: auto;
  background: #f7f5f0;
  border-radius: 1.25rem 1.25rem 0 0;
  padding: 0.75rem 1.15rem 1.35rem;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.18);
  animation: shareSheetIn 0.28s ease;
}

[data-theme='dark'] .share-sheet__panel {
  background: var(--elevated);
  color: var(--text);
  border: 1px solid rgba(58, 184, 172, 0.22);
}

@keyframes shareSheetIn {
  from {
    transform: translateY(24px);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 560px) {
  .share-sheet {
    align-items: center;
  }

  .share-sheet__panel {
    border-radius: 1.25rem;
    margin: 1rem;
  }
}

.share-sheet__handle {
  width: 2.5rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0.15rem auto 0.85rem;
}

[data-theme='dark'] .share-sheet__handle {
  background: rgba(255, 255, 255, 0.22);
}

.share-sheet__panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  text-align: center;
  color: var(--ink, var(--text));
}

.share-sheet__preview {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted, var(--text-2));
  line-height: 1.45;
  max-height: 3.2em;
  overflow: hidden;
}

.share-sheet__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 0.5rem;
  margin-bottom: 1rem;
}

.share-sheet__action {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: inherit;
  padding: 0.25rem;
}

.share-sheet__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.share-sheet__close {
  width: 100%;
}

.share-toast {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 920;
  width: fit-content;
  max-width: min(22rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.85rem 1.15rem;
  border-radius: 1rem;
  background: #1f3d34;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  box-shadow:
    0 12px 32px rgba(8, 20, 18, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.share-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Keep toast readable above the share sheet + hide page floats while sheet is open */
body.share-sheet-open .share-toast {
  bottom: auto;
  top: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem));
  transform: translateY(-8px);
}

body.share-sheet-open .share-toast.show {
  transform: translateY(0);
}

body.share-sheet-open .page-floats {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

[data-theme='dark'] .share-toast {
  background: #16352e;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.share-page .btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

[data-theme='dark'] .share-page .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

[data-theme='dark'] .share-page .btn--ghost:hover {
  border-color: rgba(58, 184, 172, 0.45);
  background: rgba(58, 184, 172, 0.12);
}

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

.share-wizard {
  max-width: 720px;
  margin: 0 auto 2.75rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 92%, var(--primary-soft) 8%);
  box-shadow: 0 12px 40px rgba(28, 54, 48, 0.06);
}

.share-wizard__progress {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.share-wizard__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--border) 70%, transparent);
  transition: width 0.25s ease, background 0.25s ease;
}

.share-wizard__dot.is-active {
  width: 22px;
  background: var(--primary);
}

.share-wizard__title {
  margin: 0 0 0.45rem;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
  color: var(--text);
}

.share-wizard__desc {
  margin: 0 auto 1.25rem;
  max-width: 38ch;
  text-align: center;
  color: var(--text-2);
  line-height: 1.5;
}

.share-wizard__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.share-wizard__chip,
.share-wizard__kind {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.share-wizard__chip:hover,
.share-wizard__kind:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  transform: translateY(-1px);
}

.share-wizard__chip.is-active,
.share-wizard__kind.is-active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary-soft) 70%, var(--surface));
  color: var(--primary-dark);
  font-weight: 600;
}

.share-wizard__kinds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.share-wizard__kind {
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.7rem;
  text-align: center;
}

.share-wizard__kind img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.share-wizard__back,
.share-wizard__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 1rem;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.share-wizard__search {
  display: block;
  margin: 0 0 1rem;
}

.share-wizard__search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
}

.share-wizard__results {
  display: grid;
  gap: 0.75rem;
}

.share-wizard__card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.share-wizard__card img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.share-wizard__card-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.share-wizard__card-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.4;
}

.share-wizard__card .btn {
  white-space: nowrap;
}

.share-wizard__empty {
  margin: 0.5rem 0 0;
  text-align: center;
  color: var(--text-2);
}

.share-wizard__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
}

.share-wizard__browse {
  margin: 1.1rem 0 0;
  text-align: center;
}

.share-wizard__browse .share-wizard__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border));
  background: color-mix(in srgb, var(--primary-soft) 55%, var(--surface));
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.share-wizard__browse .share-wizard__more:hover {
  border-color: var(--primary);
}

.share-ways__alt {
  text-align: center;
  color: var(--text-2);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .share-wizard__kinds {
    grid-template-columns: 1fr;
  }

  .share-wizard__card {
    grid-template-columns: 64px 1fr;
  }

  .share-wizard__card .btn {
    grid-column: 1 / -1;
  }
}

[data-theme='dark'] .share-wizard {
  background: color-mix(in srgb, var(--surface) 88%, #1a4a44 12%);
  box-shadow: none;
}
