/* KnowledgeGroup rebuild. Their leaf #0280B2, solved to AA for text. */
:root {
  --leaf: #0280B2;
  --accent: #0172A0;          /* 5.3:1 on white */
  --accent-strong: #015579;
  --ink: #15212B;
  --ink-2: #364653;
  --muted: #56677A;
  --paper: #FFFFFF;
  --surface: #F1F6F9;
  --surface-2: #E3EEF4;
  --rule: #D3DFE6;
  --kd-bg: #0E0B16;
  --kd-panel: #19142A;
  --kd-panel-2: #221B37;
  --kd-line: #382D52;
  --kd-text: #F3F0FA;
  --kd-muted: #B7AECB;
  --kd-violet: #B69CFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 33, 43, .06), 0 8px 24px rgba(21, 33, 43, .06);
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 18px; line-height: 1.55; }
a { color: var(--accent); }
a, button, [role="button"], label, summary, select { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand b { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.brand small { display: block; font-size: 13px; color: var(--muted); margin-top: -4px; letter-spacing: .01em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-kd { background: var(--kd-violet); color: #140E22; }
.btn-kd:hover { background: #C9B6FF; }
@media (max-width: 900px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #EAF4FA 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-weight: 700; color: var(--accent); font-size: 16px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 700; margin: 12px 0 18px; }
.hero h1 span { color: var(--leaf); }
.hero .lede { font-size: 21px; color: var(--ink-2); max-width: 34ch; }
.search { margin-top: 30px; position: relative; max-width: 560px; }
.search input { width: 100%; font: inherit; font-size: 19px; padding: 18px 22px 18px 54px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; box-shadow: var(--shadow); outline: none; }
.search input:focus { border-color: var(--leaf); }
.search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: none; z-index: 5; }
.results.open { display: block; }
.results a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--surface-2); }
.results a:first-child { border-top: 0; }
.results a:hover, .results a.on { background: var(--surface); }
.results em { font-style: normal; color: var(--muted); font-size: 15px; white-space: nowrap; }
.proof { display: flex; gap: 32px; margin-top: 34px; flex-wrap: wrap; }
.proof b { display: block; font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; }
.proof span { color: var(--muted); font-size: 16px; }

.kdcard { background: var(--kd-bg); color: var(--kd-text); border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(20, 12, 40, .28); }
.kdcard img { aspect-ratio: 2 / 1; object-fit: cover; object-position: right center; width: 100%; }
.kdcard .body { padding: 22px 24px 24px; }
.kdcard .when { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.chip { border: 1px solid var(--kd-line); border-radius: 999px; padding: 5px 13px; font-size: 15px; color: var(--kd-muted); }
.chip.next { border-color: var(--kd-violet); color: var(--kd-text); }
.kdcard h3 { font-size: 24px; }
.kdcard .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kdcard .price { color: var(--kd-muted); font-size: 16px; }
.kdcard .price b { color: var(--kd-text); font-size: 20px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

/* Sections */
section { padding: 80px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.sec-head p { color: var(--muted); max-width: 46ch; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--rule); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat:hover { border-color: var(--leaf); transform: translateY(-2px); box-shadow: var(--shadow); }
.mono { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #fff; background: var(--accent); }
.cat.ai .mono { background: linear-gradient(135deg, #6D4AFF, #0280B2); }
.cat.adobe .mono { background: #3A4A58; }
.cat small { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }
.cat.hide { display: none; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { background: var(--surface); border-radius: 18px; padding: 28px; }
.way h3 { font-size: 23px; margin: 14px 0 8px; }
.way p { color: var(--ink-2); }
.way .ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--leaf); }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }

/* KnowledgeDay band */
.kd { background: var(--kd-bg); color: var(--kd-text); position: relative; overflow: hidden; }
.kd::before { content: ""; position: absolute; inset: auto -10% -40% 30%; height: 420px; background: radial-gradient(closest-side, rgba(150, 110, 255, .22), transparent); pointer-events: none; }
.kd .sec-head p { color: var(--kd-muted); }
.kd .eyebrow { color: var(--kd-violet); }
.dots { display: inline-flex; gap: 5px; margin-right: 10px; vertical-align: middle; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.track { background: var(--kd-panel); border: 1px solid var(--kd-line); border-radius: 18px; padding: 22px; }
.track .tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--kd-muted); }
.track .tag i { width: 10px; height: 10px; border-radius: 50%; }
.track h3 { font-size: 22px; margin: 10px 0 6px; }
.track p { color: var(--kd-muted); font-size: 16px; }
.track.new { background: linear-gradient(160deg, #241A3E, #19142A); border-color: var(--kd-violet); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--kd-violet); color: #140E22; margin-left: 6px; }
.kd .cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 34px; position: relative; }
.kd .cta span { color: var(--kd-muted); }
@media (max-width: 900px) { .tracks { grid-template-columns: 1fr; } }

/* Articles */
.articles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 18px; text-decoration: none; color: var(--ink); }
.article:hover { border-color: var(--leaf); }
.article img, .article .art { width: 180px; height: 180px; border-radius: 12px; object-fit: cover; }
.article .art { background: linear-gradient(135deg, #0280B2, #0E3550); color: #fff; display: grid; place-items: center; font-size: 58px; font-weight: 700; }
.article h3 { font-size: 23px; margin-bottom: 8px; }
.article p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; } .article { grid-template-columns: 1fr; } .article img, .article .art { width: 100%; height: 200px; } }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--surface); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote p { font-size: 19px; }
.quote footer { color: var(--muted); font-size: 16px; }
.quote footer b { color: var(--ink); display: block; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Contact + footer */
.contact { background: var(--surface); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.contact .lines { display: grid; gap: 10px; margin-top: 22px; font-size: 19px; }
.contact .lines a { color: var(--ink); font-weight: 600; text-decoration: none; }
form.card { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
form.card label { font-weight: 600; font-size: 16px; display: grid; gap: 6px; }
form.card input, form.card textarea, form.card select { font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 10px; outline: none; }
form.card input:focus, form.card textarea:focus { border-color: var(--leaf); }
.sent { display: none; padding: 16px; border-radius: 10px; background: #E5F4EC; color: #145A32; font-weight: 600; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }
.foot { padding: 36px 0; color: var(--muted); font-size: 16px; }
.foot .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.made { background: var(--ink); color: #D9E4EB; font-size: 15px; text-align: center; padding: 10px 16px; }
.made a { color: #fff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
