/* =========================================================
   Copy[OS] — design refinements layered on top of the
   original Framer styles. Breakpoints match Framer's:
   desktop >= 1440px · tablet 810–1439px · mobile <= 809px
   ========================================================= */

:root {
  --cos-accent: #6214d9;          /* brand purple (icons, buttons) */
  --cos-accent-text: #a77bff;     /* lighter purple for small text on dark */
  --cos-text: #d9d9d9;
  --cos-text-muted: #a3a3a3;
}

/* ---------- Typography: balanced, readable headings ---------- */
h1.framer-text,
h2.framer-text,
h6.framer-text {
  text-wrap: balance;
}

/* Hero H1 + section H2s: a touch more line-height (1.0 made descenders touch) */
.framer-text.framer-styles-preset-19egxl8 { --framer-line-height: 1.04em !important; }
h2.framer-text { --framer-line-height: 1.08em !important; }

/* Space between a section title and its subtitle */
[data-framer-component-type="RichTextContainer"]:has(> h2) + [data-framer-component-type="RichTextContainer"] {
  margin-top: 6px;
}

/* Body copy: slightly more open leading for long-form reading */
p.framer-text.framer-styles-preset-lkm83r { --framer-line-height: 1.6em !important; }

/* Card titles (Authors, Frameworks, Ads...): tighter leading, and allow wrapping
   (white-space:pre was cutting "Marketers & Media Buyers" on phones) */
.framer-text.framer-styles-preset-vrd9ae { --framer-line-height: 1.15em !important; }
[data-framer-component-type="RichTextContainer"]:has(> h6.framer-styles-preset-vrd9ae) {
  white-space: normal !important;
  flex-shrink: 1 !important;
  min-width: 0;
}

/* Layer items: title / description contrast so each item scans as a pair */
[data-framer-component-type="RichTextContainer"]:has(> p.framer-styles-preset-1xnsyj1) + [data-framer-component-type="RichTextContainer"] p.framer-text {
  --framer-text-color: var(--cos-text-muted) !important;
}

/* "LAYER I" eyebrows: sans, tracked, readable purple (old one failed contrast) */
.cos-eyebrow {
  --framer-font-family: "Satoshi", "Satoshi Placeholder", sans-serif !important;
  --framer-font-size: 13px !important;
  --framer-font-weight: 700 !important;
  --framer-letter-spacing: 0.14em !important;
  --framer-line-height: 1.4em !important;
  margin-bottom: 4px !important;
}
.cos-eyebrow > span[data-text-fill] {
  background-image: linear-gradient(100deg, #c4a8ff 0%, var(--cos-accent-text) 100%) !important;
}

/* Pull quote inside "The real issue" */
p.framer-text.cos-pullquote {
  --framer-font-family: "LT Remark", "LT Remark Placeholder", serif !important;
  --framer-font-size: 26px !important;
  --framer-line-height: 1.25em !important;
  --framer-letter-spacing: -0.01em !important;
  --framer-text-color: #fff !important;
  padding: 4px 0;
}

/* Testimonials: proper opening quote mark */
.framer-text.cos-quote {
  --framer-font-family: "LT Remark", "LT Remark Placeholder", serif !important;
  --framer-font-size: 64px !important;
  --framer-line-height: 0.9em !important;
  --framer-text-color: var(--cos-accent-text) !important;
  height: 30px;
  overflow: visible;
}
/* Role under the name was 50% white (borderline contrast) */
section[aria-roledescription="carousel"] p.framer-text[style*="0.5)"] { opacity: 1; }
section[aria-roledescription="carousel"] [data-framer-name="Author"] [data-framer-component-type="RichTextContainer"]:last-child p.framer-text {
  --framer-text-color: rgba(217, 217, 217, 0.62) !important;
}

/* ---------- Hero ---------- */
.framer-197qxae { width: 124px !important; margin-bottom: 10px; }

/* ---------- Testimonial carousel: arrows below the cards, never over text ---------- */
section[aria-roledescription="carousel"] { overflow: visible !important; }
.framer-12bgon2-container { margin-bottom: 56px; }
.framer--carousel-controls {
  top: auto !important;
  bottom: -56px !important;
  height: 40px;
  padding: 0 !important;
  justify-content: flex-end !important;
  gap: 8px;
}
.framer--carousel-controls button {
  background-color: #1a1a1a !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.framer--carousel-controls button:hover { background-color: #242424 !important; }

/* ---------- Offer card ---------- */
.cos-price-note {
  width: 100%;
  margin: -10px 0 6px;
  font-family: "Satoshi", "Satoshi Placeholder", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: var(--cos-text-muted);
}

/* ---------- Architecture screenshot: tap to open full size ---------- */
.cos-zoom {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  cursor: zoom-in;
}
.cos-zoom span {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  color: #fff;
  font: 500 12px/1 "Satoshi", sans-serif;
  letter-spacing: 0.02em;
}

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
.framer-SPjKs:focus-visible {
  outline: 2px solid var(--cos-accent-text);
  outline-offset: 3px;
}

/* =========================================================
   Desktop (>= 1440px)
   ========================================================= */
@media (min-width: 1440px) {
  /* Long-form cards: keep lines around 70 characters */
  [data-framer-name="S2"] [data-framer-component-type="RichTextContainer"],
  .framer-fbgz8m { max-width: 660px; }
}

/* =========================================================
   Mobile (<= 809px)
   ========================================================= */
@media (max-width: 809.98px) {
  /* One consistent scale for section titles (was 38/40/42px) */
  h2.framer-text { --framer-font-size: 36px !important; }
  .framer-text.framer-styles-preset-19egxl8 { --framer-font-size: 44px !important; }
  .framer-text.framer-styles-preset-vrd9ae { --framer-font-size: 26px !important; }
  p.framer-text.cos-pullquote { --framer-font-size: 22px !important; }

  .framer-197qxae { width: 104px !important; }

  /* Hero: terminal screenshot behind the headline, a bit smaller so it is not
     cut on the left, and only lightly dimmed so the text behind stays readable */
  /* 120vw wide; shifted left by the border width (36px of 853 in the image) so the
     vertical border bars sit just off-screen and the text starts at the edge */
  .framer-1bcfu3n { left: -5.06vw !important; right: auto !important; width: 120vw !important; opacity: 0.6; }
  .framer-1bcfu3n img {
    object-position: left top !important;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }

  /* Carousel: show a peek of the next card so it reads as swipeable */
  section[aria-roledescription="carousel"] li { width: 86% !important; }
  section[aria-roledescription="carousel"] li > div { width: 100% !important; }

  .cos-zoom span { display: inline-block; }

  /* Offer card: full content width and no fixed height (last item was cut off) */
  .framer-1mscfqk { height: auto !important; max-width: 100% !important; }
}
