/* ==========================================================================
   iBroadcast — home page
   Self-contained: no framework, no jQuery. Mobile-first.
   ========================================================================== */

@font-face {
	font-family: 'DMSans';
	src: url("/fonts/DMSans-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'DMSans';
	src: url("/fonts/DMSans-Medium.ttf") format("truetype");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'DMSans';
	src: url("/fonts/DMSans-Bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--font: 'DMSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--brand: #3B5BFF;
	--brand-dark: #2A43D6;
	--brand-light: #67A6FF;
	--cyan: #0ACFFE;
	--gradient: linear-gradient(96deg, #495AFF 0%, #0ACFFE 100%);

	--ink: #14161F;
	--body: #5A6172;
	--muted: #858C9C;
	--line: #E6E9F0;
	--surface: #FFFFFF;
	--surface-alt: #F5F7FB;

	--night: #0C1024;
	--night-2: #151B38;

	--radius: 18px;
	--radius-lg: 26px;
	--shadow: 0 18px 50px rgba(20, 28, 61, .10);
	--shadow-lg: 0 30px 80px rgba(12, 16, 36, .28);

	--wrap: 1160px;
	--nav-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--body);
	background: var(--surface);
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	color: var(--ink);
	line-height: 1.14;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 6.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 22px;
}

section { padding: 76px 0; }
@media (min-width: 860px) { section { padding: 108px 0; } }

.section-alt { background: var(--surface-alt); }

.eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--brand);
	margin: 0 0 14px;
}
.lead { font-size: clamp(1.02rem, 2.4vw, 1.22rem); color: var(--body); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	padding: 15px 28px;
	border-radius: 14px;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.btn-primary {
	background: var(--gradient);
	/* .btn has a transparent 2px border; without border-box the gradient is laid
	   out against the padding box and tiles again across the border. */
	background-origin: border-box;
	color: #fff;
	box-shadow: 0 10px 26px rgba(58, 84, 255, .35);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(58, 84, 255, .45); }

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .38);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }

.btn-outline {
	background: var(--surface);
	color: var(--ink);
	border-color: var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 0;
}
.btn-row.center { justify-content: center; }

/* The site header lives in /common/css/ib-nav.css (shared with /premium). */

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	padding: 62px 0 0;
	background: radial-gradient(1100px 620px at 78% -8%, #1D3A8A 0%, rgba(29, 58, 138, 0) 62%),
	            radial-gradient(760px 520px at 6% 14%, #0C5C86 0%, rgba(12, 92, 134, 0) 60%),
	            linear-gradient(168deg, var(--night) 0%, var(--night-2) 100%);
	color: rgba(255, 255, 255, .74);
	overflow: hidden;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--cyan); }
.hero-lead {
	font-size: clamp(1.04rem, 2.5vw, 1.28rem);
	color: rgba(255, 255, 255, .76);
	max-width: 620px;
	margin-bottom: 0;
}
/* minmax(0,…) keeps the oversized mobile screenshot from widening the track */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 46px; }
.hero-copy { max-width: 660px; }
.hero-visual { min-width: 0; }

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 26px 0 0;
	font-size: .95rem;
	color: rgba(255, 255, 255, .8);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { flex: none; width: 17px; height: 17px; stroke: var(--cyan); }

.hero-shot {
	position: relative;
	margin-top: 6px;
	border-radius: 14px 14px 0 0;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255, 255, 255, .16);
	border-bottom: 0;
	max-height: 380px;
}
.hero-shot img { width: 100%; }
@media (min-width: 860px) { .hero-shot { max-height: 460px; } }

/* On a phone the full-width screenshot would shrink to an illegible strip, so
   render it larger and let the frame crop the right-hand side instead. */
@media (max-width: 700px) {
	.hero-shot img { width: auto; max-width: none; height: 210px; }
}

@media (min-width: 1000px) {
	.hero { padding-top: 84px; }
	.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
	.hero-lead { margin-left: auto; margin-right: auto; }
	.hero-points, .hero .btn-row, .hero-caption { justify-content: center; }
}

