/* ==========================================================================
   [iy_community_app]: app landing page on insideyoga.org (Divi host).
   Design: mockup "Inside Community App Page v2", approved 2026-11-09, same
   design system as the community start page (child theme inc/home). The
   host brings header and footer. Radius language: 100px only on buttons,
   20px cards, 12-14px tags and chips. Motion: iy-community-app.js.
   Everything is scoped under .iy-capp so Divi's element rules lose.
   ========================================================================== */

/* Divi: the full-width page still wraps content in a padded .container. */
#main-content .container:has(.iy-capp) {
	padding-top: 0 !important; /* Divi's own 58px rule wins otherwise */
	width: 100%;
	max-width: none;
}
#main-content .container:has(.iy-capp)::before {
	display: none;
}
.page .entry-content:has(.iy-capp) {
	padding: 0;
}

.iy-capp {
	--capp-teal: #3B6063;
	--capp-teal-deep: #22403E;
	--capp-teal-deeper: #182F2E;
	--capp-teal-soft: #EAF0EF;
	--capp-gold: #A77637;
	--capp-gold-bright: #C9995C;
	--capp-gold-soft: #F3E9DB;
	--capp-ink: #1D2B2A;
	--capp-ink-soft: #5A6C6A;
	--capp-line: #E2E7E5;
	--capp-paper: #F4F5F3;
	--capp-card: #FFFFFF;
	--capp-on-dark: #F4F7F6;
	--capp-on-dark-soft: #C9D8D6;
	--capp-hero-bg: var(--capp-paper); /* same surface as the steps section, so the phone shadow runs through */
	--capp-shadow: 0 1px 2px rgba(24, 47, 46, .06), 0 8px 28px rgba(24, 47, 46, .08);
	--capp-shadow-lift: 0 2px 4px rgba(24, 47, 46, .08), 0 16px 44px rgba(24, 47, 46, .14);
	--capp-r-card: 20px;
	--capp-r-chip: 14px;
	--capp-r-tag: 12px;
	--capp-r-micro: 7px;
	--capp-r-btn: 100px;
	--capp-wrap: 1200px;
	--capp-gut: 24px;
	--capp-ease-out: cubic-bezier(.22, .8, .3, 1);
	--capp-ease-fill: cubic-bezier(.3, .1, .25, 1);
	background: var(--capp-paper);
	color: var(--capp-ink);
	font: 400 17px/1.6 Poppins, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

/* Base resets against the host theme */
.iy-capp *, .iy-capp *::before, .iy-capp *::after { box-sizing: border-box; }
.iy-capp img { display: block; max-width: 100%; }
.iy-capp a { color: inherit; }
.iy-capp p, .iy-capp h1, .iy-capp h2, .iy-capp h3, .iy-capp dl, .iy-capp dt, .iy-capp dd { margin: 0; padding: 0; }
.iy-capp h1, .iy-capp h2, .iy-capp h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; color: inherit; text-wrap: balance; }
.iy-capp .iy-capp-steplist { margin: 0 !important; padding: 0 !important; list-style: none !important; line-height: inherit; }
.iy-capp em { font-style: normal; }

.iy-capp .iy-capp-wrap {
	width: min(var(--capp-wrap), 100% - 2 * var(--capp-gut)); margin-inline: auto;
	padding-left: max(0px, env(safe-area-inset-left, 0px)); padding-right: max(0px, env(safe-area-inset-right, 0px));
}
.iy-capp .iy-capp-h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -.028em; }
.iy-capp .iy-capp-h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.1; }
.iy-capp .iy-capp-h3 { font-size: 22px; line-height: 1.25; }
.iy-capp .iy-capp-lead { font-size: 18.5px; line-height: 1.55; color: var(--capp-ink-soft); max-width: 56ch; }
.iy-capp .iy-capp-num { font-variant-numeric: tabular-nums; }

/* Buttons: the 100px radius is reserved for these. */
.iy-capp .iy-capp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 52px; padding: 0 28px; border-radius: var(--capp-r-btn);
	border: 1.5px solid transparent; font: 600 16px/1 Poppins, sans-serif;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.iy-capp .iy-capp-btn:active { transform: translateY(1px); }
