/*
 * site-chrome.css: the site's one header (.sh) and one footer (.sf) (SITE-1, Anand, 24 Oct 26). The markup is
 * src/components/site-chrome/SiteHeader.tsx and SiteFooter.tsx, drawn the same on the React pages (which import this
 * file) and on the static narrated landings (which link it). The behaviour is landing/shared/site-chrome.js.
 *
 * Everything is scoped to .sh and .sf and carries its own copy of the landing's navy tokens and its own reset, so
 * the two draw the same over the landing's own CSS, Tailwind's preflight or nothing at all.
 */

.sh, .sf {
  --sc-navy-0: #12163A;
  --sc-navy-1: #191C4F;
  --sc-navy-2: #2A2470;
  --sc-bar: rgba(18, 22, 58, 0.9);
  --sc-bar-line: rgba(255, 255, 255, 0.14);
  --sc-on: #FFFFFF;
  --sc-on-2: rgba(238, 240, 255, 0.86);
  --sc-on-3: rgba(238, 240, 255, 0.7);
  --sc-paper: #FBFAFF;
  --sc-surface: #F4F0FD;
  --sc-card: #FFFFFF;
  --sc-ink: #1C1533;
  --sc-ink-2: #5A5373;
  --sc-ink-3: #6E687A;
  --sc-line: #E9E3F6;
  --sc-violet: #8157DD;
  --sc-violet-2: #5E38BE;
  --sc-violet-soft: #EFE9FC;
  --sc-violet-line: #DCCFF7;
  --sc-gold: #F4C66A;
  --sc-green-ink: #137333;
  --sc-serif: 'Unbounded', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --sc-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sc-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sc-bar-h: 68px;
  font-family: var(--sc-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.sh *, .sh *::before, .sh *::after, .sf *, .sf *::before, .sf *::after { box-sizing: border-box; }
.sh ul, .sf ul { list-style: none; margin: 0; padding: 0; }
.sh p, .sf p, .sf h3 { margin: 0; }
.sh a, .sf a { color: inherit; text-decoration: none; }
.sh button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sh img, .sf img { display: block; max-width: none; height: auto; }
.sh svg, .sf svg { display: block; flex: none; }
.sh ::selection, .sf ::selection { background: var(--sc-violet); color: #fff; }
.sh :focus-visible, .sf :focus-visible { outline: 2px solid var(--sc-violet); outline-offset: 2px; border-radius: 10px; }
.sh .sh-wrap > :focus-visible, .sh .sh-trigger:focus-visible, .sh .sh-link:focus-visible, .sf :focus-visible { outline-color: #fff; }

/* the prices: every page's head (priceRegion.js regionHeadMarkup) sets <html data-region> before the body paints and
   carries the one line that shows the region's text; nothing here decides it */

/* ------------------------------------------------------------------------------------------------------- the bar */

.sh {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--sc-bar);
  color: var(--sc-on);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 0.3s;
}
.sh.is-scrolled { box-shadow: 0 1px 0 var(--sc-bar-line), 0 12px 32px -24px rgba(6, 8, 30, 0.9); }
.sh .sh-wrap { position: relative; display: flex; align-items: center; gap: 10px; max-width: 1240px; min-height: var(--sc-bar-h); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
/* Fly's Brush logo (BRAND-BRUSH): the lockup alone, drawn inline at its final size, so the bar never moves; its arrival
   flies the mascot in from the left, outside the logo's own box (overflow visible) */
.sh .sh-brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: 6px; color: var(--sc-on); }
.sh .sh-brand svg { overflow: visible; }

.sh .sh-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sh .sh-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; color: var(--sc-on-2); white-space: nowrap; transition: color 0.2s, background-color 0.2s; }
.sh .sh-signin:hover { color: var(--sc-on); background: rgba(255, 255, 255, 0.07); }
.sh .sh-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 20px; border-radius: 999px; background: var(--sc-violet); color: #fff; font-weight: 700; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 24px -12px rgba(129, 87, 221, 0.9); transition: background-color 0.2s, transform 0.2s var(--sc-ease); }
.sh .sh-cta:hover { background: var(--sc-violet-2); }
.sh .sh-cta:active { transform: translateY(1px); }
.sh .sh-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--sc-ease); }
.sh .sh-cta:hover svg { transform: translateX(3px); }
/* signed in: one way into the app (the static pages carry all three; the React pages draw only the one) */
.sh:not([data-signed]) .sh-app { display: none; }
.sh[data-signed] .sh-signin, .sh[data-signed] .sh-cta:not(.sh-app) { display: none; }

