/* ===================================================================
   Rabta Chat — design system + page styles
   Fraunces (display) over Plus Jakarta Sans (body); warm ivory ground,
   one deep-green accent. Kept in one file so a client site loads a
   single stylesheet rather than a build pipeline.
   =================================================================== */

:root {
	--rc-bg: #07120E;
	--rc-bg-2: #0B1A15;
	--rc-panel: #0F211B;
	--rc-ink: #EAF3EF;
	--rc-ink-2: #A9BDB4;
	--rc-muted: #7C948A;
	--rc-line: #1B3129;
	--rc-line-2: #2A473C;
	--rc-accent: #34D8A6;
	--rc-on-accent: #04130D;
	--rc-accent-dark: #86EBCA;
	--rc-accent-soft: rgba(52,216,166,.14);
	--rc-amber-soft: rgba(245,183,64,.14);
	--rc-amber-ink: #F3C872;
	--rc-rose-soft: rgba(240,106,106,.14);
	--rc-rose-ink: #F5A3A3;
	--rc-deep: #040C09;
	--rc-radius: 16px;
	--rc-radius-lg: 24px;
	--rc-shell: 1240px;
}

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

body {
	margin: 0;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--rc-ink);
	background: var(--rc-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, .rc-display {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.14;
	margin: 0;
}

h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -0.02em; }
h1, h2, h3 { color: var(--rc-ink); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 1.6vw, 22px); }

p { margin: 0; }
img { max-width: 100%; height: auto; }

a { color: var(--rc-accent); text-decoration: none; }
a:hover { color: var(--rc-accent-dark); }
::selection { background: var(--rc-accent); color: var(--rc-on-accent); }

.rc-shell { width: 100%; max-width: var(--rc-shell); margin: 0 auto; padding: 0 24px; }
.rc-section { padding: clamp(56px, 7vw, 96px) 0; }
.rc-section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.rc-section--dark { background: var(--rc-deep); color: var(--rc-ink); border-block: 1px solid var(--rc-line); }
.rc-section--alt { background: var(--rc-bg-2); }

.rc-eyebrow {
	display: inline-block; font-size: 12.5px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc-accent);
}
.rc-pill {
	display: inline-block; font-size: 12.5px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc-accent-dark);
	background: var(--rc-accent-soft); padding: 7px 13px; border-radius: 999px;
}
.rc-lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.62; color: var(--rc-ink-2); max-width: 62ch; }
.rc-section--dark .rc-lede, .rc-section--dark p { color: #B9C7C1; }
.rc-section--dark .rc-eyebrow { color: var(--rc-accent); }

/* ---------- Buttons: 44px+ targets everywhere ---------- */
.rc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: inherit; font-size: 15.5px; font-weight: 700; line-height: 1;
	padding: 17px 26px; border-radius: 12px; border: 1px solid transparent;
	cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.rc-btn--primary { background: var(--rc-accent); color: var(--rc-on-accent); box-shadow: 0 6px 22px rgba(52,216,166,.22); }
.rc-btn--primary:hover { color: var(--rc-on-accent); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(52,216,166,.38); }
.rc-btn--ghost { background: var(--rc-panel); color: var(--rc-ink); border-color: var(--rc-line-2); }
.rc-btn--ghost:hover { color: var(--rc-ink); transform: translateY(-2px); border-color: var(--rc-accent); }
.rc-btn--light { background: var(--rc-deep); color: var(--rc-ink); }
.rc-btn--light:hover { color: var(--rc-ink); transform: translateY(-2px); }
.rc-btn--sm { padding: 12px 18px; font-size: 14.5px; }
.rc-btn svg { flex: none; }

/* ---------- Header ---------- */
.rc-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(7,18,14,.82); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--rc-line);
}
.rc-header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.rc-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--rc-ink); }
.rc-logo:hover { color: var(--rc-ink); }
.rc-logo__mark {
	width: 34px; height: 34px; border-radius: 10px; background: var(--rc-accent);
	display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.rc-logo__name { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.rc-nav { display: flex; align-items: center; gap: 26px; }
.rc-nav a { font-size: 14.5px; font-weight: 500; color: var(--rc-ink-2); }
.rc-nav a:hover { color: var(--rc-accent); }
.rc-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rc-burger {
	display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
	background: var(--rc-panel); border: 1px solid var(--rc-line-2); border-radius: 11px; cursor: pointer;
}

/* Dropdown for the Solutions menu */
.rc-has-sub { position: relative; }
.rc-sub {
	position: absolute; top: calc(100% + 14px); left: -16px; min-width: 262px;
	background: var(--rc-panel); border: 1px solid var(--rc-line); border-radius: 14px;
	padding: 8px; box-shadow: 0 18px 44px rgba(0,0,0,.5);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.rc-has-sub:hover .rc-sub, .rc-has-sub:focus-within .rc-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.rc-sub a { display: block; padding: 11px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--rc-ink); }
.rc-sub a:hover { background: var(--rc-bg); color: var(--rc-accent); }
.rc-sub small { display: block; font-size: 12.5px; font-weight: 400; color: var(--rc-muted); margin-top: 2px; }

/* ---------- Hero ---------- */
.rc-hero { padding: clamp(48px, 6vw, 92px) 0 clamp(52px, 6vw, 88px); position: relative; overflow: hidden; }
.rc-hero::before {
	content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(52,216,166,.20), rgba(52,216,166,0) 70%);
	animation: rc-glow 9s ease-in-out infinite;
}
.rc-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(var(--rc-line) 1px, transparent 1px), linear-gradient(90deg, var(--rc-line) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
	mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
}
.rc-hero__grid { position: relative; z-index: 1; }
.rc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rc-hero__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.rc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rc-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--rc-muted); }
.rc-trust span { display: inline-flex; align-items: center; gap: 8px; }
.rc-trust span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--rc-line-2); }
.rc-trust span:first-child::before { display: none; }

