/* Homepage sections. Loaded only when is_front_page(). */

/* HERO — full-bleed dashboard as background */
.hero {
	position: relative;
	min-height: 100vh;
	background: var(--bg);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	padding: 120px 0 80px;
}
/* Decorative homepage illustrations should not behave like selectable content
   (prevents the accidental "click-drag turns the image blue" browser UI, and
   blocks native drag-and-drop of the mockup screenshots). */
.hero-bg img,
.story-art img,
.closer-strip .browser img,
.devices-art img {
	-webkit-user-drag: none;
	user-select: none;
	-webkit-user-select: none;
}

/* Hero background sits behind the actual CTA content and never needs to
   receive clicks/drags itself — makes the highlight impossible even on
   browsers that ignore -webkit-user-drag. */
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-bg img {
	position: absolute;
	top: 0;
	right: 0;
	width: 74%;
	height: 100%;
	object-fit: cover;
	object-position: left top;
	opacity: .85;
	filter: saturate(.95);
}
.hero-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #0F0B07 0%, #0F0B07 24%, rgba(15, 11, 7, .85) 38%, rgba(15, 11, 7, .35) 58%, rgba(15, 11, 7, .15) 100%);
	z-index: 2;
}
.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 11, 7, .4) 0%, transparent 12%, transparent 70%, rgba(15, 11, 7, .5) 100%);
	z-index: 2;
}
.hero-content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 36px;
}
.hero-content .mark {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: 30px;
}
.hero-content h1 {
	font-size: 6.8rem;
	font-weight: 500;
	line-height: .96;
	letter-spacing: -.04em;
	color: #fff;
	margin-bottom: 36px;
	max-width: 880px;
	font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-content h1 em { font-style: italic; color: var(--orange-2); font-weight: 400; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-cta .btn,
.hero-cta .btn:link,
.hero-cta .btn:visited { padding: 10px 20px; font-size: .82rem; background: var(--orange-deep); color: #fff; }
.hero-cta .btn:hover { background: var(--orange-2); color: #fff; }
.hero-cta .alt,
.hero-cta .alt:link,
.hero-cta .alt:visited {
	color: rgba(255, 255, 255, .86);
	font-size: .95rem;
	border-bottom: 1px solid rgba(255, 255, 255, .4);
	padding-bottom: 2px;
	transition: .2s;
}
.hero-cta .alt:hover { color: #fff; border-color: #fff; }

/* MARQUEE — Basic. Vehicle. Property. in giant type */
.marquee {
	padding: 60px 0;
	background: var(--bg-warm);
	overflow: hidden;
	border-top: 1px solid var(--rule-warm);
	border-bottom: 1px solid var(--rule-warm);
}
.marquee-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 36px;
	border-top: 1px solid var(--rule-warm);
	border-bottom: 1px solid var(--rule-warm);
}
.mcol { padding: 80px 40px; border-right: 1px solid var(--rule-warm); text-align: center; position: relative; min-width: 0; }
.mcol:last-child { border-right: none; }
.mcol-mid { background: var(--bg-warm-deep); }
.mcol .num { font-family: 'Fraunces', serif; font-style: italic; font-size: 1rem; color: var(--orange-deep); letter-spacing: .06em; margin-bottom: 24px; }
.mcol .name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 4.2rem; line-height: .95; letter-spacing: -.035em; margin-bottom: 14px; font-variation-settings: "opsz" 144, "SOFT" 100; }
.mcol .for { font-family: 'Fraunces', serif; font-style: italic; color: var(--muted); font-size: 1.04rem; margin-bottom: 22px; }
.mcol .count { font-family: 'Inter', sans-serif; font-size: .84rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); background: rgba(226, 84, 28, .1); display: inline-block; padding: 6px 14px; border-radius: 999px; }
.mcol .count b { color: var(--orange-deep); font-weight: 700; }
.marquee-head { text-align: center; margin-bottom: 60px; padding: 0 36px; }
.marquee-head .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 18px; display: block; }
.marquee-head h2 { font-size: 3rem; font-weight: 500; letter-spacing: -.025em; max-width: 780px; margin: 0 auto; line-height: 1.05; }
.marquee-foot { text-align: center; margin-top: 32px; color: var(--muted); font-family: 'Fraunces', serif; font-style: italic; font-size: 1.04rem; }

/* CLOSER LOOK — two complete web-app screenshots in browser frames */
.closer { padding: 60px 0; background: var(--bg-warm-deep); }
.closer-head { text-align: center; margin-bottom: 80px; padding: 0 36px; }
.closer-head .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 18px; display: block; }
.closer-head h2 { font-size: 3.4rem; font-weight: 500; letter-spacing: -.03em; max-width: 780px; margin: 0 auto; line-height: 1.02; }
.closer-head h2 em { font-style: italic; color: var(--orange); font-weight: 400; }
.closer-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; padding: 0 36px; align-items: start; }
.browser { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -28px rgba(16, 11, 5, .4); border: 1px solid var(--rule-warm); min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #F4F1ED; border-bottom: 1px solid var(--rule-warm); }
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #E0C2BA; }
.browser-dot:nth-child(2) { background: #F0D8AE; }
.browser-dot:nth-child(3) { background: #B8D9B4; }
.browser-url { flex: 1; background: #fff; color: #5B6470; font-size: .74rem; padding: 5px 11px; border-radius: 6px; border: 1px solid var(--rule-warm); font-family: 'Inter', sans-serif; letter-spacing: 0; }
.browser-url::before { content: "\1F512\00a0\00a0"; }
.browser img { width: 100%; height: auto; display: block; }
.crop-cap { margin-top: 22px; font-family: 'Fraunces', serif; font-style: italic; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.crop-cap b { font-style: normal; color: var(--ink); font-family: 'Inter', sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 6px; }

/* IMAGE STORY — alternating large-image, small-text */
.story { padding: 60px 0; background: var(--bg-warm); border-top: 1px solid var(--rule-warm); }
.story-row { display: grid; grid-template-columns: 1.45fr .55fr; gap: 80px; align-items: end; max-width: 1280px; margin: 0 auto 100px; padding: 0 36px; }
.story-row:last-child { margin-bottom: 0; }
.story-row.reverse { grid-template-columns: .55fr 1.45fr; }
.story-row.reverse .story-art { order: 2; }
.story-art { min-width: 0; }
.story-art .shot { border-radius: 8px; overflow: hidden; box-shadow: 0 36px 70px -22px rgba(16, 11, 5, .32); border: 1px solid var(--rule-warm); background: #fff; }
.story-art .shot img { width: 100%; display: block; }
.story-txt .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 18px; display: block; }
.story-txt h2 { font-size: 2.6rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.03; margin-bottom: 18px; }
.story-txt h2 em { font-style: italic; color: var(--orange); font-weight: 400; }
.story-txt p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; font-family: 'Inter', sans-serif; }

/* DEVICES — full composition */
.devices-sec { padding: 60px 0; text-align: center; background: var(--bg); color: #fff; border-top: 1px solid var(--rule-light); }
.devices-sec .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; display: block; }
.devices-sec h2 { font-size: 3.4rem; font-weight: 500; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 18px; color: #fff; }
.devices-sec h2 em { font-style: italic; color: var(--orange-2); font-weight: 400; }
.devices-sec .lead { color: var(--paper-ink-soft); font-size: 1.12rem; max-width: 580px; margin: 0 auto 60px; line-height: 1.5; font-family: 'Inter', sans-serif; }
.devices-art { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 50px; }
.devices-art .web-shot { max-width: 600px; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 50px 100px -32px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08); background: #fff; }
.devices-art .web-shot img { width: 100%; display: block; }
.devices-art .phone { width: 210px; margin-left: -90px; align-self: flex-end; margin-bottom: 40px; z-index: 2; }
.phone { position: relative; background: #000; border-radius: 30px; padding: 6px; box-shadow: 0 32px 60px -22px rgba(0, 0, 0, .7); flex: none; aspect-ratio: 9/18; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 24px; display: block; background: #fff; }
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: #000; border-radius: 0 0 12px 12px; z-index: 2; }

/* TESTIMONIALS — dark editorial moment */
.testi { padding: 60px 0; background: var(--bg-soft); color: #fff; border-top: 1px solid var(--rule-light); }
.testi-head { text-align: center; margin-bottom: 80px; padding: 0 36px; }
.testi-head .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; display: block; }
.testi-head h2 { font-size: 3.2rem; font-weight: 500; letter-spacing: -.025em; color: #fff; }
.testi-head h2 em { font-style: italic; color: var(--orange-2); font-weight: 400; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1280px; margin: 0 auto; padding: 0 36px; border-top: 1px solid var(--rule-light); border-bottom: 1px solid var(--rule-light); }
.tquote { padding: 50px 36px; border-right: 1px solid var(--rule-light); min-width: 0; }
.tquote:last-child { border-right: none; }
.tquote .qm { font-family: 'Fraunces', serif; font-style: italic; font-size: 3.6rem; color: var(--orange); line-height: .6; font-variation-settings: "opsz" 144, "SOFT" 100; }
.tquote .quote { font-family: 'Fraunces', serif; font-size: 1.2rem; color: #fff; line-height: 1.4; margin: 18px 0 24px; font-weight: 400; }
.tquote .qmeta { font-size: .92rem; color: var(--paper-muted); font-family: 'Fraunces', serif; font-style: italic; }
.tquote .qmeta b { display: block; font-style: normal; font-family: 'Inter', sans-serif; font-weight: 600; color: #fff; font-size: .92rem; margin-bottom: 1px; }

/* VIDEO — dramatic dark frame */
.video-sec { padding: 60px 0; text-align: center; background: var(--bg); color: #fff; border-top: 1px solid var(--rule-light); }
.video-head { margin-bottom: 50px; padding: 0 36px; }
.video-head .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; display: block; }
.video-head h2 { font-size: 3.2rem; font-weight: 500; letter-spacing: -.025em; color: #fff; }
.video-head h2 em { font-style: italic; color: var(--orange-2); font-weight: 400; }
.video-frame { position: relative; max-width: 1020px; margin: 0 auto; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; cursor: pointer; background: linear-gradient(135deg, #1f1810, #100b05); box-shadow: 0 50px 100px -32px rgba(0, 0, 0, .65); border: 1px solid var(--rule-light); }
.video-frame .vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #100b05; display: block; z-index: 1; }
.video-frame .play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; transition: .2s; padding-left: 4px; box-shadow: 0 14px 36px rgba(226, 84, 28, .55); z-index: 2; }
.video-frame:hover .play { transform: scale(1.08); }
.video-frame .vcap { position: absolute; left: 22px; bottom: 18px; color: rgba(255, 255, 255, .84); font-size: .88rem; z-index: 2; font-family: 'Fraunces', serif; font-style: italic; }
.video-frame.playing .play, .video-frame.playing .vcap { opacity: 0; pointer-events: none; }
.video-frame.playing .vid { z-index: 3; }

/* FEATURES — editorial bento */
.features-sec { padding: 60px 0; background: var(--bg-warm); border-top: 1px solid var(--rule-warm); }
.features-head { text-align: center; margin-bottom: 80px; padding: 0 36px; }
.features-head .kicker { font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 18px; display: block; }
.features-head h2 { font-size: 3.2rem; font-weight: 500; letter-spacing: -.025em; max-width: 780px; margin: 0 auto; line-height: 1.02; }
.features-head h2 em { font-style: italic; color: var(--orange); font-weight: 400; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1280px; margin: 0 auto; padding: 0 36px; border-top: 1px solid var(--rule-warm); border-bottom: 1px solid var(--rule-warm); }
.fitem { padding: 40px 28px; border-right: 1px solid var(--rule-warm); border-bottom: 1px solid var(--rule-warm); min-width: 0; }
.fitem:nth-child(3n) { border-right: none; }
.fitem:nth-last-child(-n+3) { border-bottom: none; }
.fitem .fn { font-family: 'Fraunces', serif; font-style: italic; font-size: 2.4rem; color: var(--orange); line-height: .9; font-variation-settings: "opsz" 144, "SOFT" 100; margin-bottom: 18px; }
.fitem h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -.012em; line-height: 1.15; }
.fitem p { color: var(--ink-soft); font-size: .96rem; line-height: 1.5; font-family: 'Inter', sans-serif; }

/* CLOSING CTA — full-bleed dark */
.cta-final { padding: 60px 0; background: var(--bg); color: #fff; text-align: center; position: relative; overflow: hidden; }
/* Soft orange atmosphere behind the CTA. Bounded within the section
   (bottom ≈ 60% down) so the fade never reaches the footer edge — earlier
   the glow bled visually into the footer and dimmed the brand logo. */
.cta-final::before { content: ""; position: absolute; top: -25%; left: 50%; transform: translateX(-50%); width: 900px; height: 550px; background: radial-gradient(ellipse at center 45%, rgba(226, 84, 28, .18), transparent 55%); z-index: 1; }
.cta-final .inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: 0 36px; }
.cta-final h2 { font-size: 4.8rem; font-weight: 500; letter-spacing: -.035em; line-height: .98; margin-bottom: 20px; color: #fff; font-variation-settings: "opsz" 144, "SOFT" 100; }
.cta-final h2 em { font-style: italic; color: var(--orange-2); font-weight: 400; }
.cta-final p { color: var(--paper-ink-soft); font-size: 1.16rem; margin-bottom: 40px; font-family: 'Fraunces', serif; font-style: italic; }
.cta-final .btn,
.cta-final .btn:link,
.cta-final .btn:visited { padding: 16px 36px; font-size: 1.04rem; background: var(--orange-deep); color: #fff; }
.cta-final .btn:hover { background: var(--orange-2); color: #fff; }
.cta-final .downloads { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--rule-light); }
.cta-final .downloads p { font-family: 'Inter', sans-serif; color: var(--paper-muted); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; font-style: normal; }
.stores { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.store,
.store:link,
.store:visited { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; padding: 10px 18px; border-radius: 8px; transition: .2s; font-size: .92rem; }
.store:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.store small { display: block; font-size: .62rem; opacity: .7; line-height: 1.1; }
.store b { font-size: .95rem; font-weight: 700; }

@media (max-width: 880px) {
	.hero { min-height: auto; padding: 120px 0 64px; }
	.hero-bg img { width: 100%; object-position: left center; opacity: .4; }
	.hero-bg::before { background: linear-gradient(180deg, rgba(15, 11, 7, .92) 0%, rgba(15, 11, 7, .7) 100%); }
	.hero-content h1 { font-size: 3.4rem; }
	.marquee { padding: 60px 0; }
	.marquee-grid { grid-template-columns: 1fr; }
	.mcol { border-right: none; border-bottom: 1px solid var(--rule-warm); padding: 48px 24px; }
	.mcol:last-child { border-bottom: none; }
	.mcol .name { font-size: 3rem; }
	.marquee-head h2 { font-size: 2.2rem; }
	.closer, .story, .testi, .video-sec, .devices-sec, .features-sec, .cta-final { padding: 60px 0; }
	.closer-head h2, .testi-head h2, .video-head h2, .devices-sec h2, .features-head h2 { font-size: 2.3rem; }
	.closer-strip { grid-template-columns: 1fr; gap: 36px; }
	.story-row, .story-row.reverse { grid-template-columns: 1fr; gap: 40px; margin-bottom: 64px; }
	.story-row.reverse .story-art { order: 0; }
	.story-txt h2 { font-size: 2rem; }
	.tgrid, .features-grid { grid-template-columns: 1fr; }
	.tquote, .fitem { border-right: none; border-bottom: 1px solid var(--rule-light); }
	.tquote:last-child, .fitem:last-child { border-bottom: none; }
	.features-grid .fitem { border-bottom: 1px solid var(--rule-warm); }
	.devices-art { flex-direction: column; gap: 0; }
	.devices-art .phone { margin-left: 0; margin-top: -50px; width: 180px; margin-bottom: 0; }
	.cta-final h2 { font-size: 2.8rem; }
}