.sh .sh-burger { display: none; }

.sh .sh-glyph { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--sc-violet-soft); color: var(--sc-violet-2); transition: background-color 0.25s, color 0.25s; }
.sh .sh-glyph svg { width: 18px; height: 18px; stroke-width: 1.9; }
.sh .sh-row-text { display: block; min-width: 0; }
.sh .sh-row-name { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--sc-ink); }
.sh .sh-row-line { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--sc-ink-2); }
/* LAUNCH-3: an agent coming soon that the site hides, by name, with no link and no pane */
.sh .sh-soon { position: relative; z-index: 1; display: flex; align-items: center; min-height: 44px; padding: 8px 12px 8px 60px; font-size: 13.5px; line-height: 1.35; color: var(--sc-ink-2); }

.sh .sh-pane-name { font: 700 21px/1.2 var(--sc-serif); letter-spacing: -0.02em; color: var(--sc-ink); }
.sh .sh-pane-line { margin-top: 8px; max-width: 46ch; font-size: 14.5px; line-height: 1.5; color: var(--sc-ink-2); text-wrap: pretty; }
/* the networks or ad platforms an agent works on, each its own mark in its own colours on the pane's white (LAND-8) */
.sh .sh-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; }
.sh .sh-marks-l { font-size: 12.5px; font-weight: 700; color: var(--sc-ink-3); }
.sh .sh-marks ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sh .sh-marks li { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--sc-line); }
.sh .sh-mark { display: block; width: 16px; height: 16px; }
.sh .sh-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; margin-top: 14px; }
.sh .sh-feats a { display: block; height: 100%; padding: 10px 12px; border-radius: 12px; transition: background-color 0.2s; }
.sh .sh-feats a:hover { background: var(--sc-surface); }
.sh .sh-feat-name { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--sc-ink); }
.sh .sh-feats a:hover .sh-feat-name { color: var(--sc-violet-2); }
.sh .sh-feat-line { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--sc-ink-2); }
.sh .sh-pane-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding: 14px 4px 2px 12px; border-top: 1px solid var(--sc-line); }
.sh .sh-price { font-size: 14px; color: var(--sc-ink-2); }
.sh .sh-price b { font-size: 16.5px; font-weight: 800; color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.sh .sh-tax { font-size: 12.5px; }
.sh .sh-note { margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--sc-green-ink); }
.sh .sh-see { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 18px; border-radius: 999px; background: var(--sc-violet-soft); color: var(--sc-violet-2); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.sh .sh-see:hover { background: var(--sc-violet); color: #fff; }
.sh .sh-see svg { width: 16px; height: 16px; transition: transform 0.3s var(--sc-ease); }
.sh .sh-see:hover svg { transform: translateX(3px); }

.sh .sh-res a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background-color 0.2s; }
.sh .sh-res a:hover, .sh .sh-res a[aria-current='page'] { background: var(--sc-surface); }
.sh .sh-res a:hover .sh-glyph { background: var(--sc-violet); color: #fff; }
.sh .sh-panel-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; margin-top: 8px; padding: 12px 10px 4px; border-top: 1px solid var(--sc-line); }
.sh .sh-panel-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 700; font-size: 14px; color: var(--sc-violet-2); }
.sh .sh-panel-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh .sh-panel-foot svg { width: 15px; height: 15px; }
.sh .sh-panel-foot .pr-switch { margin-right: auto; color: var(--sc-ink-2); }