/* ---------- Phone mock ---------- */
.rc-phone { width: min(340px, 100%); margin-inline: auto; background: #0B141A; border-radius: 34px; padding: 12px; border: 1px solid #23453A; box-shadow: 0 0 0 1px rgba(52,216,166,.10), 0 40px 90px rgba(0,0,0,.55), 0 0 90px rgba(52,216,166,.14); position: relative; }
.rc-phone__screen { background: #0B141A; border-radius: 24px; overflow: hidden; }
.rc-phone__bar { background: #0F5C48; padding: 15px 18px; display: flex; align-items: center; gap: 11px; }
.rc-phone__avatar { width: 34px; height: 34px; border-radius: 50%; background: #2C8C6E; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; }
.rc-phone__who b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.rc-phone__who small { color: #A9CFC1; font-size: 11.5px; }
.rc-phone__body { padding: 20px 14px 24px; display: flex; flex-direction: column; gap: 10px; min-height: 340px; }
.rc-msg { max-width: 86%; padding: 11px 13px; font-size: 13.5px; line-height: 1.5; }
.rc-msg--in { align-self: flex-start; background: #1F2C33; color: #E9EDEF; border-radius: 12px 12px 12px 3px; }
.rc-msg--out { align-self: flex-end; background: #0F5C48; color: #EAF6F1; border-radius: 12px 12px 3px 12px; }
.rc-msg__btns { align-self: flex-start; width: 86%; display: flex; flex-direction: column; gap: 6px; }
.rc-msg__btn { background: #1F2C33; color: #4FD1A5; text-align: center; padding: 11px; border-radius: 9px; font-size: 13.5px; font-weight: 600; }

/* ---------- Cards / grids ---------- */
.rc-grid { display: grid; gap: 24px; }
.rc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rc-card {
	background: var(--rc-panel); border: 1px solid var(--rc-line); border-radius: var(--rc-radius);
	padding: 30px; display: flex; flex-direction: column; gap: 12px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.35); border-color: var(--rc-accent); }
.rc-card p { font-size: 15px; line-height: 1.62; color: var(--rc-ink-2); }
.rc-card__icon { color: var(--rc-accent); }
.rc-step__num {
	width: 42px; height: 42px; border-radius: 12px; background: var(--rc-accent-soft); color: var(--rc-accent-dark);
	display: inline-flex; align-items: center; justify-content: center;
	font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 700;
}
.rc-card--dark { background: var(--rc-panel); border-color: var(--rc-line); }
.rc-card--dark h3 { color: var(--rc-ink); }
.rc-card--dark p { color: #B9C7C1; }

.rc-check { display: flex; gap: 13px; align-items: flex-start; }
.rc-check__dot {
	flex: none; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--rc-accent);
	display: inline-flex; align-items: center; justify-content: center;
}
.rc-check p { font-size: 16px; line-height: 1.6; color: var(--rc-ink-2); }
.rc-check p b { color: var(--rc-ink); }

/* ---------- Pricing ---------- */
.rc-price-card {
	background: var(--rc-panel); border: 1px solid var(--rc-line); border-radius: var(--rc-radius-lg);
	padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; position: relative;
	transition: transform .22s ease, box-shadow .22s ease;
}
.rc-price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,.4); }
.rc-price-card--featured { border-color: var(--rc-accent); box-shadow: 0 0 0 1px var(--rc-accent), 0 20px 50px rgba(52,216,166,.16); }
.rc-price-card__tag {
	position: absolute; top: -13px; left: 30px; background: var(--rc-accent); color: var(--rc-on-accent);
	font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 999px;
}
.rc-price { font-family: 'Fraunces', Georgia, serif; font-size: 42px; font-weight: 600; line-height: 1; }
.rc-price small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 500; color: var(--rc-muted); }
.rc-price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.rc-price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--rc-ink-2); }
.rc-price-card li svg { flex: none; margin-top: 4px; color: var(--rc-accent); }

/* ---------- FAQ (native details, keyboard-accessible) ---------- */
.rc-faq { border-top: 1px solid var(--rc-line-2); }
.rc-faq details { border-bottom: 1px solid var(--rc-line-2); }
.rc-faq summary {
	list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
	font-size: 17.5px; font-weight: 700; color: var(--rc-ink);
}
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
	border-right: 2px solid var(--rc-muted); border-bottom: 2px solid var(--rc-muted);
	transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.rc-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.rc-faq__answer { padding: 0 40px 24px 0; font-size: 15.5px; line-height: 1.65; color: var(--rc-ink-2); }
.rc-faq details[open] .rc-faq__answer { animation: rc-fade-down .3s ease both; }

/* ---------- CTA band ---------- */
.rc-cta-band {
	background: var(--rc-accent); border-radius: var(--rc-radius-lg); color: var(--rc-on-accent);
	padding: clamp(36px, 5vw, 66px) clamp(26px, 4vw, 70px);
	display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
}
.rc-cta-band h2 { color: var(--rc-on-accent); }
.rc-cta-band p { color: #0B3325; font-size: 17px; line-height: 1.6; max-width: 56ch; }
.rc-cta-band__copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- Footer ---------- */
.rc-footer { border-top: 1px solid var(--rc-line); padding: 54px 0 34px; }
.rc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.rc-footer h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--rc-muted); }
.rc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rc-footer ul a { font-size: 14.5px; color: var(--rc-ink-2); }
.rc-footer ul a:hover { color: var(--rc-accent); }
.rc-footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rc-line); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; font-size: 13.5px; color: var(--rc-muted); }

