/* One colour per product, as in the product suite guide: blue Go-Direct, orange Multiplier, green Growth Hub,
   black Tracking & Attribution. Everything else is ink on white, like the apps. */
:root {
  --ink: #15140f; --paper: #fff; --wash: #f5f4f1; --line: #e3e0d9; --muted: #67635a;
  --gd: #2b3fd6; --gd-wash: #eef0fd; --mx: #e8763c; --mx-ink: #b4501b; --mx-wash: #fdf1ea; --gh: #137a52; --gh-wash: #ecf6f1; --tr: #15140f; --tr-wash: #f2f2f0;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--paper); }
h1, h2, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gd); outline-offset: 3px; }
[hidden] { display: none !important; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 40px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255, 255, 255, 0.96); z-index: 2; }
.brand { font-weight: 800; font-size: 17px; letter-spacing: -0.3px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { display: block; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

main { max-width: 1120px; margin: 0 auto; padding: 0 40px 96px; }

/* hero: the overview on the left, the four products as coloured tiles on the right */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; padding: 64px 0 56px; }
.intro { display: flex; flex-direction: column; gap: 20px; }
h1 { font-size: 72px; line-height: 0.98; font-weight: 800; letter-spacing: -2.5px; }
.lead { font-size: 18px; color: #3b382f; max-width: 540px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: 13px; font-weight: 600; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tiles li:nth-child(2) { margin-top: 28px; } .tiles li:nth-child(4) { margin-top: 28px; }
.tiles a { display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 18px; border-radius: 16px; color: #fff; text-decoration: none; }
.tiles small { font-size: 12px; font-weight: 600; opacity: 0.85; }
.tiles b { font-size: 21px; line-height: 1.15; font-weight: 800; letter-spacing: -0.3px; }
.tiles a:hover { filter: brightness(1.08); }
.tiles .gd a { background: var(--gd); } .tiles .mx a { background: var(--mx); } .tiles .gh a { background: var(--gh); } .tiles .tr a { background: var(--tr); }

/* sign-in: one password for all three apps */
.signin { display: flex; flex-direction: column; gap: 8px; max-width: 480px; scroll-margin-top: 90px; }
.signin label { font-size: 13px; font-weight: 700; }
.signin .row { display: flex; }
.signin input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; font: inherit; border: 1.5px solid var(--ink); border-right: 0; border-radius: 10px 0 0 10px; background: var(--paper); color: var(--ink); }
.signin button, .signout { font: inherit; font-weight: 700; cursor: pointer; }
.signin button { min-height: 50px; padding: 0 22px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 0 10px 10px 0; }
.signin button:hover { background: #000; }
.signin button[disabled] { opacity: 0.5; cursor: default; }
.signin .msg { min-height: 20px; font-size: 14px; color: #b42318; }
.signin.want .msg { color: var(--mx-ink); }
.in { font-size: 15px; font-weight: 600; color: var(--gh); }
.signout { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 13px; }
.signout:hover { background: var(--wash); }

/* products: a coloured head band with the number, then the details */
.product { margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-margin-top: 80px; }
.head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 28px 24px; color: #fff; }
.head small { font-size: 12px; font-weight: 600; opacity: 0.85; }
.head h2 { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -0.7px; margin-top: 4px; }
.goal { font-size: 16px; margin-top: 4px; opacity: 0.95; }
.no { font-size: 60px; line-height: 1; font-weight: 800; letter-spacing: -2px; opacity: 0.3; }
.product.gd .head { background: var(--gd); } .product.mx .head { background: var(--mx); } .product.gh .head { background: var(--gh); } .product.tr .head { background: var(--tr); }
.body { display: flex; flex-direction: column; gap: 18px; padding: 24px 28px 28px; max-width: 820px; }
.what { font-size: 17px; color: #3b382f; }
.how { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px 20px; font-size: 15px; padding: 16px 18px; border-radius: 12px; }
.gd .how { background: var(--gd-wash); } .mx .how { background: var(--mx-wash); } .gh .how { background: var(--gh-wash); } .tr .how { background: var(--tr-wash); }
.how dt { font-weight: 700; font-size: 13px; padding-top: 2px; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stages li { padding: 12px 14px; font-size: 14px; color: #3b382f; border-radius: 10px; background: var(--mx-wash); border-left: 4px solid var(--mx); }
.stages b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow li { padding: 8px 16px; border: 1px solid var(--ink); border-radius: 8px; font-size: 14px; font-weight: 600; }
.flow li:last-child { background: var(--ink); color: #fff; }
.flow li.arr { border: 0; padding: 0; color: var(--muted); font-weight: 400; }
.small { font-size: 14px; color: var(--muted); }
.go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; font-weight: 700; color: #fff; text-decoration: none; border-radius: 10px; }
.gd .go { background: var(--gd); } .mx .go { background: var(--mx-ink); } .gh .go { background: var(--gh); } .tr .go { background: var(--tr); }
.go:hover { filter: brightness(0.9); }
.soon { align-self: flex-start; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 10px; border: 1px dashed var(--muted); color: var(--muted); }

/* compare table */
.compare { margin-top: 64px; display: flex; flex-direction: column; gap: 18px; }
.compare h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-size: 12px; font-weight: 700; color: var(--muted); width: 120px; }
thead th { color: #fff; font-size: 14px; }
thead th:first-child { background: var(--paper); }
thead .gd { background: var(--gd); } thead .mx { background: var(--mx); } thead .gh { background: var(--gh); } thead .tr { background: var(--tr); }
.note { margin-top: 40px; font-size: 14px; color: var(--muted); max-width: 680px; }

@media (max-width: 900px) {
  .top { padding: 12px 18px; } .top nav { gap: 12px; font-size: 13px; }
  main { padding: 0 18px 72px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0 32px; }
  h1 { font-size: 48px; letter-spacing: -1.5px; }
  .tiles li:nth-child(2), .tiles li:nth-child(4) { margin-top: 0; }
  .tiles a { min-height: 110px; }
  .head { padding: 18px 20px; } .head h2 { font-size: 28px; } .no { font-size: 44px; }
  .body { padding: 20px; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); gap: 4px; } .how dd { margin-bottom: 10px; }
  .signin .row { flex-direction: column; gap: 8px; } .signin input { border-right: 1.5px solid var(--ink); border-radius: 10px; } .signin button { border-radius: 10px; }
}
@media (max-width: 560px) { .top nav a { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
