/* Apple design language (owner 2026-11-24: "it should feel like purely apple design style", from apple.com/in/iphone and
   its store pages, measured in the browser). Colours: ink #1D1D1F, grey #6E6E73, light grey sections #F5F5F7, blue
   #0071E3 for buttons and #0066CC for text links. Buttons are full pills (980px), 17px, 44px tall. Cards: white on grey
   with 18px corners and a soft shadow, or grey on white with 28px corners. Links end in a chevron. The bar is 44px,
   frosted, with 12px links. Type: SF Pro on Apple devices, Inter elsewhere. Everything is under body.is-apple. */
body.is-apple {
  --ap-ink: #1D1D1F; --ap-text: #6E6E73; --ap-grey: #F5F5F7; --ap-line: #D2D2D7;
  --ap-blue: #0071E3; --ap-blue-h: #0077ED; --ap-link: #0066CC; --ap-orange: #B64400;
  --ap-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ap-card-shadow: 2px 4px 12px rgba(0, 0, 0, .08);
  --ap-card-shadow-h: 2px 4px 16px rgba(0, 0, 0, .16);
  /* the older home variables take Apple's values */
  --fx-ink: #1D1D1F; --fx-ink-h: #333336; --fx-text2: #6E6E73; --fx-mute: #6E6E73; --fx-soft: #F5F5F7; --fx-grey: #F5F5F7;
  --fx-line: #D2D2D7; --fx-blue: #0066CC; --fx-indigo: #0071E3; --fx-green: #1D1D1F; --fx-green-s: #F5F5F7;
}
html body.is-apple, html body.is-apple button, html body.is-apple input, html body.is-apple select { font-family: var(--ap-font); }
html body.is-apple { color: var(--ap-ink); background: #fff; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
html body.is-apple main h1, html body.is-apple main h2, html body.is-apple main h3 { font-family: var(--ap-font); color: var(--ap-ink); font-weight: 600 !important; }
html body.is-apple main p { color: var(--ap-text); }

/* ---------- bar: 44px, frosted, 12px links, the dice alone ---------- */
html body.is-apple .header.h3 { --header: 48px; background: rgba(245, 245, 247, .86) !important; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: none !important; border-bottom: 0; }
html body.is-apple .header .header__bar { height: 48px; min-height: 48px; }
html body.is-apple .header .brand img { width: 22px; height: 22px; }
html body.is-apple .h3 .nav__item { height: 48px; padding: 0 12px; font-size: 13px; font-weight: 400; color: rgba(0, 0, 0, .8); background: none !important; box-shadow: none !important; border-radius: 0; letter-spacing: -0.01em; }
html body.is-apple .h3 .nav__item:hover, html body.is-apple .h3 .nav__item.is-here { color: #000; }
html body.is-apple .header__right { gap: 14px; background: none; padding: 0; }
html body.is-apple .fh-earn, html body.is-apple .fh-link { height: auto; padding: 0; background: none !important; box-shadow: none !important; color: rgba(0, 0, 0, .8); font-size: 13px; font-weight: 400; }
html body.is-apple .fh-earn:hover, html body.is-apple .fh-link:hover { color: #000; }
html body.is-apple .header .fh-join, html body.is-apple .header .header__right > .fh-join.pill--go { height: 30px; padding: 0 14px; border-radius: 980px; background: var(--ap-blue) !important; color: #fff !important; font-size: 13px; font-weight: 400 !important; }
html body.is-apple .header .fh-join:hover { background: var(--ap-blue-h) !important; }
html body.is-apple .fh-dd__menu { border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 18px 40px -12px rgba(0, 0, 0, .18); }

/* ---------- buttons: blue pills; second actions are blue links with a chevron ---------- */
html body.is-apple .fx-btn { height: 44px; padding: 0 22px; border-radius: 980px; background: var(--ap-blue); color: #fff; font-size: 17px; font-weight: 400; letter-spacing: -0.022em; box-shadow: none; }
html body.is-apple .fx-btn:hover { background: var(--ap-blue-h); }
html body.is-apple .fx-btn--sm { height: 32px; padding: 0 15px; font-size: 14px; }
html body.is-apple .fx-btn--lg { height: 52px; padding: 0 28px; font-size: 17px; }
html body.is-apple .fx-btn--line { background: none !important; color: var(--ap-link) !important; box-shadow: none !important; padding: 0 10px; }
html body.is-apple .fx-btn--line::after, html body.is-apple .ap-chev::after { content: "›"; margin-left: 4px; font-size: 1.15em; line-height: 1; }
html body.is-apple .fx-btn--line:hover { text-decoration: underline; }
html body.is-apple .fx-btn--white { background: var(--ap-blue); color: #fff; }
html body.is-apple .fx-more, html body.is-apple .fx-do__go, html body.is-apple .fx-start__go, html body.is-apple .fx-pane__kit a { color: var(--ap-link); font-weight: 400; font-size: 17px; }
html body.is-apple .fx-more svg, html body.is-apple .fx-do__go svg, html body.is-apple .fx-start__go svg { display: none; }
html body.is-apple .fx-more::after, html body.is-apple .fx-do__go::after, html body.is-apple .fx-start__go::after { content: "›"; font-size: 1.2em; line-height: 1; }
html body.is-apple .fx-more:hover, html body.is-apple .fx-do__go:hover, html body.is-apple .fx-start__go:hover { text-decoration: underline; }

/* ---------- section rhythm: white and light grey, full width ---------- */
html body.is-apple .fx-s { padding-top: clamp(64px, 8vw, 100px); }
.is-apple .ap-grey { background: var(--ap-grey); box-shadow: 0 0 0 100vmax var(--ap-grey); clip-path: inset(0 -100vmax); padding-bottom: clamp(64px, 8vw, 100px); }
html body.is-apple .fx-head { margin-bottom: clamp(28px, 3vw, 40px); max-width: 820px; }
html body.is-apple .fx-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.015em; }
html body.is-apple .fx-head p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.38; color: var(--ap-text); letter-spacing: .011em; }
html body.is-apple .fx-eyebrow { color: var(--ap-text); font-size: 17px; font-weight: 600; letter-spacing: -0.022em; margin-bottom: 8px; }

/* ---------- opening ---------- */
html body.is-apple .fx-hero { background: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
html body.is-apple .fx-hero h1 { font-size: clamp(44px, 5.6vw, 80px) !important; line-height: 1.05; letter-spacing: -0.015em !important; }
html body.is-apple .fx-hi { color: var(--ap-ink); }
html body.is-apple .fx-hero .fx-eyebrow { height: auto; padding: 0; background: none; color: var(--ap-orange); font-size: 17px; font-weight: 600; }
html body.is-apple .fx-sub { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: var(--ap-ink); letter-spacing: .009em; }
html body.is-apple .fx-acts { align-items: center; gap: 18px; }
/* the starting-plan card: a grey tile with 28px corners */
html body.is-apple .fx-start { border-radius: 28px; background: var(--ap-grey); box-shadow: none; padding: clamp(24px, 2.8vw, 36px); }
html body.is-apple .fx-start__h { font-size: 28px; letter-spacing: -0.015em; }
html body.is-apple .fx-start__chip { height: 36px; padding: 0 16px; border-radius: 980px; background: #fff; box-shadow: inset 0 0 0 1px var(--ap-line); font-size: 14px; color: var(--ap-ink); }
html body.is-apple .fx-start__chip[aria-checked="true"] { background: var(--ap-ink); color: #fff; box-shadow: none; }
html body.is-apple .fx-start__lead { color: var(--ap-text); font-size: 17px; }
html body.is-apple .fx-start__steps a { border-radius: 18px; background: #fff; font-size: 17px; padding: 14px 16px; }
html body.is-apple .fx-start__steps a:hover { background: #fff; box-shadow: var(--ap-card-shadow); }
html body.is-apple .fx-start__n { border-radius: 50%; background: var(--ap-grey); box-shadow: none; color: var(--ap-ink); }

/* ---------- white cards on grey, 18px corners, soft shadow that grows on hover ---------- */
html body.is-apple .fx-do, html body.is-apple .fx-expert { border-radius: 18px; background: #fff; box-shadow: var(--ap-card-shadow); padding: 28px; transition: box-shadow .3s cubic-bezier(0, 0, .5, 1), transform .3s cubic-bezier(0, 0, .5, 1); }
html body.is-apple .fx-do:hover, html body.is-apple .fx-expert:hover { box-shadow: var(--ap-card-shadow-h); transform: scale(1.01); }
html body.is-apple .fx-do__ic { width: auto; height: auto; margin-bottom: 14px; background: none !important; color: var(--ap-blue) !important; justify-content: start; }
html body.is-apple .fx-do__ic svg { width: 34px; height: 34px; stroke-width: 1.5; }
html body.is-apple .fx-do b { font-size: 24px; line-height: 1.17; letter-spacing: .009em; font-weight: 600; }
html body.is-apple .fx-do > span:not([class]) { font-size: 17px; line-height: 1.47; color: var(--ap-text); }
html body.is-apple .fx-do__tag { padding: 0; background: none; color: var(--ap-orange); font-size: 14px; font-weight: 600; }
html body.is-apple .fx-does { gap: 20px; }

/* ---------- how it works: grey tiles with 28px corners on white ---------- */
html body.is-apple .fx-band { background: #fff; margin-top: 0; padding: clamp(64px, 8vw, 100px) 0 0; }
html body.is-apple .fx-how { gap: 20px; }
html body.is-apple .fx-how li { border-radius: 28px; background: var(--ap-grey); box-shadow: none; padding: 32px; }
html body.is-apple .fx-how__n { width: auto; height: auto; margin-bottom: 20px; border-radius: 0; background: none !important; color: var(--ap-blue); font-size: 40px; font-weight: 600; letter-spacing: -0.02em; display: block; }
html body.is-apple .fx-how b { font-size: 24px; font-weight: 600; letter-spacing: .009em; line-height: 1.17; }
html body.is-apple .fx-how p { font-size: 17px; line-height: 1.47; }

/* ---------- the stage tabs (kept, in Apple colours) ---------- */
html body.is-apple .fx-journey { border-radius: 28px; box-shadow: none; background: var(--ap-grey); }
html body.is-apple .fx-path { background: var(--ap-grey); border-bottom: 1px solid var(--ap-line); }
html body.is-apple .fx-step { color: var(--ap-text); font-size: 17px; }
html body.is-apple .fx-step:hover { background: transparent; color: var(--ap-ink); }
html body.is-apple .fx-step[aria-selected="true"] { background: transparent; color: var(--ap-ink); border-bottom-color: var(--ap-ink); }
html body.is-apple .fx-step__n { border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ap-line); background: #fff; }
html body.is-apple .fx-step[aria-selected="true"] .fx-step__n { background: var(--ap-ink); color: #fff; }
html body.is-apple .fx-panel__q p { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.015em; font-weight: 600; }
html body.is-apple .fx-panel small { color: var(--ap-text); letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; }
html body.is-apple .fx-panel__a { border-radius: 18px; background: #fff; box-shadow: var(--ap-card-shadow); }
html body.is-apple .fx-panel__a b { font-size: 24px; font-weight: 600; }

/* ---------- every kind of founder: grey tiles on white ---------- */
html body.is-apple .fx-kind { border-radius: 18px; background: var(--ap-grey); box-shadow: none; padding: 26px 24px 52px; }
html body.is-apple .fx-kind:hover { background: var(--ap-grey); box-shadow: none; transform: scale(1.01); }
html body.is-apple .fx-kind__ic { width: auto; height: auto; background: none !important; color: var(--ap-blue) !important; box-shadow: none; margin-bottom: 8px; }
html body.is-apple .fx-kind__ic svg { width: 30px; height: 30px; }
html body.is-apple .fx-kind b { font-size: 21px; font-weight: 600; }
html body.is-apple .fx-kind > span:not(.fx-kind__ic) { font-size: 15px; line-height: 1.47; color: var(--ap-text); }
html body.is-apple .fx-kind > svg:last-child { color: var(--ap-link) !important; left: 24px; bottom: 22px; }

/* ---------- people ---------- */
html body.is-apple .fx-expert__pic { background: var(--ap-grey); color: var(--ap-text); }
html body.is-apple .fx-expert b { font-size: 19px; font-weight: 600; }
html body.is-apple .fx-tick { background: var(--ap-blue); }
html body.is-apple .fx-expert .fx-btn--sm { background: var(--ap-blue); }

/* ---------- grants and events: grey tiles with white rows ---------- */
html body.is-apple .fx-two { gap: 20px; }
html body.is-apple .fx-pane { border-radius: 28px; background: var(--ap-grey); padding: clamp(26px, 3vw, 40px); }
html body.is-apple .fx-pane h2 { font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -0.015em; }
html body.is-apple .fx-pane > p { font-size: 17px; }
html body.is-apple .fx-row { border-radius: 18px; box-shadow: none; background: #fff; transition: box-shadow .3s; }
html body.is-apple .fx-row:hover { box-shadow: var(--ap-card-shadow); }
html body.is-apple .fx-row__ic { border-radius: 50%; background: var(--ap-grey) !important; color: var(--ap-blue) !important; }
html body.is-apple .fx-row__date { border-radius: 12px; background: var(--ap-grey) !important; color: var(--ap-ink) !important; box-shadow: none; }
html body.is-apple .fx-row__date small { color: var(--ap-orange) !important; font-weight: 600; }
html body.is-apple .fx-row__soon { padding: 0; background: none !important; color: var(--ap-orange) !important; font-size: 12px; }
html body.is-apple .fx-row > svg { color: var(--ap-text); }
html body.is-apple .fx-pane__kit { font-size: 17px; }

/* ---------- black band and closing ---------- */
html body.is-apple .fx-bridge { background: #000 !important; margin-top: clamp(64px, 8vw, 100px); }
html body.is-apple .fx-bridge h2 { color: #F5F5F7; font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.015em; }
html body.is-apple .fx-bridge .fx-eyebrow { color: #86868B !important; }
html body.is-apple .fx-bridge__p { color: #86868B; font-size: clamp(17px, 1.5vw, 21px); }
html body.is-apple .fx-close h2 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.015em; line-height: 1.06; }
html body.is-apple .fx-close > p { font-size: 21px; color: var(--ap-text); }

/* ---------- footer: light grey, small type ---------- */
html body.is-apple .f3 { background: var(--ap-grey); }
html body.is-apple .f3, html body.is-apple .f3 p, html body.is-apple .f3 a, html body.is-apple .f3__bottom { font-size: 12px; color: var(--ap-text); letter-spacing: -0.01em; }
html body.is-apple .f3__col span { font-size: 12px; font-weight: 600; color: var(--ap-ink); }
html body.is-apple .f3 a:hover { color: var(--ap-ink); text-decoration: underline; }

@media (max-width: 900px) {
  html body.is-apple .header .header__bar { height: 48px; }
  html body.is-apple .fx-hero h1 { font-size: clamp(40px, 10vw, 56px) !important; }
}
.is-apple .ap-grey { margin-top: clamp(64px, 8vw, 100px); }
html body.is-apple .fx-panel__q p { color: var(--ap-ink); }
html body.is-apple .fx-head--split { max-width: none; }
html body.is-apple .fx-panel__a p { color: var(--ap-text); }
html body.is-apple .h3 .menu-btn { background: none !important; box-shadow: none !important; }

/* ===== round 2 (owner 2026-11-24): a livelier bar, Earn on Paiir stands out, all type one step smaller ===== */
/* bar: hairline under it, links in a soft pill on hover, the page you are on marked with a small dot */
html body.is-apple .header .header__bar { height: 56px; min-height: 56px; }
html body.is-apple .h3 .nav { gap: 2px; }
html body.is-apple .h3 .nav__item { position: relative; height: 34px; padding: 0 14px; border-radius: 980px; font-size: 14px; font-weight: 500; color: #1D1D1F; transition: background .2s ease; }
html body.is-apple .h3 .nav__item:hover, html body.is-apple .h3 .fh-dd:hover > .nav__item { background: #F5F5F7 !important; }
html body.is-apple .h3 .nav__item.is-here::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #0071E3; }
html body.is-apple .header .brand img { width: 28px; height: 28px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
html body.is-apple .header .brand:hover img { transform: rotate(-12deg) scale(1.06); }
html body.is-apple .header__right { gap: 10px; }
html body.is-apple .fh-link { font-size: 14px; font-weight: 500; color: #1D1D1F; padding: 0 6px; }
html body.is-apple .header .fh-join, html body.is-apple .header .header__right > .fh-join.pill--go { height: 36px; padding: 0 18px; font-size: 14px; font-weight: 500 !important; }
/* Earn on Paiir: a white pill with a moving colour ring and a rupee badge */
html body.is-apple .header .fh-earn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 6px !important; border-radius: 980px; border: 2px solid transparent; font-size: 14px; font-weight: 600; color: #1D1D1F;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #0071E3, #AF52DE, #FF2D55, #FF9500, #34C759, #0071E3) border-box !important;
  background-size: 100% 100%, 300% 100% !important; animation: ap-ring 6s linear infinite; transition: transform .2s ease, box-shadow .2s ease; }
html body.is-apple .header .fh-earn::before { content: "₹"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #FF9500, #FF2D55 55%, #AF52DE); color: #fff; font-size: 13px; font-weight: 700; }
html body.is-apple .header .fh-earn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(175, 82, 222, .45); color: #000; }
@keyframes ap-ring { from { background-position: 0 0, 0% 0; } to { background-position: 0 0, 300% 0; } }
@media (prefers-reduced-motion: reduce) { html body.is-apple .header .fh-earn { animation: none; } }
/* in the phone menu too */
html body.is-apple .fm-earn { color: #AF52DE !important; font-weight: 600; }

/* type one step smaller */
html body.is-apple { font-size: 16px; }
html body.is-apple .fx-hero h1 { font-size: clamp(38px, 4.4vw, 60px) !important; }
html body.is-apple .fx-hero .fx-eyebrow { font-size: 15px; }
html body.is-apple .fx-sub { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; }
html body.is-apple .fx-btn { height: 40px; padding: 0 20px; font-size: 15px; }
html body.is-apple .fx-btn--lg { height: 46px; padding: 0 24px; font-size: 16px; }
html body.is-apple .fx-btn--sm { height: 30px; padding: 0 13px; font-size: 13px; }
html body.is-apple .fx-start__h { font-size: 22px; }
html body.is-apple .fx-start__chip { height: 32px; padding: 0 13px; font-size: 13px; }
html body.is-apple .fx-start__lead { font-size: 15px; }
html body.is-apple .fx-start__steps a { font-size: 15px; padding: 11px 14px; }
html body.is-apple .fx-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
html body.is-apple .fx-head p { font-size: clamp(16px, 1.3vw, 18px); }
html body.is-apple .fx-eyebrow { font-size: 15px; }
html body.is-apple .fx-more, html body.is-apple .fx-do__go, html body.is-apple .fx-start__go, html body.is-apple .fx-pane__kit a, html body.is-apple .fx-pane__kit { font-size: 15px; }
html body.is-apple .fx-do { padding: 24px; }
html body.is-apple .fx-do__ic svg { width: 28px; height: 28px; }
html body.is-apple .fx-do b { font-size: 20px; }
html body.is-apple .fx-do > span:not([class]) { font-size: 15px; }
html body.is-apple .fx-do__tag { font-size: 13px; }
html body.is-apple .fx-how li { padding: 26px; }
html body.is-apple .fx-how__n { font-size: 32px; margin-bottom: 14px; }
html body.is-apple .fx-how b { font-size: 20px; }
html body.is-apple .fx-how p { font-size: 15px; }
html body.is-apple .fx-step, html body.is-apple .fx-step b { font-size: 15px; }
html body.is-apple .fx-panel__q p { font-size: clamp(24px, 2.6vw, 32px); }
html body.is-apple .fx-panel small { font-size: 13px; }
html body.is-apple .fx-panel__a b { font-size: 20px; }
html body.is-apple .fx-panel__a p { font-size: 15px; }
html body.is-apple .fx-kind b { font-size: 18px; }
html body.is-apple .fx-kind > span:not(.fx-kind__ic) { font-size: 14px; }
html body.is-apple .fx-kind__ic svg { width: 26px; height: 26px; }
html body.is-apple .fx-expert b { font-size: 17px; }
html body.is-apple .fx-pane h2 { font-size: clamp(24px, 2.4vw, 32px); }
html body.is-apple .fx-pane > p { font-size: 15px; }
html body.is-apple .fx-row__w b { font-size: 15px; }
html body.is-apple .fx-bridge h2 { font-size: clamp(28px, 3.4vw, 44px); }
html body.is-apple .fx-bridge__p { font-size: clamp(16px, 1.3vw, 18px); }
html body.is-apple .fx-close h2 { font-size: clamp(30px, 3.8vw, 48px); }
html body.is-apple .fx-close > p { font-size: 18px; }
html body.is-apple .fx-s, html body.is-apple .fx-band { padding-top: clamp(56px, 7vw, 88px); }
.is-apple .ap-grey { margin-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }

/* ===== photos (Pexels, media/photos/pexels): one wide picture under the opening, a picture on each founder card,
   the Earn band split with a photo. Same corners as the cards: 28px wide pictures, 18px card pictures. ===== */
.is-apple .ap-band-pic figure { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 8; background: #F5F5F7; }
.is-apple .ap-band-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
html body.is-apple .fx-hero { padding-bottom: clamp(32px, 4vw, 48px); }
/* founder cards with a picture on top */
html body.is-apple .fx-kind--pic { padding: 0 0 48px; overflow: hidden; background: #F5F5F7; }
.is-apple .fx-kind__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; }
.is-apple .fx-kind__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(0, 0, .5, 1); }
.is-apple .fx-kind--pic:hover .fx-kind__pic img { transform: scale(1.04); }
html body.is-apple .fx-kind--pic .fx-kind__ic { display: none; }
html body.is-apple .fx-kind--pic > b, html body.is-apple .fx-kind--pic > span:not(.fx-kind__pic) { padding: 0 22px; }
html body.is-apple .fx-kind--pic > svg:last-child { left: 22px; bottom: 20px; }
/* the Earn band: words left, photo right */
.is-apple .ap-bridge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; text-align: left; }
.is-apple .ap-bridge__w { display: flex; flex-direction: column; align-items: flex-start; }
html body.is-apple .ap-bridge h2 { text-align: left; }
html body.is-apple .ap-bridge .fx-bridge__p { text-align: left; }
.is-apple .ap-bridge__pic { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; }
.is-apple .ap-bridge__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .is-apple .ap-band-pic figure { aspect-ratio: 16 / 9; border-radius: 22px; }
  .is-apple .ap-bridge { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .is-apple .ap-band-pic figure { aspect-ratio: 4 / 3; } }
html body.is-apple .fx-bridge__in.ap-bridge { padding-left: var(--gutter, 20px); padding-right: var(--gutter, 20px); }

/* the stage tabs follow the scroll: the box stays pinned under the bar (assets/js/home-founder.js sets the height) */
.fx-scrolly.is-scrolly .fx-scrolly__pin { position: sticky; top: calc(56px + 24px); }
.fx-scrolly.is-scrolly .fx-panel:not([hidden]) { animation: fx-in .45s cubic-bezier(.2, .8, .2, 1); }
.fx-scrolly.is-scrolly .fx-step[aria-selected="true"] { transition: color .2s ease; }
@keyframes fx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* a thin bar under the tabs shows how far through the five stages you are */
.fx-scrolly.is-scrolly .fx-path { position: relative; }

/* opening: more air between the label, heading, line and buttons (owner 2026-11-24) */
html body.is-apple .fx-hero .fx-eyebrow { margin-bottom: 18px; }
html body.is-apple .fx-hero h1 { margin: 0; }
html body.is-apple .fx-sub { margin-top: 24px; max-width: 540px; }
html body.is-apple .fx-hero .fx-acts { margin-top: 40px; }

/* ===== smooth stage changes (owner 2026-11-24: "make it super smooth"): the panels share one spot and cross-fade,
   one bar slides under the tabs with the scroll, the tab colours ease ===== */
.fx-scrolly.is-scrolly .fx-journey { display: grid; grid-template-columns: minmax(0, 1fr); }
.fx-scrolly.is-scrolly .fx-path { grid-row: 1; grid-column: 1; }
.fx-scrolly.is-scrolly .fx-panel { grid-row: 2; grid-column: 1; opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden;
  transition: opacity .55s cubic-bezier(.25, .1, .25, 1), transform .7s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .55s; animation: none !important; }
.fx-scrolly.is-scrolly .fx-panel.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .55s cubic-bezier(.25, .1, .25, 1) .08s, transform .7s cubic-bezier(.2, .8, .2, 1) .08s, visibility 0s; }
.fx-scrolly.is-scrolly .fx-panel__a { transition: transform .7s cubic-bezier(.2, .8, .2, 1) .12s; }
.fx-scrolly.is-scrolly .fx-panel:not(.is-on) .fx-panel__a { transform: translateY(10px); }
/* the sliding bar replaces each tab's own underline */
.fx-scrolly.is-scrolly .fx-step, html body.is-apple .fx-scrolly.is-scrolly .fx-step[aria-selected="true"] { border-bottom-color: transparent !important; }
.fx-ind { position: absolute; left: 0; bottom: -1px; height: 2px; background: #1D1D1F; border-radius: 2px; will-change: transform; pointer-events: none; }
.fx-scrolly:not(.is-scrolly) .fx-ind { display: none; }
html body.is-apple .fx-step, html body.is-apple .fx-step b { transition: color .45s ease; }
html body.is-apple .fx-step__n { transition: background-color .45s ease, color .45s ease, box-shadow .45s ease; }
/* out first, then in: the leaving stage fades fast, the new one rises in just after, so the two never overlap */
.fx-scrolly.is-scrolly .fx-panel { transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s linear .18s; transform: translateY(-8px); }
.fx-scrolly.is-scrolly .fx-panel.is-on { transition: opacity .5s cubic-bezier(.25, .1, .25, 1) .2s, transform .65s cubic-bezier(.2, .8, .2, 1) .2s, visibility 0s linear .18s; }
.fx-scrolly.is-scrolly .fx-panel:not(.is-on) .fx-panel__a { transform: translateY(12px); transition: transform .18s ease-out; }
.fx-scrolly.is-scrolly .fx-panel.is-on .fx-panel__a { transition: transform .7s cubic-bezier(.2, .8, .2, 1) .26s; }
.fx-scrolly.is-scrolly .fx-panel.is-on:not(.x) { transform: none; }

/* ===== hover states, checked button by button (owner 2026-11-24) =====
   blue pills stay white text on hover and only get a touch lighter; text links do not underline, their chevron
   nudges right instead (Apple's way) */
html body.is-apple .fx-btn:not(.fx-btn--line):hover, html body.is-apple .fx-btn:not(.fx-btn--line):focus-visible,
html body.is-apple .fx-btn--white:hover, html body.is-apple .fx-bridge .fx-btn:hover { background: var(--ap-blue-h) !important; color: #fff !important; }
html body.is-apple .fx-btn:not(.fx-btn--line) { color: #fff !important; transition: background-color .2s ease; }
html body.is-apple .fx-btn:not(.fx-btn--line):active { background: #006EDB !important; }
html body.is-apple .fx-btn--line:hover, html body.is-apple .fx-more:hover, html body.is-apple .fx-do__go:hover, html body.is-apple .fx-start__go:hover, html body.is-apple .fx-pane__kit a:hover { text-decoration: none !important; color: var(--ap-link) !important; background: none !important; }
html body.is-apple .fx-btn--line::after, html body.is-apple .fx-more::after, html body.is-apple .fx-do__go::after, html body.is-apple .fx-start__go::after { display: inline-block; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
html body.is-apple .fx-btn--line:hover::after, html body.is-apple .fx-more:hover::after, html body.is-apple .fx-start__go:hover::after,
html body.is-apple .fx-do:hover .fx-do__go::after { transform: translateX(4px); }
html body.is-apple .fx-pane__kit a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
/* chips and rows keep their text colour on hover */
html body.is-apple .fx-start__chip:hover { box-shadow: inset 0 0 0 1px #86868B; color: var(--ap-ink); }
html body.is-apple .fx-start__chip[aria-checked="true"]:hover { color: #fff; box-shadow: none; }
html body.is-apple .fx-start__steps a:hover, html body.is-apple .fx-row:hover, html body.is-apple .fx-kind:hover, html body.is-apple .fx-do:hover, html body.is-apple .fx-expert:hover { color: var(--ap-ink); }
html body.is-apple .fx-expert:hover .fx-btn--sm { background: var(--ap-blue-h) !important; }
html body.is-apple .fx-step:hover { color: var(--ap-ink); }
html body.is-apple .fx-pane__kit a:hover { text-decoration: none !important; opacity: .8; }
