/* Elkhorn Growth — polish pass (runads-style-v2), from FABLE-POLISH-NOTES.md plus Gustavo's fixes.
   Loaded last; overrides only. */

/* ---------- Type scale: 13 / 15 / 17 / 20 / 24 (mono labels keep their own sizes) ---------- */
:root { --fs-13: 13px; --fs-15: 15px; --fs-17: 17px; --fs-20: 20px; --fs-24: 24px; }
body { font-size: var(--fs-17); }
.nav a, .nav-toggle, .pill, .btn { font-size: var(--fs-15); }
.pill.lg, .btn.lg { font-size: var(--fs-17); }
.fine, .card p, .t-step p, .plan .tag, .plan li, .plan .fit, .compare, .footer a, .footer p,
.fee-row .amt, .cta-call, .faq-contact p { font-size: var(--fs-15); }
.legal, .compare thead th, .footer h3, .field label, .scope-note { font-size: var(--fs-13); }
.section-head p:not(.eyebrow), .faq .ans, .split ul, .plans-pricing { font-size: var(--fs-17); }
.faq summary { font-size: var(--fs-20); }
.plan h3 { font-size: var(--fs-24); }

/* ---------- Nav lines up with the 1180 px content column ---------- */
.bar { padding-inline: max(22px, calc((100% - var(--max)) / 2)); }

/* ---------- Grain: under the content, dark sections only, 3%. None on cream. ---------- */
body::after { content: none; display: none; }
main > [data-theme]:not([data-theme="cream"]):not([data-theme="dawn"]), .footer { isolation: isolate; }
main > [data-theme]:not([data-theme="cream"]):not([data-theme="dawn"])::after,
.footer::after,
.field-host::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../media/grain-dark.png") repeat; background-size: 128px 128px;
}
.field-host::after { z-index: 1; }

/* ---------- Hover only on things that act: no lift or spotlight on plain cards ---------- */
.card:hover, .t-step:hover,
[data-theme] .card:hover, [data-theme="cream"] .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card::before, .t-step::before { content: none !important; }

/* ================= HERO ================= */
@media (min-width: 961px) { .hero { min-height: calc(100svh - 176px); } }

/* Buttons: one box model, one row, even gap; stacked full-width on narrow screens */
.pill.ember { border: 1px solid transparent; }
.hero .ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.hero .ctas .pill { height: 52px; margin: 0; }
/* Small print: four sentences as nowrap spans, wrapping into tidy rows */
.hero .trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px;
  max-width: 470px; margin: 30px auto 0; font-size: var(--fs-15); line-height: 1.5;
}
.hero .trust span { white-space: nowrap; }

/* Logo mark: right side, partly off-canvas, larger, kept out of every text box by a mask on .mark-stage
   (hero coordinates). Visible only (a) right of the headline, or (b) below the headline and right of the sub/buttons. */
