/* Campaign pages on *.trychannelkeep.com: the main site's colours and fonts,
   laid out as on the approved canvas. Phone first; on a wide screen the hero
   puts the copy beside the form and the rest stays in a readable column. */

@font-face { font-family: 'General Sans'; src: url('fonts/GeneralSans-Variable.woff2') format('woff2'); font-weight: 200 700; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/CabinetGrotesk-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a0f0d;
  --ink-2: #414f49;
  --ink-3: #5e6b64;
  --line: #e4e9e5;
  --field: #a3aca6;
  --green: #0f6e56;
  --green-dark: #0a5443;
  --mint: #e2f5ec;
  --tint: #f7fbf8;
  --muted-bg: #f4f7f5;
  --display: 'Cabinet Grotesk', -apple-system, system-ui, sans-serif;
  --body: 'General Sans', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: #ffffff; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; gap: 16px; }
.wrap--wide { max-width: 1080px; }
.wrap--text { max-width: 620px; padding: 0 24px; }

.top { padding: 16px 0; border-bottom: 1px solid var(--line); }
.wordmark { width: 124px; height: auto; display: block; }

h1, h2, h3 { font-family: var(--display); font-weight: 650; margin: 0; }
h1 { font-size: 34px; line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: 28px; line-height: 1.18; letter-spacing: -0.01em; }
h3 { font-size: 22px; line-height: 1.25; margin-top: 14px; }
.spaced { margin-top: 16px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.muted { color: var(--ink-2); }
.source { font-size: 12px; color: var(--ink-3); }
.note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }

/* Hero */
.hero { background: var(--tint); padding: 28px 0 32px; }
.hero__grid { gap: 14px; }
.hero__copy { display: flex; flex-direction: column; gap: 14px; }
.hero__sub { margin: 0; font-size: 17px; color: var(--ink-2); }
.byline { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
@media (min-width: 900px) {
  .hero { padding: 64px 0; }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; }
  .hero__copy { padding-top: 24px; }
  h1 { font-size: 46px; }
  .hero__sub { font-size: 19px; }
}

/* Signup card */
.signup { margin-top: 6px; background: #ffffff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.signup__form, .done { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .password { height: 48px; border: 1px solid var(--field); border-radius: 12px; font-size: 16px; font-family: inherit; color: var(--ink); background: #ffffff; }
.field input { padding: 0 14px; }
.password { display: flex; align-items: center; padding: 0 6px 0 14px; }
.password input { flex: 1; min-width: 0; height: 40px; border: 0; padding: 0; outline: none; }
.password:focus-within, .field > input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.password__toggle { height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--muted-bg); font: 600 14px var(--body); color: var(--ink); cursor: pointer; }
.hint { font-size: 13px; color: var(--ink-3); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 20px; accent-color: var(--green); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--green); color: #ffffff; font: 600 17px var(--body); text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { background: var(--green-dark); color: #ffffff; }
.button:disabled { opacity: 0.7; cursor: default; }
.button--store { align-self: flex-start; min-height: 48px; font-size: 16px; }
.button--white { background: #ffffff; color: var(--green-dark); }
.button--white:hover { background: var(--mint); color: var(--green-dark); }
.error { margin: 0; color: #b42318; font-size: 14px; }
.terms { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.terms--light { color: var(--mint); }
.platform { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green); }

/* After signup */
.done__title { font-size: 24px; outline: none; }
.done__lede { margin: 0; color: var(--ink-2); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.steps > li { counter-increment: step; position: relative; padding-left: 38px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #ffffff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.done__links { margin: 0; font-size: 14px; color: var(--ink-3); }
.done__status { margin: 0; font-size: 14px; color: var(--ink-2); }
.linklike { border: 0; padding: 0; background: none; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }

/* The QR code is for computers: a phone can't scan its own screen and an
   iPad installs from the button, so it shows only where the main pointer is
   a mouse or trackpad. */
.qr { display: none; margin: 0; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
  .qr { display: flex; }
}
.qr__code { width: 132px; line-height: 0; }
.qr__code svg { width: 100%; height: auto; }

/* Sections */
.band { padding: 40px 0; }
.band--tint { background: var(--tint); }
.band--green { background: var(--green); color: #ffffff; }
.band--green h2 { color: #ffffff; }
.card { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.card--muted { background: var(--muted-bg); }
.card--mint { background: var(--mint); }
.card--chosen { background: #ffffff; border: 2px solid var(--green); gap: 10px; }
.card__kicker { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.card__kicker--green { color: var(--green-dark); }
.card__name { font-size: 18px; font-weight: 650; }
.card__name--green { color: var(--green-dark); }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check { flex: 0 0 18px; margin-top: 3px; color: var(--green); }

.timesup { margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.timesup__screen { border: 1px solid var(--line); border-radius: 28px; padding: 44px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--green); }
.timesup__title { font-size: 21px; font-weight: 650; color: var(--ink); }
.timesup__back { font-size: 16px; font-weight: 600; }
.timesup__ask { font-size: 14px; color: var(--ink-3); }
.timesup figcaption { font-size: 13px; color: var(--ink-3); text-align: center; }

.bars { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.bars__title { font-size: 15px; font-weight: 600; }
.bar { display: flex; flex-direction: column; gap: 6px; }
.bar__label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bar__track { height: 10px; border-radius: 999px; background: var(--line); }
.bar__fill { height: 10px; border-radius: 999px; background: var(--green); }
.table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.table__row { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.table__row:last-child { border-bottom: 0; }

.feed { display: flex; flex-direction: column; gap: 10px; }
.feed__item { display: flex; gap: 12px; align-items: center; background: #ffffff; border-radius: 12px; padding: 10px; }
.feed__thumb { flex: 0 0 96px; height: 54px; border-radius: 8px; background: #c8d0cb; }
.feed__lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.feed__line { height: 8px; border-radius: 4px; background: #c8d0cb; }
.feed__line--90 { width: 90%; } .feed__line--85 { width: 85%; } .feed__line--80 { width: 80%; }
.feed__line--55 { width: 55%; background: var(--line); } .feed__line--50 { width: 50%; background: var(--line); } .feed__line--45 { width: 45%; background: var(--line); }
.chip { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--line); color: var(--ink-2); }
.chip--ai { background: #fdecd8; color: #7a3f00; }
.fact { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.fact__number { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--green); }
.sources { background: var(--muted-bg); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.sources strong { color: var(--ink); }

.shot { width: 100%; height: 300px; object-fit: cover; object-position: top; border-radius: 14px; display: block; background: var(--muted-bg); }
.shot--tall { height: 520px; border-radius: 18px; }
.shot--card { height: 420px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pair figure { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.letter .pair figcaption { font-size: 13px; color: var(--ink-3); }
.step3 { margin: 0; font-size: 14px; line-height: 1.45; }

.letter { font-size: 17px; line-height: 1.7; }
.letter p { margin: 0; }
.signature { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.signature__name { font-family: var(--display); font-size: 26px; font-weight: 600; font-style: italic; }

.qa { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.qa__q { font-family: var(--body); font-size: 16px; font-weight: 600; margin: 0; }
.qa__a { margin: 0; font-size: 15px; color: var(--ink-2); }

.foot { background: var(--muted-bg); padding: 24px 0 32px; font-size: 13px; color: var(--ink-3); }
.foot p { margin: 0; }