.iy-capp .iy-capp-btn:focus-visible { outline: 3px solid var(--capp-gold-bright); outline-offset: 2px; }
.iy-capp .iy-capp-btn--white { background: #fff; color: var(--capp-teal); }
.iy-capp .iy-capp-btn--white:hover { background: var(--capp-teal-soft); color: var(--capp-teal); }
.iy-capp .iy-capp-btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .55); color: #fff; }
.iy-capp .iy-capp-btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.iy-capp .iy-capp-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Reveal system (iy-community-app.js adds .in) */
.iy-capp .iy-capp-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--capp-ease-out), transform .6s var(--capp-ease-out); }
.iy-capp .iy-capp-rv.in { opacity: 1; transform: none; }
.iy-capp .iy-capp-rv-d1 { transition-delay: .08s; }
.iy-capp .iy-capp-rv-d2 { transition-delay: .16s; }
.iy-capp .iy-capp-rv-d3 { transition-delay: .24s; }
.iy-capp .iy-capp-rv-d4 { transition-delay: .32s; }

@keyframes iy-capp-rise { to { transform: none; } }
@keyframes iy-capp-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero: copy + two phones */
.iy-capp .iy-capp-hero { background: var(--capp-hero-bg); position: relative; } /* no overflow clip: the phones' shadow falls onto the next section (.iy-capp clips horizontally) */
.iy-capp .iy-capp-hero .iy-capp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 72px; }
.iy-capp .iy-capp-hero__copy { padding: 40px 0 96px; }
.iy-capp .iy-capp-hero__kicker { font-size: 14.5px; font-weight: 600; color: var(--capp-gold); letter-spacing: .02em; margin-bottom: 18px; opacity: 0; animation: iy-capp-fadeup .8s var(--capp-ease-out) forwards; }
.iy-capp .iy-capp-hero .iy-capp-h1 { color: var(--capp-ink); font-size: clamp(34px, 3.7vw, 52px); }
.iy-capp .iy-capp-hero .iy-capp-h1 .iy-capp-ln { display: block; overflow: hidden; }
.iy-capp .iy-capp-hero .iy-capp-h1 .iy-capp-ln > span { display: block; transform: translateY(110%); animation: iy-capp-rise .9s var(--capp-ease-out) forwards; }
.iy-capp .iy-capp-hero .iy-capp-h1 .iy-capp-ln:nth-child(2) > span { animation-delay: .12s; }
.iy-capp .iy-capp-hero .iy-capp-h1 em { font-style: normal; color: var(--capp-gold); }
.iy-capp .iy-capp-hero .iy-capp-lead { margin-top: 24px; max-width: 48ch; }
.iy-capp .iy-capp-hero .iy-capp-stores { margin-top: 34px; }
.iy-capp .iy-capp-hero__note { margin-top: 22px; font-size: 15px; color: var(--capp-ink-soft); }
.iy-capp .iy-capp-hero .iy-capp-lead, .iy-capp .iy-capp-hero .iy-capp-stores, .iy-capp .iy-capp-hero__note { opacity: 0; animation: iy-capp-fadeup .8s var(--capp-ease-out) forwards; }
.iy-capp .iy-capp-hero .iy-capp-lead { animation-delay: .4s; }
.iy-capp .iy-capp-hero .iy-capp-stores { animation-delay: .55s; }
.iy-capp .iy-capp-hero__note { animation-delay: .7s; }
.iy-capp .iy-capp-hero__visual { position: relative; height: 640px; align-self: end; }

