/* CayGo refinement layer: restrained marketplace typography and colour system. */
:root {
	--caygo-ink: #173a47;
	--caygo-forest: #0b5b43;
	--caygo-teal: #26776a;
	--caygo-sun: #df941f;
	--caygo-coral: #c9473d;
	--caygo-mist: #f4f2ed;
	--caygo-line: #dfe5e1;
	--caygo-white: #fffefb;
	--caygo-shadow: 0 14px 34px rgba(31,62,57,.09);
	--cg-text-muted: #667a7c;
	--cg-surface-warm: #faf9f6;
	--cg-green-soft: #edf5f1;
	--cg-orange-soft: #fbf2e4;
	--cg-action-dark: #173a47;
	--cg-dark-link: #72d5b3;
}

html[data-cg-theme="grey"] { --caygo-white: #f2f1ed; --caygo-mist: #e9ece7; --cg-surface-warm: #f2f1ed; color-scheme: light; background: #f2f1ed; }
html[data-cg-theme="dark"] { --caygo-white: #17241f; --caygo-mist: #1d2d27; --caygo-line: #35483f; --caygo-ink: #f1f4ef; --cg-text-muted: #b5c1bc; --cg-surface-warm: #17241f; color-scheme: dark; background: #17241f; }
.cg-skip-link { position: fixed; z-index: 100000; top: 8px; left: 8px; padding: 11px 15px; border-radius: 7px; background: #fffefb; color: #173a47; box-shadow: 0 4px 20px rgba(0,0,0,.2); transform: translateY(-160%); }
.cg-skip-link:focus { transform: translateY(0); }
.caygo-site :focus-visible { outline: 3px solid #b96900; outline-offset: 3px; }
.caygo-site main:focus { outline: 0; }
.caygo-site img { max-width: 100%; }

.caygo-site { background: var(--cg-surface-warm); color: var(--caygo-ink); font-family: "Segoe UI Variable Text","Segoe UI",Arial,sans-serif; font-size: 16px; font-weight: 400; font-feature-settings: "kern" 1,"liga" 1; -webkit-font-smoothing: antialiased; }
.caygo-site h1,.caygo-site h2,.caygo-site h3,.caygo-site h4 { font-family: "Segoe UI Variable Display","Segoe UI",Arial,sans-serif; font-weight: 600; letter-spacing: -.035em; }
.caygo-site b,.caygo-site strong { font-weight: 600; }
.caygo-site button,.caygo-site input,.caygo-site select,.caygo-site textarea { font-family: inherit; }
.caygo-site button,.caygo-site .cg-button { font-weight: 600; }
.caygo-site .cg-eyebrow,.caygo-site .cg-kicker { font-weight: 600; letter-spacing: .075em; }
.caygo-site .cg-eyebrow::before { width: 6px; height: 6px; box-shadow: 0 0 0 4px rgba(223,148,31,.13); }
.caygo-site .cg-section-heading { line-height: 1.08; }
.caygo-site .cg-section-lead { color: var(--cg-text-muted); font-size: 16px; }
.caygo-site .cg-section { padding: 92px 0; }
.caygo-site .cg-section--muted { background: var(--caygo-mist); }
.caygo-site .cg-button { min-height: 48px; border-radius: 9px; background: var(--caygo-forest); color: #fff; box-shadow: none; }
.caygo-site .cg-button:hover { background: #074a36; transform: translateY(-1px); }
.caygo-site .cg-button--dark { background: var(--cg-action-dark); color: #fff; }
.caygo-site .cg-header { background: rgba(255,254,251,.96); border-color: rgba(219,227,222,.9); backdrop-filter: blur(14px); }
.caygo-site .cg-nav { font-weight: 500; }
.caygo-site .cg-nav__host { border-color: var(--caygo-forest); color: var(--caygo-forest); font-weight: 600; }
.caygo-site .cg-nav__host:hover { background: var(--caygo-forest); }
.caygo-site .cg-home-hero { background: radial-gradient(circle at 55% 20%,rgba(223,148,31,.11),transparent 28%),linear-gradient(118deg,#eef5f1 0%,#faf9f6 52%,#eff3f2 100%); }
.caygo-site .cg-home-hero h1 { font-weight: 600; letter-spacing: -.06em; }
.caygo-site .cg-market-search { border-color: #d8e2dd; border-radius: 13px; box-shadow: 0 15px 40px rgba(33,65,60,.1); }
.caygo-site .cg-market-search label span { font-weight: 600; letter-spacing: .055em; }
.caygo-site .cg-market-search input,.caygo-site .cg-market-search select { font-weight: 500; }
.caygo-site .cg-market-search button { font-weight: 600; }
.caygo-site .cg-search-links a { color: #536c6d; font-weight: 500; }
.caygo-site .cg-car,.caygo-site .cg-result-card { border-radius: 13px; box-shadow: 0 4px 16px rgba(34,62,58,.055); }
.caygo-site .cg-car:hover,.caygo-site .cg-result-card:hover { box-shadow: 0 14px 30px rgba(34,62,58,.11); transform: translateY(-3px); }
.caygo-site .cg-car__tag,.caygo-site .cg-result-card__tag,.caygo-site .cg-pill { font-weight: 600; letter-spacing: .045em; }
.caygo-site .cg-car__body h3,.caygo-site .cg-result-card__heading h3 { font-weight: 600; }
.caygo-site .cg-car__rating,.caygo-site .cg-result-card__rating { font-weight: 500; }
.caygo-site .cg-link { border-bottom-width: 1px; font-weight: 600; }
.caygo-site .cg-cars > .cg-empty-runtime { grid-column: 1/-1; min-height: 154px; display: grid; place-content: center; gap: 6px; width: 100%; background: rgba(255,255,255,.025); color: var(--cg-text-muted); }
.caygo-site .cg-cars > .cg-empty-runtime b { color: var(--caygo-ink); font-size: 16px; }
.caygo-site .cg-cars > .cg-empty-runtime span { display: block; font-size: 14px; font-weight: 400; }
.caygo-site .cg-cta,.caygo-site .cg-notification-tabs button.is-active { background: var(--cg-action-dark); color: #fff; }

/* Editorial vehicle collections */
.cg-collection { padding: 94px 0; background: var(--cg-surface-warm); }
.cg-collection + .cg-collection { border-top: 1px solid rgba(218,225,221,.8); }
.cg-collection--suv { background: #eef3ef; }
.cg-collection--sedan { background: #fffefb; }
.cg-collection__heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.cg-collection__heading > div { max-width: 700px; }
.cg-kicker { display: block; margin-bottom: 9px; color: var(--caygo-forest); font-size: 11px; text-transform: uppercase; }
.cg-collection__heading h2,.cg-collection-story h2,.cg-truck-feature h2 { margin: 0; color: var(--caygo-ink); font-size: clamp(31px,4vw,48px); line-height: 1.07; }
.cg-collection__heading p,.cg-collection-story > p { max-width: 640px; margin: 12px 0 0; color: var(--cg-text-muted); font-size: 15px; line-height: 1.65; }
.cg-collection__heading > a,.cg-collection-link { color: var(--caygo-forest); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cg-collection__heading > a span { margin-left: 5px; }
.cg-collection-grid { display: grid; gap: 18px; }
.cg-collection-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cg-collection-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cg-collection-card { overflow: hidden; border: 1px solid var(--caygo-line); border-radius: 13px; background: var(--caygo-white); transition: transform .25s,box-shadow .25s; }
.cg-collection-card:hover { transform: translateY(-3px); box-shadow: var(--caygo-shadow); }
.cg-collection-card__media { position: relative; height: 225px; overflow: hidden; background: #e7ebe8; }
.cg-collection-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cg-collection-card:hover img { transform: scale(1.025); }
.cg-collection-card__media > span { position: absolute; top: 13px; left: 13px; padding: 6px 9px; border-radius: 6px; background: rgba(255,254,251,.94); color: var(--caygo-forest); font-size: 9px; font-weight: 600; text-transform: uppercase; }
.cg-collection-card__content { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 18px; }
.cg-collection-card__content small { color: #7b8b8b; font-size: 9px; text-transform: uppercase; }
.cg-collection-card__content h3 { margin: 4px 0; color: var(--caygo-ink); font-size: 18px; }
.cg-collection-card__content p { margin: 0; color: var(--cg-text-muted); font-size: 11px; }
.cg-collection-card__price { display: grid; flex: 0 0 auto; gap: 7px; text-align: right; }
.cg-collection-card__price > span { color: #a86b0e; font-size: 10px; }
.cg-collection-card__price strong { color: var(--caygo-ink); font-size: 17px; }
.cg-collection-card__price strong small { margin-left: 2px; color: #788989; font-size: 9px; font-weight: 400; }
.cg-collection-card--compact .cg-collection-card__media { height: 285px; }
.cg-collection-split { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: center; }
.cg-collection-story ul { display: grid; gap: 9px; margin: 26px 0; padding: 0; list-style: none; color: #526b69; font-size: 13px; }
.cg-collection-story li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--caygo-sun); }
.cg-collection--truck { padding: 76px 0; background: #153e35; }
.cg-truck-feature { position: relative; min-height: 500px; overflow: hidden; border-radius: 16px; background: #0e312a; }
.cg-truck-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(8,35,29,.92) 0%,rgba(8,35,29,.75) 42%,rgba(8,35,29,.08) 72%); }
.cg-truck-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cg-truck-feature__content { position: relative; z-index: 1; width: min(520px,55%); padding: 70px 62px; color: #fff; }
.cg-truck-feature .cg-kicker { color: #f0b450; }
.cg-truck-feature h2 { color: #fff; }
.cg-truck-feature__content > p { max-width: 460px; color: #d4e0dc; font-size: 15px; line-height: 1.65; }
.cg-truck-facts { display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0 32px; }
.cg-truck-facts span { display: grid; gap: 3px; color: #b9cbc5; font-size: 10px; }
.cg-truck-facts b { color: #fff; font-size: 15px; }
.cg-truck-feature__content > div:last-child { display: flex; align-items: center; gap: 20px; }
.cg-truck-feature .cg-collection-link { color: #fff; }

/* Calm, product-led dashboards */
.caygo-site .cg-dashboard { grid-template-columns: 248px minmax(0,1fr); background: #f6f5f1; }
.caygo-site .cg-dashboard__side { padding: 26px 18px 20px; border-right: 1px solid #dde4df; background: #fffefb; color: var(--caygo-ink); }
.caygo-site .cg-dashboard__side .cg-brand__logo { width: 132px; height: 44px; margin: 0 10px 26px; }
.caygo-site .cg-dashboard__user { display: grid; grid-template-columns: 42px 1fr; gap: 1px 11px; align-items: center; padding: 16px 12px; border-color: #dde5e0; border-radius: 10px; background: #f6f7f3; }
.caygo-site .cg-dashboard__user .cg-avatar { grid-row: 1/3; width: 42px; height: 42px; background: #e7f0eb; color: var(--caygo-forest); }
.caygo-site .cg-dashboard__user b { align-self: end; color: var(--caygo-ink); font-size: 13px; font-weight: 600; }
.caygo-site .cg-dashboard__user span { align-self: start; color: #738383; font-size: 9px; }
.caygo-site .cg-dashboard__side nav { gap: 3px; margin: 22px 0 auto; }
.caygo-site .cg-dashboard__side nav a { position: relative; padding: 10px 12px; border-radius: 7px; color: #536968; font-size: 11px; font-weight: 500; }
.caygo-site .cg-dashboard__side nav a.is-active,.caygo-site .cg-dashboard__side nav a:hover { background: #edf3ef; color: var(--caygo-forest); }
.caygo-site .cg-dashboard__side nav a.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--caygo-forest); }
.caygo-site .cg-dashboard__side nav i { background: var(--caygo-coral); color: #fff; font-weight: 600; }
.caygo-site .cg-dashboard__side > a { color: #718381; font-size: 10px; font-weight: 500; }
.caygo-site .cg-dashboard__main { max-width: 1500px; width: 100%; padding: 38px 42px 55px; }
.caygo-site .cg-dashboard__top span { color: #6c7e7e; font-size: 11px; }
.caygo-site .cg-dashboard__top h1 { margin-top: 6px; color: var(--caygo-ink); font-size: 32px; font-weight: 600; letter-spacing: -.035em; }
.caygo-site .cg-alert { margin: 24px 0; padding: 15px 18px; border: 1px solid #d8e5de; border-left: 3px solid var(--caygo-forest); border-radius: 9px; background: #f9fbf8; }
.caygo-site .cg-alert > span { width: 31px; height: 31px; background: var(--cg-green-soft); }
.caygo-site .cg-alert b { color: var(--caygo-ink); font-size: 12px; }
.caygo-site .cg-alert a { font-weight: 600; }
.caygo-site .cg-stat-grid { gap: 14px; }
.caygo-site .cg-stat-grid article { position: relative; overflow: hidden; padding: 19px 20px; border-color: #dfe5e1; border-radius: 10px; background: #fffefb; box-shadow: 0 3px 12px rgba(27,55,51,.035); }
.caygo-site .cg-stat-grid article::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: #c9d9d2; }
.caygo-site .cg-stat-grid article:nth-child(2)::before { background: #e2b261; }
.caygo-site .cg-stat-grid article:nth-child(3)::before { background: #7da99f; }
.caygo-site .cg-stat-grid article:nth-child(4)::before { background: #92a9b2; }
.caygo-site .cg-stat-grid span,.caygo-site .cg-stat-grid small { color: #718181; font-size: 10px; font-weight: 400; }
.caygo-site .cg-stat-grid b { margin: 8px 0 4px; color: var(--caygo-ink); font-size: 27px; font-weight: 600; letter-spacing: -.025em; }
.caygo-site .cg-dash-section,.caygo-site .cg-dashboard .cg-panel { border-color: #dfe5e1; border-radius: 11px; background: #fffefb; box-shadow: 0 3px 12px rgba(27,55,51,.035); }
.caygo-site .cg-dash-section h2 { color: var(--caygo-ink); font-weight: 600; }
.caygo-site .cg-dash-section a { font-weight: 600; }
.caygo-site .cg-management-table .cg-table-head { color: #758583; font-weight: 500; letter-spacing: .045em; }
.caygo-site .cg-management-table b { font-weight: 600; }
.caygo-site .cg-management-table button,.caygo-site .cg-approval-row button { font-weight: 500; }
.caygo-site .cg-status { font-weight: 600; letter-spacing: .035em; }
.caygo-site .cg-calendar-mini span { font-weight: 500; }
.caygo-site .cg-calendar-mini i.is-booked { font-weight: 600; }
.caygo-site .cg-theme-toggle { border-color: #d9e1dc; background: #fffefb; color: var(--caygo-forest); }

.caygo-site[data-cg-theme="grey"] { --caygo-white: #f2f1ed; --caygo-mist: #e9ece7; background: #f2f1ed; }
.caygo-site[data-cg-theme="grey"] .cg-header,.caygo-site[data-cg-theme="grey"] .cg-nav { background: rgba(242,241,237,.97); }
.caygo-site[data-cg-theme="dark"] { --caygo-white: #17241f; --caygo-mist: #1d2d27; --caygo-line: #35483f; --caygo-ink: #f1f4ef; --cg-text-muted: #b5c1bc; --cg-surface-warm: #17241f; background: #17241f; color: #e8eee9; }
.caygo-site[data-cg-theme="dark"] .cg-header,.caygo-site[data-cg-theme="dark"] .cg-nav { border-color: #35483f; background: rgba(23,36,31,.97); }
.caygo-site[data-cg-theme="dark"] input,.caygo-site[data-cg-theme="dark"] select,.caygo-site[data-cg-theme="dark"] textarea { border-color: #52675e; background: #1d2b27; color: #f1f4ef; }
.caygo-site[data-cg-theme="dark"] input::placeholder,.caygo-site[data-cg-theme="dark"] textarea::placeholder { color: #aebcb6; }
.caygo-site[data-cg-theme="dark"] .cg-dashboard { background: #14211d; }
.caygo-site[data-cg-theme="dark"] .cg-dashboard__side,
.caygo-site[data-cg-theme="dark"] .cg-stat-grid article,
.caygo-site[data-cg-theme="dark"] .cg-dash-section,
.caygo-site[data-cg-theme="dark"] .cg-dashboard .cg-panel,
.caygo-site[data-cg-theme="dark"] .cg-alert,
.caygo-site[data-cg-theme="dark"] .cg-collection-card { border-color: #35483f; background: #1d2b27; }
.caygo-site[data-cg-theme="dark"] .cg-dashboard__user,
.caygo-site[data-cg-theme="dark"] .cg-dashboard__side nav a.is-active,
.caygo-site[data-cg-theme="dark"] .cg-dashboard__side nav a:hover { background: #263a32; }
.caygo-site[data-cg-theme="dark"] .cg-dashboard__user b,
.caygo-site[data-cg-theme="dark"] .cg-dashboard__top h1,
.caygo-site[data-cg-theme="dark"] .cg-stat-grid b,
.caygo-site[data-cg-theme="dark"] .cg-dash-section h2,
.caygo-site[data-cg-theme="dark"] .cg-management-table b,
.caygo-site[data-cg-theme="dark"] .cg-collection-card__content h3 { color: #f1f4ef; }
.caygo-site[data-cg-theme="dark"] .cg-dashboard__side nav a { color: #b8c6c0; }
.caygo-site[data-cg-theme="dark"] .cg-theme-toggle { border-color: #3b5047; background: #1d2b27; color: #e8eee9; }
.caygo-site[data-cg-theme="dark"] .cg-brand { padding: 3px 8px; border-radius: 9px; background: rgba(255,254,251,.96); }
.caygo-site[data-cg-theme="dark"] .cg-nav__host { border-color: var(--cg-dark-link); color: var(--cg-dark-link); }
.caygo-site[data-cg-theme="dark"] .cg-nav__host:hover { background: var(--cg-dark-link); color: #10271e; }
.caygo-site[data-cg-theme="dark"] .cg-section .cg-eyebrow,
.caygo-site[data-cg-theme="dark"] .cg-auth__box a,
.caygo-site[data-cg-theme="dark"] .cg-dashboard__side nav a.is-active,
.caygo-site[data-cg-theme="dark"] .cg-dashboard__side nav a:hover { color: var(--cg-dark-link); }
.caygo-site[data-cg-theme="dark"] .cg-checkbox { color: #bdcbc5 !important; }
.caygo-site[data-cg-theme="dark"] .cg-form-message--success { color: #81e6ad; }
.caygo-site[data-cg-theme="dark"] .cg-form-message--error { color: #ffaaa2; }
.caygo-site[data-cg-theme="dark"] .cg-form-message--info { color: #c3ced7; }

/* These editorial heroes intentionally remain light islands in dark mode. */
html[data-cg-theme="dark"] .caygo-site .cg-home-hero,
html[data-cg-theme="dark"] .caygo-site .cg-discovery-hero,
html[data-cg-theme="dark"] .caygo-site .cg-subhero,
html[data-cg-theme="dark"] .caygo-site .cg-flow-hero,
html[data-cg-theme="dark"] .caygo-site .cg-host-hero { color: #173a47; color-scheme: light; }
html[data-cg-theme="dark"] .caygo-site .cg-home-hero .cg-eyebrow,
html[data-cg-theme="dark"] .caygo-site .cg-subhero .cg-eyebrow,
html[data-cg-theme="dark"] .caygo-site .cg-flow-hero .cg-eyebrow,
html[data-cg-theme="dark"] .caygo-site .cg-host-hero .cg-eyebrow { color: #0b5b43; }
html[data-cg-theme="dark"] .caygo-site .cg-flow-hero h1 { color: #173a47; }
html[data-cg-theme="dark"] .caygo-site .cg-home-hero__copy > p { color: #506b75; }
html[data-cg-theme="dark"] .caygo-site .cg-subhero p,
html[data-cg-theme="dark"] .caygo-site .cg-host-hero p { color: #4f696f; }
html[data-cg-theme="dark"] .caygo-site .cg-home-hero .cg-market-search input,
html[data-cg-theme="dark"] .caygo-site .cg-home-hero .cg-market-search select,
html[data-cg-theme="dark"] .caygo-site .cg-discovery-hero .cg-market-search input,
html[data-cg-theme="dark"] .caygo-site .cg-discovery-hero .cg-market-search select,
html[data-cg-theme="dark"] .caygo-site .cg-subhero .cg-market-search input,
html[data-cg-theme="dark"] .caygo-site .cg-subhero .cg-market-search select { border: 0; background: transparent; color: #173a47; }
.caygo-site[data-cg-theme="dark"] .cg-discovery-hero h1 { color: #10271e; }
.caygo-site[data-cg-theme="dark"] .cg-discovery-hero__title > p { color: #3d5b51; }
.caygo-site[data-cg-theme="dark"] .cg-discovery-hero .cg-eyebrow { color: #17694f; }
.caygo-site[data-cg-theme="dark"] .cg-discovery { --caygo-white: #fff; --caygo-ink: #10271e; --caygo-line: #d8e3df; color: #10271e; }
.caygo-site[data-cg-theme="dark"] .cg-discovery input,
.caygo-site[data-cg-theme="dark"] .cg-discovery select { border-color: #d7e3df; background: #fbfcfc; color: #10271e; }

@media (max-width: 980px) {
	.cg-collection-split { grid-template-columns: 1fr; gap: 30px; }
	.cg-truck-feature__content { width: 70%; }
	.caygo-site .cg-dashboard { grid-template-columns: 1fr; }
	.caygo-site .cg-dashboard__side { position: static; height: auto; border-right: 0; border-bottom: 1px solid #dde4df; }
}
@media (max-width: 760px) {
	.caygo-site .cg-section,.cg-collection { padding: 66px 0; }
	.cg-collection__heading { align-items: flex-start; flex-direction: column; gap: 14px; }
	.cg-collection-grid--three,.cg-collection-grid--two { grid-template-columns: 1fr 1fr; }
	.cg-collection-grid--three .cg-collection-card:last-child { grid-column: 1/-1; }
	.cg-truck-feature { min-height: 560px; }
	.cg-truck-feature::after { background: linear-gradient(0deg,rgba(8,35,29,.96) 0%,rgba(8,35,29,.77) 57%,rgba(8,35,29,.12) 100%); }
	.cg-truck-feature__content { position: absolute; right: 0; bottom: 0; left: 0; width: 100%; padding: 34px 28px; }
	.caygo-site .cg-dashboard__main { padding: 28px 18px 45px; }
}
@media (max-width: 540px) {
	.cg-home-hero .cg-market-search.cg-market-search--home { grid-template-columns: 1fr; }
	.cg-home-hero .cg-market-search.cg-market-search--home button { grid-column: auto; }
	.cg-collection-grid--three,.cg-collection-grid--two { grid-template-columns: 1fr; }
	.cg-collection-grid--three .cg-collection-card:last-child { grid-column: auto; }
	.cg-collection-card__media,.cg-collection-card--compact .cg-collection-card__media { height: 225px; }
	.cg-collection-card__content { align-items: flex-start; flex-direction: column; }
	.cg-collection-card__price { width: 100%; grid-template-columns: 1fr auto; align-items: end; text-align: left; }
	.cg-truck-feature { min-height: 610px; }
	.cg-truck-feature > img { object-position: 65% center; }
	.cg-truck-feature__content > div:last-child { align-items: flex-start; flex-direction: column; }
	.caygo-site .cg-dashboard__top h1 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
	.caygo-site *, .caygo-site *::before, .caygo-site *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
