/* =====================================================================
   Add2Cart Couriers — public site design system
   Brand: logo blue #000CFF · signature yellow #FBFB4E · navy #353C4E
   ===================================================================== */

:root {
	--blue: #000cff;
	--blue-700: #0009c2;
	--blue-100: #dfe2ff;
	--blue-50: #eef0ff;
	--yellow: #fbfb4e;
	--yellow-700: #c9c900;
	--yellow-50: #fefee6;
	--navy: #353c4e;
	--navy-900: #0f1224;
	--navy-800: #171b33;
	--ink: #161a2b;
	--ink-2: #454b60;
	--muted: #6b7185;
	--line: #e5e8f0;
	--bg: #ffffff;
	--bg-soft: #f5f6fa;
	--success: #15a05a;
	--radius-lg: 24px;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(15, 18, 36, .06), 0 4px 12px rgba(15, 18, 36, .05);
	--shadow: 0 10px 30px rgba(15, 18, 36, .10), 0 2px 6px rgba(15, 18, 36, .05);
	--shadow-lg: 0 30px 60px rgba(15, 18, 36, .22);
	--font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 64px 0; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

.mark { position: relative; white-space: nowrap; }
.mark::after {
	content: "";
	position: absolute;
	left: -.06em; right: -.06em; bottom: .06em;
	height: .36em;
	background: var(--yellow);
	z-index: -1;
	border-radius: 4px;
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	white-space: nowrap;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 12, 255, .28); }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 12px 26px rgba(0, 12, 255, .34); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgba(251, 251, 78, .35); }
.btn-yellow:hover { background: #fdfd6a; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding: 12px 18px; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* ---------- announcement bar ---------- */
.announce { background: var(--navy-900); color: rgba(255, 255, 255, .85); font-size: 13.5px; }
.announce .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.announce-text { display: inline-flex; align-items: center; gap: 8px; }
.announce-text svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }
.announce-text strong { color: #fff; }
.announce-links { display: inline-flex; gap: 6px; flex: none; }
.announce-links a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: 12.5px; transition: background .15s; }
.announce-links a:hover { background: var(--yellow); color: var(--ink); }
.announce-links .fa { font-size: 14px; }
@media (max-width: 760px) { .announce-long { display: none; } }
@media (max-width: 480px) { .announce-links a span + * { display: none; } .announce-links a { padding: 6px 9px; } }

/* ---------- header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; max-width: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
	display: inline-block;
	padding: 9px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--ink-2);
	transition: background .15s, color .15s;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.is-active { color: var(--blue); background: var(--blue-50); }
.nav a.nav-app { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); background: var(--yellow); }
.nav a.nav-app svg { width: 16px; height: 16px; }
.nav a.nav-app:hover, .nav a.nav-app.is-active { background: #fdfd6a; color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; flex: none; }

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	align-items: center;
	justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-bars { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

.nav-panel { display: contents; }

@media (max-width: 1199px) {
	.nav-toggle { display: inline-flex; }
	.nav-panel {
		display: none;
		position: absolute;
		left: 0; right: 0; top: var(--header-h);
		flex-direction: column;
		padding: 12px 16px 18px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	body.nav-open .nav-panel { display: flex; }
	.nav { flex-direction: column; align-items: stretch; gap: 2px; margin-left: 0; }
	.nav a { padding: 12px 14px; font-size: 16px; }
	.header-cta { margin: 14px 0 0; flex-direction: column; align-items: stretch; }
	.header-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(251, 251, 78, .22), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(0, 12, 255, .55), transparent 60%),
		linear-gradient(135deg, #0b0f2e 0%, #141c6e 50%, #1020c8 100%);
	padding: 96px 0 140px;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 80%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 80%);
	pointer-events: none;
}
.hero .container {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 56px;
	align-items: center;
}
.hero-pill {
	display: inline-flex;
	cursor: default;
	align-items: center;
	gap: 10px;
	padding: 8px 14px 8px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .9);
	margin-bottom: 26px;
}
a.hero-pill { cursor: pointer; transition: background .15s, border-color .15s; }
a.hero-pill:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); color: #fff; }
.hero-pill > svg { width: 14px; height: 14px; opacity: .8; }
.hero-pill span.dot {
	display: inline-flex;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--yellow);
	color: var(--ink);
	font-weight: 800;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hero h1 {
	font-size: clamp(38px, 5.4vw, 62px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -.025em;
}
.hero h1 .mark { display: inline-block; background: var(--yellow); color: var(--ink); padding: 0 .16em; border-radius: .18em; line-height: 1.12; transform: rotate(-1.2deg); }
.hero h1 .mark::after { display: none; }
.hero h1 .mark span { display: inline-block; transform: rotate(1.2deg); }
.hero p.lead {
	margin-top: 22px;
	max-width: 540px;
	font-size: 18px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 32px;
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
	font-weight: 600;
}
.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--yellow); }

/* tracking mock */
.hero-visual { position: relative; min-height: 420px; padding-bottom: 56px; }
.track-card {
	position: relative;
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 26px;
	max-width: 440px;
	margin-left: auto;
	animation: float 7s ease-in-out infinite;
}
.track-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.track-card-head .label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.track-card-head .id { font-size: 17px; font-weight: 800; margin-top: 2px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: var(--blue-50);
	color: var(--blue);
}
.chip.chip-green { background: #e6f7ee; color: var(--success); }
.chip.chip-yellow { background: var(--yellow); color: var(--ink); }
.chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s infinite; }