/* ---------- Floating WhatsApp button ---------- */
.rc-fab {
	position: fixed; right: 20px; bottom: 20px; z-index: 70;
	width: 58px; height: 58px; border-radius: 50%; background: var(--rc-accent);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 30px rgba(52,216,166,.35);
	transition: transform .2s ease;
}
.rc-fab:hover { transform: scale(1.06); }
.rc-fab::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 2px solid var(--rc-accent); animation: rc-ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}

/* ===================================================================
   Animation
   Scroll reveal is opt-in per element and never hides content when the
   browser can't run it (no-js) or the visitor asked for less motion —
   both fall back to fully visible, so nothing is ever unreadable.
   =================================================================== */
.rc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.rc-reveal.is-in { opacity: 1; transform: none; }
.rc-reveal--delay-1 { transition-delay: .08s; }
.rc-reveal--delay-2 { transition-delay: .16s; }
.rc-reveal--delay-3 { transition-delay: .24s; }
.rc-reveal--delay-4 { transition-delay: .32s; }
.no-js .rc-reveal { opacity: 1; transform: none; }

@keyframes rc-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes rc-ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@keyframes rc-glow { 0%,100% { transform: translate(0,0) scale(1); opacity: .9; } 50% { transform: translate(-40px,30px) scale(1.12); opacity: 1; } }
@keyframes rc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rc-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.rc-float { animation: rc-float 6s ease-in-out infinite; }