/* --------------------------------------------------------------------------------------- wide: the menus in the bar */

@media (min-width: 960px) {
  .sh .sh-nav { display: block; margin-left: 10px; }
  .sh .sh-menu { display: flex; align-items: center; gap: 2px; }
  .sh .sh-item { position: relative; }
  .sh .sh-trigger, .sh .sh-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--sc-on-2); white-space: nowrap; transition: color 0.2s, background-color 0.2s; }
  .sh .sh-trigger:hover, .sh .sh-link:hover, .sh .sh-item[data-open] > .sh-trigger, .sh .sh-link[aria-current='page'] { color: var(--sc-on); background: rgba(255, 255, 255, 0.08); }
  .sh .sh-trigger svg { width: 16px; height: 16px; opacity: 0.8; transition: transform 0.35s var(--sc-ease); }
  .sh .sh-item[data-open] > .sh-trigger svg { transform: rotate(180deg); }

  .sh .sh-panel {
    position: absolute;
    top: calc(100% + 18px);
    left: -10px;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    transform-origin: 64px 0;
    border-radius: 22px;
    background: var(--sc-card);
    color: var(--sc-ink);
    box-shadow: 0 36px 70px -28px rgba(8, 10, 36, 0.62), 0 14px 30px -18px rgba(8, 10, 36, 0.45), 0 0 0 1px rgba(28, 21, 51, 0.06);
    transition: opacity 0.18s ease, transform 0.36s var(--sc-ease), visibility 0s linear 0.36s;
  }
  /* the bridge: the pointer crosses the gap between the button and the panel without leaving the menu */
  .sh .sh-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
  .sh .sh-item[data-open] > .sh-panel { visibility: inherit; opacity: 1; transform: none; transition: opacity 0.22s var(--sc-ease), transform 0.42s var(--sc-ease), visibility 0s; }

  .sh .sh-panel-agents { width: min(860px, calc(100vw - 48px)); padding: 10px; }
  .sh .sh-agents { position: relative; min-height: 384px; }
  .sh .sh-agents::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 290px; border-radius: 16px; background: var(--sc-surface); }
  .sh .sh-rows { width: 290px; padding: 6px; }
  .sh .sh-glide { position: absolute; z-index: 0; top: 0; left: 6px; width: 278px; height: 56px; border-radius: 13px; background: var(--sc-card); box-shadow: 0 10px 22px -14px rgba(40, 24, 90, 0.55), 0 0 0 1px rgba(94, 56, 190, 0.08); opacity: 0; transition: transform 0.42s var(--sc-ease), height 0.42s var(--sc-ease), opacity 0.2s; }
  .sh .sh-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; }
  .sh .sh-row .sh-row-line { margin-top: 1px; font-size: 12.5px; }
  .sh .sh-row-chev { width: 16px; height: 16px; margin-left: auto; color: var(--sc-violet-2); opacity: 0; transform: rotate(-90deg) translateY(-4px); transition: opacity 0.25s, transform 0.35s var(--sc-ease); }
  .sh .sh-agent.is-active .sh-row-chev { opacity: 1; transform: rotate(-90deg); }
  .sh .sh-agent.is-active .sh-glyph { background: var(--sc-violet); color: #fff; }
  .sh .sh-agent.is-active .sh-row-name { color: var(--sc-violet-2); }
  .sh .sh-row[aria-current='page'] .sh-row-name::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--sc-gold); vertical-align: middle; }

  /* each agent's pane: the active one in place, those above it waiting above, those below waiting below */
  .sh .sh-pane { position: absolute; top: 0; right: 0; bottom: 0; left: 302px; display: flex; visibility: hidden; opacity: 0; transform: translateY(14px); transition: opacity 0.16s ease, transform 0.4s var(--sc-ease), visibility 0s linear 0.4s; }
  .sh .sh-agent.is-before .sh-pane { transform: translateY(-14px); }
  .sh .sh-agent.is-active .sh-pane { visibility: inherit; opacity: 1; transform: none; transition: opacity 0.3s var(--sc-ease) 0.05s, transform 0.5s var(--sc-ease), visibility 0s; }
  .sh .sh-pane-in { display: flex; flex-direction: column; width: 100%; padding: 16px 14px 8px 8px; }

  .sh .sh-panel-res { width: 400px; padding: 8px; }
  .sh .sh-res { display: grid; gap: 2px; }
}

