/* TradeCRM local SEO sites. Tokens copied from the TradeCRM app's globals.css so the two match. */
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.205 0.02 50);
  --primary: oklch(0.646 0.196 41);
  --primary-foreground: oklch(0.99 0.01 70);
  --secondary: oklch(0.97 0.025 60);
  --muted: oklch(0.97 0.015 55);
  --muted-foreground: oklch(0.5 0.02 50);
  --accent: oklch(0.93 0.05 55);
  --accent-foreground: oklch(0.35 0.09 40);
  --border: oklch(0.92 0.02 55);
  --destructive: oklch(0.577 0.245 27.325);
  --radius: 0.85rem;
  --trade-orange: #f4510b;
  --trade-dark: #21170f;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100dvh; }
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted-foreground); }

/* Header / footer */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: color-mix(in oklch, var(--background) 85%, transparent); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.logo { height: 2.5rem; width: auto; }
.nav { display: none; gap: 2rem; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); }
.nav a:hover, .nav a[aria-current] { color: var(--foreground); }
.nav-mobile { display: flex; justify-content: center; gap: 1.5rem; border-top: 1px solid var(--border); padding: .5rem 0; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); }
@media (min-width: 40rem) { .nav { display: flex; } .nav-mobile { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; border: 1px solid transparent; background: var(--primary); color: var(--primary-foreground); font: inherit; font-weight: 600; font-size: .875rem; padding: .55rem 1.1rem; cursor: pointer; transition: background .15s; }
.btn:hover { background: color-mix(in oklch, var(--primary) 85%, black); }
.btn-lg { height: 2.75rem; padding: 0 1.75rem; font-size: 1rem; box-shadow: 0 6px 16px -4px color-mix(in oklch, var(--primary) 45%, transparent); }
.btn-outline { background: #fff; color: var(--foreground); border-color: var(--border); box-shadow: none; }
.btn-outline:hover { background: var(--muted); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .3); }
.btn-white:hover { background: rgb(255 255 255 / .9); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.site-footer { border-top: 1px solid var(--border); background: var(--muted); }
.site-footer .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; font-size: .875rem; color: var(--muted-foreground); display: grid; gap: 2rem; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.foot-brand .logo { height: 2rem; }
.foot-cols { display: grid; gap: 1.5rem; }
.foot-cols h2 { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--foreground); margin-bottom: .6rem; }
.foot-cols ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.foot-cols a:hover { color: var(--foreground); }
.foot-small { border-top: 1px solid var(--border); padding-top: 1.25rem; font-size: .8rem; }
@media (min-width: 40rem) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(to bottom, color-mix(in oklch, var(--accent) 50%, transparent), var(--background) 70%); }
.orb { position: absolute; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.orb-1 { top: -6rem; right: -6rem; width: 24rem; height: 24rem; background: color-mix(in oklch, var(--primary) 15%, transparent); }
.orb-2 { top: 50%; left: -8rem; width: 20rem; height: 20rem; background: var(--accent); }
.hero .wrap { position: relative; display: grid; gap: 2.5rem; align-items: start; padding-top: 2rem; padding-bottom: 3.5rem; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; padding-top: 3.5rem; padding-bottom: 5rem; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--primary); }
.badge { display: inline-flex; align-items: center; gap: .375rem; border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent); background: #fff; color: var(--primary); border-radius: 999px; padding: .375rem .875rem; font-size: .75rem; font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.hero h1 { margin-top: 1.1rem; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { margin-top: 1.1rem; max-width: 40rem; font-size: 1.15rem; color: var(--muted-foreground); text-wrap: pretty; }
.hero .btn-row { margin-top: 1.5rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .875rem; color: var(--muted-foreground); }
.ticks li { display: flex; align-items: center; gap: .375rem; }
.ticks .icon { color: var(--primary); stroke-width: 3; }