/* Chat bubbles type themselves in once the phone scrolls into view. */
.rc-phone.is-in { animation: rc-float 7s ease-in-out 1.8s infinite; }
.rc-phone .rc-msg, .rc-phone .rc-msg__btns { opacity: 0; }
.rc-phone.is-in .rc-msg, .rc-phone.is-in .rc-msg__btns { animation: rc-pop .45s ease both; }
.rc-phone.is-in .rc-msg:nth-of-type(1) { animation-delay: .15s; }
.rc-phone.is-in .rc-msg__btns { animation-delay: .5s; }
.rc-phone.is-in .rc-msg--out { animation-delay: .95s; }
.rc-phone.is-in .rc-msg:last-of-type { animation-delay: 1.35s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.rc-reveal { opacity: 1; transform: none; }
	.rc-phone .rc-msg, .rc-phone .rc-msg__btns { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.rc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.rc-hero__grid { grid-template-columns: 1fr; }
	.rc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rc-nav, .rc-header__actions .rc-btn--ghost { display: none; }
	.rc-burger { display: inline-flex; }
	.rc-nav.is-open {
		display: flex; flex-direction: column; align-items: stretch; gap: 4px;
		position: absolute; top: 74px; left: 0; right: 0; padding: 14px 24px 22px;
		background: var(--rc-panel); border-bottom: 1px solid var(--rc-line);
		box-shadow: 0 18px 40px rgba(0,0,0,.5); animation: rc-fade-down .22s ease both;
	}
	.rc-nav.is-open a { padding: 13px 4px; font-size: 16px; }
	.rc-nav.is-open .rc-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; }
}
@media (max-width: 640px) {
	.rc-grid--2, .rc-grid--3, .rc-grid--4 { grid-template-columns: 1fr; }
	.rc-footer__grid { grid-template-columns: 1fr; }
	.rc-card { padding: 24px; }
}

/* ===================================================================
   v2 — screenshots, tabs, flow, calculator, lead form, motion
   =================================================================== */

/* Scroll progress */
.rc-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; background: linear-gradient(90deg, var(--rc-accent), #7FE8C4); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Accent headline words */
.rc-grad { background: linear-gradient(100deg, var(--rc-accent) 0%, #A5F3D6 55%, var(--rc-accent) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: rc-shine 7s linear infinite; }
@keyframes rc-shine { to { background-position: 200% center; } }

/* Spotlight that follows the cursor across cards */
.rc-card { position: relative; overflow: hidden; }
.rc-card::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease;
	background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(52,216,166,.13), transparent 60%);
}
.rc-card:hover::before { opacity: 1; }

/* Hero visual + floating notifications */
.rc-hero__visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.rc-notif {
	position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 15px; min-width: 210px;
	background: rgba(15,33,27,.9); border: 1px solid var(--rc-line-2); border-radius: 15px;
	backdrop-filter: blur(10px); box-shadow: 0 22px 50px rgba(0,0,0,.5);
	opacity: 0; animation: rc-pop .6s ease forwards, rc-float 7s ease-in-out infinite;
}
.rc-notif b { display: block; font-size: 13.5px; font-weight: 700; color: var(--rc-ink); }
.rc-notif small { display: block; font-size: 12px; color: var(--rc-muted); }
.rc-notif__ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--rc-accent-soft); color: var(--rc-accent); flex: none; }
.rc-notif--1 { top: -5%; left: -4%; animation-delay: 1.6s, 2.2s; }
.rc-notif--2 { top: 38%; right: -12%; animation-delay: 2.3s, 3.1s; }
.rc-notif--3 { bottom: -4%; left: -2%; animation-delay: 3.0s, 4.0s; }

/* Marquee */
.rc-marquee { overflow: hidden; border-block: 1px solid var(--rc-line); padding: 17px 0; background: var(--rc-bg-2);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rc-marquee__track { display: flex; gap: 46px; width: max-content; animation: rc-marquee 42s linear infinite; }
.rc-marquee:hover .rc-marquee__track { animation-play-state: paused; }
.rc-marquee span { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--rc-ink-2); white-space: nowrap; }
.rc-marquee svg { color: var(--rc-accent); }
@keyframes rc-marquee { to { transform: translateX(-50%); } }

