/* jonk.co.uk - JONK Cloud Apps (2 Dec 2026, build_jonk2026.py). Calm, light and contemporary: navy ink, one indigo accent with a cyan
   companion, generous space; Instrument Sans throughout, DM Mono for small labels. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --ink: #0f172a; --body: #334155; --soft: #64748b; --line: #e2e8f0; --tint: #f6f8fc; --paper: #fff;
  --accent: #4f46e5; --accent-2: #0891b2; --accent-soft: #eef0ff; --navy: #0b1224;
  --grad: linear-gradient(100deg, #4f46e5 0%, #7c3aed 45%, #0891b2 100%);
  --radius: 16px; --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -24px rgba(15, 23, 42, .28);
  --sans: "Instrument Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif; --mono: "DM Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: #fff; padding: 8px 12px; }
.skip:focus { left: 16px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.012em; margin-bottom: .4em; }
p { margin: 0 0 1em; }
.label { display: inline-block; font: 500 12.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(226, 232, 240, .8); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font: 650 19px/1 var(--sans); letter-spacing: -.01em; }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font: 700 19px/1 var(--sans); box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .6); }
.brand small { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--soft); margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--body); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; font-size: 14.5px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15.5px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--ink); color: #fff; } .btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(15, 23, 42, .6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { color: var(--ink); border-color: #cbd5e1; }
.btn-light { background: #fff; color: var(--ink); } .btn-light:hover { color: var(--ink); transform: translateY(-1px); }

/* hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 85% -10%, rgba(124, 58, 237, .10), transparent 60%),
  radial-gradient(700px 420px at 100% 60%, rgba(8, 145, 178, .10), transparent 60%),
  radial-gradient(800px 500px at -10% 10%, rgba(79, 70, 229, .07), transparent 60%), #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 34em; color: var(--body); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font: 400 13px/1.4 var(--mono); color: var(--soft); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* hero illustration: an application window with an AI answer drawn from the organisation's own data */
.app { position: relative; overflow: visible !important; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .45), 0 2px 6px rgba(15, 23, 42, .05); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.app-bar span { margin-left: 10px; font: 500 12px/1 var(--mono); color: var(--soft); }
.app-body { padding: 18px; display: grid; gap: 12px; }
.ask { justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-size: 14.5px; line-height: 1.45; }
.answer { padding: 14px; border-radius: 14px 14px 14px 4px; background: var(--accent-soft); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.answer b { font-weight: 650; }
.answer table { width: 100%; margin-top: 10px; border-collapse: collapse; font: 400 12.5px/1.3 var(--mono); background: #fff; border-radius: 8px; overflow: hidden; }
.answer th, .answer td { padding: 7px 9px; text-align: left; border-bottom: 1px solid #eef0f5; }
.answer th { color: var(--soft); font-weight: 500; }
.answer td:last-child, .answer th:last-child { text-align: right; }
.answer .src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.answer .src span { padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid #dfe3fb; font: 400 11.5px/1.3 var(--mono); color: var(--accent); }
.app-float { position: absolute; right: 22px; bottom: -18px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font: 500 12.5px/1.2 var(--mono); color: var(--ink); }
.app-float i { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }

/* sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.tint { background: var(--tint); }
.head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.head p { font-size: 1.08rem; color: var(--body); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { margin: 0; font-size: 15.5px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-soft); color: var(--accent); }
.ico svg { width: 22px; height: 22px; }
.card .tech { display: block; margin-top: 14px; font: 400 12px/1.4 var(--mono); color: var(--soft); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; margin: 0; padding: 0; list-style: none; }
.benefits li { padding-top: 18px; border-top: 2px solid var(--ink); }
.benefits h3 { font-size: 1.1rem; }
.benefits p { margin: 0; font-size: 15.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; margin-bottom: 14px; font: 500 13px/1 var(--mono); color: var(--accent); }
.steps p { margin: 0; font-size: 15.5px; }

/* experience */
.exp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.figures div { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.figures strong { display: block; font: 650 30px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.figures span { font-size: 14px; color: var(--soft); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.logos li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.logos img { width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s ease, opacity .2s ease; }
.logos li:hover img { filter: none; opacity: 1; }

/* call to action */
.cta { background: var(--navy); color: #c8cfe3; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -320px; background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 65%); pointer-events: none; }
.cta .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 64px 0; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; }

/* footer */
.foot { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); color: #8e97b3; font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 30px; padding: 46px 0 30px; }
.foot .brand { color: #fff; } .foot .brand small { color: #8e97b3; }
.foot h2 { color: #fff; font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 14px; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot a { color: #c8cfe3; text-decoration: none; } .foot a:hover { color: #fff; }
.foot .legal { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; line-height: 1.7; color: #7c86a3; }

/* contact */
.page-head { padding: clamp(48px, 7vw, 84px) 0 0; }
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: start; }
.cf { display: grid; gap: 16px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: grid; gap: 6px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.cf-opt { color: var(--soft); font-weight: 400; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 400 15.5px/1.4 var(--sans); color: var(--ink); background: #fff; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.cf-trap { position: absolute; left: -9999px; }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cf-actions .btn { border: 0; }
.cf-note { margin: 0; font-size: 13.5px; color: var(--soft); flex: 1; min-width: 220px; }
.cf-msg { margin: 0; font-size: 14px; color: #b42318; } .cf-msg:empty { display: none; }
.cf-dlg { border: 0; border-radius: 18px; padding: 28px; width: min(440px, 92vw); box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .5); }
.cf-dlg::backdrop { background: rgba(15, 23, 42, .45); }
.cf-otp { display: flex; gap: 8px; border: 0; padding: 0; margin: 14px 0; }
.cf-otp input { width: 46px; height: 54px; text-align: center; font: 600 22px/1 var(--mono); border: 1px solid var(--line); border-radius: 10px; }
.cf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cf-dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cf-dlg .btn-dark { background: var(--ink); color: #fff; } .btn-ghost-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-dark { background: var(--ink); color: #fff; }
.side h3 { margin-top: 0; }
.side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.side li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.side svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

@media (max-width: 920px) {
  .hero .wrap, .exp, .contact { grid-template-columns: 1fr; }
  .grid-3, .benefits, .steps { grid-template-columns: 1fr 1fr; }
  .app-float { right: 10px; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .grid-2, .grid-3, .benefits, .steps, .cf-row, .figures { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .logos li { padding: 4px; }
  .cta .wrap { padding: 48px 0; }
}
/* legal pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose address { font-size: 16px; }
.foot .legal a { color: #c8cfe3; }
/* contact: the founder */
.founder { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.founder img { width: 150px; height: 150px; flex: none; clip-path: circle(41% at 48.5% 51.5%); filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .22)); }
.founder h3 { margin: 0 0 4px; font-size: 1.12rem; } .founder h3 span { font-weight: 500; color: var(--soft); font-size: .82em; white-space: nowrap; }
.founder p { margin: 0; font: 400 13px/1.45 var(--mono); color: var(--soft); }
@media (max-width: 400px) { .founder img { width: 120px; height: 120px; } }