@media (min-width: 960px) and (max-width: 1099.98px) {
  .sh .sh-signin { padding: 0 10px; }
  .sh .sh-trigger, .sh .sh-link { padding: 0 11px; }
}

/* -------------------------------------------------------------------------------------- narrow: the drawer */

@media (max-width: 959.98px) {
  .sh { --sc-bar-h: 60px; }
  .sh .sh-wrap { position: static; gap: 6px; }
  .sh[data-drawer] { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sc-navy-0); }
  .sh .sh-signin { padding: 0 10px; font-size: 14.5px; }
  .sh .sh-cta { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
  .sh .sh-cta svg { display: none; }
  .sh .sh-burger { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 12px; color: var(--sc-on); }
  .sh .sh-burger span, .sh .sh-burger span::before { content: ''; display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--sc-ease); }
  .sh .sh-burger span { position: relative; transform: translateY(-4px); }
  .sh .sh-burger span::before { position: absolute; top: 8px; left: 0; }
  .sh[data-drawer] .sh-burger span { transform: translateY(0) rotate(45deg); }
  .sh[data-drawer] .sh-burger span::before { transform: translateY(-8px) rotate(-90deg); }

  .sh .sh-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--sc-bar-h));
    height: calc(100dvh - var(--sc-bar-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 16px 40px;
    background: var(--sc-paper);
    color: var(--sc-ink);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.4s var(--sc-ease), visibility 0s linear 0.4s;
  }
  .sh[data-drawer] .sh-nav { visibility: inherit; opacity: 1; transform: none; transition: opacity 0.24s var(--sc-ease), transform 0.45s var(--sc-ease), visibility 0s; }
  .sh .sh-item { padding-bottom: 8px; border-bottom: 1px solid var(--sc-line); }
  .sh .sh-trigger, .sh .sh-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; font: 700 18px/1.2 var(--sc-serif); letter-spacing: -0.015em; color: var(--sc-ink); text-align: left; }
  .sh .sh-trigger svg { width: 20px; height: 20px; color: var(--sc-violet-2); transition: transform 0.35s var(--sc-ease); }
  .sh .sh-item[data-open] > .sh-trigger svg { transform: rotate(180deg); }

  /* a section, and an agent inside it, open in place */
  .sh .sh-panel, .sh .sh-pane { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.42s var(--sc-ease), visibility 0s linear 0.42s; }
  .sh .sh-panel-in, .sh .sh-pane-in { min-height: 0; overflow: hidden; }
  .sh .sh-item[data-open] > .sh-panel, .sh .sh-agent.is-open .sh-pane { grid-template-rows: 1fr; visibility: inherit; transition: grid-template-rows 0.42s var(--sc-ease), visibility 0s; }
  .sh .sh-panel-in { padding-bottom: 12px; }
  .sh .sh-glide { display: none; }
  .sh .sh-agent + .sh-agent { margin-top: 2px; }
  .sh .sh-soon { padding-left: 52px; }
  .sh .sh-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 4px; border-radius: 14px; }
  .sh .sh-row-chev { width: 18px; height: 18px; margin-left: auto; color: var(--sc-ink-3); transition: transform 0.35s var(--sc-ease); }
  .sh .sh-agent.is-open .sh-row-chev { transform: rotate(180deg); }
  .sh .sh-agent.is-open .sh-glyph { background: var(--sc-violet); color: #fff; }
  .sh .sh-pane-in { padding: 0 4px 0 52px; }
  .sh .sh-pane-name { display: none; }
  .sh .sh-pane-line { display: none; }
  .sh .sh-marks { margin: 2px 0 10px; }
  .sh .sh-feats { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .sh .sh-feats a { padding: 9px 10px; margin-left: -10px; }
  .sh .sh-pane-foot { flex-wrap: wrap; align-items: center; margin: 8px 0 14px; padding: 12px 0 0; }
  .sh .sh-panel-foot { justify-content: flex-start; padding: 10px 0 0; margin-top: 6px; }
  .sh .sh-res a { padding: 10px 4px; }
}

@media (max-width: 959.98px) and (hover: hover) {
  .sh .sh-burger:hover { background: rgba(255, 255, 255, 0.08); }
}

@media (max-width: 379.98px) {
  .sh .sh-signin { padding: 0 8px; }
}

html.sh-locked, html.sh-locked body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .sh *, .sh *::before, .sh *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .sh .sh-panel, .sh .sh-pane, .sh .sh-nav { transform: none !important; }
}

