/* BrokerConnector · Start here
   Builds on style.css and about.css. Two jobs (24 Nov, Hugh and Tom): brokers get the app, with a drawn guide to adding
   it to the home screen (a web app, no app store); agencies talk to Karl. Two cards side by side on white with the guide
   lines; they stack on phones. (The 14 day trial box and the How to start strip are gone.) */

.st { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: clamp(96px, 12vh, 124px) var(--gutter) clamp(28px, 5vh, 56px); color: var(--ink); }
.st__head { margin-bottom: clamp(18px, 2.8vh, 28px); }
.st__title { margin: 0; font-size: clamp(48px, 5.2vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.st__eyebrow { margin: 0 0 10px; font-size: 15px; font-weight: 500; color: #0E9E8A; }

.st__cards { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
.st-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.4vw, 36px); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07), 0 30px 60px -48px rgba(20, 40, 90, .35); }
.st-card__title { margin: 0; font-size: clamp(32px, 2.8vw, 48px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.st-card__copy { max-width: 40ch; margin: 14px 0 0; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; color: rgba(9, 15, 27, .66); }
.st-card__note { margin: 20px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(9, 15, 27, .58); }

/* get the app: one button to the app's setup page, and on a computer the QR code beside it */
.st__open { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.st__qr { display: none; align-items: center; gap: 12px; }
.st__code { flex: none; width: 64px; height: 64px; padding: 4px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .1); }
.st__code svg { display: block; width: 100%; height: 100%; }
.st__qr p { max-width: 20ch; margin: 0; font-size: 13.5px; line-height: 1.4; color: rgba(9, 15, 27, .62); }
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) { .st__qr { display: inline-flex; } }

/* the install guide: iPhone or Android, three drawn screens each */
.guide { align-self: stretch; min-width: 0; margin-top: clamp(22px, 3vh, 30px); padding: 18px; border-radius: 18px; background: #F2F5FA; }
.guide__tabs { display: inline-flex; padding: 4px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .08); }
.guide__tab { padding: 7px 16px; border: 0; border-radius: 99px; background: none; font: inherit; font-size: 14px; font-weight: 500; color: rgba(9, 15, 27, .6); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.guide__tab.is-on { color: var(--ink); background: #19E8C9; }
.guide__tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.guide__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: 16px 0 0; padding: 0; list-style: none; }
.guide__steps[hidden] { display: none; }
.guide__steps li { display: grid; align-content: start; gap: 12px; }
.guide__steps p { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 14px; line-height: 1.4; color: rgba(9, 15, 27, .66); }
.guide__steps b { font-weight: 600; color: var(--ink); }
.guide__n { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--ink); background: #19E8C9; transform: translateY(-1px); }

/* a drawn phone screen: the top of a phone, cropped, in light mode like Safari and Chrome. The thing to tap is in teal
   with a soft ring (.is-hit) */
.gs { --hit: #19E8C9; position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 5 / 4; overflow: hidden; padding: 22px 10px 10px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .1); font-size: 10.5px; color: rgba(9, 15, 27, .8); }
.gs__island { position: absolute; top: 7px; left: 50%; width: 46px; height: 10px; border-radius: 99px; background: #0B0F18; transform: translateX(-50%); }
.gs__page { display: grid; gap: 6px; padding: 4px 4px 0; }
.gs__page i { height: 7px; border-radius: 4px; background: #E8EDF5; }
.gs__page i:nth-child(1) { width: 55%; height: 10px; background: #DCE3EE; }
.gs__page i:nth-child(3) { width: 75%; }
.gs__url { flex: 1; min-width: 0; overflow: hidden; padding: 5px 9px; border-radius: 9px; background: #EEF1F6; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; color: rgba(9, 15, 27, .6); }
.gs__bar { display: flex; align-items: center; gap: 6px; }
.gs__bar--ios { flex-direction: column; align-items: stretch; gap: 7px; }
.gs__bar--ios .gs__url { text-align: center; }
.gs__tools { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.gs__tools > i { width: 12px; height: 12px; border-radius: 3px; background: #D5DCE7; }
.gs__share { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.gs__share svg { width: 16px; height: 16px; fill: none; stroke: #0A84FF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gs__dots { display: grid; gap: 2px; place-content: center; width: 22px; height: 22px; border-radius: 50%; }
.gs__dots i { width: 3px; height: 3px; border-radius: 50%; background: rgba(9, 15, 27, .7); }
.gs__sheet, .gs__menu { display: grid; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px -8px rgba(9, 15, 27, .3), 0 0 0 1px rgba(9, 15, 27, .06); }
.gs__sheet { margin: 0 -2px -2px; }
.gs__menu { width: 70%; margin: 6px 0 auto auto; }
.gs__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 10px; border-top: 1px solid rgba(9, 15, 27, .06); white-space: nowrap; }
.gs__row:first-child { border-top: 0; }
.gs__row svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.gs--home { justify-content: center; background: linear-gradient(160deg, #AEBDF2 0%, #BDCDF1 45%, #D2E3F0 100%); }
.gs__home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 10px; padding: 0 6px; }
.gs__app { aspect-ratio: 1; border-radius: 24%; background: rgba(255, 255, 255, .55); }
/* the real app icon, as it shows on a home screen (assets/img/apple-touch-icon.png) */
.gs__app--bc { overflow: hidden; }
.gs__app--bc img { display: block; width: 100%; height: 100%; }
/* the thing to tap */
.is-hit { position: relative; }
.gs__row.is-hit { font-weight: 600; color: var(--ink); background: #D6FBF4; }
.gs__share.is-hit, .gs__dots.is-hit { background: #D6FBF4; box-shadow: 0 0 0 3px rgba(25, 232, 201, .55); }
.gs__app--bc.is-hit { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(25, 232, 201, .8); }

/* agencies: Karl, on the team's light brand gradient (as on About) */
.st-karl { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 28px; }
.st-karl__photo { flex: none; width: clamp(72px, 6vw, 96px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: radial-gradient(60% 55% at 72% 70%, #C9F7EC 0%, rgba(201, 247, 236, 0) 72%), linear-gradient(160deg, #AEBDF2 0%, #BDCDF1 45%, #D2E3F0 100%); box-shadow: 0 18px 40px -26px rgba(20, 40, 90, .5); }
.st-karl__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-karl__who { display: grid; gap: 3px; }
.st-karl__who b { font-size: clamp(22px, 1.8vw, 28px); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.st-karl__who span { font-size: 14.5px; color: #0E9E8A; }
.st-card__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.st-card__link { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(9, 15, 27, .3); transition: color .25s ease, text-decoration-color .25s ease; }
.st-card__link:hover { color: #0E9E8A; text-decoration-color: currentColor; }

@media (max-width: 1024px) {
  .st { min-height: 0; }
  .st__cards { grid-template-columns: minmax(0, 1fr); }
  .st-karl { margin-top: 0; }
}
@media (max-width: 720px) {
  .guide { padding: 14px; }
  /* phones: the three screens scroll sideways in a row, each a comfortable width */
  .guide__steps { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -14px; padding-right: 14px; scrollbar-width: none; }
  .guide__steps::-webkit-scrollbar { display: none; }
  .guide__steps li { scroll-snap-align: start; }
  .st-card__go .ui-btn { width: 100%; }
}

/* (24 Nov, Hasan: everything on one fold) on a computer the heights follow the screen's height, so the title and both
   cards fit on one screen from 1280x720 up: a smaller title, shorter drawn screens and tighter spacing on short screens */
@media (min-width: 1025px) {
  .st { padding-top: clamp(84px, 11vh, 124px); padding-bottom: clamp(16px, 3vh, 40px); }
  .st__head { margin-bottom: clamp(12px, 2.2vh, 28px); }
  .st__title { font-size: clamp(40px, min(5.2vw, 8.4vh), 88px); }
  .st-card { padding: clamp(18px, 3vh, 36px) clamp(22px, 2.4vw, 36px); }
  .st-card__title { font-size: clamp(28px, min(2.8vw, 5vh), 48px); }
  .st-card__copy { margin-top: clamp(8px, 1.4vh, 14px); }
  .st__open { margin-top: clamp(12px, 2.2vh, 22px); }
  .guide { margin-top: clamp(12px, 2.4vh, 30px); padding: clamp(12px, 1.8vh, 18px); }
  .guide__steps { margin-top: clamp(10px, 1.6vh, 16px); gap: clamp(10px, 1.2vw, 18px); }
  .guide__steps li { gap: clamp(8px, 1.2vh, 12px); }
  .gs { aspect-ratio: auto; height: clamp(104px, 17vh, 176px); padding-top: 20px; }
  .st-card__note { margin-top: clamp(10px, 1.8vh, 20px); }
  .st-karl { padding-top: clamp(14px, 2.4vh, 28px); }
  .st-card__go { margin-top: clamp(12px, 2.2vh, 22px); }
}
/* (24 Nov, QA) comfortable tap targets on phones: the iPhone and Android tabs are 40px tall, and How agencies join gets
   a larger invisible tap area */
.guide__tab { min-height: 40px; padding: 9px 18px; }
.st-card__link { position: relative; display: inline-block; padding: 12px 0; }

/* (24 Nov, Hasan: the hierarchy was off, three big headings) "Start here" is now a small label; the two choices, Get the
   app and Talk to Karl, are the headlines */
.st__head { margin-bottom: clamp(14px, 2vh, 22px); }
.st .st__title { font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: rgba(9, 15, 27, .55); }
.st-card__title { font-size: clamp(34px, min(3.2vw, 5.6vh), 56px); }
@media (max-width: 720px) { .st-card__title { font-size: clamp(30px, 8.6vw, 40px); } }
/* (24 Nov, Hasan: the label was too unnoticeable) the middle ground: "Start here." a clear headline again (up to 52px, it
   was 88px), and the two choices a step below it (up to 40px), so the page reads title, then the two ways in */
.st .st__title { font-size: clamp(36px, min(3.6vw, 6vh), 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.st__head { margin-bottom: clamp(16px, 2.6vh, 28px); }
.st-card__title { font-size: clamp(28px, min(2.5vw, 4.4vh), 40px); }
@media (max-width: 720px) { .st .st__title { font-size: clamp(34px, 10vw, 44px); } .st-card__title { font-size: clamp(26px, 7.6vw, 32px); } }
/* (24 Nov, Hasan: "maybe we don't need Start here") the page title is hidden from view but kept for screen readers and
   search; the two choices lead the page */
.st__head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }
.st { padding-top: clamp(104px, 14vh, 140px); }
.st-card__title { font-size: clamp(32px, min(3vw, 5.4vh), 48px); }
@media (max-width: 720px) { .st-card__title { font-size: clamp(28px, 8.4vw, 36px); } }
