/* By Trends LTD — one-page site. No external requests: system fonts only. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f9;
  --surface: #ffffff;
  --text: #0e1525;
  --muted: #566074;
  --line: #e3e6ee;
  --primary: #0e1525;
  --primary-text: #ffffff;
  --accent: #f2a93b;
  --accent-ink: #1a1203;
  --link: #3156d3;
  --ink: #0b1120;           /* hero, support band, footer: always dark */
  --ink-2: #131b2e;
  --ink-text: #e8ecf5;
  --ink-muted: #9aa5bd;
  --ink-line: rgba(255, 255, 255, .1);
  --shadow: 0 1px 2px rgba(14, 21, 37, .06), 0 12px 32px -12px rgba(14, 21, 37, .18);
  --shadow-lg: 0 30px 60px -20px rgba(5, 10, 25, .55);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1120;
  --bg-alt: #0f1628;
  --surface: #141c30;
  --text: #e8ecf5;
  --muted: #9aa5bd;
  --line: #222c44;
  --primary: #e8ecf5;
  --primary-text: #0b1120;
  --link: #8fa8ff;
  --ink: #070b16;
  --ink-2: #0e1526;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1120;
    --bg-alt: #0f1628;
    --surface: #141c30;
    --text: #e8ecf5;
    --muted: #9aa5bd;
    --line: #222c44;
    --primary: #e8ecf5;
    --primary-text: #0b1120;
    --link: #8fa8ff;
    --ink: #070b16;
    --ink-2: #0e1526;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* Product colours */
