/* The landing page (/) — the Flutter LandingPage (lib/features/landing/pages/landing_page.dart).
   Uses the tokens in site.css; breakpoints follow the spec: <600 phone, <640, <980, <1080. */

.landing { --pad: 40px; --top: 120px; }
@media (max-width: 599px) { .landing { --pad: 16px; --top: 72px; } }

/* the hero glow and the CTA buddy reach past the content: clip sideways so the page never scrolls horizontally */
.lp { overflow-x: clip; padding-top: 96px; }
@media (max-width: 599px) { .lp { padding-top: 76px; } }

/* "Skip to content": invisible until a keyboard user tabs onto it */
.skip { position: fixed; left: 16px; top: 12px; z-index: 80; background: var(--pill); color: var(--on-pill); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .15s, transform .15s; }
.skip:focus { opacity: 1; pointer-events: auto; transform: none; }

/* a section: max 1180 wide, padded, 120 px above (×0.6 on phones) */
.lp-sec { max-width: calc(1180px + 2 * var(--pad)); margin: 0 auto; padding: var(--top) var(--pad) 0; }
.lp-sec:focus { outline: none; }
.hero-sec { padding-top: 56px; }
@media (max-width: 599px) { .hero-sec { padding-top: 24px; } }

/* section heading: kicker · title · subtitle */
.sec-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head .kicker { margin: 0 0 12px; }
.sec-head h2 { margin: 0; font-size: 44px; line-height: 1.15; letter-spacing: -.6px; font-weight: 700; }
.sec-sub { margin: 12px 0 0; max-width: 620px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.sec-sub.wide { max-width: 640px; }
@media (max-width: 599px) {
  .sec-head h2 { font-size: 30px; }
  .sec-sub { font-size: 16px; }
}

/* --- nav ------------------------------------------------------------------------------------------------------------ */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 32px; background: transparent;
  transition: background-color .2s, box-shadow .2s; }
