/*
 * Cupertino — a product-page UI style for BCOS public pages.
 *
 * Calm and roomy: translucent 48px glass nav, big centred display type with
 * tight tracking, bands that alternate #fff / #f5f5f7, pill buttons, soft
 * 18–28px tiles and a small grey "directory" footer. System fonts only.
 *
 * Colours: --th-accent (the brand primary, or #0071e3 when none is set),
 * --th-link (accent that passes AA on white), --th-on-accent, --th-hl — all
 * emitted by bcos_brand_style(). --ink is the brand accent / #1d1d1f.
 * Everything is scoped to body.theme-cupertino so the BCOS style is untouched.
 */

body.theme-cupertino {
  --bg: #fff;
  --cu-band: #f5f5f7;
  --cu-band-2: #fbfbfd;
  --cu-tile: #f5f5f7;
  --cu-line: #d2d2d7;
  --cu-danger: #d70015;
  --ink-0: #000;
  --ink-2: #424245;
  --ink-3: #515154;
  --ink-4: #6e6e73;
  --muted: #6e6e73;
  --muted-2: #6e6e73;
  --muted-3: #aeaeb2;
  --line: #e0e0e5;
  --surface-2: #f5f5f7;
  --surface-3: #f5f5f7;
  --cu-r-sm: 12px;
  --cu-r: 18px;
  --cu-r-lg: 28px;
  --cu-shadow: 0 2px 6px rgba(0,0,0,.03), 0 12px 36px rgba(0,0,0,.06);
  --cu-shadow-lg: 0 4px 12px rgba(0,0,0,.04), 0 24px 60px rgba(0,0,0,.1);
  --cu-ease: cubic-bezier(.28,.11,.32,1);
  --cu-ring: 0 0 0 4px color-mix(in srgb, var(--th-accent) 28%, transparent);
  --cu-nav-h: 48px;
  /* template + shop tokens */
  --vx-radius: 18px;
  --vx-radius-lg: 28px;
  --vx-gap: 1.25rem;
  --vx-card-line: rgba(0,0,0,.06);
  --vx-card-shadow: var(--cu-shadow);
  --vx-accent: var(--th-accent);
  --vx-soft: #f5f5f7;
  --shx-r: 22px;
  --shx-r-sm: 14px;
  --shx-sh: var(--cu-shadow);
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -.012em;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Type ─────────────────────────────────────────────────────────────── */
.theme-cupertino h1, .theme-cupertino h2, .theme-cupertino h3 {
  font-weight: 600; letter-spacing: -.022em; line-height: 1.1;
}
:where(.theme-cupertino) a:hover { color: var(--th-link); }
.theme-cupertino .bcos-dot,
.theme-cupertino .bcos-mark-dot,
.theme-cupertino .bcos-cta-dot { display: none; }
.theme-cupertino .bcos-empty .bcos-mark-dot { display: none; }
.theme-cupertino .bcos-kicker {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--muted); margin-bottom: .6rem;
}
.theme-cupertino .bcos-display {
  font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700;
}
.theme-cupertino .bcos-lead {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.42; letter-spacing: -.01em;
  color: var(--ink-4); max-width: 40rem;
}
.theme-cupertino .bcos-k {
  font-size: .8rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--th-link);
}
.theme-cupertino .bcos-meta {
  font-size: .82rem; letter-spacing: -.01em; text-transform: none; color: var(--ink-4);
}
.theme-cupertino .bcos-meta li + li::before { background: var(--muted-3); }
.theme-cupertino .bcos-amp { color: inherit; }
.theme-cupertino .bcos-rich a,
.theme-cupertino .vx-prose a,
.theme-cupertino .bcos-auth-links a,
.theme-cupertino .bcos-auth-back a { color: var(--th-link); }
.theme-cupertino .bcos-rich a:hover { color: var(--th-link); text-decoration: underline; }
.theme-cupertino .bcos-rich p { color: var(--ink-2); }
.theme-cupertino .bcos-err, .theme-cupertino .vx-err, .theme-cupertino .vx-req,
.theme-cupertino .shx-stock.is-out, .theme-cupertino .shx-change.is-short { color: var(--cu-danger); }
.theme-cupertino .shx-stock.is-out i { background: var(--cu-danger); }
.theme-cupertino .bcos-ok { color: #1d7a3a; }

/* ── Focus + skip ─────────────────────────────────────────────────────── */
.theme-cupertino a:focus-visible,
.theme-cupertino button:focus-visible,
.theme-cupertino summary:focus-visible,
.theme-cupertino [tabindex]:focus-visible {
  outline: 2px solid var(--th-link); outline-offset: 3px; border-radius: 8px;
}
.theme-cupertino .bcos-skip {
  background: var(--th-accent); color: var(--th-on-accent); border-radius: 999px; padding: .55rem 1rem; z-index: 60; top: -80px;
}
.theme-cupertino .bcos-skip:focus { color: var(--th-on-accent); }

/* ── Buttons: pills ───────────────────────────────────────────────────── */
.theme-cupertino .bcos-btn {
  min-height: 44px; padding: .62rem 1.4rem; border-radius: 980px;
  font-size: 1rem; font-weight: 500; letter-spacing: -.01em; text-transform: none;
  transition: background .2s var(--cu-ease), color .2s var(--cu-ease), border-color .2s var(--cu-ease), box-shadow .2s;
}
.theme-cupertino .bcos-btn-ink {
  background: var(--th-accent); border-color: var(--th-accent); color: var(--th-on-accent);
}
.theme-cupertino .bcos-btn-ink:hover {
  background: color-mix(in srgb, var(--th-accent) 86%, #000); border-color: color-mix(in srgb, var(--th-accent) 86%, #000);
  color: var(--th-on-accent);
}
.theme-cupertino .bcos-btn-line {
  background: transparent; border-color: var(--th-link); color: var(--th-link);
}
.theme-cupertino .bcos-btn-line:hover { background: var(--th-accent); border-color: var(--th-accent); color: var(--th-on-accent); }
.theme-cupertino .bcos-btn-light { background: #fff; border-color: #fff; color: #1d1d1f; }
.theme-cupertino .bcos-btn-light:hover { background: #e8e8ed; border-color: #e8e8ed; color: #1d1d1f; }
.theme-cupertino .bcos-btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.theme-cupertino .bcos-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.theme-cupertino .bcos-btn-danger { color: var(--cu-danger); border-color: var(--cu-danger); background: #fff; }
.theme-cupertino .bcos-btn-danger:hover { background: var(--cu-danger); color: #fff; }
.theme-cupertino .bcos-btn-sm { min-height: 36px; padding: .35rem .95rem; font-size: .88rem; }
.theme-cupertino .bcos-btn:focus-visible { outline: none; box-shadow: var(--cu-ring); }
.theme-cupertino .bcos-actions { gap: .9rem; }

/* ── Announcement strip (setting announce_text) ───────────────────────── */
.theme-cupertino .bcos-strip {
  background: var(--cu-band); color: var(--ink-2); font-size: .82rem; padding: .7rem 1rem; letter-spacing: -.01em;
}
.theme-cupertino .bcos-strip a { color: var(--th-link); text-decoration: none; }
.theme-cupertino .bcos-strip a:hover { text-decoration: underline; }
.theme-cupertino .bcos-strip-in { display: flex; justify-content: center; flex-wrap: wrap; gap: .2rem 2rem; }
.theme-cupertino .bcos-strip p[aria-hidden] { display: none; }

/* ── Glass nav ────────────────────────────────────────────────────────── */
.theme-cupertino .bcos-nav {
  background: rgba(251,251,253,.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 40;
}
.theme-cupertino .bcos-nav-inner { min-height: var(--cu-nav-h); gap: .5rem; width: min(1024px, calc(100% - 2.5rem)); }
.theme-cupertino .bcos-brand { gap: .5rem; }
.theme-cupertino .bcos-brand-mark { height: 26px; width: 26px; border-radius: 6px; }
.theme-cupertino .bcos-brand-mark.is-logo { width: auto; max-width: 130px; border-radius: 0; }
.theme-cupertino .bcos-brand-lockup strong {
  font-size: .95rem; letter-spacing: -.015em; font-weight: 600; color: var(--ink);
}
.theme-cupertino .bcos-links { justify-content: center; gap: 0; }
.theme-cupertino .bcos-links a,
.theme-cupertino .bcos-links .bcos-drop-btn {
  font-size: .76rem; letter-spacing: -.005em; text-transform: none; font-weight: 400;
  color: rgba(0,0,0,.8); padding: .4rem .7rem; min-height: 44px; display: inline-flex; align-items: center;
  transition: color .2s var(--cu-ease);
}
.theme-cupertino .bcos-links a:hover,
.theme-cupertino .bcos-links .bcos-drop-btn:hover,
.theme-cupertino .bcos-links a.is-on,
.theme-cupertino .bcos-drop.is-on .bcos-drop-btn { color: #000; }
.theme-cupertino .bcos-links a.is-on { font-weight: 600; }
.theme-cupertino .bcos-links a::after,
.theme-cupertino .bcos-drop-btn::after { display: none; }
.theme-cupertino .bcos-drop-menu {
  top: 100%; border: 0; border-radius: var(--cu-r); padding: .5rem;
  background: rgba(251,251,253,.96); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--cu-shadow-lg);
}
.theme-cupertino .bcos-drop-menu a {
  display: flex; min-height: 40px; border-radius: 10px; padding: .45rem .8rem; font-size: .85rem; letter-spacing: -.01em;
}
.theme-cupertino .bcos-drop-menu a:hover { background: rgba(0,0,0,.05); }
.theme-cupertino .bcos-nav-tools { display: flex; align-items: center; gap: .1rem; flex: 0 0 auto; }
.theme-cupertino .bcos-nav-tools > .bcos-nav-in,
.theme-cupertino .bcos-nav-tools > .bcos-hub { order: 0; }
.theme-cupertino .bcos-nav-find,
.theme-cupertino .shx-navcart {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: rgba(0,0,0,.8);
}
.theme-cupertino .bcos-nav-find:hover, .theme-cupertino .bcos-nav-find:focus-visible,
.theme-cupertino .shx-navcart:hover { background: rgba(0,0,0,.05); color: #000; }
.theme-cupertino .shx-navcart-n { top: 4px; right: 2px; background: var(--th-accent); color: var(--th-on-accent); box-shadow: 0 0 0 2px #fbfbfd; }
.theme-cupertino .bcos-nav-in {
  border: 0; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .7rem;
  font-size: .76rem; letter-spacing: -.005em; text-transform: none; font-weight: 400; color: rgba(0,0,0,.8);
  border-radius: 980px;
}
.theme-cupertino .bcos-nav-in:hover { background: rgba(0,0,0,.05); color: #000; border-color: transparent; }
.theme-cupertino .bcos-hub-bell, .theme-cupertino .bcos-hub-user { border-radius: 980px; min-height: 40px; }
.theme-cupertino .bcos-hub-pop { border-radius: var(--cu-r); border: 0; box-shadow: var(--cu-shadow-lg); }

/* Menu button: two hairlines that turn into an ×. */
.theme-cupertino .bcos-nav-toggle {
  position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.theme-cupertino .bcos-nav-toggle::before,
.theme-cupertino .bcos-nav-toggle::after {
  content: ''; position: absolute; left: 14px; width: 16px; height: 1.5px; border-radius: 2px; background: #1d1d1f;
  transition: transform .3s var(--cu-ease), top .3s var(--cu-ease);
}
.theme-cupertino .bcos-nav-toggle::before { top: 18px; }
.theme-cupertino .bcos-nav-toggle::after { top: 25px; }
.theme-cupertino .bcos-nav-toggle[aria-expanded="true"]::before { top: 21.5px; transform: rotate(45deg); }
.theme-cupertino .bcos-nav-toggle[aria-expanded="true"]::after { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .theme-cupertino .bcos-nav-inner { display: flex; }
  .theme-cupertino .bcos-nav-toggle { display: block; order: 3; margin-left: -.1rem; }
  .theme-cupertino .bcos-brand { margin-right: auto; }
  .theme-cupertino .bcos-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - var(--cu-nav-h)); height: calc(100dvh - var(--cu-nav-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1.4rem max(1.25rem, calc((100% - 1024px) / 2)) 3rem; overflow: auto; max-height: none;
    background: rgba(251,251,253,.98); border-bottom: 0;
  }
  .theme-cupertino .bcos-links.is-open { display: flex; animation: cu-menu .35s var(--cu-ease) both; }
  .theme-cupertino .bcos-links > a,
  .theme-cupertino .bcos-links .bcos-drop-btn {
    font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; color: #1d1d1f; padding: .35rem 0; min-height: 48px; width: 100%;
  }
  .theme-cupertino .bcos-drop { width: 100%; }
  .theme-cupertino .bcos-drop-menu {
    position: static; display: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    background: transparent; box-shadow: none; padding: 0 0 .6rem; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .theme-cupertino .bcos-drop.is-open .bcos-drop-menu { display: grid; }
  .theme-cupertino .bcos-drop-menu a { font-size: 1.05rem; color: var(--ink-2); padding: .4rem 0; min-height: 44px; }
  .theme-cupertino .bcos-nav-in span { display: none; }
  .theme-cupertino .bcos-nav-in > i { display: inline-block; font-size: .95rem; }
  .theme-cupertino .bcos-nav-in { width: 44px; justify-content: center; padding: 0; margin: 0; }
  body.theme-cupertino.nav-open { overflow: hidden; }
  /* Chromium paints a backdrop-filtered parent's overflow translucently, so
     the open menu drops the glass and goes solid. */
  body.theme-cupertino.nav-open .bcos-nav { background: #fbfbfd; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .theme-cupertino .bcos-links.is-open { background: #fbfbfd; }
}
@keyframes cu-menu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ── Layout rhythm + bands ────────────────────────────────────────────── */
.theme-cupertino .bcos-wrap { width: min(1080px, calc(100% - 2.5rem)); }
:where(.theme-cupertino) .bcos-section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
/* A template widget that opens with its own full-bleed hero needs no band padding. */
.theme-cupertino .vx-w:has(> [class$="-hero"]:first-child),
.theme-cupertino .vx-w:has(> [class*="-hero "]:first-child) { padding-block: 0; }
.theme-cupertino .bcos-section-alt { background: var(--cu-band); }
.theme-cupertino .bcos-section-ink { background: #000; color: #f5f5f7; }
.theme-cupertino .bcos-section-ink h2, .theme-cupertino .bcos-section-ink h3 { color: #f5f5f7; }
.theme-cupertino .bcos-section-ink p { color: #a1a1a6; }
.theme-cupertino .bcos-section h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.1rem;
}
/* Section headings sit centred above their content, like a product page. */
.theme-cupertino .bcos-section > .bcos-wrap > h2,
.theme-cupertino .bcos-section > .bcos-wrap > .bcos-kicker,
.theme-cupertino .vx-sec .vx-head { text-align: center; margin-inline: auto; }
.theme-cupertino .bcos-section > .bcos-wrap > h2 + .bcos-lead,
.theme-cupertino .vx-sec .vx-head .vx-lead { text-align: center; margin: -.2rem auto 2.6rem; }
.theme-cupertino .vx-sec .vx-head { max-width: 46rem; margin-bottom: 2.6rem; }
.theme-cupertino .vx-h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.03em; font-weight: 600; margin-bottom: .6rem; }
.theme-cupertino .vx-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-4); }
.theme-cupertino .vx-sec .vx-head .bcos-kicker { margin-bottom: .4rem; }
.theme-cupertino .vx-more { margin-top: 2.6rem; }

/* ── Page hero ────────────────────────────────────────────────────────── */
.theme-cupertino .bcos-page-hero {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 0; text-align: center; background: #fff;
}
.theme-cupertino .bcos-page-hero::after { display: none; }
.theme-cupertino .bcos-page-hero + .bcos-section:not(.bcos-section-alt) { padding-top: clamp(.5rem, 2vw, 1.5rem); }
.theme-cupertino .bcos-page-hero .bcos-lead { margin-inline: auto; }
.theme-cupertino .bcos-page-hero .bcos-actions { justify-content: center; }

/* ── Hero carousel ────────────────────────────────────────────────────── */
.theme-cupertino .bcos-hero-carousel { background: var(--cu-band-2); }
.theme-cupertino .bcos-hero-slide { padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.theme-cupertino .bcos-hero-slide > .bcos-hero-grid,
.theme-cupertino .bcos-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
.theme-cupertino .bcos-hero-copy { max-width: 54rem; margin-inline: auto; }
.theme-cupertino .bcos-hero-copy .bcos-lead { margin-inline: auto; }
.theme-cupertino .bcos-hero-copy .bcos-actions,
.theme-cupertino .bcos-hero-copy .bcos-meta { justify-content: center; }
.theme-cupertino .bcos-hero-carousel .bcos-mark { display: none; }
.theme-cupertino .bcos-hero-blade { display: none; }
.theme-cupertino .bcos-hero-veil {
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.62) 100%);
}
.theme-cupertino .bcos-hero-slide.is-light .bcos-hero-veil {
  background: linear-gradient(180deg, rgba(251,251,253,.55), rgba(251,251,253,.85));
}
.theme-cupertino .bcos-hero-slide.is-ink .bcos-kicker { color: rgba(255,255,255,.82); }
.theme-cupertino .bcos-hero-slide.is-ink .bcos-lead { color: rgba(255,255,255,.88); }
.theme-cupertino .bcos-hero-slide.is-ink .bcos-btn-ink { background: var(--th-accent); color: var(--th-on-accent); border-color: var(--th-accent); }
.theme-cupertino .bcos-hero-slide.is-ink .bcos-btn-line { border-color: #fff; color: #fff; }
.theme-cupertino .bcos-hero-slide.is-ink .bcos-btn-line:hover { background: #fff; color: #1d1d1f; }
/* A split module keeps its side panel, drawn as a soft tile. */
.theme-cupertino .bcos-section .bcos-hero-grid { grid-template-columns: 1.1fr .9fr; text-align: left; gap: 3rem; }
.theme-cupertino .bcos-mark {
  border: 0; border-radius: var(--cu-r-lg); padding: 2.4rem 2.2rem;
  background: linear-gradient(160deg, #fff, var(--th-hl)); box-shadow: var(--cu-shadow);
}
.theme-cupertino .bcos-section-alt .bcos-mark { background: linear-gradient(160deg, #fff, #fff 40%, var(--th-hl)); }
.theme-cupertino .bcos-mark-k { font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
.theme-cupertino .bcos-mark-body p { font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.theme-cupertino .bcos-hero-nav { gap: 1rem; }
.theme-cupertino .bcos-hero-prev, .theme-cupertino .bcos-hero-next {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.06); color: #1d1d1f;
}
.theme-cupertino .bcos-hero-prev:hover, .theme-cupertino .bcos-hero-next:hover { background: rgba(0,0,0,.12); color: #000; }
.theme-cupertino .bcos-hero-carousel.is-media .bcos-hero-prev,
.theme-cupertino .bcos-hero-carousel.is-media .bcos-hero-next {
  background: rgba(255,255,255,.18); color: #fff; border: 0; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.theme-cupertino .bcos-hero-carousel.is-media .bcos-hero-prev:hover,
.theme-cupertino .bcos-hero-carousel.is-media .bcos-hero-next:hover { background: rgba(255,255,255,.32); }
.theme-cupertino .bcos-hero-dots { gap: .6rem; }
/* Dots stay 10px visually but get a 24px hit area. */
.theme-cupertino .bcos-hero-dot {
  width: 10px; height: 10px; background: rgba(0,0,0,.24); box-shadow: none; animation: none; position: relative;
}
.theme-cupertino .bcos-hero-dot::before { content: ''; position: absolute; inset: -7px; }
.theme-cupertino .bcos-hero-dot.is-on { width: 28px; border-radius: 999px; background: #1d1d1f; transform: none; box-shadow: none; }
.theme-cupertino .bcos-hero-carousel.is-media .bcos-hero-dot { background: rgba(255,255,255,.45); }
.theme-cupertino .bcos-hero-carousel.is-media .bcos-hero-dot.is-on { background: #fff; }
.theme-cupertino .bcos-hero-progress { height: 2px; background: transparent; }
.theme-cupertino .bcos-hero-progress i { background: var(--th-accent); opacity: .7; }

/* ── Marquee / banner / notice ────────────────────────────────────────── */
.theme-cupertino .bcos-marquee { border: 0; background: var(--cu-band); padding: 1rem 0; }
.theme-cupertino .bcos-marquee-track {
  font-size: .95rem; letter-spacing: -.01em; text-transform: none; font-weight: 500; color: var(--ink-4);
}
.theme-cupertino .bcos-marquee-track span::before { width: 4px; height: 4px; background: var(--muted-3); }
.theme-cupertino .bcos-banner { background: var(--cu-band); border: 0; font-size: .88rem; color: var(--ink-2); padding: .85rem 0; }
.theme-cupertino .bcos-banner .bcos-wrap { justify-content: center; flex-wrap: wrap; gap: .4rem 1rem; text-align: center; }
.theme-cupertino .bcos-banner a { font-size: .88rem; letter-spacing: -.01em; text-transform: none; font-weight: 400; color: var(--th-link); }
.theme-cupertino .bcos-banner a::after { content: ' ›'; }
.theme-cupertino .bcos-banner a:hover { text-decoration: underline; }

/* ── Tiles: cards, stats, quotes, steps, pricing, team ─────────────────── */
.theme-cupertino .bcos-cards { gap: 1.25rem; }
.theme-cupertino .bcos-card,
.theme-cupertino .bcos-price,
.theme-cupertino .bcos-quotes blockquote,
.theme-cupertino .bcos-steps > li,
.theme-cupertino .bcos-sup-card,
.theme-cupertino .bcos-team > article {
  border: 0; border-radius: var(--cu-r-lg); background: var(--cu-tile);
  transition: transform .5s var(--cu-ease), box-shadow .5s var(--cu-ease), background .3s;
}
.theme-cupertino .bcos-section-alt .bcos-card,
.theme-cupertino .bcos-section-alt .bcos-price,
.theme-cupertino .bcos-section-alt .bcos-quotes blockquote,
.theme-cupertino .bcos-section-alt .bcos-steps > li,
.theme-cupertino .bcos-section-alt .bcos-sup-card,
.theme-cupertino .bcos-section-alt .bcos-team > article { background: #fff; }
.theme-cupertino .bcos-card { padding: 2rem 1.8rem; }
.theme-cupertino .bcos-card::after { display: none; }
.theme-cupertino .bcos-card:hover,
.theme-cupertino a.bcos-card:hover,
.theme-cupertino .bcos-sup-card:hover { transform: scale(1.015); box-shadow: var(--cu-shadow-lg); border-color: transparent; }
.theme-cupertino .bcos-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.theme-cupertino .bcos-card p { color: var(--ink-4); }

.theme-cupertino .bcos-stats { gap: 1.25rem; }
.theme-cupertino .bcos-stats div {
  border: 0; padding: 2rem 1.4rem; border-radius: var(--cu-r-lg); background: var(--cu-tile); text-align: center;
}
.theme-cupertino .bcos-section-alt .bcos-stats div { background: #fff; }
.theme-cupertino .bcos-stats strong { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.theme-cupertino .bcos-stats span { font-size: .95rem; color: var(--ink-4); }

.theme-cupertino .bcos-quotes { gap: 1.25rem; }
.theme-cupertino .bcos-quotes blockquote { padding: 2rem 1.8rem; }
.theme-cupertino .bcos-quotes p { font-size: 1.2rem; line-height: 1.4; letter-spacing: -.015em; font-weight: 500; color: var(--ink); }
.theme-cupertino .bcos-quotes cite { font-size: .9rem; color: var(--ink-4); }

.theme-cupertino .bcos-steps { gap: 1.25rem; counter-reset: cu; }
.theme-cupertino .bcos-steps > li { padding: 1.8rem 1.6rem; }
.theme-cupertino .bcos-steps .bcos-k { font-size: 2rem; font-weight: 700; letter-spacing: -.04em; color: var(--th-link); margin-bottom: .3rem; }
.theme-cupertino .bcos-steps h3 { font-size: 1.2rem; }
.theme-cupertino .bcos-steps p { color: var(--ink-4); margin: 0; }

.theme-cupertino .bcos-price-grid { gap: 1.25rem; margin-top: 0; }
.theme-cupertino .bcos-price { padding: 2rem 1.8rem; }
.theme-cupertino .bcos-price strong { font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; }
.theme-cupertino .bcos-price:hover { box-shadow: var(--cu-shadow-lg); }

.theme-cupertino .bcos-check-list li {
  padding: .75rem 0 .75rem 2rem; border-bottom: 1px solid var(--cu-line); color: var(--ink-2);
}
.theme-cupertino .bcos-check-list li::before {
  top: 1.02rem; left: .1rem; width: .75rem; height: .4rem; background: none; border-radius: 0;
  border-left: 2px solid var(--th-link); border-bottom: 2px solid var(--th-link); transform: rotate(-45deg);
}
.theme-cupertino .bcos-price .bcos-check-list li { border-color: rgba(0,0,0,.08); }

.theme-cupertino .bcos-team { gap: 1.25rem; }
.theme-cupertino .bcos-team > article { padding: 1.8rem 1.4rem; text-align: center; }
.theme-cupertino .bcos-team-photo,
.theme-cupertino .bcos-team .shop-ph {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem; object-fit: cover;
}
.theme-cupertino .bcos-team strong { display: block; font-size: 1.1rem; }
.theme-cupertino .bcos-team em { color: var(--ink-4); }

.theme-cupertino .bcos-sup-card { padding: 1.6rem; }

/* ── CTA ──────────────────────────────────────────────────────────────── */
.theme-cupertino .bcos-cta {
  width: min(1080px, calc(100% - 2.5rem)); margin-inline: auto; border-radius: var(--cu-r-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4rem); text-align: center;
  background: #000; overflow: hidden; position: relative; isolation: isolate;
}
.theme-cupertino .bcos-cta::before {
  content: ''; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--th-accent) 45%, transparent), transparent 62%);
  opacity: .6;
}
.theme-cupertino .bcos-cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.03em; color: #f5f5f7; }
.theme-cupertino .bcos-cta p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #c7c7cc; max-width: 40rem; margin-inline: auto; }
.theme-cupertino .bcos-cta .bcos-actions { justify-content: center; margin-bottom: 0; }
.theme-cupertino .bcos-cta.is-light { background: var(--cu-band); border: 0; }
.theme-cupertino .bcos-section-alt .bcos-cta.is-light { background: #fff; }
.theme-cupertino .bcos-cta.is-light::before { opacity: .35; }
.theme-cupertino .bcos-cta.is-light h2 { color: var(--ink); }
.theme-cupertino .bcos-cta.is-light p { color: var(--ink-4); }

/* ── Empty, notice, split, feature row, rich ──────────────────────────── */
.theme-cupertino .bcos-empty { text-align: center; margin-inline: auto; max-width: 38rem; }
.theme-cupertino .bcos-empty h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.theme-cupertino .bcos-feature { gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.theme-cupertino .bcos-feature-panel {
  min-height: 260px; border: 0; border-radius: var(--cu-r-lg);
  background: linear-gradient(150deg, var(--cu-band) 0%, var(--th-hl) 100%);
}
.theme-cupertino .bcos-section-alt .bcos-feature-panel { background: linear-gradient(150deg, #fff 0%, var(--th-hl) 100%); }
.theme-cupertino .bcos-feature-panel::after {
  background: radial-gradient(circle at center, color-mix(in srgb, var(--th-accent) 20%, transparent), transparent 68%);
}
.theme-cupertino .bcos-feature:hover .bcos-feature-panel { border-color: transparent; }
.theme-cupertino .bcos-feature-panel p { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; color: var(--ink); text-align: center; padding: 0 1.2rem; }
.theme-cupertino .bcos-feature h2 { text-align: left; }
.theme-cupertino .bcos-rich { font-size: 1.06rem; line-height: 1.6; }
.theme-cupertino .bcos-rich blockquote { border-left: 3px solid var(--th-accent); }

/* ── FAQ / compare / logos / timeline / gallery ───────────────────────── */
.theme-cupertino .bcos-faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--cu-line); }
.theme-cupertino .bcos-faq details { border-bottom: 1px solid var(--cu-line); padding: 1.15rem 0; }
.theme-cupertino .bcos-faq summary { font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; min-height: 32px; align-items: center; }
.theme-cupertino .bcos-faq summary::after {
  width: 18px; height: 18px; border: 0; transform: none; margin: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 14px no-repeat;
  transition: transform .3s var(--cu-ease);
}
.theme-cupertino .bcos-faq details[open] summary::after { transform: rotate(45deg); }
.theme-cupertino .bcos-faq details p { color: var(--ink-4); font-size: 1.02rem; }
.theme-cupertino .bcos-compare-wrap { border-radius: var(--cu-r); background: #fff; box-shadow: var(--cu-shadow); }
.theme-cupertino .bcos-compare th, .theme-cupertino .bcos-compare td { padding: .95rem 1.1rem; border-color: rgba(0,0,0,.07); }
.theme-cupertino .bcos-compare thead th { font-size: .85rem; letter-spacing: -.01em; text-transform: none; color: var(--ink-4); font-weight: 600; }
.theme-cupertino .bcos-compare tbody th { font-weight: 600; }
.theme-cupertino .bcos-logos { justify-content: center; gap: 1rem 2.6rem; }
.theme-cupertino .bcos-logos-sec > .bcos-wrap > h2 { font-size: 1.05rem; color: var(--ink-4); letter-spacing: -.01em; }
.theme-cupertino .bcos-logos li { font-size: 1.05rem; letter-spacing: -.01em; text-transform: none; font-weight: 600; color: var(--ink-4); }
.theme-cupertino .bcos-logos li:hover { color: var(--ink); }
.theme-cupertino .bcos-timeline { max-width: 44rem; margin-inline: auto; }
.theme-cupertino .bcos-timeline li { position: relative; border-left: 2px solid var(--cu-line); padding: 0 0 2rem 1.8rem; }
.theme-cupertino .bcos-timeline li::before {
  content: ''; position: absolute; left: -7px; top: .25rem; width: 12px; height: 12px; border-radius: 50%;
  background: var(--th-accent); box-shadow: 0 0 0 4px #fff;
}
.theme-cupertino .bcos-section-alt .bcos-timeline li::before { box-shadow: 0 0 0 4px var(--cu-band); }
.theme-cupertino .bcos-timeline p { color: var(--ink-4); }
.theme-cupertino .bcos-gallery { gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.theme-cupertino .bcos-gallery figure { margin: 0; border-radius: var(--cu-r); overflow: hidden; background: var(--cu-tile); }
.theme-cupertino .bcos-gallery img { height: 240px; transition: transform .6s var(--cu-ease); }
.theme-cupertino .bcos-gallery figure:hover img { transform: scale(1.04); }

/* ── Forms ────────────────────────────────────────────────────────────── */
.theme-cupertino .bcos-form label,
.theme-cupertino .shx-rail label,
.theme-cupertino .shx-ticket label {
  font-size: .88rem; letter-spacing: -.01em; text-transform: none; font-weight: 500; color: var(--ink-2);
}
.theme-cupertino .bcos-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="range"]):not([type="submit"]):not([type="button"]),
.theme-cupertino .bcos-form textarea, .theme-cupertino .bcos-form select,
.theme-cupertino .vx-field input:not([type=checkbox]):not([type=radio]):not([type=color]),
.theme-cupertino .vx-field select, .theme-cupertino .vx-field textarea,
.theme-cupertino .vx-public-filters input, .theme-cupertino .vx-public-filters select,
.theme-cupertino .rl-calc-in input:not([type=range]), .theme-cupertino .rl-calc-in select,
.theme-cupertino .shx-rail input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .theme-cupertino .shx-rail select {
  border: 1px solid var(--cu-line); border-radius: var(--cu-r-sm); background: #fff; min-height: 44px;
  font-size: 1rem; color: var(--ink); padding: .65rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.theme-cupertino .bcos-form input:focus, .theme-cupertino .bcos-form textarea:focus, .theme-cupertino .bcos-form select:focus,
.theme-cupertino .vx-field input:focus, .theme-cupertino .vx-field select:focus, .theme-cupertino .vx-field textarea:focus,
.theme-cupertino .vx-public-filters input:focus, .theme-cupertino .vx-public-filters select:focus,
.theme-cupertino .rl-calc-in input:focus, .theme-cupertino .rl-calc-in select:focus,
.theme-cupertino .shx-rail input:focus, .theme-cupertino .shx-rail select:focus {
  outline: none; border-color: var(--th-accent); box-shadow: var(--cu-ring);
}
.theme-cupertino input[type="checkbox"] { border-color: #86868b; border-radius: 6px; }
.theme-cupertino input[type="checkbox"]:checked,
.theme-cupertino input[type="checkbox"]:indeterminate { background: var(--th-accent); border-color: var(--th-accent); }
.theme-cupertino input[type="checkbox"]:checked::after { border-color: var(--th-on-accent); }
.theme-cupertino input[type="radio"] { border-color: #86868b; }
.theme-cupertino input[type="radio"]:checked { border-color: var(--th-accent); }
.theme-cupertino input[type="radio"]:checked::after { background: var(--th-accent); }
.theme-cupertino input[type="checkbox"]:focus-visible,
.theme-cupertino input[type="radio"]:focus-visible { box-shadow: var(--cu-ring); }
.theme-cupertino input[type="range"] { accent-color: var(--th-accent); }
.theme-cupertino .bcos-contact { max-width: 40rem; }
.theme-cupertino .bcos-contact .bcos-form { max-width: none; background: var(--cu-tile); border-radius: var(--cu-r-lg); padding: clamp(1.4rem, 4vw, 2.4rem); }
.theme-cupertino .bcos-section-alt .bcos-contact .bcos-form { background: #fff; }
.theme-cupertino .bcos-contact .bcos-form .bcos-btn { justify-self: start; }

/* ── Template components (bcos-vx.css) ────────────────────────────────── */
.theme-cupertino .vx-card { border-color: rgba(0,0,0,.05); transition: transform .5s var(--cu-ease), box-shadow .5s var(--cu-ease); }
.theme-cupertino a.vx-card:hover { transform: translateY(-4px); box-shadow: var(--cu-shadow-lg); border-color: rgba(0,0,0,.05); }
.theme-cupertino .vx-card.is-featured { border-color: var(--th-accent); box-shadow: var(--cu-shadow), 0 0 0 1px var(--th-accent); }
.theme-cupertino .vx-card-body { padding: 1.2rem 1.3rem 1.35rem; }
.theme-cupertino .vx-card-title { font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; }
.theme-cupertino .vx-card-summary { color: var(--ink-4); }
.theme-cupertino .vx-badge { background: var(--th-accent); color: var(--th-on-accent); letter-spacing: 0; text-transform: none; font-size: .75rem; font-weight: 600; }
.theme-cupertino .vx-tag { background: var(--cu-band); color: var(--ink-2); }
.theme-cupertino .vx-facts span { letter-spacing: 0; text-transform: none; }
.theme-cupertino .vx-public-filters {
  background: var(--cu-band); border-radius: var(--cu-r-lg); padding: .9rem; gap: .7rem;
}
.theme-cupertino .vx-public-filters .bcos-btn { min-height: 44px; }
.theme-cupertino .vx-count { color: var(--ink-4); }
.theme-cupertino .vx-pager a { border-radius: 999px; border-color: transparent; background: var(--cu-band); min-width: 44px; min-height: 44px; }
.theme-cupertino .vx-pager a:hover { background: #e8e8ed; color: var(--ink); }
.theme-cupertino .vx-pager a.is-on { background: var(--th-accent); border-color: var(--th-accent); color: var(--th-on-accent); }
.theme-cupertino .vx-empty-state { border: 0; background: var(--cu-band); border-radius: var(--cu-r-lg); }
.theme-cupertino .vx-table-wrap { border: 0; box-shadow: var(--cu-shadow); }
.theme-cupertino .vx-table th { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.theme-cupertino .vx-gallery-hero { gap: .6rem; }
.theme-cupertino .vx-gallery-hero button { border-radius: var(--cu-r); }
.theme-cupertino .vx-gallery-hero.has-many .vx-gh-0 { border-radius: var(--cu-r-lg); }
.theme-cupertino .vx-gh-more { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.theme-cupertino .vx-item-title { font-weight: 700; letter-spacing: -.035em; }
.theme-cupertino .vx-headline span { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.theme-cupertino .vx-item-sec h2 { font-size: 1.4rem; }
.theme-cupertino .vx-card-panel { border: 0; box-shadow: var(--cu-shadow); }
.theme-cupertino .vx-item-side { top: calc(var(--cu-nav-h) + 1.5rem); }
.theme-cupertino .vx-related { background: var(--cu-band); }
.theme-cupertino .vx-field > label { font-weight: 500; color: var(--ink-2); }
.theme-cupertino .vx-success { border-radius: var(--cu-r); }
.theme-cupertino .vx-kpi { border-radius: var(--cu-r); background: var(--cu-band); }
.theme-cupertino .bcos-section-alt .vx-kpi { background: #fff; }
.theme-cupertino .vx-w .vx-w-box { border: 0; }
.theme-cupertino .vx-lb { background: rgba(0,0,0,.94); }
.theme-cupertino .vx-lb button { background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* Common template bits (realty): soft pills + tiles */
.theme-cupertino .rl-badge { font-weight: 600; letter-spacing: 0; }
.theme-cupertino .rl-calc-out { border-radius: var(--cu-r-lg); }
.theme-cupertino .rl-search { border-radius: var(--cu-r-lg); }
.theme-cupertino .rl-search-tabs input:checked + span { background: #1d1d1f; }
.theme-cupertino .rl-oh-date { background: var(--th-accent); color: var(--th-on-accent); }

/* ── Shop ─────────────────────────────────────────────────────────────── */
.theme-cupertino .shx-head { text-align: left; }
.theme-cupertino .shx-title { font-weight: 700; letter-spacing: -.04em; }
.theme-cupertino .shx-bar {
  top: var(--cu-nav-h); background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0,0,0,.06);
}
.theme-cupertino .shx-search { min-height: 44px; background: var(--cu-band); border-color: transparent; }
.theme-cupertino .shx-search:focus-within { background: #fff; border-color: var(--th-accent); box-shadow: var(--cu-ring); }
.theme-cupertino .shx-select select, .theme-cupertino .shx-toggle { min-height: 40px; border-color: var(--cu-line); }
.theme-cupertino .shx-chip { min-height: 36px; border-color: transparent; background: var(--cu-band); }
.theme-cupertino .shx-chip:hover { background: #e8e8ed; border-color: transparent; }
.theme-cupertino .shx-chip.is-on { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.theme-cupertino .shx-count { letter-spacing: 0; text-transform: none; font-size: .9rem; color: var(--ink-4); }
.theme-cupertino .shx-card-media { background: var(--cu-band); }
.theme-cupertino .shx-card-k { letter-spacing: 0; text-transform: none; font-size: .78rem; color: var(--th-link); font-weight: 600; }
.theme-cupertino .shx-card-t { font-weight: 600; }
.theme-cupertino .shx-badge { letter-spacing: 0; text-transform: none; font-size: .72rem; font-weight: 600; }
.theme-cupertino .shx-badge.is-sale { background: var(--th-accent); color: var(--th-on-accent); }
.theme-cupertino .shx-quick:hover { background: var(--th-accent); color: var(--th-on-accent); }
.theme-cupertino .shx-perks li { border: 0; background: var(--cu-band); border-radius: var(--cu-r); }
.theme-cupertino .shx-perks i { background: #fff; color: var(--th-link); }
.theme-cupertino .shx-empty { border: 0; background: var(--cu-band); border-radius: var(--cu-r-lg); }
.theme-cupertino .shx-empty-ico { background: #fff; }
.theme-cupertino .shx-gallery { top: calc(var(--cu-nav-h) + 1.5rem); }
.theme-cupertino .shx-gallery-main { border-radius: var(--cu-r-lg); }
.theme-cupertino .shx-crumbs a:hover { color: var(--th-link); }
.theme-cupertino .shx-link:hover { color: var(--th-link); }
.theme-cupertino .shop-tile { border: 0; border-radius: var(--cu-r-lg); background: var(--cu-band); }
.theme-cupertino .shop-tile:hover { box-shadow: var(--cu-shadow-lg); }
.theme-cupertino .shop-tile img, .theme-cupertino .shop-tile .shop-ph { border-radius: var(--cu-r-lg) var(--cu-r-lg) 0 0; }
.theme-cupertino .shop-pay-card { border-radius: var(--cu-r); border-color: var(--cu-line); }
.theme-cupertino .shop-pay-card:has(input:checked) { border-color: var(--th-accent); box-shadow: var(--cu-ring); }
.theme-cupertino .shop-rail { border: 0; border-radius: var(--cu-r); background: var(--cu-band); }

/* ── Search page + palette ────────────────────────────────────────────── */
.theme-cupertino .bcos-find-page-field { border: 1px solid var(--cu-line); border-radius: 999px; padding: 0 1.1rem; background: #fff; }
.theme-cupertino .bcos-find-page-field:focus-within { border-color: var(--th-accent); box-shadow: var(--cu-ring); }
.theme-cupertino .bcos-find-chip-a {
  border-radius: 999px; letter-spacing: -.01em; text-transform: none; font-size: .85rem;
  border-color: transparent; background: var(--cu-band); padding: .45rem .9rem; min-height: 36px; display: inline-flex; align-items: center;
}
.theme-cupertino .bcos-find-chip-a.is-on, .theme-cupertino .bcos-find-chip-a:hover { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }
.theme-cupertino .bcos-find-hit i, .theme-cupertino .bcos-find-row i, .theme-cupertino .bcos-find-bar i { color: var(--th-link); }
.theme-cupertino .bcos-find-panel {
  border: 0; border-radius: var(--cu-r-lg); overflow: hidden; box-shadow: var(--cu-shadow-lg);
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.theme-cupertino .bcos-find-scrim { background: rgba(0,0,0,.28); }
.theme-cupertino .bcos-find-f { border-radius: 999px; letter-spacing: 0; text-transform: none; font-size: .8rem; }
.theme-cupertino .bcos-find-f.is-on { background: #1d1d1f; border-color: #1d1d1f; }
.theme-cupertino .bcos-find-row { border-radius: 12px; margin: 0 .4rem; }
.theme-cupertino .bcos-find-row:hover, .theme-cupertino .bcos-find-row.is-on { background: var(--th-accent); color: var(--th-on-accent); }
.theme-cupertino .bcos-find-row mark { color: var(--th-link); }
.theme-cupertino .bcos-find-g { letter-spacing: 0; text-transform: none; font-size: .78rem; font-weight: 600; }

/* ── Platform announcement bar ────────────────────────────────────────── */
.theme-cupertino .pf-announce { font-size: .85rem; }

/* ── Directory footer ─────────────────────────────────────────────────── */
.theme-cupertino.ftr-directory .bcos-foot {
  background: var(--cu-band); border-top: 1px solid var(--cu-line); padding: 2.2rem 0 1.4rem;
  font-size: .75rem; line-height: 1.34; color: var(--ink-4); letter-spacing: -.005em;
}
.theme-cupertino.ftr-directory .bcos-foot .bcos-wrap { width: min(1024px, calc(100% - 2.5rem)); }
.theme-cupertino.ftr-directory .bcos-foot-top { grid-template-columns: 1fr; gap: 1.4rem; }
.theme-cupertino.ftr-directory .bcos-foot-brand {
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--cu-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem;
}
.theme-cupertino.ftr-directory .bcos-foot-brand strong { font-size: .75rem; letter-spacing: -.005em; font-weight: 600; margin: 0; color: var(--ink); }
.theme-cupertino.ftr-directory .bcos-foot-brand p { font-size: .75rem; margin: 0; max-width: none; color: var(--ink-4); }
.theme-cupertino.ftr-directory .bcos-foot-brand a { display: inline; padding: 0; }
.theme-cupertino.ftr-directory .bcos-foot-grid { gap: 1.2rem 1.6rem; }
.theme-cupertino.ftr-directory .bcos-foot-k {
  font-size: .75rem; letter-spacing: -.005em; text-transform: none; font-weight: 600; color: var(--ink); margin-bottom: .6rem;
}
.theme-cupertino.ftr-directory .bcos-foot a { color: var(--ink-2); padding: .2rem 0; font-size: .75rem; }
.theme-cupertino.ftr-directory .bcos-foot a:hover { color: var(--ink); text-decoration: underline; }
.theme-cupertino.ftr-directory .bcos-foot-social { font-size: .75rem; gap: .3rem 1.2rem; margin-top: 1.4rem; }
.theme-cupertino.ftr-directory .bcos-foot-bar {
  margin-top: 1.6rem; padding-top: .9rem; border-top: 1px solid var(--cu-line); font-size: .75rem; color: var(--ink-4);
}
@media (max-width: 720px) {
  .theme-cupertino.ftr-directory .bcos-foot-grid { grid-template-columns: 1fr 1fr; }
  .theme-cupertino.ftr-directory .bcos-foot a { padding: .45rem 0; }
}

/* ── Auth pages ───────────────────────────────────────────────────────── */
.theme-cupertino.bcos-auth { background: var(--cu-band); }
.theme-cupertino .bcos-auth-shell { grid-template-columns: minmax(280px, 40%) 1fr; }
.theme-cupertino .bcos-auth-aside {
  background: radial-gradient(120% 80% at 20% 110%, color-mix(in srgb, var(--th-accent) 55%, #000) 0%, #000 60%);
  padding: 3rem;
}
.theme-cupertino .bcos-auth-aside .bcos-kicker { color: #f5f5f7; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.theme-cupertino .bcos-auth-card {
  width: min(460px, calc(100% - 2rem)); background: #fff; border-radius: var(--cu-r-lg);
  padding: clamp(1.8rem, 5vw, 2.8rem); box-shadow: var(--cu-shadow-lg); margin: auto;
}
.theme-cupertino .bcos-auth-card h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); letter-spacing: -.03em; }
.theme-cupertino .bcos-auth-card .bcos-kicker { font-size: .95rem; }
.theme-cupertino .bcos-auth-card .bcos-brand-mark { height: 44px; width: 44px; border-radius: 10px; }
.theme-cupertino .bcos-auth-card .bcos-brand-mark.is-logo { width: auto; border-radius: 0; }
.theme-cupertino .bcos-auth-card .bcos-form { max-width: none; }
.theme-cupertino .bcos-auth-card .bcos-form .bcos-btn-ink { width: 100%; }
@media (max-width: 800px) {
  .theme-cupertino .bcos-auth-shell { grid-template-columns: 1fr; padding: 1.5rem 0; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .theme-cupertino .bcos-section .bcos-hero-grid { grid-template-columns: 1fr; }
  .theme-cupertino .bcos-cards, .theme-cupertino .bcos-stats, .theme-cupertino .bcos-quotes { gap: 1rem; }
}
@media (max-width: 720px) {
  .theme-cupertino .bcos-wrap { width: calc(100% - 2rem); }
  .theme-cupertino .bcos-cta { width: calc(100% - 2rem); border-radius: var(--cu-r); }
  .theme-cupertino .bcos-card, .theme-cupertino .bcos-price, .theme-cupertino .bcos-quotes blockquote { padding: 1.6rem 1.4rem; }
  .theme-cupertino .bcos-actions { justify-content: center; }
  .theme-cupertino .bcos-feature .bcos-actions,
  .theme-cupertino .bcos-section .bcos-hero-grid .bcos-actions { justify-content: flex-start; }
}
@media (min-width: 1500px) {
  .theme-cupertino .bcos-wrap { width: min(1180px, calc(100% - 4rem)); }
  .theme-cupertino .bcos-cta { width: min(1180px, calc(100% - 4rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .theme-cupertino .bcos-card:hover, .theme-cupertino a.vx-card:hover, .theme-cupertino .bcos-sup-card:hover { transform: none; }
}

/* Long-form text sits in a readable centred column under its centred heading. */
.theme-cupertino .bcos-section > .bcos-wrap > .bcos-rich { max-width: 46rem; margin-inline: auto; }
.theme-cupertino .bcos-section > .bcos-wrap > .bcos-rich + .bcos-actions { justify-content: center; }

/* Narrow phones: the wordmark gives way before the tool row does. */
@media (max-width: 560px) {
  .theme-cupertino .bcos-brand { min-width: 0; flex: 0 1 auto; }
  .theme-cupertino .bcos-brand-lockup { min-width: 0; }
  .theme-cupertino .bcos-brand-lockup strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
  .theme-cupertino .bcos-nav-find, .theme-cupertino .shx-navcart, .theme-cupertino .bcos-nav-in { width: 40px; }
  .theme-cupertino .bcos-hub-user .fa-caret-down, .theme-cupertino .bcos-hub-user .fas.fa-caret-down { display: none; }
  .theme-cupertino .bcos-stats { grid-template-columns: 1fr 1fr; }
  .theme-cupertino .bcos-stats div { padding: 1.4rem 1rem; }
}
@media (max-width: 720px) {
  .theme-cupertino .bcos-mark { aspect-ratio: auto; min-height: 200px; max-width: none; width: 100%; }
}
.theme-cupertino .bcos-section > .bcos-wrap > h2.bcos-find-h { text-align: left; font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.theme-cupertino .bcos-auth-card { align-self: center; height: max-content; }
@media (max-width: 720px) {
  .theme-cupertino .bcos-strip p + p { display: none; }
}

/* Mobile menu: measure against the live header height and the visual
   viewport, and keep the last item clear of the iOS home bar. */
@media (max-width: 1023px) {
  .bcos-links {
    height: auto;
    max-height: calc(100vh - var(--bcos-nav-h, 64px));
    max-height: calc(100dvh - var(--bcos-nav-h, 64px));
    padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
  }
}

/* NF Audios: room for the one-line logo in the header. */
.theme-cupertino .bcos-nav .bcos-brand-mark.is-logo { height: 34px; max-width: 170px; }