.p-candivo { --p: #0e9aa6; }
.p-taxicrm { --p: #f5c518; }
.p-taxi-exam { --p: #e3a008; }
.p-vehxia { --p: #ed8b1f; }
.p-thetheme { --p: #7c5cff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.022em; margin: 0; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px -10px rgba(242, 169, 59, .8); }
.btn-accent:hover { background: #f6b955; }
.btn-primary { background: var(--primary); color: var(--primary-text); }
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--muted); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .22); color: var(--ink-text); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--ink-text);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark rect { fill: var(--accent); stroke: none; }
.brand-mark path { stroke: var(--ink); stroke-width: 2.8; }
.brand-mark circle { fill: var(--ink); stroke: none; }
.brand-name { font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.brand-name span { color: var(--ink-muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav a:not(.btn):hover, .nav a.is-current { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cta { margin-left: 8px; }
.header-tools { display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--ink-line); background: transparent; color: var(--ink-text); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); }
.icon-btn svg { width: 19px; height: 19px; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
.menu-btn { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: var(--ink-text); padding: 88px 0 56px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .18), rgba(80, 110, 255, .12) 40%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow-light { color: var(--ink-muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 169, 59, .2); }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); font-weight: 750; color: #fff; }
.hl { background: linear-gradient(92deg, #f2a93b, #ffd27a 60%, #f2a93b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 24px; font-size: 19px; color: var(--ink-muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-text); }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(242, 169, 59, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2a93b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* browser frames */
.frame { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #1b2338; color: #8b96b0; font-size: 12px; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4560; }
.frame-bar i:first-child { background: #ff6b5f; }
.frame-bar i:nth-child(2) { background: #ffbd2e; }
.frame-bar i:nth-child(3) { background: #29c94a; }
.frame-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, .06); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #eef0f5; }

.hero-visual { position: relative; aspect-ratio: 1 / .8; }
.hero-visual .frame { position: absolute; width: 74%; }
.frame-a { left: 0; top: 0; z-index: 1; transform: rotate(-2deg); }
.frame-a img { filter: brightness(.82); }
.frame-b { right: 0; top: 19%; z-index: 2; }
.frame-c { left: 8%; top: 47%; width: 58% !important; z-index: 3; transform: rotate(1.5deg); }

.figures { list-style: none; margin: 72px 0 0; padding: 28px 0 0; border-top: 1px solid var(--ink-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.figures strong { display: block; font: 750 40px/1 var(--display); color: #fff; letter-spacing: -.02em; }
.figures span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-muted); }

/* ---------------------------------------------------------------- product index */
.index-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
.index-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 22px 0; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--surface); transition: border-color .15s, transform .15s; }
.chip:hover { border-color: var(--p); transform: translateY(-1px); }
.sw { width: 10px; height: 10px; border-radius: 3px; background: var(--p); flex: none; }

/* ---------------------------------------------------------------- sections */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .company h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 720; }
.section-lead { margin-top: 18px; font-size: 19px; color: var(--muted); }

/* ---------------------------------------------------------------- products */
.product { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product-flip { grid-template-columns: 1.15fr 1fr; }
.product-flip .product-copy { order: 2; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tag { padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--p) 18%, transparent); color: var(--text); font-size: 11.5px; letter-spacing: .06em; }
.product h3 { font-size: clamp(34px, 3.6vw, 46px); font-weight: 750; margin-top: 14px; }
.tagline { margin-top: 10px; font-size: 20px; font-weight: 550; line-height: 1.4; }
.product-copy > p:not(.kicker):not(.tagline) { margin-top: 16px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--p) 22%, transparent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 7.5px; width: 5px; height: 9px; border: solid var(--text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.facts div { padding: 13px 16px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.product-media { position: relative; min-width: 0; }
.product-media::before { content: ""; position: absolute; inset: -8% -6% 8% -6%; z-index: -1; border-radius: 40px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--p) 26%, transparent), transparent 68%); filter: blur(10px); }
.viewer { border-color: var(--line); box-shadow: var(--shadow); }
.viewer-main { transition: opacity .25s ease; }
.viewer-main.is-swapping { opacity: .25; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.thumb { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 600 13.5px/1 var(--font); cursor: pointer; transition: all .15s; }
.thumb:hover { color: var(--text); border-color: var(--muted); }
.thumb.is-active { color: var(--text); border-color: var(--p); background: color-mix(in srgb, var(--p) 14%, var(--surface)); }

/* ---------------------------------------------------------------- model */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pillar-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(242, 169, 59, .16); color: #b8740b; }
:root[data-theme="dark"] .pillar-icon { color: var(--accent); }
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 21px; margin-top: 20px; }
.pillar p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.principle { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.principle strong { display: block; font-size: 16px; }
.principle span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- company */
.company { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.company-copy > p { margin-top: 20px; font-size: 18px; color: var(--muted); }
blockquote { margin: 32px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: 500 21px/1.5 var(--display); letter-spacing: -.01em; }
cite { display: block; margin-top: 12px; font: 500 14.5px/1.4 var(--font); color: var(--muted); font-style: normal; }
.company-card { margin: 0; padding: 8px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.company-card div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; }
.company-card div + div { border-top: 1px solid var(--line); }
.company-card dt { color: var(--muted); font-size: 15px; }
.company-card dd { margin: 0; font-weight: 600; text-align: right; font-size: 15px; }

/* ---------------------------------------------------------------- support */
.support { position: relative; background: var(--ink); color: var(--ink-text); padding: 96px 0; overflow: hidden; isolation: isolate; }
.support::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -200px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .2), transparent 65%); }
.support-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.support h2 { font-size: clamp(30px, 3.6vw, 44px); color: #fff; font-weight: 720; }
.support-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-muted); font-size: 18px; }
.donate-card { padding: 32px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: var(--shadow-lg); }
.donate-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.donate-handle { margin: 8px 0 22px; font: 700 28px/1.2 var(--display); color: #fff; }
.donate-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--ink-muted); }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { display: block; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card strong { display: block; font-size: 18px; }
.contact-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
.contact-mail { margin-top: 36px; text-align: center; font: 650 22px/1.3 var(--display); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--ink-muted); padding-top: 64px; border-top: 1px solid var(--ink-line); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 360px; font-size: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links p { color: #fff; font-weight: 650; font-size: 14px; margin-bottom: 4px; }
.footer-links a { color: var(--ink-muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid var(--ink-line); font-size: 13.5px; }

.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound h1 { font-size: clamp(36px, 5vw, 60px); color: #fff; font-weight: 750; }

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .chip, .contact-card { transition: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-grid, .product, .company, .support-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 640px; width: 100%; }
  .product { gap: 36px; }
  .product-flip .product-copy { order: 0; }
  .product-media { order: -1; }
  .pillars { grid-template-columns: 1fr; }
  .company, .support-inner { gap: 40px; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 18px; background: var(--ink); border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
  .header-tools { margin-left: auto; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .principles, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .principles .principle { padding-right: 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 16px; }
  .hero { padding: 56px 0 44px; }
  .hero .lead { font-size: 17px; }
  .hero-visual .frame { width: 86%; }
  .frame-b { top: 18%; }
  .frame-c { top: 42%; width: 70% !important; }
  .frame-bar { height: 24px; font-size: 10px; }
  .frame-bar span { display: none; }
  .figures { margin-top: 48px; }
  .figures strong { font-size: 32px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-actions .btn { width: 100%; }
  .support { padding: 72px 0; }
  .donate-card { padding: 24px; }
  .contact-mail { font-size: 19px; }
}
