/* ---------- Google Ads interface mockups ---------- */
  .gmock { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
           box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 20px 44px rgba(16,16,20,.09); }
  .gmock__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f6f7f8; border-bottom: 1px solid var(--line); }
  .gmock__dots { display: flex; gap: 5px; }
  .gmock__dots i { width: 8px; height: 8px; border-radius: 50%; background: #d8d9de; }
  .gmock__url { flex: 1; height: 24px; border-radius: 99px; background: #fff; border: 1px solid var(--line);
                display: flex; align-items: center; padding: 0 10px; font-size: 11px; color: var(--muted); }
  .gmock__body { padding: 16px; }
  .gsearch { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 99px;
             padding: 10px 16px; box-shadow: 0 1px 4px rgba(16,16,20,.06); }
  .gsearch svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; flex: none; }
  .gsearch span { font-size: 14px; color: var(--ink); }
  .gcaret { display: inline-block; width: 1.5px; height: 15px; background: var(--ink); vertical-align: -2px; animation: gblink 1s steps(1) infinite; }
  @keyframes gblink { 50% { opacity: 0; } }
  .gres { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; }
  .gres--ad { border-color: var(--accent); background: var(--accent-soft); }
  .gres__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--accent-ink); }
  .gres__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
  .gres__site { font-size: 12px; color: var(--muted); margin-top: 3px; }
  .gres__title { font-size: 15px; line-height: 21px; font-weight: 600; color: #1a0dab; margin-top: 2px; }
  .gres--ad .gres__title { color: var(--accent-ink); }
  .gres__desc { font-size: 12.5px; line-height: 19px; color: var(--muted); margin-top: 3px; }
  .gres__ext { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
  .gres__ext span { font-size: 11.5px; color: var(--accent-ink); border-bottom: 1px solid rgba(184,38,78,.3); }
  .gmock__note { padding: 10px 16px 14px; font-size: 11.5px; line-height: 17px; color: var(--muted); border-top: 1px solid var(--line-soft, #eee); }

  .chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
  .chip-s { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--panel); color: var(--text); }

  /* search terms report, crimson section */
  .terms { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 56px rgba(80,10,30,.22); }
  .terms__head { display: grid; grid-template-columns: minmax(0,1fr) 72px 78px; gap: 10px; padding: 12px 16px;
                 background: #f6f7f8; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700;
                 letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .terms__row { display: grid; grid-template-columns: minmax(0,1fr) 72px 78px; gap: 10px; padding: 11px 16px;
                border-bottom: 1px solid var(--line-soft, #f0f0f3); font-size: 13.5px; color: var(--ink); align-items: center;
                transition: opacity .35s var(--ease), background .35s var(--ease); }
  .terms__row span:nth-child(2), .terms__row span:nth-child(3) { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
  .terms__row.is-waste { background: #fff6f8; }
  .terms__row.is-waste .term { text-decoration: line-through; color: #9a9da2; }
  .terms__row.is-cut { opacity: .32; }
  .terms__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; }
  .terms__foot b { font-size: 20px; font-variant-numeric: tabular-nums; }
  .terms__foot span { font-size: 13px; color: var(--muted); }
  .terms__foot .down { color: var(--good, #1f8a5b); }

  /* interactive auction */
  .auction__live { margin-top: 18px; }
  .auction__live .rng__top { font-size: 14px; }
  /* 44px hit area for the slider without changing how it looks (touch rule). */
  .auction__live input[type=range] { height: 44px; background: transparent; }
  .auction__live input[type=range]::-webkit-slider-runnable-track {
    height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent) var(--p, 50%), #e7e7ea var(--p, 50%)); }
  .auction__live input[type=range]::-webkit-slider-thumb { margin-top: -9px; }
  .auction__live input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #e7e7ea; }
  .auction__live input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }

  .auction__meter { height: 8px; border-radius: 4px; background: #ececed; overflow: hidden; margin-top: 10px; }
  .auction__meter i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: width .35s var(--ease); }
  .auction__pos { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
  .auction__pos b { color: var(--ink); font-size: 15px; }

  /* message match */
  .match { display: grid; gap: 10px; }
  .match__row { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 12px; align-items: center;
                background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
  .match__k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .match__v { font-size: 14px; line-height: 20px; }
  .match__v mark { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; padding: 1px 3px; border-radius: 4px; }
  .match__link { display: block; width: 2px; height: 14px; margin-left: 36px; background: var(--line); }
  .match.is-off .match__v mark { background: transparent; color: inherit; font-weight: 400; padding: 0; }
  .match.is-off .match__row:nth-child(n+3) { border-color: #e7a9ba; }
  .seg-ctl { display: inline-flex; gap: 6px; background: #f2f2f5; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
  .seg-ctl button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
                    font: 600 14px var(--font); color: var(--muted); transition: background .25s var(--ease), color .25s var(--ease); }
  .seg-ctl button:hover { color: var(--ink); }
  .seg-ctl button[aria-pressed="true"] { background: #fff; color: var(--accent-ink); box-shadow: 0 1px 3px rgba(16,16,20,.14); }
  .seg-ctl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* the enquiry block in section 11 */
  .audit__form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,460px); gap: clamp(28px,4vw,56px); align-items: start; position: relative; z-index: 1; }
  .audit__form .form-card { color: var(--ink); overflow: hidden; }
  /* The form card is narrower here than on the homepage, so its grid must be
     allowed to shrink and the chip row must wrap instead of forcing a wide track. */
  .audit__form .tform { grid-template-columns: minmax(0, 1fr); }
  .audit__form .tform > * { min-width: 0; max-width: 100%; }
  .audit__form .audits { flex-wrap: wrap; }
  .audit__form .audits li, .audit__form .audits > * { white-space: normal; }
  .audit__form .success { max-width: 100%; }
  @media (max-width: 1000px) { .audit__form { grid-template-columns: minmax(0,1fr); } }

  @media (prefers-reduced-motion: reduce) {
    .gcaret { animation: none; }
    .terms__row, .auction__meter i { transition: none; }
  }

  /* ---------- service page ---------- */
  .svc-hero { padding-block: 72px 0; }
  .svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
  .svc-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
  .svc-hero .text-lg { margin-top: 24px; max-width: 58ch; }
  .svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
  .svc-hero__card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 18px 40px rgba(16,16,20,.07); }
  .svc-hero__card h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .svc-hero__card ul { display: grid; gap: 11px; margin-top: 16px; }
  @media (max-width: 960px) { .svc-hero__grid { grid-template-columns: minmax(0, 1fr); } }

  .cause-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
  .cause { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 24px; backdrop-filter: blur(2px); }
  .cause b { display: block; font-size: 18px; line-height: 25px; color: #fff; }
  .cause p { margin-top: 8px; font-size: 15px; line-height: 23px; color: rgba(255,255,255,.82); }
  @media (max-width: 760px) { .cause-grid { grid-template-columns: minmax(0, 1fr); } }

  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
  @media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
  .split__col h3 { font-size: 20px; line-height: 27px; }
  .split__col .check-list { margin-top: 18px; }

  .auction { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 18px 40px rgba(16,16,20,.07); }
  .auction__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
  .auction__box { border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
  .auction__box small { display: block; font-size: 12px; color: var(--muted); }
  .auction__box b { display: block; font-size: 17px; margin-top: 3px; }
  .auction__x { font-size: 18px; font-weight: 700; color: var(--muted); }
  .auction__out { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .auction__out span { font-size: 14px; color: var(--muted); }
  .auction__out b { font-size: 17px; color: var(--accent-ink); }
  .auction__note { margin-top: 10px; font-size: 13px; line-height: 20px; color: var(--muted); }

  .types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
  .type { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 10px; align-content: start;
          transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
  .type:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 18px 40px rgba(16,16,20,.08); border-color: #d8d8de; }
  .type__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
  .type__ic svg { width: 21px; height: 21px; stroke: var(--accent-ink); fill: none; stroke-width: 1.8; }
  .type h3 { font-size: 19px; line-height: 26px; }
  .type p { font-size: 15px; line-height: 23px; color: var(--muted); }
  @media (max-width: 760px) { .types { grid-template-columns: minmax(0, 1fr); } }

  .rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .rule { border-top: 2px solid var(--accent); padding-top: 18px; }
  .rule b { display: block; font-size: 17px; line-height: 24px; }
  .rule p { margin-top: 7px; font-size: 15px; line-height: 23px; color: var(--muted); }
  @media (max-width: 760px) { .rules { grid-template-columns: minmax(0, 1fr); } }

  .lift { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 20px; border-radius: 14px; background: var(--panel); flex-wrap: wrap; }
  .lift b { font-size: 22px; font-variant-numeric: tabular-nums; }
  .lift span { font-size: 14px; color: var(--muted); }
  .lift i { font-style: normal; color: var(--accent); font-size: 18px; }

  .track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
  .track__item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
  .track__item h3 { font-size: 18px; line-height: 25px; }
  .track__item p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--muted); }
  @media (max-width: 760px) { .track { grid-template-columns: minmax(0, 1fr); } }

  .who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
  .who__card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
  .who__card b { display: block; font-size: 18px; }
  .who__card p { margin-top: 8px; font-size: 15px; line-height: 23px; color: var(--muted); }
  @media (max-width: 860px) { .who { grid-template-columns: minmax(0, 1fr); } }

  .proc { margin-top: 44px; display: grid; gap: 0; }
  .proc__row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
  .proc__row:last-child { border-bottom: 1px solid var(--line); }
  .proc__n { font-family: var(--mono, monospace); font-size: 13px; color: var(--accent-ink); }
  .proc__b b { font-size: 18px; line-height: 25px; }
  .proc__b p { margin-top: 6px; font-size: 15px; line-height: 23px; color: var(--muted); max-width: 70ch; }
  .proc__when { font-size: 13px; color: var(--muted); white-space: nowrap; }
  @media (max-width: 680px) { .proc__row { grid-template-columns: 40px minmax(0, 1fr); } .proc__when { grid-column: 2; } }

  .audit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; position: relative; z-index: 1; }
  .audit__list { display: grid; gap: 12px; margin-top: 24px; }
  .audit__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.92); }
  .audit__list i { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
  .audit__list i::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
  .audit__card { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 30px 70px rgba(80,10,30,.22); }
  .audit__card h3 { font-size: 22px; line-height: 29px; }
  .audit__card p { margin-top: 10px; font-size: 15px; line-height: 23px; color: var(--muted); }
  .audit__card .btn { width: 100%; margin-top: 18px; }
  .audit__card small { display: block; margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--muted); }
  @media (max-width: 900px) { .audit__grid { grid-template-columns: minmax(0, 1fr); } }

  /* ============ Google Ads service page ============ */
  .svc-page { --g-line: #e4e5e9; --g-soft: #f7f8f9; --g-blue: #1a73e8; --g-green: #1f8a5b; --g-amber: #9a6b00; }

  /* ---- shared interface shell ---- */
  .gui { background: #fff; border: 1px solid var(--g-line); border-radius: 16px; overflow: hidden;
         box-shadow: 0 1px 2px rgba(16,16,20,.04), 0 18px 44px rgba(16,16,20,.08); }
  .gui__chrome { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--g-soft); border-bottom: 1px solid var(--g-line); }
  .gui__dots { display: flex; gap: 5px; } .gui__dots i { width: 8px; height: 8px; border-radius: 50%; background: #d9dade; }
  .gui__crumb { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
  .gui__crumb b { color: var(--text); font-weight: 600; }
  .gui__body { padding: 18px; }
  .gui__title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .gui__title h3 { font-size: 16px; line-height: 22px; }
  .gui__sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

  .pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; line-height: 18px;
          padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
  .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .pill--on { color: var(--g-green); background: #e8f5ef; }
  .pill--learn { color: var(--g-amber); background: #fdf3e0; }
  .pill--limited { color: var(--accent-ink); background: var(--accent-soft); }
  .pill--paused { color: #6b6b6b; background: #f0f0f2; }

  /* ---- metric row ---- */
  .gmet { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--g-line);
          border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; margin-top: 16px; }
  .gmet__c { background: #fff; padding: 13px 14px; }
  .gmet__c small { display: block; font-size: 11px; letter-spacing: .03em; color: var(--muted); text-transform: uppercase; }
  .gmet__c b { display: block; font-size: 19px; line-height: 26px; margin-top: 3px; font-variant-numeric: tabular-nums; }
  .gmet__c span { font-size: 11.5px; font-variant-numeric: tabular-nums; }
  .up { color: var(--g-green); } .down { color: var(--accent-ink); }
  @media (max-width: 760px) { .gmet { grid-template-columns: repeat(2, minmax(0,1fr)); } }

  /* ---- chart ---- */
  .gchart { margin-top: 16px; border: 1px solid var(--g-line); border-radius: 12px; padding: 14px; }
  .gchart__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .gchart__top small { font-size: 11.5px; color: var(--muted); }
  .gchart svg { display: block; width: 100%; height: 118px; margin-top: 8px; overflow: visible; }
  .gchart .ln { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .gchart .ln--b { stroke: #c9cbd1; stroke-width: 1.6; stroke-dasharray: 4 4; }
  .gchart .ar { fill: url(#gfill); opacity: .9; }
  .gchart .gx { stroke: var(--g-line); stroke-width: 1; }
  .gchart__legend { display: flex; gap: 16px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
  .gchart__legend i { display: inline-block; width: 14px; height: 2px; vertical-align: 3px; margin-right: 6px; background: var(--accent); }
  .gchart__legend .b i { background: #c9cbd1; }
  html.anim .gchart .ln { stroke-dasharray: 640; stroke-dashoffset: 640; }
  html.anim .gchart.is-in .ln { animation: gdraw 1.1s var(--ease) forwards; }
  html.anim .gchart .ar { opacity: 0; }
  html.anim .gchart.is-in .ar { animation: gfade .7s var(--ease) .5s forwards; }
  @keyframes gdraw { to { stroke-dashoffset: 0; } }
  @keyframes gfade { to { opacity: .9; } }

  /* ---- tables ---- */
  .gscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px; border: 1px solid var(--g-line); border-radius: 12px; }
  .gscroll::-webkit-scrollbar { height: 8px; } .gscroll::-webkit-scrollbar-thumb { background: #dcdde1; border-radius: 4px; }
  .gtable { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 13px; }
  .gtable th { text-align: left; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
               font-weight: 700; padding: 11px 14px; background: var(--g-soft); border-bottom: 1px solid var(--g-line); white-space: nowrap; }
  .gtable td { padding: 11px 14px; border-bottom: 1px solid #f1f1f4; vertical-align: middle; white-space: nowrap; }
  .gtable tbody tr { transition: background .2s var(--ease); }
  .gtable tbody tr:hover { background: var(--g-soft); }
  .gtable tbody tr:last-child td { border-bottom: 0; }
  .gtable .num { text-align: right; font-variant-numeric: tabular-nums; }
  .gtable .term { font-weight: 500; white-space: normal; min-width: 180px; }
  .gtable .mt { font-size: 11px; color: var(--muted); }
  .gtable tr.is-neg .term { color: #9a9da2; }
  .gtable caption { text-align: left; padding: 11px 14px; font-size: 11.5px; color: var(--muted); background: #fff; border-bottom: 1px solid var(--g-line); }

  /* ---- tab interface ---- */
  .gtabs__bar { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--g-line); background: var(--g-soft); }
  .gtabs__bar::-webkit-scrollbar { height: 0; }
  .gtabs__bar button { flex: none; min-height: 46px; padding: 0 18px; border: 0; background: transparent; cursor: pointer;
    font: 600 13.5px var(--font); color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap;
    transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
  .gtabs__bar button:hover { color: var(--ink); background: #fff; }
  .gtabs__bar button[aria-selected="true"] { color: var(--accent-ink); border-bottom-color: var(--accent); background: #fff; }
  .gtabs__bar button:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
  .gtabs__panel { padding: 18px; }
  .gtabs__panel[hidden] { display: none !important; }
  .gtabs__panel.is-enter { animation: gpanel .4s var(--ease); }
  @keyframes gpanel { from { opacity: 0; transform: translateY(8px); } }
  .gtabs__lead { font-size: 15px; line-height: 23px; color: var(--muted); max-width: 62ch; }

  /* ---- intent chain ---- */
  .chain { display: grid; gap: 10px; margin-top: 28px; }
  .chain__step { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 14px; align-items: center;
                 background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: 14px 16px;
                 transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
  .chain__step:hover { border-color: #d6d7dd; box-shadow: 0 2px 6px rgba(16,16,20,.05); }
  .chain__n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink);
              display: grid; place-items: center; font-size: 12px; font-weight: 700; }
  .chain__b b { display: block; font-size: 15px; line-height: 21px; }
  .chain__b span { display: block; font-size: 13px; line-height: 19px; color: var(--muted); margin-top: 2px; }
  .chain__m { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .chain__step--stop { border-style: dashed; border-color: #e7a9ba; background: #fffafb; }
  .chain__step--stop .chain__n { background: #f3f3f5; color: var(--muted); }
  .chain__cut { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--accent-ink); margin: 2px 0 2px 48px; }
  .chain__cut::before, .chain__cut::after { content: ""; height: 1px; background: #e7a9ba; flex: 1; }
  @media (max-width: 600px) { .chain__step { grid-template-columns: 34px minmax(0,1fr); } .chain__m { grid-column: 2; } }

  /* ---- signals ---- */
  .sig { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .sig span { font-size: 12.5px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--g-line); color: var(--text); }
  .flowbox { display: grid; gap: 10px; margin-top: 18px; }
  .flowbox__row { background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: 14px 16px; }
  .flowbox__row small { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
  .flowbox__row b { display: block; font-size: 15px; margin-top: 4px; }
  .flowbox__row p { font-size: 13px; line-height: 19px; color: var(--muted); margin-top: 3px; }
  .flowbox__arrow { justify-self: center; width: 1px; height: 14px; background: var(--g-line); }
  .flowbox__row--human { border-color: var(--accent); background: var(--accent-soft); }

  /* ---- campaign type cards ---- */
  .ctypes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
  .ctype { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
           transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
  .ctype:hover { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 20px 44px rgba(16,16,20,.09); border-color: #d8d8de; }
  .ctype__top { padding: 22px 22px 16px; }
  .ctype__k { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
  .ctype h3 { font-size: 19px; line-height: 25px; margin-top: 8px; }
  .ctype p { font-size: 14px; line-height: 21px; color: var(--muted); margin-top: 8px; }
  .ctype__use { font-size: 12.5px; line-height: 19px; color: var(--text); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
  .ctype__use b { color: var(--ink); }
  .ctype__viz { margin-top: auto; background: var(--g-soft); border-top: 1px solid var(--line); padding: 14px 22px;
                display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .ctype__viz small { font-size: 11px; color: var(--muted); }
  .ctype__viz b { font-size: 15px; font-variant-numeric: tabular-nums; }
  .spark { width: 72px; height: 24px; }
  .spark path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
  @media (max-width: 1000px) { .ctypes { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  @media (max-width: 680px) { .ctypes { grid-template-columns: minmax(0,1fr); } }

  /* ---- account types ---- */
  .acct { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
  .acct__c { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
  .acct__c h3 { font-size: 19px; line-height: 25px; }
  .acct__dl { margin-top: 16px; display: grid; gap: 12px; }
  .acct__dl div { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 12px; font-size: 13.5px; line-height: 20px; }
  .acct__dl dt { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 2px; }
  .acct__dl dd { margin: 0; color: var(--text); }
  @media (max-width: 900px) { .acct { grid-template-columns: minmax(0,1fr); } }

  /* ---- lifecycle ---- */
  .life { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0; }
  .life__s { position: relative; padding: 0 16px 0 0; }
  .life__rail { height: 2px; background: var(--line); position: relative; margin-bottom: 20px; }
  .life__rail i { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 11px; height: 11px;
                  border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: border-color .3s var(--ease), background .3s var(--ease); }
  .life__s.is-on .life__rail i { border-color: var(--accent); background: var(--accent); }
  .life__s.is-on .life__rail { background: linear-gradient(90deg, var(--accent), var(--line)); }
  .life__n { font-family: var(--mono, monospace); font-size: 12px; color: var(--accent-ink); }
  .life__s b { display: block; font-size: 17px; line-height: 23px; margin-top: 6px; }
  .life__s p { font-size: 13.5px; line-height: 20px; color: var(--muted); margin-top: 7px; }
  .life__out { display: block; font-size: 12px; line-height: 18px; color: var(--text); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .life__out b { display: inline; font-size: 12px; }
  @media (max-width: 1100px) { .life { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 32px; } }
  @media (max-width: 640px) { .life { grid-template-columns: repeat(2, minmax(0,1fr)); } }

  /* ---- snapshot in the final CTA ---- */
  .snap { background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 26px 60px rgba(80,10,30,.24); }
  .snap__h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .snap__h b { font-size: 14px; } .snap__h small { font-size: 11.5px; color: var(--muted); }
  .snap__g { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--g-line);
             border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; margin-top: 14px; }
  .snap__g div { background: #fff; padding: 12px 14px; }
  .snap__g small { display: block; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .snap__g b { display: block; font-size: 18px; margin-top: 2px; font-variant-numeric: tabular-nums; }
  .snap__note { font-size: 11.5px; line-height: 17px; color: var(--muted); margin-top: 12px; }

  /* ---- photography ---- */
  .shot { margin: 22px 0 0; border-radius: 16px; overflow: hidden; background: var(--panel);
          box-shadow: 0 1px 2px rgba(16,16,20,.05), 0 18px 44px rgba(16,16,20,.10); }
  .shot img { display: block; width: 100%; height: auto; }
  .crimson .shot { box-shadow: 0 26px 60px rgba(80,10,30,.26); }
  /* inside an account card the photo sits flush to the card edge */
  .acct__fig { margin: -26px -26px 20px; border-radius: 17px 17px 0 0; box-shadow: none; }
  .crimson .acct__fig { box-shadow: none; }
  /* the card drops to 20px of padding on small screens; the photo has to follow */
  @media (max-width: 760px) { .acct__fig { margin: -20px -20px 18px; } }

  /* ---- the floating chat button and the sticky CTA bar ---- */
  /* Joinchat parks bottom-right at 60x60 with bottom:6px, which sat directly
     over the CTA bar's second button on phones. The bar precedes .joinchat in
     the body, so a sibling selector lifts it only while the bar is showing. */
  @media (max-width: 760px) {
    .joinchat { transition: bottom .28s ease; }
    .cta-bar.is-up ~ .joinchat { bottom: 84px; }
  }
  @media (prefers-reduced-motion: reduce) { .joinchat { transition: none; } }

  /* ---- misc ---- */
  .lede { font-size: 17px; line-height: 27px; color: var(--muted); max-width: 64ch; margin-top: 18px; }
  .two-col { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(28px,4vw,64px); align-items: start; }
  @media (max-width: 960px) { .two-col { grid-template-columns: minmax(0,1fr); } }
  .crimson .gui, .crimson .gscroll { box-shadow: 0 26px 60px rgba(80,10,30,.26); }
  .crimson .gscroll { background: #fff; border-color: transparent; }

  @media (prefers-reduced-motion: reduce) {
    html.anim .gchart .ln { stroke-dashoffset: 0 !important; animation: none !important; }
    html.anim .gchart .ar { opacity: .9 !important; animation: none !important; }
    .gtabs__panel.is-enter { animation: none; }
  }


  /* round 3 additions */
  .svc-hero__grid { align-items: center; }
  .gchart__legend .b { display: inline-flex; align-items: center; }
  .match { margin-top: 0; }
  .ctype .reveal, .acct .reveal { will-change: auto; }
  .audit__form .snap__g b { font-size: 17px; }
  .life__s:last-child { padding-right: 0; }
  .gtable tbody tr.is-waste { background: #fff6f8; }
  .gtable tbody tr.is-waste .term { text-decoration: line-through; color: #9a9da2; }
  .gtable tbody tr.is-cut { opacity: .45; }
  .gtable tbody tr.is-cut .term { text-decoration: line-through; color: #9a9da2; }
  .gtable tbody tr.is-grew .num { color: var(--g-green); font-weight: 600; }
  .gtable tfoot td { padding: 12px 14px; border-top: 1px solid var(--g-line); background: var(--g-soft); white-space: nowrap; }
  .gtable tfoot b { font-variant-numeric: tabular-nums; }
  .terms__foot .good { color: var(--g-green); }
  .gtable tbody tr.is-cut .pill--limited { color: #6b6b6b; background: #f0f0f2; }
  .gtable tbody tr { transition: opacity .35s var(--ease), background .35s var(--ease); }
  #terms .num { color: var(--muted); }
  .apx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  /* Interface panels sit on the crimson band, so their text has to stop
     inheriting white from the section. */
  .crimson .gtable td, .crimson .gtable .term { color: var(--ink); }
  .crimson .gtable .num, .crimson .gtable .mt, .crimson .gtable caption { color: var(--muted); }
  .crimson .gtable tr.is-waste .term { color: #9a9da2; }
  .crimson .gscroll { border-radius: 12px 12px 0 0; }
  .crimson .terms__foot { color: var(--ink); border-radius: 0 0 12px 12px; }
  .crimson .terms__foot span { color: var(--muted); }
  /* A table or tab bar that scrolls sideways says so: the shadow appears only on
     the edge there is more content past, and disappears when you reach the end. */
  .gscroll, .gtabs__bar {
    background-image:
      linear-gradient(90deg, #fff 32%, rgba(255,255,255,0)),
      linear-gradient(90deg, rgba(255,255,255,0), #fff 68%),
      radial-gradient(farthest-side at 0 50%, rgba(16,16,20,.16), rgba(16,16,20,0)),
      radial-gradient(farthest-side at 100% 50%, rgba(16,16,20,.16), rgba(16,16,20,0));
    background-position: left center, right center, left center, right center;
    background-repeat: no-repeat;
    background-size: 36px 100%, 36px 100%, 13px 100%, 13px 100%;
    background-attachment: local, local, scroll, scroll;
  }
  .gtabs__bar {
    background-image:
      linear-gradient(90deg, var(--g-soft) 32%, rgba(247,248,249,0)),
      linear-gradient(90deg, rgba(247,248,249,0), var(--g-soft) 68%),
      radial-gradient(farthest-side at 0 50%, rgba(16,16,20,.14), rgba(16,16,20,0)),
      radial-gradient(farthest-side at 100% 50%, rgba(16,16,20,.14), rgba(16,16,20,0));
  }
  /* The source copy is longer than the first pass carried, so the panels and
     cards get room rather than being cropped to fit. */
  .gtabs__panel h3 { line-height: 25px; }
  .gtabs__panel .gtabs__lead { max-width: 74ch; }
  .acct__c .text-body { font-size: 14.5px; line-height: 22px; }
  .acct__dl { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
  .cause b { display: block; margin-bottom: 4px; }
  .flowbox__row .sig { margin-top: 12px; }
  .ctype__top p { font-size: 13.5px; line-height: 20.5px; }
  .ctype h3 { font-size: 18px; line-height: 24px; }
  .match + .seg-ctl { margin-bottom: 0; }

  /* ---- section 03: results page + a full width auction ---- */
  /* An explicit end frame: a panel must never be left sitting on frame 0 if the
     animation does not run. The class is also cleared in JS once it has played. */
  @keyframes gpanel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .gtabs__panel.is-enter { animation: gpanel .4s var(--ease) both; }

  /* four metrics in a ~310px card clipped their labels; two rows of two fits. */
  .svc-hero .gmet { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gmet__c small { font-size: 10.5px; letter-spacing: .02em; }
  .svc-hero { padding-block: clamp(76px,9vw,132px) clamp(68px,7.5vw,112px) !important; }
  .svc-hero__grid { gap: clamp(32px,5vw,72px); }
  .svc-hero .chips-row { margin-top: 26px; }

  .serp { margin: 0; background: #fff; border: 1px solid var(--g-line); border-radius: 16px; overflow: hidden;
          box-shadow: 0 1px 2px rgba(16,16,20,.04), 0 18px 44px rgba(16,16,20,.08); }
  .serp__bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--g-soft); border-bottom: 1px solid var(--g-line); }
  .serp__dots { display: flex; gap: 5px; } .serp__dots i { width: 8px; height: 8px; border-radius: 50%; background: #d9dade; }
  .serp__url { font-size: 11.5px; color: var(--muted); }
  .serp__body { padding: 22px; }
  .serp__q { display: flex; align-items: center; gap: 12px; border: 1px solid var(--g-line); border-radius: 99px;
             padding: 13px 20px; box-shadow: 0 1px 4px rgba(16,16,20,.07); font-size: 14.5px; color: var(--ink); }
  .serp__q svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 2; flex: none; }
  .serp__r { margin-top: 22px; }
  .serp__r--ad { padding: 16px 18px; border: 1px solid var(--accent); border-radius: 14px; background: var(--accent-soft); }
  .serp__tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--accent-ink); }
  .serp__tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
  .serp__site { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
  .serp__t { font-size: 16px; line-height: 23px; font-weight: 600; color: #1a0dab; margin-top: 3px; }
  .serp__r--ad .serp__t { color: var(--accent-ink); }
  .serp__d { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 5px; }
  .serp__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 11px; }
  .serp__links span { font-size: 12px; color: var(--accent-ink); border-bottom: 1px solid rgba(184,38,78,.32); }
  .serp__note { padding: 12px 22px 16px; font-size: 11.5px; color: var(--muted); border-top: 1px solid #f0f0f3; }





  /* ---- hero dashboard, trimmed so it stops running past the copy ---- */
  .svc-hero .gui__body { padding: 14px; }
  .svc-hero .gui__title h3 { font-size: 15px; line-height: 21px; }
  .svc-hero .gui__sub { font-size: 11.5px; }
  .svc-hero .gmet { margin-top: 12px; }
  .svc-hero .gmet__c { padding: 10px 12px; }
  .svc-hero .gmet__c b { font-size: 17px; line-height: 23px; }
  .svc-hero .gmet__c small { font-size: 10px; }
  .svc-hero .gmet__c span { font-size: 11px; }
  .svc-hero .gchart { margin-top: 12px; padding: 11px 12px; }
  .svc-hero .gchart svg { height: 78px; margin-top: 6px; }
  .svc-hero .gchart__legend { margin-top: 6px; font-size: 11px; }
  .svc-hero .gscroll { margin-top: 12px; }
  .svc-hero .gtable th { padding: 9px 12px; }
  .svc-hero .gtable td { padding: 9px 12px; font-size: 12.5px; }
  .svc-hero .gmock__note { padding: 9px 14px 11px; }

  /* ---- section 07: a timeline, read top to bottom ---- */
  .tl { position: relative; list-style: none; margin: 0; padding: 4px 0 4px 30px; }
  .tl::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 2px;
                border-radius: 1px; background: var(--line); }
  .tl__i { position: relative; padding: 11px 0 11px 2px; display: grid; gap: 2px; }
  .tl__d { position: absolute; left: -30px; top: 17px; width: 14px; height: 14px; border-radius: 50%;
           background: #fff; border: 2px solid var(--line); box-sizing: border-box; }
  .tl__i b { font-size: 15px; line-height: 21px; }
  .tl__m { font-size: 13px; line-height: 19px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .tl__i--stop b { color: var(--accent-ink); }
  .tl__i--stop .tl__d { border-color: var(--accent); border-style: dashed; }
  .tl__i--end .tl__d { background: var(--accent); border-color: var(--accent); }
  .tl__i--end b { color: var(--accent-ink); }
  .tl__i--end .tl__m { color: var(--ink); font-weight: 600; }
  .tl__cut { display: flex; align-items: center; gap: 10px; margin: 4px 0 4px -30px; padding-left: 30px; }
  .tl__cut span { font-size: 11.5px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }
  .tl__cut::after { content: ""; height: 1px; flex: 1; background: #e7a9ba; }
  @media (prefers-reduced-motion: no-preference) {
    .tl__d { transition: background .3s var(--ease), border-color .3s var(--ease); }
  }

  /* ---- mobile ---- */
  @media (max-width: 760px) {
    .gpanel { padding: 14px; }
    .gpanel__h { margin-bottom: 12px; }
    .tl { padding-left: 26px; }
    .tl__d { left: -26px; }
    .tl__cut { margin-left: -26px; padding-left: 26px; }
    .tl__cut span { white-space: normal; }
    .acct__c { padding: 20px; }
    .serp__body { padding: 16px; }
    .serp__q { padding: 11px 14px; font-size: 13.5px; }
    .serp__note { padding: 10px 16px 13px; }
    .svc-hero .gmet { grid-template-columns: repeat(2, minmax(0,1fr)); }
  }

  /* ---- "What Google Ads does well": four cards, not four bullets ---- */
  .split { align-items: start; }
  .wins { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
  .win { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
         transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
  .win:hover { transform: translateY(-2px); border-color: #d8d8de;
               box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 16px 36px rgba(16,16,20,.08); }
  .win__i { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft);
            display: grid; place-items: center; }
  .win__i svg { width: 19px; height: 19px; fill: none; stroke: var(--accent-ink); stroke-width: 1.7;
                stroke-linecap: round; stroke-linejoin: round; }
  .win b { display: block; font-size: 16px; line-height: 22px; margin-top: 14px; }
  .win p { font-size: 13.5px; line-height: 20px; color: var(--muted); margin-top: 5px; }
  @media (max-width: 1100px) { .wins { grid-template-columns: minmax(0,1fr); } }

  /* ---- "When it isn't the right fit": a notice, so it reads as the counterweight ---- */
  .notice { margin-top: 22px; background: var(--panel); border: 1px solid var(--line);
            border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; padding: 22px; }
  .notice__i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
               background: #fff; border: 1px solid var(--line); }
  .notice__i svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-ink); stroke-width: 1.8;
                   stroke-linecap: round; }
  .notice p { font-size: 14.5px; line-height: 22px; color: var(--muted); margin-top: 14px; }
  .notice__out { padding-top: 14px; border-top: 1px solid var(--line); }
  .notice__out b { color: var(--ink); font-size: 15px; }

  /* ---- tracking: four cards with an icon rail ---- */
  .steps { display: grid; gap: 14px; }
  .step { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 16px; align-items: start;
          background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
          transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
  .step:hover { border-color: #d8d8de; box-shadow: 0 2px 6px rgba(16,16,20,.05), 0 14px 32px rgba(16,16,20,.07); }
  .step__i { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft);
             display: grid; place-items: center; }
  .step__i svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 1.7;
                 stroke-linecap: round; stroke-linejoin: round; }
  .step h3 { font-size: 17px; line-height: 23px; }
  .step p { font-size: 14px; line-height: 21px; color: var(--muted); margin-top: 7px; }
  @media (max-width: 560px) {
    .step { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 18px; }
    .notice { padding: 18px; }
  }

  /* ---- audit fixes ---- */
  /* widget chrome keeps its look but is no longer part of the document outline */
  .gui__name { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
  .svc-hero .gui__name { font-size: 15px; line-height: 21px; }
  .gpanel__name { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .crimson .gpanel--light .gpanel__name { color: var(--ink); }
  .serp__t { font-size: 16px; line-height: 23px; font-weight: 600; color: #1a0dab; margin-top: 3px; }
  .serp__r--ad .serp__t { color: var(--accent-ink); }

  /* keyboard users get a way past the header */
  .skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff;
          padding: 11px 18px; border-radius: 10px; font: 600 14px var(--font); text-decoration: none;
          transition: top .18s var(--ease); }
  .skip:focus { top: 16px; }

  /* The page is roughly 15,000px tall. Without this, a phone reader who is deep
     in the content has no way to act without scrolling back to the top. */
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
             gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
             background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
             border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(16,16,20,.08);
             transform: translateY(110%); transition: transform .3s var(--ease); }
  .cta-bar.is-up { transform: none; }
  .cta-bar .btn { min-height: 48px; margin: 0; font-size: 13.5px; line-height: 17px;
                  padding-inline: 12px; text-align: center; }
  .cta-bar .btn-primary { flex: 1.75; }
  .cta-bar .btn-ghost { flex: 1; }
  @media (max-width: 360px) { .cta-bar .btn { font-size: 12.5px; padding-inline: 8px; } }
  @media (max-width: 860px) { .cta-bar { display: flex; } body { padding-bottom: 0; } }
  @media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }

  /* focus is visible on every interactive surface this page adds */
  .tl__i:focus-visible, .win:focus-visible, .step:focus-visible,
  .cta-bar .btn:focus-visible, .skip:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 3px; }

  /* ---- CTA ladder and reading aid ---- */
  .hero__alt { margin-top: 16px; font-size: 14.5px; }
  .hero__alt a { color: var(--accent-ink); text-decoration: none;
                 border-bottom: 1px solid rgba(184,38,78,.35); padding-bottom: 1px;
                 transition: border-color .2s var(--ease); }
  .hero__alt a:hover { border-bottom-color: var(--accent); }
  .hero__alt a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

  /* The page is long. A 2px rule is enough to show how much is left without
     adding another floating element to the screen. */
  .rprog { position: fixed; left: 0; top: 0; height: 2px; z-index: 70; width: 100%;
           transform: scaleX(0); transform-origin: 0 50%; background: var(--accent);
           pointer-events: none; }
  @media (prefers-reduced-motion: reduce) { .rprog { display: none; } }

  @media (max-width: 980px) { .results { grid-template-columns: minmax(0,1fr); } }


  /* ---- results: the Google Ads interface idiom, imitated not copied ----
     No Google wordmark or logo is used anywhere here; this borrows the layout
     conventions of an ads console only, and every card says it is illustrative. */
  #results { background: #f8f9fa; }
  .results { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 32px; }

  .gacard { background: #fff; border: 1px solid #dadce0; border-radius: 8px; padding: 20px;
            display: flex; flex-direction: column;
            font-family: "Google Sans", Roboto, Arial, sans-serif;
            font-size: 14px; color: #202124;
            box-shadow: 0 1px 2px rgba(60,64,67,.3); }
  .gacard__top { display: flex; align-items: flex-start; justify-content: space-between;
                 gap: 12px; flex-wrap: wrap; }
  .gacard__name { font-size: 15px; line-height: 22px; font-weight: 700; color: #202124;
                  font-family: inherit; letter-spacing: 0; }
  .gacard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .gachip { font-size: 11px; line-height: 18px; color: #5f6368; background: #f1f3f4;
            border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
  .gachip--note { color: #5f6368; background: #fff; border: 1px solid #dadce0; }

  .gacard__body { padding: 18px 0 2px; display: grid; gap: 18px; }
  .gascore__l { display: block; font-size: 12px; line-height: 17px; color: #5f6368; }
  .gascore__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .gaval { font-size: 15px; color: #5f6368; font-variant-numeric: tabular-nums; }
  .gaval--now { font-size: 26px; line-height: 32px; font-weight: 700; color: #202124; }
  .gaarrow { color: #80868b; font-size: 14px; }
  .gadelta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500;
             color: #188038; background: #e6f4ea; border-radius: 4px; padding: 2px 7px;
             font-variant-numeric: tabular-nums; }
  .gadelta i { font-style: normal; font-size: 9px; line-height: 1; }
  .gadelta--bad { color: #d93025; background: #fce8e6; }

  .gacard__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid #dadce0;
                  font-size: 13px; line-height: 20px; color: #5f6368; }
  .gacard__foot b { color: #202124; font-weight: 700; }

  .rnote { margin-top: 20px; font-size: 13px; color: var(--muted); }
  @media (max-width: 980px) { .results { grid-template-columns: minmax(0,1fr); } }
  @media (max-width: 420px) { .gaval--now { font-size: 24px; line-height: 30px; } }
  .life__t { font-style: normal; font-weight: 500; color: var(--muted); white-space: nowrap; }

  /* ---- titled panel: one widget, one job, one header ---- */
  .gpanel { background: #fff; border: 1px solid var(--g-line); border-radius: 16px; padding: 18px;
           box-shadow: 0 1px 2px rgba(16,16,20,.04), 0 16px 40px rgba(16,16,20,.07); }
  .gpanel + .gpanel { margin-top: 20px; }
  .gpanel__h { display: flex; align-items: center; justify-content: space-between; gap: 12px;
              flex-wrap: wrap; margin-bottom: 16px; }
  .gpanel__h h4 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
  .gpanel__t { font-size: 11.5px; color: var(--muted); }
  .gpanel__h .seg-ctl { margin-bottom: 0; }
  .gpanel .match, .gpanel .chain { margin-top: 0; }
  .gpanel > .gscroll:first-of-type { margin-top: 0; }
  .crimson .gpanel--light { box-shadow: 0 26px 60px rgba(80,10,30,.26); }
  .crimson .gpanel--light .gpanel__h h4 { color: var(--ink); }
  .crimson .gpanel--light .seg-ctl { background: #f2f2f5; }
  .crimson .gpanel--light .seg-ctl button { color: var(--muted); }
  .crimson .gpanel--light .seg-ctl button[aria-pressed="true"] { color: var(--accent-ink); background: #fff; }
  .gpanel--light .gscroll { border-radius: 12px; }
  .gpanel--light .terms__foot { border: 1px solid var(--g-line); border-top: 0; border-radius: 0 0 12px 12px;
                               margin-top: -1px; background: var(--g-soft); }


  /* ---- auction: two cards head to head, then one verdict ---- */

  /* ---- who we work with: icon, then equal footing ---- */
  .acct__c { display: flex; flex-direction: column; }
  .acct__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
               display: grid; place-items: center; margin-bottom: 16px; }
  .acct__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 1.8;
                   stroke-linecap: round; stroke-linejoin: round; }
  .acct__c .text-body { margin-top: 10px; }
  .acct__c .acct__dl { margin-top: auto; padding-top: 18px; }
  .ctype__viz small { display: block; }
  .ctype__viz b { display: block; margin-top: 2px; }
  .crimson .seg-ctl button { color: rgba(255,255,255,.82); }
  .crimson .seg-ctl button:hover { color: #fff; }
  .crimson .seg-ctl button[aria-pressed="true"] { color: var(--accent-ink); }
  .crimson .seg-ctl button:focus-visible { outline-color: #fff; }
  .crimson .snap, .crimson .snap b, .crimson .snap__h b { color: var(--ink); }
  .crimson .snap__note, .crimson .snap__h small, .crimson .snap__g small { color: var(--muted); }
  @media (max-width: 760px) {
    .gui__body { padding: 14px; }
    .gtabs__panel { padding: 14px; }
    .gchart svg { height: 100px; }
  }


  /* ============ Meta Ads page ============ */

  /* ---- 02: where the value lands ---- */
  .wgt { display: grid; gap: 12px; }
  .wgt__r { display: grid; grid-template-columns: 112px minmax(0,1fr) 44px; gap: 12px; align-items: center; }
  .wgt__l { font-size: 13px; color: var(--muted); }
  .wgt__t { height: 12px; border-radius: 6px; background: #f0f0f3; overflow: hidden; }
  .wgt__t i { display: block; height: 100%; border-radius: 6px; background: #c9cbd1; transition: width .4s var(--ease); }
  .wgt__r--on .wgt__t i { background: var(--accent); }
  .wgt__v { font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
  .wgt__r--on .wgt__v { color: var(--accent-ink); }
  .wgt__note { margin-top: 14px; font-size: 12.5px; line-height: 19px; color: var(--muted); }

  /* ---- 03: placement shapes ---- */

  /* ---- 04: funnel ---- */
  .funnel { display: grid; gap: 8px; }
  .funnel__s { border-radius: 12px; padding: 20px 22px; color: #fff; }
  .funnel__s b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
  .funnel__s span { display: block; font-size: 19px; line-height: 26px; font-weight: 600; margin-top: 4px; }
  .funnel__s--top { background: #f1869f; width: 100%; }
  .funnel__s--mid { background: #e4567d; width: 88%; }
  .funnel__s--low { background: var(--accent-ink); width: 74%; }
  @media (max-width: 960px) { .funnel__s--mid, .funnel__s--low { width: 100%; } }

  /* ---- 05: instant form vs landing page ---- */
  .vs2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .phone { margin: 0; background: #fff; border: 1px solid var(--g-line); border-radius: 16px; overflow: hidden;
           box-shadow: 0 1px 2px rgba(16,16,20,.04), 0 14px 32px rgba(16,16,20,.08); }
  .phone__bar { height: 26px; background: var(--g-soft); border-bottom: 1px solid var(--g-line);
                display: flex; align-items: center; justify-content: center; }
  .phone__bar span { width: 44px; height: 4px; border-radius: 2px; background: #d9dade; }
  .phone__bar--url { justify-content: flex-start; padding: 0 10px; }
  .phone__bar--url span { width: auto; height: auto; background: none; font-size: 10.5px; color: var(--muted); }
  .phone__body { padding: 14px; }
  .phone__h { font-size: 13px; font-weight: 600; }
  .phone__f { margin-top: 8px; border: 1px solid var(--g-line); border-radius: 8px; padding: 7px 10px; }
  .phone__f small { display: block; font-size: 10px; color: var(--muted); }
  .phone__f b { font-size: 12px; font-weight: 500; color: var(--g-blue, #0866ff); }
  .phone__f--q b { color: var(--accent-ink); }
  .phone__block { height: 28px; border-radius: 6px; background: var(--panel); margin-top: 8px; }
  .phone__block--sm { height: 14px; width: 70%; }
  .phone__cta { display: block; margin-top: 12px; text-align: center; font-size: 12px; font-weight: 600;
                color: #fff; background: var(--g-blue, #0866ff); border-radius: 8px; padding: 9px; }
  .phone__cta--ghost { color: var(--accent-ink); background: var(--accent-soft); }
  .phone figcaption { padding: 9px 14px 12px; font-size: 11px; color: var(--muted); border-top: 1px solid #f0f0f3; }
  @media (max-width: 560px) { .vs2 { grid-template-columns: minmax(0,1fr); } }

  /* ---- 06: catalog sets and guardrail toggles ---- */
  .cat { display: grid; gap: 12px; }
  .cat__set { border: 1px solid var(--g-line); border-radius: 12px; padding: 12px 14px; }
  .cat__k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .cat__row { display: flex; gap: 6px; margin: 9px 0 7px; }
  .cat__row i { width: 30px; height: 30px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); }
  .cat__set small { font-size: 11.5px; color: var(--muted); }
  .cat__use { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
  .cat__use div { border: 1px solid var(--g-line); border-radius: 10px; padding: 10px 12px; }
  .cat__use small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }

  .toggles { display: grid; gap: 10px; }
  .tgl { display: flex; align-items: center; justify-content: space-between; gap: 12px;
         border: 1px solid var(--g-line); border-radius: 10px; padding: 11px 13px; font-size: 13.5px; }
  .tgl__s { width: 34px; height: 20px; border-radius: 10px; background: #dcdde1; position: relative; flex: none; }
  .tgl__s::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
                   border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16,16,20,.3); }
  .tgl__s--on { background: var(--accent); }
  .tgl__s--on::after { left: auto; right: 2px; }
  .tgl--off { color: var(--muted); border-style: dashed; }

  /* ---- 07: audience ladder ---- */
  .aud { display: grid; gap: 8px; }
  .aud__r { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 4px 12px;
            border-left: 3px solid var(--line); border-radius: 0 10px 10px 0;
            background: #fff; padding: 11px 14px; }
  .aud__w { font-size: 11.5px; font-weight: 700; color: var(--muted); align-self: center; }
  .aud__n { font-size: 14px; font-weight: 600; }
  .aud__m { grid-column: 2; font-size: 12.5px; line-height: 18px; color: var(--muted); }
  .aud__r--hot { border-left-color: var(--accent); }
  .aud__r--warm { border-left-color: #e78fa6; }
  .aud__r--cool { border-left-color: #c9cbd1; }
  .aud__r--excl { border-left-color: #c9cbd1; background: var(--panel); }
  .aud__r--excl .aud__n { color: var(--muted); text-decoration: line-through; }

  /* ---- 08: test ladder and fatigue chart ---- */
  .ladder { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
  .ladder li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 12px; align-items: start;
               border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: #fff;
               font-size: 14px; line-height: 21px; }
  .ladder__n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft);
               color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; }

  .fatigue__mark { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); }
  .fatigue__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
  .fatigue__key { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
  .fatigue__key i { display: inline-block; width: 14px; height: 2px; vertical-align: 3px; margin-right: 6px; }
  html.anim .fatigue.is-in .fl { animation: mdraw 1.1s var(--ease) forwards; }
  @keyframes mdraw { to { stroke-dashoffset: 0; } }

  /* ---- 09: tracking layers ---- */
  .layers { display: grid; gap: 8px; }
  .lay { border: 1px solid var(--g-line); border-radius: 12px; padding: 13px 15px; }
  .lay--on { border-color: var(--accent); background: var(--accent-soft); }
  .lay__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .lay__h b { font-size: 14px; }
  .lay__v { font-size: 11.5px; color: var(--muted); }
  .lay--on .lay__v { color: var(--accent-ink); }
  .lay__t { margin-top: 9px; }
  .lay__t i { display: block; height: 10px; border-radius: 5px; background: #c9cbd1; }
  .lay--on .lay__t i { background: var(--accent); }
  .lay__t em { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; color: var(--muted); }
  .lay__plus { justify-self: center; font-size: 15px; color: var(--muted); }
  .lay__dedup { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
  .lay__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
  .ev { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--g-line); }
  .ev__k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .ev__row { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 8px; }
  .ev small { font-size: 11.5px; color: var(--muted); }

  /* ---- 11: comparison table columns ---- */
  .cmp .cmp__a { background: var(--accent-soft); }
  .cmp th.cmp__a { color: var(--accent-ink); }
  .cmp td, .cmp th { white-space: normal; vertical-align: top; }
  .cmp td.cmp__a, .cmp td.cmp__b { min-width: 190px; font-size: 13px; line-height: 20px; }


  /* ---- icon system: one outline family, decorative, always beside a label ---- */
  .label--ico { display: inline-flex; align-items: center; gap: 8px; }
  .label__i { width: 17px; height: 17px; flex: none; color: var(--accent); }

  .chip-s--ico { display: inline-flex; align-items: center; gap: 7px; }
  .chip__i { width: 15px; height: 15px; flex: none; color: var(--accent-ink); opacity: .85; }

  .aud__n { display: inline-flex; align-items: center; gap: 8px; }
  .aud__i { width: 16px; height: 16px; flex: none; color: var(--accent-ink); }
  .aud__r--cool .aud__i, .aud__r--excl .aud__i { color: var(--muted); }

  .cat__k { display: inline-flex; align-items: center; gap: 7px; }
  .cat__i { width: 14px; height: 14px; flex: none; color: var(--accent-ink); }

  .lay__h b { display: inline-flex; align-items: center; gap: 8px; }
  .lay__i { width: 16px; height: 16px; flex: none; color: var(--muted); }
  .lay--on .lay__i { color: var(--accent-ink); }
  .lay__i--sm { width: 14px; height: 14px; color: var(--accent); }
  .lay__dedup { align-items: center; }

  .ev__k { display: inline-flex; align-items: center; gap: 7px; }
  .ev__i { width: 14px; height: 14px; flex: none; color: var(--accent-ink); }

  @media (max-width: 760px) {
    .label__i { width: 15px; height: 15px; }
    .chip__i { width: 14px; height: 14px; }
  }


  /* ---- tables that never scroll: full width on desktop, cards on phones ---- */
  .tbl-plain { width: 100%; min-width: 0; border-collapse: collapse;
               border: 1px solid var(--g-line); border-radius: 12px; overflow: hidden; }
  .tbl-plain td { white-space: normal; vertical-align: top; }
  .tbl-plain th { white-space: normal; }
  @media (max-width: 760px) {
    .tbl-plain, .tbl-plain tbody, .tbl-plain tr, .tbl-plain td { display: block; width: 100%; }
    .tbl-plain thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .tbl-plain { border: 0; }
    .tbl-plain tr { background: #fff; border: 1px solid var(--g-line); border-radius: 12px;
                    margin-bottom: 10px; padding: 4px 0; }
    .tbl-plain td { display: grid; grid-template-columns: minmax(0,1fr); gap: 3px;
                    border: 0; padding: 9px 15px; }
    .tbl-plain td + td { border-top: 1px solid #f1f1f4; }
    .tbl-plain td::before { content: attr(data-l); font-size: 10.5px; font-weight: 700;
                            letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
    .tbl-plain td.term { font-size: 16px; font-weight: 600; }
    .tbl-plain .cmp__a { background: var(--accent-soft); }
  }

  /* ---- three pillars: tabs on desktop, accordion on phones ---- */
  @media (max-width: 760px) {
    .meta-page .gui--tabs { display: flex; flex-direction: column; }
    .meta-page .gtabs__bar { display: contents; }
    .meta-page .gtabs__bar button { min-height: 54px; padding: 0 16px; border-bottom: 1px solid var(--g-line);
      border-left: 0; justify-content: space-between; width: 100%; display: flex; align-items: center;
      text-align: left; background: #fff; white-space: normal; }
    .meta-page .gtabs__bar button::after { content: ""; width: 9px; height: 9px; flex: none;
      border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
      transform: rotate(45deg) translate(-2px,-2px); transition: transform .22s var(--ease); }
    .meta-page .gtabs__bar button[aria-selected="true"] { background: var(--accent-soft); border-bottom-color: var(--accent); }
    .meta-page .gtabs__bar button[aria-selected="true"]::after { transform: rotate(-135deg) translate(-3px,-3px); }
    .meta-page .gtabs__bar button:nth-child(1) { order: 1; }
    .meta-page .gtabs__bar button:nth-child(2) { order: 3; }
    .meta-page .gtabs__bar button:nth-child(3) { order: 5; }
    .meta-page .gui--tabs > .gtabs__panel:nth-child(2) { order: 2; }
    .meta-page .gui--tabs > .gtabs__panel:nth-child(3) { order: 4; }
    .meta-page .gui--tabs > .gtabs__panel:nth-child(4) { order: 6; }
    .meta-page .gtabs__panel { border-bottom: 1px solid var(--g-line); }
  }

  /* ---- catalog: real product cards ---- */
  .cat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .cat__badge { font-size: 11px; color: var(--muted); background: var(--panel); border-radius: 99px; padding: 2px 9px; }
  .cat__row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
  .pcard { width: 58px; display: flex; flex-direction: column; align-items: center; gap: 4px;
           border: 1px solid var(--line); border-radius: 10px; padding: 9px 4px 7px; background: #fff;
           transition: border-color .25s var(--ease), transform .25s var(--ease); }
  .pcard:hover { border-color: var(--accent); transform: translateY(-2px); }
  .pcard svg { width: 24px; height: 24px; color: var(--accent-ink); opacity: .82; }
  .pcard em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--muted);
              font-variant-numeric: tabular-nums; }
  .cat__bar { display: flex; align-items: center; gap: 10px; }
  .cat__t { flex: 1; height: 6px; border-radius: 3px; background: #f0f0f3; overflow: hidden; }
  .cat__t i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
  .cat__bar em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
  @media (max-width: 420px) { .pcard { width: 52px; } .pcard svg { width: 21px; height: 21px; } }

  @media (prefers-reduced-motion: reduce) {
    .pcard, .meta-page .gtabs__bar button::after { transition: none; }
  }


  /* ---- 02: the full cycle, and the outcomes it ties to ---- */
  .cyc { margin-top: 30px; border: 1px solid rgba(255,255,255,.22); border-radius: 16px;
         background: rgba(255,255,255,.08); padding: 15px 18px 18px; }
  .cyc__h { margin: 0 0 15px; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
            font-weight: 700; color: rgba(255,255,255,.74); }
  .cyc__row { display: flex; align-items: flex-start; }
  .cyc__s { flex: 0 0 auto; width: 74px; display: grid; justify-items: center; gap: 9px; text-align: center; }
  .cyc__s i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
              background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; }
  .cyc__s svg { width: 19px; height: 19px; }
  .cyc__s b { font-size: 12px; line-height: 16px; font-weight: 600; color: #fff; }
  /* the rail only ever sits in the space between two steps, so it never
     has to be masked out from behind a translucent circle */
  .cyc__j { flex: 1 1 auto; min-width: 10px; height: 1px; margin-top: 19px;
            background: rgba(255,255,255,.3); }

  .outc { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
  .outc__h { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700;
             color: rgba(255,255,255,.74); margin-right: 3px; }
  .outc__c { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
             background: #fff; color: var(--accent-ink); font-size: 12.5px; font-weight: 600; }
  .outc__c::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

  @media (max-width: 520px) {
    .cyc__row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px 8px; }
    .cyc__s { width: auto; }
    .cyc__j { display: none; }
    /* the label takes its own line so the chips wrap as one tidy group */
    .outc__h { flex: 0 0 100%; margin: 0 0 3px; }
  }

  /* ---- 11 Meta vs Google: channel badges, no scroll at any width ---- */
  .cmpbox { margin-top: 32px; background: #fff; border: 1px solid var(--line);
            border-radius: 18px; overflow: hidden;
            box-shadow: 0 1px 2px rgba(16,16,20,.04), 0 16px 40px rgba(16,16,20,.07); }
  /* the shared kit sets a 580px floor for data tables; this one wraps instead */
  .cmpbox .gtable { min-width: 0; font-size: 13.5px; }
  .cmpbox .gtable th { padding: 15px 18px; background: #fff; border-bottom: 1px solid var(--line); }
  .cmpbox .gtable td { padding: 15px 18px; vertical-align: top; }
  .cmpbox .gtable .term { font-weight: 600; color: var(--ink); width: 23%; }
  .cmpbox .gtable tbody tr:hover { background: transparent; }
  .cmpbox .gtable tbody tr:hover .cmp__b { background: #fafafb; }

  /* the two channel columns read as columns, not as a wall of cells */
  .cmp td.cmp__a, .cmp th.cmp__a { box-shadow: inset 1px 0 0 rgba(221,54,98,.14), inset -1px 0 0 rgba(221,54,98,.14); }
  .cmp td.cmp__a, .cmp td.cmp__b { min-width: 0; font-size: 13.5px; line-height: 21px; }
  .cmp th.cmp__a { background: var(--accent-soft); }

  .cmp__badge { display: inline-flex; align-items: center; gap: 9px;
                font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; }
  .cmp__glyph { width: 22px; height: auto; display: block; flex: 0 0 auto; }

  @media (max-width: 760px) {
    .cmpbox { border-radius: 16px; }
    .cmpbox .gtable th, .cmpbox .gtable td { padding: 13px 15px; }
    .cmpbox .gtable .term { width: auto; }
    .cmp td.cmp__a, .cmp th.cmp__a { box-shadow: none; }
  }

  /* ---- the Meta mark inside the interface chrome ---- */
  .gui__logo { width: 18px; height: auto; display: block; flex: 0 0 auto; margin-left: 2px; }

  /* ---- fatigue chart: name the window the rotation is meant to land in ---- */

  /* ---- the Meta mark on the hero panel, raised off the surface ---- */
  .svc-hero .gui { position: relative; overflow: visible; }
  /* sits on the panel's top corner, clear of the status pill it used to cover */
  .gui__mark { position: absolute; top: -16px; right: -13px; width: 52px; height: auto;
               transform: perspective(420px) rotateY(-18deg) rotateX(8deg) rotate(-5deg);
               filter: drop-shadow(0 5px 9px rgba(0,88,220,.28))
                       drop-shadow(0 1px 2px rgba(16,16,20,.16));
               pointer-events: none; z-index: 4; }
  .svc-hero .gui__body { position: relative; z-index: 1; }

  /* the hero table wraps rather than scrolling, so no column is cut off */
  .gwrap { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
  .gwrap .gtable { min-width: 0; font-size: 12px; }
  .gwrap .gtable th, .gwrap .gtable td { padding: 9px 10px; white-space: normal; }
  .gwrap .gtable .term { min-width: 0; }

  @media (max-width: 960px) { .gui__mark { width: 46px; right: -8px; top: -13px; } }
  @media (max-width: 420px) { .gui__mark { width: 40px; right: -5px; top: -11px; } }

  /* ---- placements: each frame shows what actually sits in it ---- */
  .place { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
  .place__i { display: grid; justify-items: center; align-content: start; gap: 2px;
              padding: 14px 8px 11px; background: #fff; border: 1px solid var(--line);
              border-radius: 13px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .place__i:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,16,20,.08); }
  .place__i small { display: block; margin-top: 9px; font-size: 11.5px; font-weight: 600; color: var(--text); }
  .place__r { font-size: 10px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }

  .place__f { display: flex; flex-direction: column; gap: 3px; padding: 4px;
              border: 1.5px solid var(--line); border-radius: 8px; background: var(--panel); }
  .place__img { display: block; flex: 1 1 auto; min-height: 10px; border-radius: 3px; background: #d6d8dd; }
  .place__ln { display: block; height: 3px; border-radius: 2px; background: #d6d8dd; }
  .place__ln--s { width: 62%; align-self: flex-start; }
  .place__f--feed { width: 54px; height: 46px; }
  .place__f--story, .place__f--reel { width: 32px; height: 56px; }
  /* Reels is the placement the copy singles out, so it carries the accent */
  .place__f--reel { border-color: var(--accent); background: var(--accent-soft); }
  .place__f--reel .place__img { background: rgba(221,54,98,.30); }
  .place__play { display: block; width: 0; height: 0; margin: 0 auto;
                 border-left: 7px solid var(--accent); border-top: 5px solid transparent;
                 border-bottom: 5px solid transparent; }
  .place__f--story .place__play { border-left-color: #b9bcc3; }
  .place__f--carousel { width: 58px; height: 46px; flex-direction: row; gap: 3px; align-items: stretch; }
  .place__s { flex: 1; display: flex; padding: 2px; border: 1.5px solid var(--line);
              border-radius: 4px; background: #fff; }
  .place__s:first-child { border-color: var(--accent); }
  .place__s .place__img { width: 100%; }

  @media (max-width: 420px) { .place { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; } }

  /* ---- fatigue: three signals, one shared week scale ---- */
  .fat { display: grid; gap: 0; }
  .fat__r, .fat__axis { display: grid; grid-template-columns: 136px minmax(0,1fr) 22px;
                        gap: 14px; align-items: center; }
  .fat__r { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .fat__k { font-size: 12.5px; line-height: 17px; color: var(--text); }
  .fat__plot { position: relative; display: block; height: 34px; }
  .fat__plot svg { display: block; width: 100%; height: 34px; overflow: hidden; }
  /* the rotation marker runs through every plot at week five, and the row
     padding is included so the three segments join into one line */
  .fat__plot::before { content: ""; position: absolute; left: 79.6%; top: -13px; bottom: -13px;
                       border-left: 1px dashed rgba(221,54,98,.45); }
  .fat__axis .fat__plot::before { content: none; }
  .fat__l { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  /* stroke pattern, not hue, is what tells the three series apart */
  .fat__l--solid  { stroke: var(--accent); }
  .fat__l--dashed { stroke: #8a8d94; stroke-dasharray: 7 5; }
  .fat__l--dotted { stroke: var(--accent-ink); stroke-dasharray: 1.5 4.5; }
  .fat__d { font-size: 15px; line-height: 1; text-align: right; }
  .fat__d--bad { color: var(--accent-ink); }

  .fat__axis { padding-top: 9px; }
  .fat__axis .fat__k { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
                       color: var(--muted); font-weight: 700; }
  .fat__scale { display: flex; justify-content: space-between; height: auto;
                font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .fat__scale i { font-style: normal; }
  .fat__scale i.is-rot { color: var(--accent-ink); font-weight: 700; }

  @media (max-width: 560px) {
    .fat__r, .fat__axis { grid-template-columns: 104px minmax(0,1fr) 20px; gap: 10px; }
    .fat__k { font-size: 12px; }
  }

  /* ---- accessibility: measured contrast fixes, scoped to the service page ---- */
  /* #1f8a5b gave 3.87 on the pill tint and 4.33 on white; #1a7a50 gives 4.75 / 5.32 */
  .svc-page { --g-green: #1a7a50; --good: #1a7a50; }
  /* #9a6b00 gave 4.26 on #fdf3e0; #8a6000 gives 5.08 */
  .svc-page { --g-amber: #8a6000; }
  .svc-page .up { color: #1a7a50; }

  /* white at 74% over the crimson gradient measured 2.98; full white is the
     best available here without changing the brand accent */
  .crimson .cyc__h, .crimson .outc__h { color: #fff; }

  /* the web target minimum is 24px; this link measured 22 */
  .svc-hero .hero__alt a { display: inline-block; padding: 3px 0; }

  /* ---- pacing: break the text-left / visual-right repetition ---- */
  /* --- pacing --- */
  @media (min-width: 961px) {
    /* every two-column section led with prose; alternating the side gives the
       scroll a rhythm instead of eight identical beats */
    .meta-page #tracking .two-col > :first-child { order: 2; }
    .meta-page #tracking .two-col > :last-child  { order: 1; }

    /* where the prose column is much taller than its visual, the visual used to
       leave a few hundred px of dead space. Let it travel with the reader. */
    .meta-page #retargeting .two-col > :last-child,
    .meta-page #tracking    .two-col > :last-child {
      position: sticky; top: 96px; align-self: start;
    }
  }

  /* 96/96 between every section was ~2,500px of the page. A larger gap above a
     heading than below the block it follows reads as deliberate grouping. */
  .meta-page .section { padding-top: 84px; padding-bottom: 68px; }
  @media (max-width: 760px) {
    .meta-page .section { padding-top: 60px; padding-bottom: 48px; }
  }

  /* --- composition --- */
  /* Section F led with prose beside a cramped catalog, making it the third of
     four consecutive two-column sections. It reads as a product band now:
     prose at a comfortable measure, then the catalog across the full width. */
  @media (min-width: 961px) {
    .meta-page #ecommerce .two-col { grid-template-columns: minmax(0,1fr); gap: 36px; }
    .meta-page #ecommerce .two-col > :first-child { max-width: 42em; }
    .meta-page #ecommerce .two-col > :last-child { position: static; }
    .meta-page #ecommerce .cat { grid-template-columns: repeat(3, minmax(0,1fr)); }
  }

  /* --- measure --- */
  /* 85 and 90 characters per line measured on the full-width prose blocks */
  /* ~70 characters per line. em, not ch: 1ch in Inter is ~0.62em,
     so ch values overshoot the intended measure by a third. */
  .meta-page .lede { max-width: 35em; }
  .meta-page .text-body { max-width: 36em; }

  /* ---- the floating chat button and the sticky CTA bar ---- */
  /* Joinchat parks bottom-right at 60x60 with bottom:6px, which sat directly
     over the CTA bar's second button on phones. The bar precedes .joinchat in
     the body, so a sibling selector lifts it only while the bar is showing. */
  @media (max-width: 760px) {
    .joinchat { transition: bottom .28s ease; }
    .cta-bar.is-up ~ .joinchat { bottom: 84px; }
  }
  @media (prefers-reduced-motion: reduce) { .joinchat { transition: none; } }

  /* ---- photography ---- */
  .shot { margin: 0; border-radius: 16px; overflow: hidden; background: var(--panel);
          box-shadow: 0 1px 2px rgba(16,16,20,.05), 0 18px 44px rgba(16,16,20,.10); }
  .shot img { display: block; width: 100%; height: auto; }
  .shot figcaption { padding: 11px 16px 13px; font-size: 12.5px; line-height: 19px;
                     color: var(--muted); background: #fff; }
  .shot--wide { margin-top: 22px; }
  .crimson .shot { box-shadow: 0 26px 60px rgba(80,10,30,.26); }

  /* product thumbnails replace the drawn glyphs */
  .pcard img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; display: block; }
  .pcard { width: 62px; }
  @media (max-width: 420px) { .pcard { width: 56px; } .pcard img { width: 30px; height: 30px; } }

  /* ---- mobile ---- */
  @media (max-width: 760px) {
    .wgt__r { grid-template-columns: 92px minmax(0,1fr) 40px; gap: 9px; }
    .funnel__s { padding: 16px 18px; }
    .funnel__s span { font-size: 17px; line-height: 24px; }
    .place { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
    .aud__r { grid-template-columns: 58px minmax(0,1fr); }
    .cat__use { grid-template-columns: minmax(0,1fr); }
  }
  @media (prefers-reduced-motion: reduce) {
    .wgt__t i, .lay__t i { transition: none; }
  }