/* ---------------------------------------------------------------------------------------------------- the footer */

.sf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(130% 120% at 82% 0%, var(--sc-navy-2) 0%, var(--sc-navy-1) 42%, var(--sc-navy-0) 100%);
  color: var(--sc-on-2);
  padding-top: clamp(56px, 7vw, 92px);
}
.sf .sf-wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.sf .sf-top { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); }
.sf .sf-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-on); }
.sf .sf-line { margin-top: 14px; max-width: 30ch; font-size: 15px; line-height: 1.55; color: var(--sc-on-3); text-wrap: pretty; }
.sf .sf-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 28px; }
.sf .sf-head { margin: 0 0 10px; font: 700 14px/1.3 var(--sc-serif); letter-spacing: -0.005em; color: var(--sc-on); }
.sf .sf-col a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 0; font-size: 14.5px; line-height: 1.35; color: var(--sc-on-3); transition: color 0.2s; }
.sf .sf-col a:hover { color: var(--sc-on); text-decoration: underline; text-decoration-color: var(--sc-gold); text-underline-offset: 4px; }
/* LAUNCH-3: an agent coming soon that the site hides, by name, with no link */
.sf .sf-soon { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 0; font-size: 14.5px; line-height: 1.35; color: var(--sc-on-3); opacity: 0.7; }