.hero-caption {
	display: flex;
	align-items: baseline;
	gap: 9px;
	font-size: .86rem;
	color: rgba(255, 255, 255, .5);
	margin: 0 0 14px;
}
.hero-caption::before {
	content: "";
	flex: none;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: #35D07F;
	box-shadow: 0 0 0 4px rgba(53, 208, 127, .18);
}

/* ==========================================================================
   "Not a streaming service" callout
   ========================================================================== */
.contrast-grid {
	display: grid;
	gap: 18px;
	margin-top: 42px;
}
@media (min-width: 760px) { .contrast-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.contrast-card {
	padding: 30px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface);
}
.contrast-card.is-them { background: var(--surface-alt); }
.contrast-card.is-us {
	border-color: transparent;
	background: linear-gradient(168deg, #101637 0%, #1A2450 100%);
	box-shadow: var(--shadow);
}
.contrast-card.is-us h3, .contrast-card.is-us strong { color: #fff; }
.contrast-card.is-us li { color: rgba(255, 255, 255, .82); }
.contrast-card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.06rem;
	margin-bottom: 18px;
}
.contrast-card ul li {
	display: flex;
	gap: 12px;
	padding: 11px 0;
	font-size: .99rem;
	border-top: 1px solid rgba(128, 138, 165, .18);
}
.contrast-card ul li:first-child { border-top: 0; }
.contrast-card .mark { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.contrast-card.is-us .mark { stroke: var(--cyan); }
.contrast-card.is-them .mark { stroke: #C2C8D6; }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.step {
	position: relative;
	padding: 32px 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.step::before {
	counter-increment: step;
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	margin-bottom: 18px;
	border-radius: 13px;
	background: var(--gradient);
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: .98rem; }
.step p + p { margin-top: 10px; }

/* ==========================================================================
   Feature grid
   ========================================================================== */
.features { display: grid; gap: 16px; }
@media (min-width: 620px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.feature {
	padding: 26px 24px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: transparent;
}
.feature-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: rgba(59, 91, 255, .09);
}
.feature-ico svg { width: 22px; height: 22px; stroke: var(--brand); }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .86em;
	padding: 1px 6px;
	border-radius: 5px;
	background: rgba(59, 91, 255, .09);
	color: var(--brand);
}
.feature p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   Split (image + copy)
   ========================================================================== */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; gap: 68px; }
	.split.reverse .split-media { order: 2; }
}
.split-list { margin-top: 24px; }
.split-list li {
	display: flex;
	gap: 13px;
	padding: 13px 0;
	border-top: 1px solid var(--line);
	font-size: .99rem;
}
.split-list li:first-child { border-top: 0; padding-top: 0; }
.split-list svg { flex: none; width: 20px; height: 20px; margin-top: 3px; stroke: var(--brand); }
.split-list strong { color: var(--ink); font-weight: 700; }

.shot-frame {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	background: var(--surface);
}

/* phone: clipped at the bottom on purpose so it reads as a device peeking in */
.phone-frame {
	position: relative;
	max-width: 300px;
	margin: 0 auto;
	padding: 11px 11px 0;
	background: #10131F;
	border-radius: 40px 40px 22px 22px;
	box-shadow: var(--shadow-lg);
}
.phone-screen {
	height: 440px;
	overflow: hidden;
	border-radius: 30px 30px 0 0;
	background: #F5F6F8;
}
.phone-screen img {
	width: 100%;
	object-fit: cover;
	object-position: top center;
}

/* ==========================================================================
   Devices
   ========================================================================== */
