/* Relaunch 25.11.2026: socials, Free and Pro, prices. The timeline lives in story.css.
   Linked after relaunch.css. Selectors start with .marketing-page and the section so they outrank
   the older rules in evolution.css, premium.css and showcase.css without !important. */

/* ---------- Socials: three round logo buttons ---------- */
.marketing-page .community-section .community-heading {
  display: block; max-width: 640px; margin-inline: auto; text-align: center;
}
.marketing-page .community-section .community-heading > p { max-width: 460px; margin: 24px auto 0; }

.marketing-page .community-section .social-orbs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0 clamp(56px, 8vw, 72px);
  margin: clamp(48px, 6vw, 72px) 0 0; padding: 0;
  list-style: none;
}
/* Room under each circle for the name, so showing it never moves the page. */
.marketing-page .community-section .social-orbs > li { padding-bottom: 50px; }

.social-instagram { --brand: #E1306C; --brand-text: color-mix(in srgb, #E1306C 70%, #ffffff); --logo-on-fill: brightness(0) invert(1); }
.social-tiktok { --brand: #25F4EE; --brand-text: #25F4EE; --logo-on-fill: brightness(0) invert(.06); }
.social-discord { --brand: #5865F2; --brand-text: color-mix(in srgb, #5865F2 62%, #ffffff); --logo-on-fill: brightness(0) invert(1); }

.marketing-page .social-orb {
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border: 1px solid #ffffff1f; border-radius: 50%;
  color: var(--text); text-decoration: none;
  transition: border-color .3s var(--ease-out);
}
/* The colour rises from the bottom of the circle. Clipped by clip-path, so the name below is never cut off. */
.marketing-page .social-orb .social-fill {
  position: absolute; inset: -1px; z-index: -1;
  border-radius: 50%;
  background: var(--brand);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .3s var(--ease-out);
}
.marketing-page .social-orb img {
  display: block; width: 30px; height: 30px; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .3s var(--ease-out);
}
.marketing-page .social-orb .social-name {
  position: absolute; top: calc(100% + 12px); left: 50%;
  display: grid; justify-items: center; gap: 2px;
  transform: translateX(-50%);
  white-space: nowrap; text-align: center;
}
.marketing-page .social-orb .social-name strong { color: var(--brand-text); font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.marketing-page .social-orb .social-name span { color: #a4a9b9; font-size: 12px; line-height: 1.3; }

.marketing-page .social-orb:is(:hover, :focus-visible) { border-color: var(--brand); }
.marketing-page .social-orb:is(:hover, :focus-visible) .social-fill { clip-path: inset(0 0 0 0); }
.marketing-page .social-orb:is(:hover, :focus-visible) img { filter: var(--logo-on-fill); }
.marketing-page .social-orb:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; }

/* With a mouse the name appears on hover, like a tooltip. Touch screens always show it. */
@media (hover: hover) and (pointer: fine) {
  .marketing-page .social-orb .social-name {
    opacity: 0; transform: translate(-50%, -4px); pointer-events: none;
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  }
  .marketing-page .social-orb:is(:hover, :focus-visible) .social-name { opacity: 1; transform: translate(-50%, 0); }
}

.marketing-page .community-section .business-contact {
  flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding-top: clamp(32px, 4vw, 48px); text-align: center;
}

/* ---------- Free and Pro: one calm figure ---------- */
.marketing-page main > .section.growth-section { display: block; }
.marketing-page .growth-section .growth-copy { max-width: 680px; margin: 0 auto; text-align: center; }
.marketing-page .growth-section .growth-copy h2 { margin: 0; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; }
.marketing-page .growth-section .growth-copy > p {
  max-width: 520px; margin: 24px auto 0;
  color: #a9adba; font-size: 17px; line-height: 1.47;
}
.marketing-page .growth-section .growth-figure {
  max-width: 760px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  view-timeline: --growth block;
}
.marketing-page .growth-section .growth-plot { display: block; width: 100%; height: auto; overflow: visible; }
.growth-baseline { fill: none; stroke: #ffffff1f; stroke-width: 1; }
.growth-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.growth-line-pro { stroke: var(--neon); }
.growth-line-free { stroke: #ffffff; }
.growth-label { font-family: var(--font-apple); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.growth-label-pro { fill: var(--neon); }
.growth-label-free { fill: #ffffff; }
.marketing-page .growth-section .growth-figure figcaption {
  max-width: 560px; margin: 20px auto 0; padding: 0; border: 0;
  color: #a9adba; font-size: 14px; line-height: 1.5; text-align: center;
}
.marketing-page .growth-section .peak-method {
  max-width: 560px; margin: 24px auto 0;
  color: #a9adba; font-size: 14px; line-height: 1.6;
}
.marketing-page .growth-section .peak-method summary {
  display: block; width: fit-content; min-height: 44px; margin-inline: auto; padding-block: 12px;
  color: #d4d6de; cursor: pointer;
}
.marketing-page .growth-section .peak-method p { max-width: none; margin: 4px 0 0; }

@media (max-width: 600px) {
  .growth-label { font-size: 30px; }
}

/* The two lines draw themselves as the figure scrolls into view, and the end labels follow. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .marketing-page .growth-section .growth-line {
      stroke-dasharray: 1;
      animation: growth-draw linear both;
      animation-timeline: --growth;
      animation-range: entry 20% cover 50%;
    }
    .marketing-page .growth-section .growth-label {
      animation: growth-label linear both;
      animation-timeline: --growth;
      animation-range: entry 20% cover 50%;
    }
  }
  @keyframes growth-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes growth-label { 0%, 75% { opacity: 0; } 100% { opacity: 1; } }
}

/* ---------- Prices: three equal cards ---------- */
.marketing-page .plans-section .pricing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  max-width: 1000px; margin-inline: auto; border: 0;
}
.marketing-page .plans-section .pricing-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid #ffffff1f; border-radius: 20px;
  background: transparent; box-shadow: none;
}
.marketing-page .plans-section .pricing-card-pro { border-color: var(--neon); }
.marketing-page .plans-section .pricing-card h3 {
  order: 0; margin: 0; color: var(--text);
  font-size: 21px; line-height: 1.2;
}
.marketing-page .plans-section .pricing-description {
  order: 1; max-width: none; margin: 8px 0 0;
  color: #a9adba; font-size: 15px; line-height: 1.47;
}
.marketing-page .plans-section .pricing-amount {
  order: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
  margin-top: auto; padding-top: 32px; text-align: left;
}
.marketing-page .plans-section .pricing-card .pricing-value {
  margin: 0; color: var(--text);
  font-size: clamp(40px, 4vw, 48px); font-weight: 600; line-height: 1; letter-spacing: -.04em;
}
.marketing-page .plans-section .pricing-unit { margin: 0; color: #a9adba; font-size: 14px; }
.marketing-page .plans-section .pricing-free {
  order: 3; margin: 12px 0 0; padding: 0;
  border: 0; border-radius: 0; background: none;
  color: #add9c0; font-size: 13px; line-height: 1.5;
}
@media (max-width: 760px) {
  .marketing-page .plans-section .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page .social-orb,
  .marketing-page .social-orb :is(.social-fill, img, .social-name) { transition: none; }
}
@media (forced-colors: active) {
  .marketing-page .social-orb { border-color: CanvasText; }
  .marketing-page .plans-section .pricing-card { border-color: CanvasText; }
  .growth-line-pro, .growth-line-free { stroke: CanvasText; }
  .growth-label-pro, .growth-label-free { fill: CanvasText; }
}