/* the world the agents work in: blended up into the navy by a mask, under the copyright's dark ground */
.sf .sf-world { position: relative; z-index: 0; height: clamp(150px, 22vw, 320px); margin-top: clamp(8px, 2vw, 24px); pointer-events: none; }
.sf .sf-world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; opacity: 0.92; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%); mask-image: linear-gradient(to bottom, transparent 0%, #000 42%); }
.sf .sf-base { position: relative; z-index: 1; margin-top: -46px; padding: 14px 0 16px; background: linear-gradient(to top, rgba(10, 12, 38, 0.94) 30%, rgba(10, 12, 38, 0)); }
.sf .sf-base p { font-size: 13.5px; color: var(--sc-on-3); }
.sf .sf-base .sf-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.sf .sf-base .pr-switch { color: var(--sc-on-2); }

@media (max-width: 1099.98px) {
  .sf .sf-top { grid-template-columns: minmax(0, 1fr); }
  .sf .sf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sf .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .sf .sf-col[data-col='compare'] { grid-column: 1 / -1; }
  .sf .sf-col[data-col='compare'] ul { columns: 2; column-gap: 20px; }
  .sf .sf-col a { min-height: 44px; }
  .sf .sf-base { margin-top: -38px; }
}
/* the static landings' phone dock (their motion.js marks <html class="dock-shown">): the copyright stays above it */
@media (max-width: 760px) {
  html.dock-shown .sf .sf-base { padding-bottom: 96px; }
}

/* ------------------------------------------------------------------------------------------------ the price switch */

/* "Prices in Rs / $" (PRICE-1, priceRegion.js priceSwitchHtml and PriceSwitch.tsx): in the header's Agents menu, the
   footer, /plans and each landing's price. The pressed button follows <html data-region> from the first paint; a tap
   is the head script's (it keeps the pick and writes ?currency=). Drawn in the colour of the text around it, every
   label at full strength so the one not pressed still reads at AA (UI-8a's contrast fix, kept by LAND-R1): the pressed
   one says so by its violet line and ground, never by fading the other. */
.pr-switch[data-price-switch] { display: inline-flex; align-items: center; gap: 4px; font: 700 13px/1 var(--sc-sans, 'Manrope', ui-sans-serif, system-ui, sans-serif); letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.pr-switch[data-price-switch] .pr-label { margin-right: 4px; font-weight: 600; }
.pr-switch[data-price-switch] button { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 32px; margin: 0; padding: 0 10px; border: 1px solid rgba(127, 127, 160, 0.45); border-radius: 999px; background: transparent; color: inherit; font: inherit; line-height: 1; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; -webkit-tap-highlight-color: transparent; }
.pr-switch[data-price-switch] button:hover { background: rgba(129, 87, 221, 0.1); }
.pr-switch[data-price-switch] button:focus-visible { outline: 2px solid #8157DD; outline-offset: 2px; }
html[data-region='in'] .pr-switch[data-price-switch] [data-currency='inr'],
html[data-region='intl'] .pr-switch[data-price-switch] [data-currency='usd'],
html:not([data-region]) .pr-switch[data-price-switch] [data-currency='usd'] { opacity: 1; border-color: #8157DD; background: rgba(129, 87, 221, 0.18); }
/* "Billed Monthly / Yearly" (PRICE-2b, Anand, 25 Oct 26: "Add Annual Pricing and highlight that too at 2 Months off";
   priceRegion.js billingSwitchHtml and PriceSwitch.tsx BillingSwitch): beside the currency switch on /plans and in each
   landing's price box, drawn the same; the pressed button follows <html data-billing> from the first paint. Every
   button at full strength, so the yearly one's "2 months off" badge always reads highlighted. */
.pr-switch[data-billing-switch] { display: inline-flex; align-items: center; gap: 4px; font: 700 13px/1 var(--sc-sans, 'Manrope', ui-sans-serif, system-ui, sans-serif); letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.pr-switch[data-billing-switch] .pr-label { margin-right: 4px; font-weight: 600; }
.pr-switch[data-billing-switch] button { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; min-height: 32px; margin: 0; padding: 0 10px; border: 1px solid rgba(127, 127, 160, 0.45); border-radius: 999px; background: transparent; color: inherit; font: inherit; line-height: 1; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; -webkit-tap-highlight-color: transparent; }
.pr-switch[data-billing-switch] button:hover { background: rgba(129, 87, 221, 0.1); }
.pr-switch[data-billing-switch] button:focus-visible { outline: 2px solid #8157DD; outline-offset: 2px; }
html:not([data-billing='yearly']) .pr-switch[data-billing-switch] [data-period='monthly'],
html[data-billing='yearly'] .pr-switch[data-billing-switch] [data-period='yearly'] { opacity: 1; border-color: #8157DD; background: rgba(129, 87, 221, 0.18); }
/* the "2 months off" badge: on the yearly button, and beside every yearly price */
.pr-off { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; background: #F4C66A; color: #1C1533; font: 800 11.5px/1.15 var(--sc-sans, 'Manrope', ui-sans-serif, system-ui, sans-serif); letter-spacing: 0.01em; white-space: nowrap; vertical-align: middle; }
.pr-switch[data-billing-switch] .pr-off { margin-right: -4px; }
/* beside a yearly price: on its own line under the "per year" words, so they never break around it */
[data-yearly] > .pr-off { display: flex; width: fit-content; margin-top: 6px; }
/* a landing's price box: the two switches on their own line above the amount */
.pr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 12px; }
@media (prefers-reduced-motion: reduce) { .pr-switch[data-price-switch] button, .pr-switch[data-billing-switch] button { transition: none; } }