.mark-stage { position: absolute; inset: 0; pointer-events: none; }
.mark-hero .mark-fill { opacity: .16; }
.mark-hero .mark-line path { stroke-opacity: .24; }
@media (min-width: 761px) {
  .mark-hero { left: auto; right: -11vw; top: auto; bottom: -7%; height: 110%; width: auto; max-width: none; transform: none; }
  .hero .mark-stage {
    -webkit-mask-image:
      linear-gradient(90deg, transparent calc(50% + 33.5vw), #000 calc(50% + 38.5vw)),
      linear-gradient(180deg, transparent calc(50% + 10.5vw - 104px), #000 calc(50% + 10.5vw - 56px)),
      linear-gradient(90deg, transparent calc(50% + 280px), #000 calc(50% + 350px));
    -webkit-mask-composite: source-over, source-in;
            mask-image:
      linear-gradient(90deg, transparent calc(50% + 33.5vw), #000 calc(50% + 38.5vw)),
      linear-gradient(180deg, transparent calc(50% + 10.5vw - 104px), #000 calc(50% + 10.5vw - 56px)),
      linear-gradient(90deg, transparent calc(50% + 280px), #000 calc(50% + 350px));
            mask-composite: add, intersect;
  }
}
@media (max-width: 760px) {
  /* Phones: the mark rises from below the small print, right side, partly off-canvas; never behind text */
  .hero { min-height: 0; padding: 44px 16px 124px; }
  .mark-hero { left: auto; right: -15vw; top: calc(100% - 114px); bottom: auto; width: 76vw; height: auto; max-width: none; transform: none; }
  .hero .mark-stage {
    -webkit-mask-image: linear-gradient(180deg, transparent calc(100% - 120px), #000 calc(100% - 96px));
            mask-image: linear-gradient(180deg, transparent calc(100% - 120px), #000 calc(100% - 96px));
  }
}
@media (max-width: 640px) {
  .hero .ctas { flex-direction: column; flex-wrap: nowrap; }
  .hero .ctas .pill { width: min(100%, 340px); }
  .hero .trust { max-width: 358px; gap: 2px 14px; font-size: var(--fs-13); margin-top: 26px; }
}

/* Bottom glow: teal (Lagoon/Seaglass) skirt to a coral core, no gold, long soft fall-off (CSS still; the shader matches) */
.field-base {
  background:
    radial-gradient(ellipse 40% 34% at 50% 100%, rgba(255, 138, 107, .42), transparent 72%),
    radial-gradient(ellipse 90% 46% at 50% 106%, rgba(31, 165, 140, .40), transparent 74%),
    radial-gradient(ellipse 30% 26% at 82% 100%, rgba(111, 220, 196, .14), transparent 70%),
    radial-gradient(ellipse 34% 30% at 6% 34%, rgba(15, 92, 74, .50), transparent 70%),
    radial-gradient(ellipse 30% 30% at 96% 46%, rgba(15, 92, 74, .40), transparent 70%),
    radial-gradient(ellipse 130% 80% at 50% 100%, #0A382F 0%, #061A16 46%, #040C0A 74%);
}
.cta-band .field-base {
  background:
    radial-gradient(ellipse 44% 38% at 50% 100%, rgba(255, 138, 107, .50), transparent 72%),
    radial-gradient(ellipse 92% 50% at 50% 108%, rgba(31, 165, 140, .38), transparent 74%),
    radial-gradient(ellipse 30% 40% at 4% 40%, rgba(15, 92, 74, .45), transparent 70%),
    radial-gradient(ellipse 30% 40% at 98% 50%, rgba(15, 92, 74, .35), transparent 70%),
    radial-gradient(ellipse 130% 90% at 50% 100%, #0A382F 0%, #061A16 46%, #040C0A 76%);
}
.horizon path { stroke: rgba(111, 220, 196, .26); }
.horizon-glow { background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(111, 220, 196, 0) 88%, rgba(111, 220, 196, .10) 98%, rgba(111, 220, 196, 0) 100%); }

/* ================= CLOSE BAND ================= */
.mark-close .mark-fill { opacity: .16; }
.mark-close .mark-line path { stroke-opacity: .26; }
@media (min-width: 761px) {
  .mark-close { left: auto; right: -9%; top: auto; bottom: -12%; height: 112%; width: auto; max-width: none; transform: none; }
  .cta-band .mark-stage {
    -webkit-mask-image:
      linear-gradient(90deg, transparent calc(50% + 23vw), #000 calc(50% + 28vw)),
      linear-gradient(180deg, transparent calc(50% + 6.5vw - 52px), #000 calc(50% + 6.5vw - 8px)),
      linear-gradient(90deg, transparent calc(50% + 170px), #000 calc(50% + 240px));
    -webkit-mask-composite: source-over, source-in;
            mask-image:
      linear-gradient(90deg, transparent calc(50% + 23vw), #000 calc(50% + 28vw)),
      linear-gradient(180deg, transparent calc(50% + 6.5vw - 52px), #000 calc(50% + 6.5vw - 8px)),
      linear-gradient(90deg, transparent calc(50% + 170px), #000 calc(50% + 240px));
            mask-composite: add, intersect;
  }
}
@media (max-width: 760px) {
  .cta-band { padding-bottom: 132px; }
  .mark-close { left: auto; right: -14vw; top: calc(100% - 122px); bottom: auto; width: 72vw; height: auto; max-width: none; transform: none; }
  .cta-band .mark-stage {
    -webkit-mask-image: linear-gradient(180deg, transparent calc(100% - 128px), #000 calc(100% - 104px));
            mask-image: linear-gradient(180deg, transparent calc(100% - 128px), #000 calc(100% - 104px));
  }
}
.cta-band .pill { margin-top: 30px; }
.cta-call { margin: 18px 0 0; color: rgba(249, 244, 234, .9); }
.cta-call a { color: #E8C57A; }

/* ================= SECTIONS ================= */
/* Pillars: static 2×2 grid with the line art showing (no pin, no sticky stack) */
#pillars .pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin-inline: auto; }
#pillars .pillars .card {
  position: relative; top: auto; margin: 0; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) 150px; column-gap: 24px; align-items: center;
  padding: 30px; background: var(--kelp-card); border: 1px solid rgba(249, 244, 234, .14); box-shadow: none;
}
#pillars .card .num { grid-column: 1; color: #E8C57A; margin-bottom: 12px; }
#pillars .card h3 { grid-column: 1; }
#pillars .card p { grid-column: 1; }
#pillars .pillar-art { display: block; grid-column: 2; grid-row: 1 / span 3; width: 100%; height: auto; }
#pillars .pillar-art .s { stroke: #6FDCC4; }
@media (max-width: 960px) {
  #pillars { padding-bottom: 56px; }
  #pillars .pillars { grid-template-columns: 1fr; }
  #pillars .pillars .card { grid-template-columns: minmax(0, 1fr) 92px; padding: 24px 22px; }
}

/* Diagram fills its box (Reporting scorecard) */
.dg { max-width: none; }

/* Plans: one pricing line, cards lead with what is included, rows aligned by subgrid */
.plans-pricing { margin: -20px auto 30px; text-align: center; font-weight: 600; color: var(--fg); }
.plans { row-gap: 14px; }
.plan { padding-bottom: 0; }
.plan ul { margin: 6px 0 24px; }
.plan-foot {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  margin: 0 -26px; padding: 20px 26px 26px;
  border-top: 1px solid var(--line);
  background: rgba(10, 56, 47, .045);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.plan-foot { justify-content: flex-start; }
.plan-foot .fit { margin: 0; }
.plan-body ul { margin: 6px 0 20px; }
.scope-note { margin: 0 0 22px; color: var(--dim); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 961px) {
    .plans { grid-template-rows: auto auto 1fr auto; }
    .plan { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  }
}
/* Comparison table: check / en dash glyphs (words kept for screen readers), centred; a disclosure on phones */
.compare-details { margin-top: 48px; }
.compare-details > summary {
  list-style: none; cursor: pointer; text-align: center;
  padding: 14px 18px; min-height: 48px; border-radius: 14px;
  border: 1px solid var(--line-2); font-weight: 600; color: var(--fg);
}
.compare-details > summary::-webkit-details-marker { display: none; }
.compare-details > summary::after { content: "+"; margin-left: 10px; color: var(--gold-soft); }
.compare-details[open] > summary::after { content: "–"; }
.compare-details .compare-shell { margin-top: 16px; }
@media (min-width: 961px) { .compare-details[open] > summary { display: none; } .compare-details .compare-shell { margin-top: 0; } }
.compare td.yes::before { content: none; display: none; }
.compare td.yes, .compare td.no, .compare tbody td, .compare thead th:not(:first-child) { text-align: center; }
.ck {
  display: inline-block; width: 16px; height: 16px; vertical-align: -3px; background: #0B6B5A;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dash { color: #4F655C; }

/* Reporting: labelled line diagram instead of empty tiles; left column stays in view */
.dg-score { margin: 0; max-width: none; color: #6FDCC4; }
.dg-score svg { min-height: 90px; }
@media (min-width: 961px) { .report-lead { position: sticky; top: calc(var(--header-h) + 32px); } }

/* Advertising standards: paragraphs start on the same line */
@supports (grid-template-rows: subgrid) {
  #compliance .split { grid-template-rows: auto auto; }
  #compliance .split .card { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 10px; }
  #compliance .split .card h3 { margin: 0; }
}

/* FAQ: contact block under the sticky heading (existing words) */
.faq-contact { margin-top: 28px; display: grid; gap: 16px; justify-items: start; }
.faq-contact p { margin: 0; color: var(--mut); }

/* Book card spacing; form helper lines read as sentences; selects get a caret */
.book-cta-card h2 { margin-bottom: 16px; }
.book-cta-card .fine.dim { margin-top: 14px; }
.form-note { grid-column: 1 / -1; margin: 0; }
.form select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F9F4EA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}

/* Footer: link columns two-up on phones */
@media (max-width: 960px) {
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
}

/* ================= PLATFORMS: official logos (files unaltered; supplied clear space kept) ================= */
.platform-logos { display: none; }
.platforms.has-logos .platform-list { display: none; }
.platforms.has-logos .platform-logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 0;
}
.platforms.has-logos .platform-logo { display: flex; align-items: center; justify-content: center; padding: 0 22px; min-height: 58px; }
.platforms.has-logos .platform-logo + .platform-logo { border-left: 1px solid rgba(249, 244, 234, .16); }
.platform-logo img { display: block; width: auto; max-width: none; }
.pl-google img { height: 58px; }     /* letters about 22 px tall inside the file's own clear space */
.pl-meta img { height: 60px; }       /* mark about 20 px tall inside the file's own clear space (optically matches the Google wordmark) */
.pl-icon { flex-direction: column; gap: 6px; }
.pl-icon img { height: 28px; }
.pl-icon span { font: 500 12px/1.2 var(--font-ui); letter-spacing: .01em; color: rgba(249, 244, 234, .86); white-space: nowrap; }
.platforms.has-logos { padding: 14px 0; }
@media (max-width: 640px) {
  .platforms.has-logos .platform-logos { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 6px 0; }
  .platforms.has-logos .platform-logo { padding: 4px 10px; }
  .platforms.has-logos .platform-logo + .platform-logo { border-left: 0; }
  .platforms.has-logos .platform-logo:nth-child(even) { border-left: 1px solid rgba(249, 244, 234, .16); }
  .pl-google img { height: 52px; }
  .pl-meta img { height: 54px; }
}

/* ================= MOBILE BOOKING BAR ================= */
.m-book { display: none; }
@media (max-width: 760px) {
  .m-book {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(4, 12, 10, .94); border-top: 1px solid var(--line);
    transition: transform .35s cubic-bezier(.2,.7,.1,1), opacity .35s, visibility 0s;
  }
  .m-book .pill { width: 100%; height: 48px; }
  .m-book.is-hidden { transform: translateY(110%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .35s cubic-bezier(.2,.7,.1,1), opacity .35s, visibility 0s .35s; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
