/* The look the site's pages share (the home page, /crew, /plans, /help, /compare and the footer's pages): tokens, words, buttons,
   the header, the close and a switch (the home page's windows are in windows.css). Each page links its own
   stylesheet after it. Class prefixes gp-, a2-, hm- and wn-. Every responsive rule is a container query on .gp, so a page in
   a 390 px box reads as a phone. */

.gp {
  --ink: #0F172A; --ink-2: #334155; --muted: #475569; --faint: #64748B;
  --ground: #F4F5F7; --card: #FFFFFF; --line: #E2E8F0; --tint: #EEF2F6;
  --navy: #0F172A; --navy-2: #1E293B; --navy-line: #334155;
  --on-navy: #F8FAFC; --on-navy-2: #CBD5E1; --on-navy-3: #94A3B8;
  --blue: #1B5FD9; --blue-ink: #FFFFFF; --sky: #7FB0FF; --sky-2: #93C5FD;
  --accent: #F59E0B; --accent-ink: #0F172A; --accent-2: #B45309; --mint: #6EE7B7;
  --late-bg: #FFF7ED; --late: #B45309; --way-bg: #EFF6FF; --way: #1D4ED8; --ok-bg: #ECFDF5; --ok: #047857;
  --r: 22px; --r-sm: 14px; --gutter: clamp(16px, 4cqi, 48px);
  --disp: Archivo, 'Arial Narrow', sans-serif; --body: Rubik, 'Segoe UI', sans-serif;
  container-type: inline-size; container-name: gp;
  background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.5; text-align: left;
}

.gp *, .gp *::before, .gp *::after { box-sizing: border-box; }
/* Resets carry no specificity (:where), so any single class in an example's own stylesheet wins over them. */
:where(.gp) :is(h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote) { margin: 0; }
:where(.gp) :is(ol, ul) { padding: 0; list-style: none; }
:where(.gp) img { display: block; max-width: 100%; height: auto; }
:where(.gp) a { color: inherit; }
.gp :is(a, button, label):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
:where(.gp) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }

/* Layout */
.gp-wrap { max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.gp-sec { padding-block: clamp(44px, 5.5cqi, 84px); }
.gp-band { background: var(--card); border-block: 1px solid var(--line); }
.gp-navy { background: radial-gradient(circle, rgba(148, 163, 184, .16) .8px, transparent 1.3px) 0 0 / 10px 10px, var(--navy); color: var(--on-navy); }

/* Words */
.gp-disp { font-family: var(--disp); font-stretch: 112%; font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.gp-h1 { font-size: clamp(38px, 5.6cqi, 80px); line-height: .98; letter-spacing: -.035em; }
.gp-h2 { font-size: clamp(30px, 4cqi, 54px); }

.gp-lead { font-size: clamp(18px, 1.6cqi, 21px); text-wrap: pretty; }
.gp-note { font-size: 15px; color: var(--faint); text-wrap: pretty; }
.gp-navy .gp-lead { color: var(--on-navy-2); }
.gp-navy .gp-note { color: var(--on-navy-3); }
.gp-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-underline-offset: .18em; }
.gp-navy .gp-link { color: var(--sky-2); }

/* Buttons, the store buttons, tags */
.gp-btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap; }
.gp-btn.is-accent { background: var(--accent); color: var(--accent-ink); }
.gp-btn.is-blue { background: var(--blue); color: var(--blue-ink); }
/* Apple's and Google's own store badges, at one height. */
.gp-store { min-height: 50px; display: inline-flex; align-items: center; border-radius: 8px; }
.gp .gp-store img { width: auto; height: 50px; }
.gp-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.gp-tag.is-free { background: var(--tint); color: var(--ink-2); }
.gp-tag.is-plus { background: var(--ink); color: #FFFFFF; }
.gp-tag.is-pro { background: #FEF3C7; color: #92400E; }
.gp-tag.is-late { background: var(--late-bg); color: var(--late); }

.gp-navy .gp-tag.is-free { background: rgba(248, 250, 252, .12); color: var(--on-navy); }
.gp-navy .gp-tag.is-plus { background: #FFFFFF; color: #0F172A; }

/* Header and footer */
.gp-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 18px; }
.gp-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 48px; }
.gp-brand svg { width: 48px; height: 48px; flex: none; display: block; }
.gp-word { font-family: var(--disp); font-stretch: 112%; font-size: 23px; letter-spacing: -.01em; white-space: nowrap; }
.gp-word b { font-weight: 800; } .gp-word span { font-weight: 600; color: var(--blue); }
.gp-navy .gp-word span { color: var(--sky-2); }
.gp-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.gp-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-weight: 500; text-decoration: none; }
.gp-menu { display: none; position: relative; }
.gp-menu summary { min-height: 44px; display: flex; align-items: center; padding: 0 16px; border: 1.5px solid #94A3B8; border-radius: 999px; font-weight: 500; cursor: pointer; list-style: none; }
.gp-menu summary::-webkit-details-marker { display: none; }
.gp-menu nav { position: absolute; right: 0; top: 52px; z-index: 10; width: 200px; padding: 8px; display: grid; border-radius: var(--r-sm); background: #FFFFFF; color: var(--ink); box-shadow: 0 22px 44px -18px rgba(2, 6, 23, .7); }
.gp .gp-menu a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; font-weight: 500; text-decoration: none; }
.gp summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.gp .gp-navy :is(a, button, summary):focus-visible { outline-color: var(--sky); }
/* The white panels on navy keep blue. */
.gp .gp-navy .gp-menu nav a:focus-visible, .gp .gp-navy .wn-say a:focus-visible { outline-color: var(--blue); }
@container gp (max-width: 760px) { .gp-nav { display: none; } .gp-menu { display: block; } .gp-word { font-size: 20px; } .gp-brand svg { width: 42px; height: 42px; } }
/* A phone holding a real capture of the app (780 x 1688) */
.gp-phone { width: 270px; max-width: 100%; flex: none; border-radius: 44px; border: 10px solid #0B1220; overflow: hidden; background: #F1F5F9; box-shadow: 0 40px 80px -34px rgba(15, 23, 42, .55); }
.gp-phone img { width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; }

.a2-launch { align-self: flex-start; display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- The close ---------- */

.gp .a2-credit { margin-top: clamp(28px, 3.4cqi, 44px); padding-top: 18px; border-top: 1px solid var(--navy-line); }

.gp .gp-nav a { text-decoration: none; }

/* The page you are on, and Sign in as a button, in the header's links. */
.gp .gp-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.gp .gp-nav .gp-in { margin-left: 8px; padding: 0 20px; border: 1.5px solid #94A3B8; border-radius: 12px; }

/* Start free on the web, beside the store badges, and the close (the home page, /crew, /plans and /help). */
.gp .wn-get + .gp-note { max-width: 36em; color: var(--on-navy-2); }
.wn-get { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-block: 18px 12px; }
.gp .wn-get .gp-btn { min-height: 58px; padding: 0 18px; border-radius: 14px; }
.wn-get .gp-btn:hover { background: #FBBF24; }
.wn-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.wn-founder { max-width: 18ch; font-size: clamp(28px, 3.2cqi, 44px); }
@container gp (max-width: 1000px) { .wn-get .gp-btn { width: 100%; } }

/* A switch on navy: radios, their labels the buttons. */
.gp .gp-seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; position: relative; }
.gp-seg > label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1.5px solid #94A3B8; border-radius: 12px; font-weight: 600; cursor: pointer; }
.gp-seg > label:hover { background: var(--navy-2); }
.gp-seg > input:checked + label { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.gp-seg > input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