.timeline { margin-top: 22px; display: grid; gap: 0; }
.timeline li { list-style: none; position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding: 0 0 18px; }
.timeline li::before {
	content: "";
	position: absolute;
	left: 13px; top: 26px; bottom: -2px;
	width: 2px;
	background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--blue); }
.tl-dot {
	width: 28px; height: 28px;
	border-radius: 50%;
	border: 2px solid var(--line);
	background: #fff;
	display: grid; place-items: center;
	color: #fff;
}
.tl-dot svg { width: 14px; height: 14px; }
.timeline li.done .tl-dot { background: var(--blue); border-color: var(--blue); }
.timeline li.active .tl-dot { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px var(--blue-50); }
.timeline li.active .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.timeline .tl-title { font-weight: 700; font-size: 14px; }
.timeline .tl-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.timeline .tl-time { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.timeline li.todo .tl-title, .timeline li.todo .tl-time { color: var(--muted); font-weight: 600; }
.track-card-foot { margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-2); }
.track-card-foot strong { color: var(--ink); }

.mini-card {
	position: absolute;
	left: -12px;
	bottom: -6px;
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	animation: float 7s ease-in-out infinite reverse;
}
.mini-card .ic {
	width: 40px; height: 40px;
	border-radius: 12px;
	background: var(--yellow);
	display: grid; place-items: center;
	color: var(--ink);
}
.mini-card .ic svg { width: 20px; height: 20px; }
.mini-card .t { font-size: 12px; color: var(--muted); font-weight: 600; }
.mini-card .v { font-size: 15px; font-weight: 800; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 12, 255, .35); } 70% { box-shadow: 0 0 0 8px rgba(0, 12, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 12, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .track-card, .mini-card, .chip .pulse { animation: none; } }

/* stats bar overlapping hero */
.stats-wrap { position: relative; z-index: 2; margin-top: -68px; }
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	overflow: hidden;
}
.stat { padding: 26px 28px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.stat .ic svg { width: 22px; height: 22px; }
.stat .v { font-size: 22px; font-weight: 800; line-height: 1.1; }
.stat .l { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 3px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(30px, 4vw, 42px); }
.about-copy p { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.about-copy .btn { margin-top: 28px; }

.feature-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.tile .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic svg { width: 24px; height: 24px; }
.tile h4 { font-size: 17px; }
.tile p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px 28px 30px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.step .num {
	position: absolute;
	right: 18px; top: 8px;
	font-size: 84px;
	font-weight: 800;
	color: var(--blue-50);
	line-height: 1;
	letter-spacing: -.04em;
}
.step .ic { position: relative; width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 20px rgba(0, 12, 255, .25); }
.step .ic svg { width: 26px; height: 26px; }
.step h3 { position: relative; font-size: 20px; }
.step p { position: relative; margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- calculator ---------- */
.calc {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.calc-form { padding: 36px; }
.calc-form h3 { font-size: 20px; margin-bottom: 4px; }
.calc-form .hint { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.field .input-wrap { position: relative; }
.field .input-wrap .prefix, .field .input-wrap .suffix {
	position: absolute; top: 50%; transform: translateY(-50%);
	font-size: 14px; font-weight: 700; color: var(--muted);
}
.field .input-wrap .prefix { left: 14px; }
.field .input-wrap .suffix { right: 14px; }
.field input, .field select {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
	appearance: none;
	-webkit-appearance: none;
}
.field .has-prefix input { padding-left: 38px; }
.field .has-suffix input { padding-right: 46px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7185' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-form .btn { width: 100%; margin-top: 6px; }
.calc-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.calc-result { background: var(--navy-900); color: #fff; padding: 36px; display: flex; flex-direction: column; }
.calc-result h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 700; }
.breakdown { list-style: none; margin-top: 18px; display: grid; gap: 0; }
.breakdown li { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.breakdown li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; color: #fff; }
.breakdown li.sub { color: rgba(255, 255, 255, .62); font-size: 13.5px; padding: 8px 0; }
.breakdown li.strong { font-weight: 700; color: #fff; }
.breakdown li.strong span:last-child { font-size: 16px; }
.calc-total {
	margin-top: auto;
	padding-top: 24px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}
.calc-total .t { font-size: 13px; color: rgba(255, 255, 255, .6); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.calc-total .v { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--yellow); line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.calc-total .v small { font-size: 16px; color: rgba(255, 255, 255, .7); font-weight: 700; margin-right: 6px; }
.calc-status { font-size: 13px; color: rgba(255, 255, 255, .55); min-height: 20px; margin-top: 10px; }
.calc-status.error { color: #ffb4b4; }

/* ---------- services ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px 28px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 20px; }
.svc p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.svc a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14px; }
.svc a.more svg { width: 16px; height: 16px; transition: transform .15s; }
.svc a.more:hover svg { transform: translateX(3px); }

/* ---------- rates ---------- */
.rates-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.rates-scroll { max-height: 520px; overflow: auto; }
.rates-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.rates-table th, .rates-table td { padding: 14px 20px; text-align: left; white-space: nowrap; }
.rates-table th {
	position: sticky; top: 0; z-index: 1;
	background: var(--navy-900);
	color: #fff;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 700;
}
.rates-table td { border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rates-table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.rates-table tbody tr:hover td { background: var(--blue-50); }
.rates-table td:first-child { font-weight: 700; }
.rates-table td.rate { color: var(--ink); font-weight: 600; }
.rates-note { padding: 16px 20px; background: var(--yellow-50); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.rates-note svg { flex: none; width: 18px; height: 18px; color: var(--yellow-700); margin-top: 3px; }

/* ---------- brands ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-logo {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	height: 120px;
	display: grid; place-items: center;
	padding: 20px 28px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}
.brand-logo img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brand-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-logo:hover img { filter: none; opacity: 1; }
.brands-more { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14.5px; }

/* ---------- pay + app band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.panel h3 { font-size: 26px; }
.panel p { margin-top: 12px; font-size: 15.5px; }
.panel-dark { background: var(--navy-900); color: #fff; }
.panel-dark p { color: rgba(255, 255, 255, .75); }
.panel-dark::after {
	content: "";
	position: absolute;
	width: 320px; height: 320px;
	right: -120px; bottom: -160px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 12, 255, .7), transparent 65%);
}
.panel-yellow { background: var(--yellow); color: var(--ink); }
.panel-yellow p { color: rgba(22, 26, 43, .78); }
.panel-yellow::after {
	content: "";
	position: absolute;
	width: 260px; height: 260px;
	right: -90px; top: -120px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
}
.panel > * { position: relative; z-index: 1; }
.cards-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cards-row img { height: 44px; width: auto; border-radius: 6px; }
.panel .btn { margin-top: 22px; }

.app-row { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.qr { flex: none; width: 128px; height: 128px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-sm); }
.qr img { width: 100%; height: 100%; }
.store-badges { display: flex; flex-direction: column; gap: 10px; }

.store-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #0f1224;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	padding: 9px 16px;
	min-width: 176px;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease;
}
.store-badge:hover { background: #1c2140; color: #fff; transform: translateY(-2px); }
.store-badge .fa { font-size: 26px; line-height: 1; width: 26px; text-align: center; }
.store-badge small { display: block; font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.store-badge .store-name { display: block; font-size: 17px; line-height: 1.15; font-weight: 700; }
.store-badge-sm { padding: 7px 12px; min-width: 0; border-radius: 10px; }
.store-badge-sm .fa { font-size: 20px; width: 20px; }
.store-badge-sm .store-name { font-size: 14px; }
.store-badge-sm small { font-size: 9px; }

/* ---------- contact ---------- */
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loc {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 22px;
	box-shadow: var(--shadow-sm);
}
.loc .pin { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.loc .pin svg { width: 20px; height: 20px; }
.loc h4 { font-size: 17px; }
.loc.main h4::after { content: "HQ"; margin-left: 8px; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: var(--yellow); color: var(--ink); vertical-align: middle; letter-spacing: .08em; }
.loc .addr { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.loc ul { list-style: none; margin-top: 14px; display: grid; gap: 6px; }
.loc li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.loc li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.loc li a { color: var(--ink); font-weight: 600; }
.loc li a:hover { color: var(--blue); }
.map-wrap { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { font-size: 14.5px; }
.footer-brand img { height: 64px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer li a { color: rgba(255, 255, 255, .75); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.site-footer li a:hover { color: var(--yellow); }
.site-footer li svg { width: 16px; height: 16px; color: var(--yellow); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-cards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-cards img { height: 30px; border-radius: 4px; }
.copyright {
	margin-top: 56px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13.5px;
	color: rgba(255, 255, 255, .55);
	display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.copyright a { color: rgba(255, 255, 255, .7); }
.copyright a:hover { color: var(--yellow); }

/* ---------- back to top ---------- */
.to-top {
	position: fixed;
	right: 22px; bottom: 22px;
	width: 48px; height: 48px;
	border-radius: 50%;
	border: 0;
	background: var(--blue);
	color: #fff;
	box-shadow: var(--shadow);
	display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 72px 0;
	background:
		radial-gradient(700px 400px at 90% 0%, rgba(251, 251, 78, .2), transparent 60%),
		linear-gradient(135deg, #0b0f2e 0%, #131a5c 60%, #0f1aa8 100%);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { margin-top: 14px; max-width: 620px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.page-hero .hero-pill { margin-bottom: 18px; }

.prose-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 40px;
}
.prose-card + .prose-card { margin-top: 24px; }
.prose-card h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.prose-card h2 .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.prose-card h2 .ic svg { width: 22px; height: 22px; }
.prose-card > p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }

.howto { list-style: none; counter-reset: step; margin-top: 24px; display: grid; gap: 14px; }
.howto li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 16px;
	align-items: start;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--bg-soft);
	font-size: 15.5px;
	color: var(--ink-2);
}
.howto li::before {
	content: counter(step);
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	display: grid; place-items: center;
}
.howto li strong { color: var(--ink); }
.howto li .btn { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.callout {
	background: var(--yellow);
	border-radius: var(--radius-lg);
	padding: 32px;
	color: var(--ink);
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.callout h3 { font-size: 20px; }
.callout p { margin-top: 10px; font-size: 15px; color: rgba(22, 26, 43, .78); }
.callout .btn { margin-top: 18px; }

/* ---------- app landing ---------- */
.app-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 32px 20px;
	background:
		radial-gradient(700px 400px at 90% 0%, rgba(251, 251, 78, .25), transparent 60%),
		linear-gradient(135deg, #0b0f2e 0%, #131a5c 60%, #0f1aa8 100%);
}
.app-card {
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 28px;
	box-shadow: var(--shadow-lg);
	padding: 40px 32px;
	text-align: center;
}
.app-card img.logo { height: 72px; width: auto; margin: 0 auto 20px; }
.app-card h1 { font-size: 26px; font-weight: 800; }
.app-card p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.app-card .store-badges { flex-direction: row; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.app-card .back { display: inline-block; margin-top: 24px; font-size: 13.5px; color: var(--muted); }
.app-card .back:hover { color: var(--blue); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.section { padding: 72px 0; }
	.locations { grid-template-columns: 1fr 1fr; }
	.hero { padding: 64px 0 120px; }
	.hero .container { grid-template-columns: 1fr; gap: 56px; }
	.hero-visual { min-height: 0; }
	.track-card { margin: 0 auto; }
	.mini-card { left: 0; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
	.about-grid { grid-template-columns: 1fr; gap: 40px; }
	.steps, .cards-3 { grid-template-columns: 1fr; }
	.calc { grid-template-columns: 1fr; }
	.brands { grid-template-columns: 1fr 1fr; }
	.band { grid-template-columns: 1fr; }
	.two-col { grid-template-columns: 1fr; }
	.callout { position: static; }
}
@media (max-width: 600px) {
	.container { padding: 0 18px; }
	.brand img { height: 46px; }
	.hero h1 { font-size: 36px; }
	.hero-actions .btn { width: 100%; }
	.stats { grid-template-columns: 1fr; }
	.stat { border-right: 0; border-bottom: 1px solid var(--line); }
	.stat:last-child { border-bottom: 0; }
	.feature-tiles { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.calc-form, .calc-result { padding: 26px 22px; }
	.calc-total .v { font-size: 32px; }
	.brands { grid-template-columns: 1fr 1fr; gap: 12px; }
	.brand-logo { height: 96px; padding: 16px; }
	.panel { padding: 28px 24px; }
	.app-row { flex-direction: column; align-items: flex-start; }
	.locations { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.prose-card { padding: 26px 22px; }
	.track-card { padding: 20px; }
	.mini-card { bottom: -6px; padding: 12px 14px; }
	.copyright { justify-content: center; text-align: center; }
}

/* =====================================================================
   Auth pages (login / register / password reset)
   ===================================================================== */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 44%) 1fr; background: var(--bg-soft); }
.auth-brand {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 48px;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(700px 400px at 100% 0%, rgba(251, 251, 78, .22), transparent 60%),
		radial-gradient(600px 500px at -10% 110%, rgba(0, 12, 255, .6), transparent 60%),
		linear-gradient(160deg, #0b0f2e 0%, #141c6e 50%, #1020c8 100%);
}
.auth-brand::before {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 85%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 85%);
	pointer-events: none;
}
.auth-brand > * { position: relative; }
.auth-logo { display: inline-flex; background: #fff; border-radius: 16px; padding: 10px 16px; align-self: flex-start; }
.auth-logo img { height: 64px; width: auto; }
.auth-brand-body { margin: auto 0; padding: 48px 0; max-width: 460px; }
.auth-brand h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.auth-brand h2 .mark { display: inline-block; background: var(--yellow); color: var(--ink); padding: 0 .16em; border-radius: .18em; line-height: 1.15; }
.auth-brand h2 .mark::after { display: none; }
.auth-brand p.lead { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 16px; }
.auth-points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255, 255, 255, .88); }
.auth-points .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; color: var(--yellow); }
.auth-points .ic svg { width: 18px; height: 18px; }
.auth-points strong { display: block; color: #fff; }
.auth-brand-foot { font-size: 13px; color: rgba(255, 255, 255, .55); display: flex; gap: 16px; flex-wrap: wrap; }
.auth-brand-foot a { color: rgba(255, 255, 255, .75); }
.auth-brand-foot a:hover { color: var(--yellow); }

.auth-main { display: flex; flex-direction: column; padding: 32px 24px; }
.auth-topbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); max-width: 640px; width: 100%; margin: 0 auto 24px; }
.auth-topbar a.btn { margin-left: 4px; }
.auth-card {
	width: 100%;
	max-width: 640px;
	margin: auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 40px;
}
.auth-card.narrow { max-width: 480px; }
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.auth-card .sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.auth-card form { margin-top: 26px; }
.auth-mobile-logo { display: none; }

.form-section { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-section h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.form-section h3::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--yellow); }

.field label .opt { font-weight: 500; color: var(--muted); }
.field .help { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field .error { font-size: 12.5px; color: #d2323c; margin-top: 6px; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select { border-color: #e15a62; }
.field.is-invalid input:focus, .field.is-invalid select:focus { box-shadow: 0 0 0 4px rgba(225, 90, 98, .15); border-color: #e15a62; }
.field input[readonly] { background: var(--bg-soft); color: var(--ink-2); }
.field .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field .label-row a { font-size: 13px; font-weight: 700; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	width: 38px; height: 38px;
	border: 0; border-radius: 10px;
	background: transparent;
	color: var(--muted);
	display: grid; place-items: center;
}
.pw-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.pw-toggle svg { width: 20px; height: 20px; }
.pw-toggle .eye-off { display: none; }
.pw-toggle.on .eye { display: none; }
.pw-toggle.on .eye-off { display: block; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input, .field .check input { appearance: auto; -webkit-appearance: checkbox; flex: none; width: 20px; height: 20px; padding: 0; margin: 1px 0 0; border: 0; accent-color: var(--blue); }
.field label.check { display: flex; font-weight: 500; margin: 0; }
.check a { font-weight: 700; }

.auth-actions { margin-top: 24px; }
.auth-actions .btn { width: 100%; }
.auth-alt { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted); }
.auth-alt a { font-weight: 700; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; }
.alert svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.alert ul { list-style: none; display: grid; gap: 4px; }
.alert-success { background: #e6f7ee; color: #0e6b3c; }
.alert-danger { background: #fdecec; color: #a12028; }

@media (max-width: 1024px) {
	.auth { grid-template-columns: 1fr; }
	.auth-brand { display: none; }
	.auth-main { padding: 24px 18px 40px; }
	.auth-mobile-logo { display: block; margin: 0 auto 24px; }
	.auth-mobile-logo img { height: 64px; width: auto; margin: 0 auto; }
	.auth-topbar { justify-content: center; }
}
@media (max-width: 600px) {
	.auth-card { padding: 28px 20px; border-radius: 20px; }
	.auth-card h1 { font-size: 24px; }
}