/* Lead form card. The form itself is TradeCRM's embeddable widget (widget.js); these rules skin it. */
.lead-card { position: relative; border: 1px solid color-mix(in oklch, var(--primary) 18%, var(--border)); border-radius: 1.5rem; background: #fff; padding: 1.5rem; box-shadow: 0 18px 44px -16px rgb(0 0 0 / .25); }
@media (min-width: 60rem) { .lead-card { position: sticky; top: 5.5rem; } }
.lead-card h2 { font-size: 1.35rem; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.lead-card .sub { margin-top: .35rem; font-size: .9rem; color: var(--muted-foreground); }
.lead-card .fine { margin-top: .9rem; font-size: .75rem; color: var(--muted-foreground); }
.lead-card .fine a { text-decoration: underline; text-underline-offset: 2px; }
#lead-form { margin-top: .5rem; min-height: 6rem; }
.lead-card .tradecrm-mw { max-width: none; font-family: var(--font-sans); }
.lead-card .tradecrm-mw label { font-size: .8rem; font-weight: 600; margin: .8rem 0 .3rem; color: var(--foreground); }
.lead-card .tradecrm-mw input, .lead-card .tradecrm-mw select, .lead-card .tradecrm-mw textarea { padding: .6rem .8rem; font-size: .95rem; border: 1px solid var(--border); border-radius: .7rem; background: #fff; color: var(--foreground); }
.lead-card .tradecrm-mw input:focus, .lead-card .tradecrm-mw select:focus, .lead-card .tradecrm-mw textarea:focus { outline: 2px solid color-mix(in oklch, var(--primary) 55%, transparent); outline-offset: 1px; border-color: var(--primary); }
.lead-card .tradecrm-mw textarea { min-height: 5.5rem; }
.lead-card .tradecrm-mw button { width: 100%; height: 2.9rem; margin-top: 1.1rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font-size: 1rem; font-weight: 600; box-shadow: 0 6px 16px -4px color-mix(in oklch, var(--primary) 45%, transparent); }
.lead-card .tradecrm-mw button:hover:not(:disabled) { background: color-mix(in oklch, var(--primary) 85%, black); }
.lead-card .tradecrm-mw-success { padding: 1.5rem .5rem; text-align: center; font-size: 1.05rem; font-weight: 600; }
.lead-card .tradecrm-mw-error { color: var(--destructive); }

/* Sections */
.section { padding: 4rem 0 0; }
.section-title { text-align: center; max-width: 40rem; margin: 0 auto; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.section-title h2, .h2 { margin-top: .5rem; font-size: clamp(1.6rem, 3.6vw, 2.25rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.section-title p { margin-top: .75rem; color: var(--muted-foreground); font-size: 1.05rem; text-wrap: pretty; }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.25rem; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: .6rem; border: 1px solid var(--border); border-radius: 1.25rem; background: #fff; padding: 1.4rem; box-shadow: 0 1px 3px rgb(0 0 0 / .06); }
a.card { transition: box-shadow .2s, transform .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgb(0 0 0 / .22); }
.tile { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .9rem; background: var(--accent); color: var(--primary); font-size: 1.35rem; }
.card h3 { font-size: 1.1rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.card p { color: var(--muted-foreground); font-size: .95rem; text-wrap: pretty; }
.card .more { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--primary); }
.card .more .icon { transition: transform .15s; }
a.card:hover .more .icon { transform: translateX(3px); }

/* Prose */
.two-col { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } .two-col.flip > :first-child { order: 2; } }
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 0; font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.prose h2:not(:first-child) { margin-top: 2.5rem; }
.prose p { font-size: 1.1rem; line-height: 1.75; color: color-mix(in oklch, var(--foreground) 85%, var(--background)); text-wrap: pretty; }
.prose strong { color: var(--foreground); }
.prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.photo { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .2); }
.photo img { width: 100%; height: auto; }
.reallife { border-left: 4px solid var(--primary); background: var(--muted); border-radius: 1rem; padding: 1.1rem 1.4rem; }
.reallife .k { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.reallife p { margin-top: .25rem; font-size: 1.05rem; color: var(--foreground); }

.steps { counter-reset: s; }
.step { position: relative; }
.step .num { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 99px; background: var(--primary); color: var(--primary-foreground); font-weight: 700; font-size: .9rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); padding: .3rem .85rem; font-size: .85rem; font-weight: 600; }
.chips.center { justify-content: center; }

/* FAQ */
.faq { max-width: 48rem; margin: 2rem auto 0; display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--border); border-radius: 1rem; background: #fff; padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.1rem; color: var(--muted-foreground); text-wrap: pretty; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 2rem; background: var(--primary); color: var(--primary-foreground); text-align: center; padding: 3.5rem 1.5rem; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 99px; background: rgb(255 255 255 / .1); }
.cta::before { width: 16rem; height: 16rem; top: -4rem; left: -4rem; }
.cta::after { width: 18rem; height: 18rem; bottom: -5rem; right: -2.5rem; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; margin: 0 auto; max-width: 34rem; }
.cta p { margin: 1rem auto 1.75rem; max-width: 30rem; font-size: 1.1rem; opacity: .92; }
.cta .btn-row { justify-content: center; }
.cta-wrap { margin: 4rem auto 4.5rem; }

.notfound { text-align: center; padding: 6rem 1rem; }
.notfound h1 { font-size: 3rem; font-weight: 800; }
.notfound p { margin: 1rem 0 1.5rem; color: var(--muted-foreground); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta, .lead-card { display: none; } }
.cta .btn-ghost-w { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .55); box-shadow: none; }
.cta .btn-ghost-w:hover { background: rgb(255 255 255 / .12); }
.hero .wrap > *, .two-col > * { min-width: 0; }
.nav-mobile { flex-wrap: wrap; gap: .25rem 1.25rem; padding-left: 1rem; padding-right: 1rem; }
html, body { overflow-x: clip; }