/* Browser frame around real screenshots */
.rc-frame {
	border-radius: 14px; border: 1px solid var(--rc-line-2); background: #0A1511; overflow: hidden;
	box-shadow: 0 34px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(52,216,166,.07), 0 0 90px rgba(52,216,166,.10);
	transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: transform .3s ease; will-change: transform;
}
.rc-frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #08120E; border-bottom: 1px solid var(--rc-line); }
.rc-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A473C; display: inline-block; }
.rc-frame__url { margin-left: 10px; flex: 1; max-width: 300px; font-size: 12px; color: var(--rc-muted); background: #0E1D17; border-radius: 7px; padding: 5px 11px; }
.rc-frame img { display: block; width: 100%; height: auto; }
.rc-frame--flat { padding: clamp(14px, 3vw, 34px); background: radial-gradient(120% 120% at 50% 0%, #10261F, #08130F); }

/* Tabs */
.rc-tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.rc-tab {
	display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; min-height: 46px; border-radius: 999px; cursor: pointer;
	font: 600 14.5px/1 'Plus Jakarta Sans', sans-serif; color: var(--rc-ink-2); background: var(--rc-panel); border: 1px solid var(--rc-line-2);
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.rc-tab:hover { color: var(--rc-ink); transform: translateY(-2px); }
.rc-tab.is-active { color: var(--rc-accent); background: var(--rc-accent-soft); border-color: var(--rc-accent); }
.rc-tabs__panel { display: none; max-width: 1080px; margin: 0 auto; }
.rc-tabs__panel.is-active { display: block; animation: rc-fade-up .55s cubic-bezier(.2,.7,.3,1) both; }
.rc-tabs__caption { text-align: center; margin-top: 22px; font-size: 16px; color: var(--rc-ink-2); max-width: 62ch; margin-inline: auto; }
.rc-tabs__caption b { color: var(--rc-ink); }
@keyframes rc-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Feature rows */
.rc-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 76px); align-items: center; padding: clamp(28px, 4vw, 60px) 0; }
.rc-feature--flip .rc-feature__copy { order: 2; }
.rc-feature__copy { display: flex; flex-direction: column; gap: 18px; }
.rc-feature__num { font-family: 'Fraunces', Georgia, serif; font-size: 64px; line-height: 1; font-weight: 600; color: transparent; -webkit-text-stroke: 1.5px var(--rc-line-2); }
.rc-feature__visual { min-width: 0; }

/* Animated flow diagram */
.rc-flow { position: relative; width: 100%; aspect-ratio: 900 / 380; container-type: inline-size; }
.rc-flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rc-flow__lines path { fill: none; stroke: var(--rc-accent); stroke-width: 2; stroke-dasharray: 5 7; opacity: 0; vector-effect: non-scaling-stroke; }
.rc-flow.is-in .rc-flow__lines path { opacity: .8; animation: rc-dash 1.1s linear infinite; }
@keyframes rc-dash { to { stroke-dashoffset: -24; } }
.rc-node {
	position: absolute; transform: translate(-50%, -50%) scale(.92); width: 21%; min-width: 0; padding: 2.2cqw 2.4cqw;
	background: var(--rc-panel); border: 1px solid var(--rc-line-2); border-radius: 12px; opacity: 0;
	box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: opacity .5s ease var(--d), transform .5s cubic-bezier(.2,.8,.3,1) var(--d);
}
.rc-flow.is-in .rc-node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rc-node small { display: block; font-size: clamp(7px, 1.75cqw, 11px); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--rc-muted); }
.rc-node b { display: block; font-size: clamp(9px, 2.5cqw, 15px); font-weight: 700; line-height: 1.25; color: var(--rc-ink); }
.rc-node--trigger { border-color: var(--rc-accent); }
.rc-node--trigger small { color: var(--rc-accent); }
.rc-node--ai { border-color: #7C6CF0; } .rc-node--ai small { color: #A99CFF; }
.rc-node--human { border-color: #E9A83C; } .rc-node--human small { color: #F3C872; }

/* Savings calculator */
.rc-calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); background: var(--rc-panel); border: 1px solid var(--rc-line-2); border-radius: var(--rc-radius-lg); padding: clamp(22px, 3.5vw, 46px); }
.rc-calc__inputs { display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.rc-range { display: block; }
.rc-range__top { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; color: var(--rc-ink-2); margin-bottom: 12px; }
.rc-range__top b { color: var(--rc-ink); font-variant-numeric: tabular-nums; }
.rc-range input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--rc-accent) var(--fill, 50%), var(--rc-line-2) var(--fill, 50%)); outline: none; cursor: pointer; }
.rc-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rc-accent); border: 4px solid var(--rc-panel); box-shadow: 0 0 0 2px var(--rc-accent); }
.rc-range input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--rc-accent); border: 4px solid var(--rc-panel); box-shadow: 0 0 0 2px var(--rc-accent); }
.rc-range input[type=range]:focus-visible { outline: 2px solid var(--rc-accent); outline-offset: 6px; }
.rc-calc__result { background: var(--rc-deep); border: 1px solid var(--rc-line); border-radius: var(--rc-radius); padding: clamp(20px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rc-calc__big { font-family: 'Fraunces', Georgia, serif; font-size: clamp(38px, 5vw, 60px); line-height: 1; font-weight: 600; color: var(--rc-accent); font-variant-numeric: tabular-nums; }
.rc-calc__big small { font-size: .38em; color: var(--rc-muted); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; letter-spacing: .04em; }
.rc-calc__sub { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--rc-ink-2); }
.rc-calc__sub b { color: var(--rc-ink); }
.rc-calc__note { font-size: 12.5px; line-height: 1.55; color: var(--rc-muted); }

/* Lead form (sits on the accent band, so it uses dark-on-light controls) */
.rc-lead { display: flex; flex-direction: column; gap: 14px; }
.rc-lead__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rc-lead label span { display: block; font-size: 13px; font-weight: 700; color: var(--rc-on-accent); margin-bottom: 6px; }
.rc-lead input, .rc-lead select { width: 100%; min-height: 48px; padding: 12px 14px; font: 500 15px 'Plus Jakarta Sans', sans-serif; color: var(--rc-ink); background: var(--rc-deep); border: 1px solid transparent; border-radius: 11px; }
.rc-lead input:focus, .rc-lead select:focus { outline: 2px solid var(--rc-on-accent); outline-offset: 2px; }
.rc-lead .rc-btn { background: var(--rc-deep); color: var(--rc-ink); align-self: flex-start; }
.rc-lead .rc-btn:hover { color: var(--rc-ink); }
.rc-lead__note { font-size: 13px; color: #0B3325; }
.rc-lead input.is-bad { border-color: #F5A3A3; }

/* Industry cards */
.rc-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.rc-mini li { font-size: 14px; color: var(--rc-ink-2); padding-left: 16px; position: relative; }
.rc-mini li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--rc-accent); }

/* Logos */
.rc-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 46px; }
.rc-logos img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .7; transition: opacity .2s ease, filter .2s ease; }
.rc-logos img:hover { opacity: 1; filter: none; }