/* Store badges + QR */
.iy-capp .iy-capp-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.iy-capp .iy-capp-stores a img { height: 48px; width: auto; border-radius: var(--capp-r-micro); }
.iy-capp .iy-capp-qr { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--capp-ink-soft); max-width: 230px; line-height: 1.4; }
/* 48px: the size the approved mockup renders (its badge rule sized the QR too). */
.iy-capp .iy-capp-qr img { height: 48px; width: 48px; flex: 0 0 auto; border: 1px solid var(--capp-line); border-radius: var(--capp-r-micro); padding: 4px; background: #fff; }

/* Phones */
.iy-capp .iy-capp-devices { position: absolute; right: 0; bottom: 0; margin: 0; width: 440px; height: 640px; }
.iy-capp .iy-capp-phone { position: absolute; width: 300px; height: 640px; border-radius: 50px; background: #1c1f20; padding: 10px; box-shadow: 0 30px 60px rgba(24, 47, 46, .26), inset 0 0 0 1.5px rgba(255, 255, 255, .07); }
.iy-capp .iy-capp-phone__screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: #F5F4F0; }
.iy-capp .iy-capp-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; opacity: 0; transition: opacity .9s ease; }
.iy-capp .iy-capp-phone__screen img.is-on { opacity: 1; }
.iy-capp .iy-capp-phone--front { right: 0; bottom: 0; z-index: 2; }
.iy-capp .iy-capp-phone--back { left: -10px; bottom: 60px; transform: rotate(-8deg) scale(.86); transform-origin: bottom left; opacity: .92; filter: brightness(.96); }
.iy-capp .iy-capp-phone--back .iy-capp-phone__screen img { opacity: 1; }

/* Cards */
.iy-capp .iy-capp-card { background: var(--capp-card); border-radius: var(--capp-r-card); box-shadow: var(--capp-shadow); }

/* Steps card ("Getting started takes a minute") */
.iy-capp .iy-capp-steps { position: relative; z-index: 2; margin-top: 112px; }
.iy-capp .iy-capp-steps .iy-capp-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; padding: 44px 48px; }
.iy-capp .iy-capp-steps__title { font-size: 26px; line-height: 1.2; }
.iy-capp .iy-capp-steps__sub { margin-top: 12px; color: var(--capp-ink-soft); font-size: 16.5px; max-width: 34ch; }
.iy-capp .iy-capp-steps__stat { margin-top: 28px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.iy-capp .iy-capp-steps__stat b { font-size: 34px; font-weight: 800; color: var(--capp-teal); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.iy-capp .iy-capp-steps__stat span { font-size: 15px; color: var(--capp-ink-soft); }
.iy-capp .iy-capp-steplist { counter-reset: iy-capp-step; }
.iy-capp .iy-capp-step { counter-increment: iy-capp-step; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; margin: 0; padding: 20px 0; border-top: 1px solid var(--capp-line); }
.iy-capp .iy-capp-step:first-child { border-top: 0; padding-top: 4px; }
.iy-capp .iy-capp-step:last-child { padding-bottom: 0; }
.iy-capp .iy-capp-step::before {
	content: counter(iy-capp-step); grid-row: 1 / 3; width: 40px; height: 40px;
	border-radius: var(--capp-r-tag); background: var(--capp-teal-soft); color: var(--capp-teal);
	display: grid; place-items: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums;
}
.iy-capp .iy-capp-step h3 { grid-column: 2; font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-top: 7px; }
.iy-capp .iy-capp-step p { grid-column: 2; margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--capp-ink-soft); max-width: 58ch; }

/* Section + masonry ("Everything from the community, in your pocket") */
.iy-capp .iy-capp-section { padding: 112px 0 0; }
.iy-capp .iy-capp-section__head { max-width: 62ch; }
.iy-capp .iy-capp-section__head .iy-capp-lead { margin-top: 18px; }
.iy-capp .iy-capp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: 44px; align-items: start; }
.iy-capp .iy-capp-col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.iy-capp .iy-capp-grid .iy-capp-card { padding: 32px 32px 0; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.iy-capp .iy-capp-card__text { max-width: 46ch; }
.iy-capp .iy-capp-card__text p { margin-top: 8px; color: var(--capp-ink-soft); font-size: 16px; line-height: 1.55; }
.iy-capp .iy-capp-vig { margin-top: 28px; flex: 1; display: flex; flex-direction: column; }

/* Flows: mood filter demo + marquee */
.iy-capp .iy-capp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.iy-capp .iy-capp-pill { border: 1px solid var(--capp-line); border-radius: var(--capp-r-chip); padding: 7px 14px; font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--capp-ink-soft); background: #fff; transition: background-color .35s, color .35s, border-color .35s; }
.iy-capp .iy-capp-pill.is-on { background: var(--capp-teal); border-color: var(--capp-teal); color: #fff; }
.iy-capp .iy-capp-strip {
	position: relative; margin: 18px -32px 0; padding: 6px 0 0; overflow: hidden; flex: 0 0 auto; transition: opacity .25s;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.iy-capp .iy-capp-strip__track { display: flex; gap: 16px; width: max-content; padding-left: 32px; animation: iy-capp-marquee 40s linear infinite; }
.iy-capp .iy-capp-strip:hover .iy-capp-strip__track { animation-play-state: paused; }
.iy-capp .iy-capp-strip.is-fading { opacity: 0; }
@keyframes iy-capp-marquee { to { transform: translateX(calc(-50% - 8px)); } }
.iy-capp .iy-capp-flow { width: 320px; flex: 0 0 auto; border: 1px solid var(--capp-line); border-bottom: 0; border-radius: 14px 14px 0 0; padding: 10px 10px 0; background: #fff; transition: opacity .5s, transform .5s var(--capp-ease-out), box-shadow .5s; }
.iy-capp .iy-capp-flow.is-out { display: none; }
.iy-capp .iy-capp-flow__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--capp-teal-deep); }
.iy-capp .iy-capp-flow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.iy-capp .iy-capp-play { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.iy-capp .iy-capp-play::after { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--capp-teal); }
.iy-capp .iy-capp-flow__dur { position: absolute; right: 8px; bottom: 8px; background: rgba(24, 47, 46, .78); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.6; padding: 2px 7px; border-radius: var(--capp-r-micro); font-variant-numeric: tabular-nums; }
.iy-capp .iy-capp-eq { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.iy-capp .iy-capp-eq i { width: 3px; background: #fff; border-radius: 1px; animation: iy-capp-eq 1s ease-in-out infinite; }
.iy-capp .iy-capp-eq i:nth-child(2) { animation-delay: .15s; }
.iy-capp .iy-capp-eq i:nth-child(3) { animation-delay: .3s; }
.iy-capp .iy-capp-eq i:nth-child(4) { animation-delay: .45s; }
@keyframes iy-capp-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.iy-capp .iy-capp-flow__t { margin: 9px 2px 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iy-capp .iy-capp-flow__a { margin: 1px 2px 0; font-size: 13px; color: var(--capp-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iy-capp .iy-capp-flow__chips { display: flex; gap: 6px; margin: 8px 2px 10px; }
.iy-capp .iy-capp-chip { background: var(--capp-teal-soft); color: var(--capp-teal); font-size: 12px; font-weight: 600; line-height: 1.6; padding: 4px 9px; border-radius: var(--capp-r-tag); font-variant-numeric: tabular-nums; transition: background-color .35s, color .35s; }
.iy-capp .iy-capp-chip--mood { background: var(--capp-gold-soft); color: var(--capp-gold); }

/* Events (live): next up + timeline */
.iy-capp .iy-capp-next { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--capp-teal-deep); color: #fff; border-radius: 16px; padding: 18px 20px; margin-top: 4px; position: relative; overflow: hidden; }
.iy-capp .iy-capp-next::after { content: ""; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 153, 92, .35), transparent 70%); }
.iy-capp .iy-capp-next__date { text-align: center; background: rgba(255, 255, 255, .1); border-radius: var(--capp-r-tag); padding: 9px 0 8px; line-height: 1; }
.iy-capp .iy-capp-next__date b { display: block; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.iy-capp .iy-capp-next__date span { display: block; font-size: 11.5px; font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; color: var(--capp-on-dark-soft); }
.iy-capp .iy-capp-next__k { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--capp-gold-bright); }
.iy-capp .iy-capp-next__t { font-size: 17px; font-weight: 700; line-height: 1.3; margin-top: 3px; text-wrap: balance; }
.iy-capp .iy-capp-next__m { font-size: 13.5px; color: var(--capp-on-dark-soft); margin-top: 5px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.iy-capp .iy-capp-tl { position: relative; margin: 22px 0 0; padding: 0 0 26px 0; }
.iy-capp .iy-capp-tl::before { content: ""; position: absolute; left: 35px; top: 10px; bottom: 30px; width: 2px; background: var(--capp-line); }
.iy-capp .iy-capp-tl__month { position: relative; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--capp-ink-soft); padding-left: 60px; margin: 14px 0 6px; }
.iy-capp .iy-capp-tl__month::before { content: ""; position: absolute; left: 31px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--capp-paper); border: 2px solid var(--capp-line); box-sizing: border-box; }
.iy-capp .iy-capp-ev { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 18px; align-items: center; padding: 10px 0; }
.iy-capp .iy-capp-ev__d { position: relative; z-index: 1; width: 56px; margin: 0 auto; text-align: center; background: var(--capp-teal-soft); border: 3px solid #fff; border-radius: var(--capp-r-tag); padding: 6px 0 5px; line-height: 1; }
.iy-capp .iy-capp-ev__d b { display: block; font-size: 17px; font-weight: 800; color: var(--capp-teal); font-variant-numeric: tabular-nums; line-height: 1; }
.iy-capp .iy-capp-ev__d span { display: block; font-size: 10.5px; font-weight: 600; color: var(--capp-teal); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.iy-capp .iy-capp-ev__t { font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iy-capp .iy-capp-ev__m { font-size: 13.5px; color: var(--capp-ink-soft); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.iy-capp .iy-capp-tag { font-size: 12px; font-weight: 600; line-height: 1.6; padding: 3px 9px; border-radius: var(--capp-r-tag); background: var(--capp-gold-soft); color: var(--capp-gold); }
.iy-capp .iy-capp-tag--iy { background: var(--capp-teal-soft); color: var(--capp-teal); }
.iy-capp .iy-capp-tag--type { background: var(--capp-paper); color: var(--capp-ink-soft); }

/* Teachers map (static OpenStreetMap tiles, pins rendered by PHP) */
.iy-capp .iy-capp-map { position: relative; flex: 1; min-height: 290px; margin: 0 -32px; overflow: hidden; background: #E9EEEC; }
/* 4x4 tiles at 320px; the highlighted teacher (--mx/--my) sits a bit below the middle. */
.iy-capp .iy-capp-map__layer { position: absolute; width: 1280px; height: 1280px; left: calc(50% - var(--mx)); top: calc(60% - var(--my)); }
.iy-capp .iy-capp-map__tiles { display: grid; grid-template-columns: repeat(4, 320px); filter: grayscale(1) brightness(1.06) contrast(.82); opacity: .9; }
.iy-capp .iy-capp-map__tiles img { width: 320px; height: 320px; max-width: none; }
.iy-capp .iy-capp-pin { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--capp-gold); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(24, 47, 46, .35); transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.5, .5, 1); }
.iy-capp .in .iy-capp-pin { transform: scale(1); }
.iy-capp .iy-capp-pin--me { background: var(--capp-teal); width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.iy-capp .iy-capp-pin--me::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--capp-teal); animation: iy-capp-pulse 2.2s ease-out infinite; }
@keyframes iy-capp-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.iy-capp .iy-capp-pop { position: absolute; transform: translate(-50%, calc(-100% - 6px)); background: #fff; border-radius: var(--capp-r-tag); box-shadow: var(--capp-shadow-lift); padding: 10px 14px 10px 10px; display: flex; gap: 10px; align-items: center; white-space: nowrap; opacity: 0; transition: opacity .5s .9s, transform .5s .9s var(--capp-ease-out); }
.iy-capp .in .iy-capp-pop { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.iy-capp .iy-capp-pop::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.iy-capp .iy-capp-pop__av { width: 36px; height: 36px; border-radius: 50%; background: var(--capp-teal-soft); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--capp-teal); }
.iy-capp .iy-capp-pop b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.iy-capp .iy-capp-pop span { font-size: 12.5px; color: var(--capp-ink-soft); }
.iy-capp .iy-capp-map__search { position: absolute; left: 24px; right: 24px; top: 18px; display: flex; gap: 8px; }
.iy-capp .iy-capp-map__field { flex: 1; background: #fff; border: 1px solid var(--capp-line); border-radius: var(--capp-r-tag); height: 42px; display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: var(--capp-ink-soft); box-shadow: var(--capp-shadow); }
.iy-capp .iy-capp-map__field--sm { flex: 0 0 auto; color: var(--capp-ink); font-weight: 600; }
.iy-capp .iy-capp-map__credit { position: absolute; right: 6px; bottom: 4px; font-size: 10px; line-height: 1.6; color: var(--capp-ink-soft); background: rgba(255, 255, 255, .8); padding: 1px 5px; border-radius: 4px; }

/* Journey (vertical rail, like the app) */
.iy-capp .iy-capp-journey { padding-bottom: 30px; }
.iy-capp .iy-capp-rail { position: relative; padding: 4px 0 4px 2px; }
.iy-capp .iy-capp-rail__track { position: absolute; left: 13px; top: 26px; bottom: 26px; width: 2px; background: var(--capp-line); }
.iy-capp .iy-capp-rail__fill { position: absolute; left: 13px; top: 26px; width: 2px; height: 0; background: var(--capp-gold); transition: height .9s var(--capp-ease-fill); }
.iy-capp .in .iy-capp-rail__fill { height: var(--fill); }
.iy-capp .iy-capp-lvl { display: grid; grid-template-columns: 24px 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 46px; position: relative; }
.iy-capp .iy-capp-lvl__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--capp-line); background: #fff; display: grid; place-items: center; transition: border-color .3s, background-color .3s; position: relative; z-index: 1; }
.iy-capp .iy-capp-lvl__dot svg { width: 12px; height: 12px; fill: #fff; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.34, 1.5, .5, 1); }
.iy-capp .iy-capp-lvl.is-passed .iy-capp-lvl__dot { border-color: var(--capp-gold); background: var(--capp-gold-soft); }
.iy-capp .iy-capp-lvl.is-current .iy-capp-lvl__dot { border-color: var(--capp-gold); background: var(--capp-gold); }
.iy-capp .iy-capp-lvl.is-current .iy-capp-lvl__dot svg { opacity: 1; transform: scale(1); }
.iy-capp .iy-capp-lvl img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(24, 47, 46, .14); filter: grayscale(1) opacity(.45); transition: filter .4s; }
.iy-capp .iy-capp-lvl.is-passed img, .iy-capp .iy-capp-lvl.is-current img { filter: none; }
.iy-capp .iy-capp-lvl__name { font-size: 14.5px; font-weight: 500; line-height: 1.2; color: var(--capp-ink-soft); }
.iy-capp .iy-capp-lvl.is-current .iy-capp-lvl__name { font-weight: 700; color: var(--capp-ink); font-size: 15.5px; }
.iy-capp .iy-capp-lvl__now { display: block; font-size: 12.5px; color: var(--capp-gold); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
.iy-capp .iy-capp-lvl__trc { font-size: 12.5px; color: var(--capp-ink-soft); font-variant-numeric: tabular-nums; }

/* FAQ ("Good to know") */
.iy-capp .iy-capp-faq { padding-top: 112px; }
.iy-capp .iy-capp-faq__in { max-width: 780px; }
.iy-capp .iy-capp-faq dl { margin: 32px 0 0; }
.iy-capp .iy-capp-faq dt { font-weight: 700; font-size: 19px; line-height: 1.6; padding-top: 24px; border-top: 1px solid var(--capp-line); margin-top: 24px; }
.iy-capp .iy-capp-faq dt:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.iy-capp .iy-capp-faq dd { margin: 10px 0 0; color: var(--capp-ink-soft); font-size: 16.5px; line-height: 1.6; }
.iy-capp .iy-capp-faq a { color: var(--capp-teal); text-decoration: underline; }

/* Closing band on the crowd photo */
.iy-capp .iy-capp-close { position: relative; margin-top: 170px; margin-bottom: 96px; color: #fff; isolation: isolate; overflow: hidden; background: var(--capp-teal-deeper); }
.iy-capp .iy-capp-close__bg { position: absolute; inset: 0; z-index: -2; background-position: center 40%; background-size: cover; background-repeat: no-repeat; }
.iy-capp .iy-capp-close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 47, 46, .86) 0%, rgba(24, 47, 46, .62) 50%, rgba(24, 47, 46, .38) 100%), linear-gradient(0deg, rgba(24, 47, 46, .7), rgba(24, 47, 46, .08)); }
.iy-capp .iy-capp-close .iy-capp-wrap { padding-top: 96px; padding-bottom: 72px; }
.iy-capp .iy-capp-close__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; }
.iy-capp .iy-capp-close .iy-capp-h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; color: #fff; }
.iy-capp .iy-capp-close .iy-capp-h2 span, .iy-capp .iy-capp-close .iy-capp-h2 em { display: block; }
.iy-capp .iy-capp-close .iy-capp-h2 em { font-style: normal; color: var(--capp-gold-bright); }
.iy-capp .iy-capp-close p { margin-top: 18px; color: var(--capp-on-dark-soft); font-size: 17.5px; max-width: 46ch; }
.iy-capp .iy-capp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .18); }
.iy-capp .iy-capp-stat b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.iy-capp .iy-capp-stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--capp-on-dark-soft); }

/* Responsive */
@media (max-width: 1100px) {
	.iy-capp .iy-capp-grid { grid-template-columns: 1fr; }
	.iy-capp .iy-capp-col { display: contents; }
	.iy-capp .iy-capp-card--flows { order: 1; }
	.iy-capp .iy-capp-card--events { order: 2; }
	.iy-capp .iy-capp-card--teachers { order: 3; }
	.iy-capp .iy-capp-card--journey { order: 4; }
	.iy-capp .iy-capp-hero .iy-capp-wrap { grid-template-columns: 1fr; gap: 0; }
	.iy-capp .iy-capp-hero__copy { padding: 24px 0 48px; }
	.iy-capp .iy-capp-hero__visual { height: 560px; max-width: 560px; }
	.iy-capp .iy-capp-devices { right: auto; left: 50%; transform: translateX(-30%); }
}
@media (max-width: 860px) {
	.iy-capp .iy-capp-steps .iy-capp-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px 28px; }
	.iy-capp .iy-capp-close__grid { grid-template-columns: 1fr; }
	.iy-capp .iy-capp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.iy-capp { --capp-gut: 20px; font-size: 16px; }
	.iy-capp .iy-capp-hero .iy-capp-wrap { padding-top: 40px; }
	.iy-capp .iy-capp-hero__copy { padding: 0 0 36px; }
	.iy-capp .iy-capp-hero .iy-capp-stores a { display: block; }
	.iy-capp .iy-capp-hero__visual { height: 470px; max-width: 100%; }
	.iy-capp .iy-capp-devices { left: 0; right: 0; transform: none; width: 100%; max-width: 330px; margin: 0 auto; height: 470px; }
	.iy-capp .iy-capp-phone { width: 210px; height: 450px; border-radius: 38px; padding: 8px; }
	.iy-capp .iy-capp-phone__screen { border-radius: 31px; }
	.iy-capp .iy-capp-phone--back { left: 36px; bottom: 46px; transform: rotate(-7deg) scale(.82); }
	.iy-capp .iy-capp-phone--front { right: 0; }
	/* Scanning your own screen makes no sense on the phone. */
	.iy-capp .iy-capp-qr { display: none; }
	.iy-capp .iy-capp-steps { margin-top: 80px; }
	.iy-capp .iy-capp-section { padding-top: 80px; }
	.iy-capp .iy-capp-grid .iy-capp-card { padding: 26px 22px 0; }
	.iy-capp .iy-capp-strip, .iy-capp .iy-capp-map { margin-inline: -22px; }
	.iy-capp .iy-capp-strip__track { padding-left: 22px; }
	.iy-capp .iy-capp-map { min-height: 260px; }
	.iy-capp .iy-capp-next { grid-template-columns: 60px 1fr; padding: 16px; }
	.iy-capp .iy-capp-tl::before { left: 29px; }
	.iy-capp .iy-capp-tl__month::before { left: 25px; }
	.iy-capp .iy-capp-ev { grid-template-columns: 60px 1fr; padding-left: 0; }
	.iy-capp .iy-capp-tl__month { padding-left: 52px; }
	.iy-capp .iy-capp-ev__d { width: 52px; }
	.iy-capp .iy-capp-faq { padding-top: 80px; }
	.iy-capp .iy-capp-close { margin-top: 200px; }
	.iy-capp .iy-capp-close .iy-capp-wrap { padding-top: 72px; padding-bottom: 56px; }
	.iy-capp .iy-capp-stats { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.iy-capp *, .iy-capp *::before, .iy-capp *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
	.iy-capp .iy-capp-rv { opacity: 1; transform: none; }
	.iy-capp .iy-capp-pin { transform: none; }
	.iy-capp .iy-capp-pop { opacity: 1; }
	.iy-capp .iy-capp-hero .iy-capp-h1 .iy-capp-ln > span { transform: none; }
	.iy-capp .iy-capp-hero__kicker, .iy-capp .iy-capp-hero .iy-capp-lead, .iy-capp .iy-capp-hero .iy-capp-stores, .iy-capp .iy-capp-hero__note { opacity: 1; }
	.iy-capp .iy-capp-strip__track { animation: none; }
}
