/* ---------- 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 ============ */
  .gads-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; }
  }