/* Real phone screenshot */
.rc-devphone-wrap { display: flex; justify-content: center; }
.rc-devphone { width: min(300px, 78vw); padding: 10px; background: #0B141A; border: 1px solid #23453A; border-radius: 40px; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 90px rgba(52,216,166,.14); }
.rc-devphone img { display: block; width: 100%; height: auto; border-radius: 30px; }

/* Sticky mobile CTA (replaces the round button on small screens) */
.rc-stickybar { display: none; }

@media (max-width: 1400px) { .rc-notif--2 { right: 0; } }
@media (max-width: 1000px) {
	.rc-feature, .rc-calc { grid-template-columns: 1fr; }
	.rc-feature--flip .rc-feature__copy { order: 0; }
	.rc-notif--1 { top: -5%; left: -4%; animation-delay: 1.6s, 2.2s; } .rc-notif--2 { top: 38%; right: -12%; animation-delay: 2.3s, 3.1s; } .rc-notif--3 { bottom: -4%; left: -2%; animation-delay: 3.0s, 4.0s; }
	.rc-notif { min-width: 0; padding: 9px 12px; }
	.rc-notif small { display: none; }
}
@media (max-width: 700px) {
	.rc-notif { display: none; }
	.rc-lead__row { grid-template-columns: 1fr; }
	.rc-fab { display: none; }
	.rc-stickybar {
		display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; transform: translateY(140%);
		transition: transform .3s ease;
	}
	.rc-stickybar.is-on { transform: none; }
	.rc-stickybar .rc-btn { width: 100%; box-shadow: 0 14px 36px rgba(0,0,0,.5); }
	body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.rc-grad, .rc-marquee__track, .rc-notif { animation: none !important; }
	.rc-notif { opacity: 1; }
	.rc-node, .rc-flow__lines path { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
	.rc-flow__lines path { animation: none !important; }
	.rc-frame { transform: none !important; }
}

/* Several sections set a two-column grid inline (copy beside a visual, FAQ
   title beside the answers). Inline styles can't have media queries, so on
   narrow screens collapse every one of them to a single column — otherwise
   the second column pushes the whole page wider than the phone. */
@media (max-width: 860px) {
	[style*="grid-template-columns:minmax"] { grid-template-columns: 1fr !important; }
}
html, body { overflow-x: clip; }

.rc-logo__name { white-space: nowrap; }
.rc-nav__extra { display: none; }
@media (max-width: 900px) { .rc-nav.is-open .rc-nav__extra { display: block; font-weight: 700; color: var(--rc-accent); } }
@media (max-width: 700px) { .rc-header__actions .rc-btn--primary { display: none; } }