.devices {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 40px;
}
@media (min-width: 620px) { .devices { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 980px) { .devices { grid-template-columns: repeat(6, 1fr); } }

.device {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 108px;
	padding: 20px 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-align: center;
}
.device img { max-height: 22px; max-width: 100%; width: auto; }
.device span { font-size: .82rem; color: var(--muted); font-weight: 500; }

.stores {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}
.stores a { display: block; transition: transform .18s ease, opacity .18s ease; }
.stores a:hover { transform: translateY(-2px); opacity: .86; }
.stores img { height: 48px; width: auto; }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-hint {
	margin: 0 0 12px;
	font-size: .85rem;
	color: var(--muted);
}
@media (min-width: 700px) { .table-hint { display: none; } }
.compare {
	width: 100%;
	min-width: 560px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: .97rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.compare th, .compare td {
	padding: 16px 20px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid var(--line);
}
.compare thead th { border-top: 0; background: var(--surface-alt); color: var(--ink); font-size: .92rem; }
.compare thead th.is-us { background: rgba(59, 91, 255, .07); color: var(--brand); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 32%; }
.compare td.is-us { background: rgba(59, 91, 255, .04); color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.plan {
	display: flex;
	flex-direction: column;
	padding: 34px 30px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: var(--surface);
}
.plan.is-premium {
	border-color: transparent;
	background: linear-gradient(168deg, #101637 0%, #1B2452 100%);
	box-shadow: var(--shadow);
}
.plan.is-premium h3, .plan.is-premium .price { color: #fff; }
.plan.is-premium li { color: rgba(255, 255, 255, .82); }
.plan.is-premium .plan-note { color: rgba(255, 255, 255, .5); }
.plan.is-premium .plan-list svg { stroke: var(--cyan); }

.plan-tag {
	align-self: flex-start;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 16px;
	background: rgba(59, 91, 255, .1);
	color: var(--brand);
}
.plan.is-premium .plan-tag { background: rgba(10, 207, 254, .16); color: var(--cyan); }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price { font-size: 2.3rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-list { margin: 22px 0 26px; }
.plan-list li { display: flex; gap: 11px; padding: 8px 0; font-size: .96rem; }
.plan-list svg { flex: none; width: 19px; height: 19px; margin-top: 3px; stroke: var(--brand); }
.plan .btn { margin-top: auto; }
.plan-note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.plans-note { max-width: 820px; margin: 28px auto 0; font-size: .88rem; line-height: 1.6; color: var(--muted); text-align: center; }

/* ==========================================================================
   Questions
   ========================================================================== */
.questions { max-width: 820px; margin: 0 auto; }
.questions details {
	border-bottom: 1px solid var(--line);
	background: transparent;
}
.questions summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 2px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: 1.03rem;
	color: var(--ink);
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
	content: "";
	flex: none;
	width: 11px; height: 11px;
	margin-top: 6px;
	border-right: 2px solid var(--brand);
	border-bottom: 2px solid var(--brand);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.questions details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.questions details > div { padding: 0 2px 22px; font-size: .99rem; }
.questions details > div p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta {
	background: radial-gradient(760px 420px at 50% 0%, #23409B 0%, rgba(35, 64, 155, 0) 66%),
	            linear-gradient(168deg, var(--night) 0%, var(--night-2) 100%);
	color: rgba(255, 255, 255, .75);
	text-align: center;
}
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .76); max-width: 620px; margin: 0 auto; }
.cta-note { font-size: .88rem; color: rgba(255, 255, 255, .5); margin: 22px 0 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot {
	background: #080B18;
	color: rgba(255, 255, 255, .58);
	padding: 60px 0 40px;
	font-size: .93rem;
}
.foot-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; } }
.foot-logo img { width: auto; height: 48px; margin-bottom: 16px; }
.foot h4 {
	color: #fff;
	font-size: .82rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	margin: 0 0 14px;
}
.foot li { margin-bottom: 9px; }
.foot a { color: rgba(255, 255, 255, .62); }
.foot a:hover { color: #fff; text-decoration: none; }
.foot-links { display: flex; gap: 10px; margin-top: 18px; }
.foot-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .7);
	transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.foot-links a:hover { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .32); }
.foot-links svg { width: 18px; height: 18px; fill: currentColor; }
.foot-bottom {
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .86rem;
	color: rgba(255, 255, 255, .42);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: #fff;
	color: var(--ink);
	border-radius: 0 0 12px 0;
	font-weight: 700;
}
.skip-link:focus { left: 0; }
.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* text-only device tiles (Siri, any browser) */
.device .device-name { font-size: 1rem; color: var(--ink); font-weight: 700; }