.lp-nav.scrolled { background: var(--surface); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.lp-nav .in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.lp-nav .logo { flex: none; }
.lp-nav .logo img { height: 30px; width: auto; }
/* the right group shrinks to fit rather than overflowing (landing.js scales .nav-end, anchored right) */
.nav-box { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.nav-end { flex: none; display: flex; align-items: center; gap: 10px; transform-origin: 100% 50%; }
.nav-links { display: flex; margin-right: -2px; }
.nav-links a { padding: 8px 14px; font-size: 16px; font-weight: 500; color: var(--secondary); text-decoration: none; border-radius: 10px; }
.nav-links a:hover { color: var(--ink); }
.nav-pill { height: 46px; padding: 0 18px; font-size: 15px; }
.acct-slot:empty { display: none; }
@media (max-width: 979px) { .nav-links { display: none; } }
@media (max-width: 599px) {
  .lp-nav { padding: 12px 16px; }
  .lp-nav .logo img { height: 24px; }
  .nav-pill { height: 40px; }
}

/* --- pills local to this page (the Flutter _Pill tones) ------------------------------------------------------------- */
.landing .pill:hover { transform: scale(1.03); }
.landing .pill:active { transform: scale(.97); }
.pill.lp-dark { background: var(--pill); color: var(--on-pill); }
.pill.lp-dark:hover { background: var(--pill-hover); box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
.pill.lp-ol { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px #D9DBDD; }
.pill.lp-ol:hover { background: #F6F6F6; box-shadow: inset 0 0 0 1px #D9DBDD, 0 6px 16px rgba(0, 0, 0, .1); }
:root[data-theme="dark"] .pill.lp-ol { box-shadow: inset 0 0 0 1px #3A3D44; }
:root[data-theme="dark"] .pill.lp-ol:hover { background: var(--surface-high); box-shadow: inset 0 0 0 1px #3A3D44, 0 6px 16px rgba(0, 0, 0, .1); }
.pill.white:hover, .pill.black:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .1); }
.pill .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* the three ways in: Chrome across the top, Mac + Windows side by side under it */
.lp-btns { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 12px; }
.lp-btns .pill { width: 100%; height: 58px; }
.lp-btns .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.lp-btns .pill { min-width: 0; }
.lp-btns .pill.tight { padding: 0 14px; }
@media (max-width: 599px) {
  .lp-btns .pill.tight { padding: 0 8px; gap: 7px; font-size: 14.5px; }
  .lp-btns .pill.tight .brand { width: 16px; height: 16px; }
}
/* the lime card is narrower than the hero: on the smallest phones Mac and Windows stack there rather than truncate */
@media (max-width: 419px) { .cta .lp-btns .row { grid-template-columns: 1fr; } }

/* --- hero ----------------------------------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 4px 14px rgba(0, 0, 0, .05); font-size: 14px; font-weight: 500; }
.badge .new { flex: none; background: var(--lime); color: var(--on-light); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge .b-wide, .badge .b-narrow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge .b-narrow { display: none; }
.hero h1 { margin: 22px 0 0; font-size: 64px; line-height: 1.05; letter-spacing: -1.2px; font-weight: 700; }
.hero h1 .hm { color: var(--headline-muted); }
.hero-body { margin: 22px 0 0; max-width: 500px; font-size: 19px; line-height: 1.55; color: var(--body-text); }
.hero .lp-btns { margin-top: 32px; }
.small-print { margin: 16px 0 0; font-size: 14px; color: var(--secondary); } /* 4.5:1 for small text */
@media (max-width: 1079px) {
  .hero { grid-template-columns: 1fr; gap: 56px; }
  .hero-text { align-items: center; text-align: center; }
}
@media (max-width: 599px) {
  .hero { gap: 40px; }
  .badge .b-wide { display: none; } .badge .b-narrow { display: inline; }
  .hero h1 { font-size: 42px; }
  .hero-body { font-size: 17px; }
}

/* the showcase: a window with the tour's scenes */
.showcase { position: relative; min-width: 0; }
.sc-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(190, 252, 91, .18) 0%, rgba(190, 252, 91, .072) 45%, rgba(190, 252, 91, 0) 70%); }
.sc-card { position: relative; background: var(--surface); border: 1px solid var(--card-border); border-radius: 32px; box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  padding: 16px 18px 20px; }
.sc-top { display: flex; align-items: center; gap: 10px; height: 20px; }
.sc-dots { display: inline-flex; gap: 7px; }
.sc-dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.sc-dots i:nth-child(2) { background: #FEBC2E; } .sc-dots i:nth-child(3) { background: #28C840; }
.sc-title { font-size: 14px; font-weight: 500; color: var(--ink); transition: opacity .15s; }
.sc-title.swap { opacity: 0; }
.sc-stage { margin-top: 12px; aspect-ratio: 720 / 375; overflow: hidden; border-radius: 14px; }
.sc-canvas { width: 720px; height: 375px; }
/* each scene sits on a layer; a new one fades + grows in (450 ms) over the old one fading out */
.sc-layer { position: absolute; inset: 0; transition: opacity .45s cubic-bezier(.33, 1, .68, 1), transform .45s cubic-bezier(.33, 1, .68, 1); }
.sc-layer.entering { opacity: 0; transform: scale(.97); }
.sc-layer.leaving { opacity: 0; pointer-events: none; }
.sc-layer > * { position: absolute; left: 0; top: 0; width: 720px; height: 375px; }
.sc-tabs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.sc-tabs button { font-family: var(--mono); font-size: 14px; font-weight: 500; padding: 9px 12px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--card-border); box-shadow: 0 3px 10px rgba(0, 0, 0, .04);
  transition: background-color .22s, color .22s; }
.sc-tabs button:hover { background: var(--surface-high); }
.sc-tabs button.on { background: #121212; color: var(--lime); border-color: transparent; }
:root[data-theme="dark"] .sc-tabs button.on { background: var(--lime); color: #121212; }

/* stand-in scene while illustrations.js isn't there */
.sc-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: linear-gradient(180deg, var(--surface-high), var(--surface)); border-radius: 18px; }
.sc-ph b { font-size: 34px; } .sc-ph span { font-size: 22px; color: var(--secondary); white-space: pre-line; line-height: 1.35; }

/* --- features ------------------------------------------------------------------------------------------------------- */
.feat-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
@media (max-width: 979px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .feat-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }
.feat { height: 100%; min-height: 232px; padding: 24px; border-radius: 26px; background: var(--surface); border: 1.6px solid transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04); transition: transform .2s ease-out, border-color .2s ease-out, box-shadow .2s ease-out; }
:root[data-theme="dark"] .feat { border-color: var(--border); }
.feat:hover, :root[data-theme="dark"] .feat:hover { transform: translateY(-6px); border-color: var(--lime); box-shadow: 0 8px 30px rgba(0, 0, 0, .08); }
@media (max-width: 639px) { .feat { min-height: 0; } }
.feat-ico { width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  background: rgba(190, 252, 91, .35); color: var(--ink); transition: background-color .2s, color .2s; }
.feat:hover .feat-ico { background: var(--lime); color: #121212; }
.feat-ico .mask-icon { width: 25px; height: 25px; }
.feat h3 { margin: 18px 0 0; font-size: 19px; line-height: 1.25; }
.feat p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--body-text); }

/* the wide Local AI card */
.private { margin-top: 20px; display: flex; align-items: center; gap: 22px; padding: 28px; border-radius: 28px; background: var(--surface);
  border: 1.5px solid rgba(190, 252, 91, .7); }
.pv-badge { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--lime); color: #121212; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 0 24px rgba(190, 252, 91, .35); }
.pv-badge .ms { font-size: 30px; }
.pv-text { flex: 1; min-width: 0; }
.pv-text h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.pv-text p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.pv-chips { flex: 0 1 auto; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pv-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface-high);
  border: 1px solid var(--card-border); font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.pv-chips .ms { font-size: 15px; color: var(--kicker); }
@media (max-width: 639px) {
  .private { flex-direction: column; text-align: center; padding: 22px; gap: 0; }
  .pv-text { margin-top: 14px; } .pv-chips { margin-top: 16px; }
}

/* --- how it works --------------------------------------------------------------------------------------------------- */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: flex; align-items: stretch; }
.step { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 26px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 8px 22px rgba(0, 0, 0, .04); }
.step img { height: 110px; width: auto; }
.step .num { margin-top: 18px; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--kicker); }
.step h3 { margin: 6px 0 0; font-size: 22px; line-height: 1.25; }
.step p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.step-dots { flex: none; align-self: flex-start; display: flex; gap: 6px; padding: 80px 13px 0; }
.step-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(190, 252, 91, .45); }
.step-dots i:nth-child(2) { background: rgba(190, 252, 91, .7); } .step-dots i:nth-child(3) { background: rgba(190, 252, 91, .95); }
@media (max-width: 979px) {
  .steps { flex-direction: column; max-width: 560px; margin-left: auto; margin-right: auto; gap: 20px; }
  .step-dots { display: none; }
}

