/* 3tconsults.com: the sales and support site. Colours match the brochures (Scripts/Build-MarketingBundle.ps1). */
:root {
  --night: #060a17; --night2: #0e1530; --panel: #111a36; --line: #22305a;
  --ink: #e8ecf8; --ink2: #b8c2dc; --muted: #8a96b8;
  --trust: #0ea5b7; --trust-l: #5eead4;
  --truth: #d98a06; --truth-l: #fcd34d;
  --transform: #7c4ddb; --transform-l: #c4b5fd;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--trust-l); }
a:hover { color: #fff; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(6,10,23,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { width: 34px; height: 34px; }
.nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--ink2); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
       background: linear-gradient(135deg, var(--trust), var(--transform)); color: #fff; border: 0; }
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }

/* Sections */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 400px at 80% -10%, rgba(124,77,219,.35), transparent),
        radial-gradient(700px 360px at 0% 0%, rgba(14,165,183,.25), transparent); }
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.12; margin: 0 0 16px; max-width: 820px; }
.hero p { font-size: 19px; color: var(--ink2); max-width: 760px; margin: 0 0 26px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 8px; }
.lead { color: var(--ink2); max-width: 780px; margin: 0 0 28px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3, .card h4 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink2); font-size: 15px; }
.card .more { display: inline-block; margin-top: 10px; font-size: 14px; }
.pillar { border-top: 3px solid var(--c); }
.pillar h3 { color: var(--cl); }
.trust { --c: var(--trust); --cl: var(--trust-l); }
.truth { --c: var(--truth); --cl: var(--truth-l); }
.transform { --c: var(--transform); --cl: var(--transform-l); }
.group { margin: 30px 0 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 58px; position: relative; color: var(--ink2); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
                    background: var(--night2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--trust-l); font-weight: 700; }
.steps b { color: var(--ink); }
.contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.contact .card a { font-weight: 600; word-break: break-all; }
.note { font-size: 14px; color: var(--muted); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 34px; font-size: 24px; }
.prose li { margin: 4px 0; color: var(--ink2); }
.prose p { color: var(--ink2); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--ink2); }

@media (max-width: 640px) {
  .nav { margin-left: 0; width: 100%; padding-bottom: 10px; }
  .hero { padding: 48px 0 40px; }
}
section.first { border-top: 0; }
