/* jagtek.pl: one small stylesheet for every page. Every colour is a named variable below. */
:root {
  --white: #ffffff;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-500: #6b7280; --gray-600: #4b5563; --gray-700: #374151; --gray-800: #1f2937; --gray-900: #111827;
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-200: #bfdbfe; --blue-500: #3b82f6; --blue-600: #2563eb; --blue-700: #1d4ed8; --blue-800: #1e40af; --blue-900: #1e3a8a;
  --bg: var(--white); --panel: var(--gray-50); --ink: var(--gray-900); --text: var(--gray-700); --muted: var(--gray-500); --line: var(--gray-200);
  --accent: var(--blue-600); --accent-ink: var(--blue-700); --accent-soft: var(--blue-50); --accent-line: var(--blue-200);
  --hero-from: var(--blue-50); --hero-to: var(--white);
  --todo-bg: var(--blue-50); --todo-ink: var(--blue-800); --todo-line: var(--blue-500);
  --wallhero: #6c4cff; --quorvia: #0b5cad; --quorvia-green: #66d19e; /* each app's own colours, from its own website */
  --shadow: rgba(17, 24, 39, .12);
  --radius: 18px; --wide: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--gray-900); --panel: var(--gray-800); --ink: var(--gray-50); --text: var(--gray-200); --muted: var(--gray-300); --line: var(--gray-700);
    --accent: var(--blue-500); --accent-ink: var(--blue-200); --accent-soft: var(--gray-800); --accent-line: var(--gray-700);
    --hero-from: var(--gray-800); --hero-to: var(--gray-900);
    --todo-bg: var(--gray-800); --todo-ink: var(--blue-200); --todo-line: var(--blue-500);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }

/* the top bar */
.top { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { margin-left: auto; display: flex; gap: 20px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--accent-ink); }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
@media (max-width: 380px) { .top .wrap { gap: 10px; } .brand { font-size: 18px; gap: 8px; } .brand svg { width: 30px; height: 30px; } .nav { gap: 12px; } .nav a { font-size: 14px; } }

/* the marks: Jagtek's own, and each app's in its own colour */
.logo-tile { fill: var(--accent); }
.logo-j { fill: none; stroke: var(--white); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.logo-dot { fill: var(--blue-200); }
.mark-wallhero .mark-tile { fill: var(--wallhero); }
.mark-quorvia .mark-tile { fill: var(--quorvia); }
.mark-letter { fill: var(--white); font: 800 60px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.mark-ring { fill: none; stroke: var(--white); stroke-width: 12; }
.mark-tail { stroke: var(--quorvia-green); stroke-width: 12; stroke-linecap: round; }

/* the first screen */
.hero { background: linear-gradient(180deg, var(--hero-from), var(--hero-to)); padding: 72px 0 56px; }
.hero p.lead { font-size: 20px; max-width: 640px; color: var(--text); }
.btn { display: inline-block; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; }
.btn:hover { background: var(--accent-ink); color: var(--white); }

section { padding: 56px 0; scroll-margin-top: 64px; } /* (a menu tap lands below the top bar) */
section.alt { background: var(--panel); }

/* the apps */
.app { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.apps { display: grid; gap: 18px; }
.app img, .app .mark { display: block; width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 6px 20px var(--shadow); }
.app .where { color: var(--muted); font-size: 15px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 15px; }
@media (max-width: 600px) { .app { grid-template-columns: 1fr; gap: 16px; padding: 22px; } .app img, .app .mark { width: 72px; height: 72px; border-radius: 18px; } }

/* what we do for companies */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { display: block; width: 30px; height: 30px; margin-bottom: 12px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* contact and the company's details */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 420px) { dl.facts { grid-template-columns: minmax(0, 1fr); gap: 0; } dl.facts dt { margin-top: 10px; font-size: 14px; } }

.address { font-style: normal; margin-bottom: 1em; }

/* something still to check before the site goes live (check.sh refuses while one is left) */
.todo { background: var(--todo-bg); color: var(--todo-ink); border: 1.5px dashed var(--todo-line); border-radius: 8px; padding: 0 6px; font-weight: 600; }

/* the pages of words (privacy, support) */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h2 { font-size: 22px; margin-top: 1.6em; }
.doc li { margin-bottom: .4em; }
.doc .updated { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); }