/* --- safe by default ------------------------------------------------------------------------------------------------ */
.safe { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px; border-radius: 36px; background: #121212;
  border: 1px solid var(--card-border); color: #FFFFFF; }
:root[data-theme="dark"] .safe { background: #17181B; }
.safe-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: #121212; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 36px rgba(190, 252, 91, .45); }
.safe-ico .ms { font-size: 40px; }
.safe h2 { margin: 18px 0 0; font-size: 40px; line-height: 1.15; color: #FFFFFF; }
.safe-sub { margin: 10px 0 0; font-size: 17px; color: #B5BABD; }
.safe-cards { margin-top: 36px; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, min(320px, 100%)); grid-auto-rows: 1fr; gap: 20px;
  justify-content: center; }
.safe-card { text-align: left; padding: 24px; border-radius: 24px; background: #1E1E1E; border: 1px solid var(--card-border); }
:root[data-theme="dark"] .safe-card { background: #1F2024; }
.safe-card .ms { font-size: 26px; color: var(--lime); }
.safe-card h3 { margin: 14px 0 0; font-size: 19px; line-height: 1.25; color: #FFFFFF; }
.safe-card p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #B5BABD; }
@media (max-width: 599px) {
  .safe { padding: 36px 22px; }
  .safe h2 { font-size: 30px; }
  .safe-cards { grid-auto-rows: auto; }
}

/* --- Online AI / Local AI ------------------------------------------------------------------------------------------- */
.modes-mount { max-width: 860px; margin: 40px auto 0; }
.modes-note { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--secondary); }
@media (max-width: 599px) { .modes-mount { margin-top: 28px; } }

/* --- pricing / downloads mounts (plans.js fills them; these style only the no-JS fallback) -------------------------- */
.plans-mount { margin-top: 40px; }
@media (max-width: 599px) { .plans-mount { margin-top: 28px; } }
.plans-fallback, .dl-fallback { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.plans-fallback li, .dl-fallback li { width: 306px; max-width: 100%; padding: 26px 22px; border-radius: 30px; background: var(--surface);
  border: 1px solid var(--card-border); box-shadow: var(--shadow); text-align: center; }
.dl-fallback li { width: 360px; }
.plans-fallback h3, .dl-fallback h3 { margin: 0; font-size: 24px; }
.plans-fallback p, .dl-fallback p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--secondary); }
.plans-fallback .pf-price { font-size: 40px; font-weight: 700; color: var(--ink); }
.pf-price small { font-size: 15px; font-weight: 500; color: var(--secondary); }
.dl-fallback .pill { margin-top: 18px; }
.dl-fallback { margin-top: 36px; }
.pf-more { text-align: center; margin: 28px 0 0; }

/* --- FAQ ------------------------------------------------------------------------------------------------------------ */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq-item { margin-bottom: 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 4px 14px rgba(0, 0, 0, .03); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 20px 20px 24px; border-radius: 22px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink);
  transition: padding-bottom .22s ease-out; }
.faq-item button > span:first-child { flex: 1; }
.faq .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #F1F1F1; color: var(--ink); transition: transform .2s, background-color .2s, color .2s; }
:root[data-theme="dark"] .faq .plus { background: var(--surface-high); }
.faq .plus .ms { font-size: 20px; }
.faq-a > div > p { margin: 0; padding: 0 60px 20px 24px; font-size: 16px; line-height: 1.6; color: var(--secondary); }
/* with JS: answers fold away (the height animates over 220 ms); without JS they all stay readable */
.faq.ready .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease-out; }
.faq.ready .faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .22s; }
.faq.ready .open .faq-a { grid-template-rows: 1fr; }
.faq.ready .open .faq-a > div { visibility: visible; transition-delay: 0s; }
.faq.ready .open button { padding-bottom: 12px; }
.faq .open .plus, :root[data-theme="dark"] .faq .open .plus { transform: rotate(45deg); background: var(--lime); color: #121212; }
@media (max-width: 599px) { .faq-a > div > p { padding-right: 44px; } }

/* --- final CTA ------------------------------------------------------------------------------------------------------ */
.cta-wrap { position: relative; padding-top: 70px; }
.cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 64px 24px 56px; border-radius: 36px; background: var(--lime);
  box-shadow: 0 20px 60px rgba(190, 252, 91, .5); color: #121212; }
:root[data-theme="dark"] .cta { box-shadow: 0 20px 60px rgba(190, 252, 91, .22); }
.cta h2 { margin: 0; font-size: 52px; line-height: 1.1; letter-spacing: -1px; color: #121212; }
.cta p { margin: 12px 0 0; font-size: 19px; line-height: 1.4; color: #3D4A1F; }
.cta .lp-btns { margin-top: 30px; }
.cta .pill:focus-visible { outline-color: #121212; }
.cta-wrap .tour-bud { z-index: 2; }
@media (max-width: 599px) {
  .cta { padding: 48px 24px 40px; }
  .cta h2 { font-size: 34px; }
  .cta p { font-size: 16px; }
}

/* --- footer --------------------------------------------------------------------------------------------------------- */
.lp-foot { max-width: calc(1180px + 2 * var(--pad)); margin: 0 auto; padding: 80px var(--pad) 40px; }
@media (max-width: 599px) { .lp-foot { padding-top: 48px; } }
.lp-foot hr { border: 0; border-top: 1px solid var(--border); margin: 0; }
.foot-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot-row .logo img { height: 26px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; }
.foot-links a { padding: 8px 14px; font-size: 16px; font-weight: 500; color: var(--secondary); text-decoration: none; border-radius: 10px; }
.foot-links a:hover { color: var(--ink); }
.copy { margin: 20px 0 0; text-align: center; font-size: 13px; font-weight: 500; color: var(--secondary); }
@media (max-width: 599px) { .foot-row { justify-content: center; } .foot-links { justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .landing .pill:hover, .feat:hover, :root[data-theme="dark"] .feat:hover { transform: none; }
}

/* the hero rises in with CSS alone — it starts at first paint, not when the scripts arrive (faster first view, LCP) */
[data-rise] { animation: lp-rise .48s cubic-bezier(.22, .61, .36, 1) both; animation-delay: var(--d, 0ms); }
#hero-title[data-rise] { animation-name: lp-rise-t; } /* the headline only slides: it is visible from the first frame */
@keyframes lp-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes lp-rise-t { from { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { [data-rise] { animation: none; } }
/* "Intel Mac? Download here" under the Mac buttons (only when an Intel build is out) */
.mac-other { display: block; margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--secondary); }
.lp-btns + .mac-other { margin-top: 14px; }
.dl-fallback .mac-other { margin: 10px 0 0; }


/* Hero, centred: the text, then "Desktop apps" and "Browser extensions" — every way in, for every visitor; the showcase under it */
.hero.centered { grid-template-columns: 1fr; justify-items: center; gap: 44px; }
.hero.centered .hero-text { align-items: center; text-align: center; width: 100%; }
.hero.centered .hero-body { max-width: 880px; }
.hero.centered .showcase { width: min(100%, 1000px); }
.get { width: 100%; margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.get-h { display: flex; align-items: center; gap: 16px; width: min(100%, 900px); margin: 6px 0 0; font-size: 15px; color: var(--secondary); }
.get-h::before, .get-h::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, currentColor 35%, transparent); }
.get-browsers + .small-print, .get .small-print { margin-top: 10px; }
.get-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; width: min(100%, 900px); }
.get-browsers { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; width: 100%; margin-top: 34px; }
.gpill { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 18px 0 20px; border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 600; white-space: nowrap; transition: transform .15s, box-shadow .15s, border-color .15s; }
.gpill .t .sm { display: none; }
.gpill .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.gpill .chev { flex: none; opacity: .85; }
.gpill .brand { width: 26px; height: 26px; display: inline-flex; flex: none; }
.gpill img { width: 30px; height: 30px; flex: none; }
.gpill:hover { transform: translateY(-1px); }
.gpill.dark { color: var(--ink, inherit); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); background: color-mix(in srgb, currentColor 4%, transparent); }
.gpill.dark:hover { border-color: color-mix(in srgb, currentColor 50%, transparent); }
.gpill.light { color: #15171a; background: #f4f5f6; border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); padding: 0 10px 0 12px; gap: 8px; font-size: 14.5px; }
.gpill.light img { width: 26px; height: 26px; }
.gpill.light { position: relative; }
.gpill.light .chev { width: 15px; height: 15px; }
.get-browsers { gap: 12px; }
.gpill.light:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
/* phones: compact — the two apps side by side, the six browsers as one row of round logos (names kept for screen readers) */
@media (max-width: 640px) {
  .get { gap: 12px; margin-top: 22px; }
  .get-h { font-size: 13.5px; gap: 12px; }
  .get-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gpill.dark { height: 48px; padding: 0 10px; gap: 6px; font-size: 13.5px; }
  .gpill.dark .brand { width: 20px; height: 20px; }
  .gpill.dark .chev { display: none; }
  .gpill.dark .t .lg { display: none; } .gpill.dark .t .sm { display: inline; }
  .get-browsers { gap: 8px; margin-top: 30px; flex-wrap: nowrap; }
  .gpill.light { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; gap: 0; }
  .gpill.light img { width: 28px; height: 28px; }
  .gpill.light .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .get .small-print { margin-top: 4px; font-size: 13px; }
}

/* Pip standing on a browser button, hopping to the next: the box slides, the inner arc jumps (up, down, a little squash) */
.pip-hop { position: absolute; left: 0; top: 0; width: 46px; height: 46px; z-index: 2; pointer-events: none;
  transition: transform .62s cubic-bezier(.45, .05, .35, 1); }
.pip-hop.still { transition: none; }
.pip-arc.jump { animation: pip-hop .62s cubic-bezier(.3, .7, .4, 1); }
@keyframes pip-hop {
  0% { transform: translateY(0) scale(1, 1); }
  12% { transform: translateY(2px) scale(1.08, .9); }
  50% { transform: translateY(-34px) scale(.96, 1.05); }
  88% { transform: translateY(0) scale(1.08, .9); }
  100% { transform: translateY(0) scale(1, 1); }
}
@media (prefers-reduced-motion: reduce) { .pip-hop { transition: none; } .pip-arc.jump { animation: none; } }
@media (max-width: 340px) { .gpill.dark { font-size: 12.5px; gap: 5px; padding: 0 8px; } .gpill.dark .brand { width: 18px; height: 18px; } .get-browsers { gap: 5px; } .gpill.light { width: 44px; height: 44px; } }

/* the browsers: one row of round logos at every size; the name ("Add to Chrome") shows under the logo on hover or focus */
.gpill.light { width: 62px; height: 62px; padding: 0; gap: 0; justify-content: center; border-radius: 50%; }
.gpill.light img { width: 34px; height: 34px; }
.gpill.light .chev { display: none; }
.gpill.light .t { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 3; flex: none; width: auto; overflow: visible; pointer-events: none;
  padding: 6px 10px; border-radius: 8px; background: #f4f5f6; color: #15171a; border: 1px solid rgba(0, 0, 0, .1); font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .15s, transform .15s; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.gpill.light:hover .t, .gpill.light:focus-visible .t { opacity: 1; transform: translate(-50%, 0); }
.get .small-print { margin-top: 40px; }
@media (max-width: 640px) {
  .gpill.light { width: 48px; height: 48px; }
  .gpill.light img { width: 28px; height: 28px; }
  /* phones: no hover — the name is for screen readers only */
  .gpill.light .t { top: auto; left: auto; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 1; transform: none; box-shadow: none; }
  .get .small-print { margin-top: 4px; }
}
@media (max-width: 340px) { .gpill.light { width: 44px; height: 44px; } }

/* computers: the headline and text beside the showcase (similar heights), then the "get it" bar across both columns —
   Desktop apps on the left half, the browser extension on the right half; narrower screens stack: text, get, showcase */
.get-group { display: flex; flex-direction: column; align-items: center; gap: 16px; width: min(100%, 900px); }

/* the logo row: Chrome and Firefox, side by side in the middle */
.get-browsers { width: min(100%, 900px); justify-content: center; gap: 28px; }

@media (max-width: 640px) { .get-browsers { width: 100%; justify-content: center; gap: 20px; } }
