/* landingpage.fyi. Tokens first; every band, card and tile reads from them. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-normal-400-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/inter-normal-400-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #111213; --ink-2: #1f2123; --text: #282a2d; --muted: #4f5359; --soft: #787e87;
  --line: #e3e5e9; --line-2: #d1d3d6; --ground: #ffffff; --tint: #f5f6f8; --tint-2: #eef1f5;
  --blue: #2563eb; --blue-2: #1d4ed8; --blue-hl: #3b82f6; --blue-soft: #eaf1ff; --blue-line: #c9dafd;
  --indigo: #6366f1; --green: #16a34a; --purple: #9333ea; --orange: #ea580c; --pink: #db2777; --teal: #0d9488;
  --radius: 16px; --radius-sm: 10px; --side: 248px; --wrap: 1160px;
  --shadow: 0 1px 2px rgba(17,18,19,.06), 0 8px 24px rgba(17,18,19,.06);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.screen-reader-text, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-hl); outline-offset: 2px; border-radius: 4px; }

/* Shell: the library sidebar and the content column. */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); background: #fbfbfc; display: flex; flex-direction: column; padding: 22px 16px 16px; }
.side__logo { display: block; padding: 4px 8px 18px; }
.side__logo img { height: 30px; width: auto; }
.side__group { margin: 6px 0 14px; }
.side__label { font: 600 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--soft); padding: 0 10px 8px; }
.side a.side__link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.side a.side__link:hover { background: var(--tint-2); color: var(--ink); }
.side a.side__link[aria-current="page"] { background: var(--ink); color: #fff; }
.side__dot { width: 18px; height: 18px; border-radius: 6px; flex: 0 0 18px; display: grid; place-items: center; font: 600 .62rem/1 var(--mono); color: #fff; }
.side__new { margin-left: auto; font: 600 .6rem/1 var(--mono); color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 3px 6px; }
.side__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; padding: 12px 32px; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar__links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; }
.topbar__links a:hover { color: var(--ink); }
.topbar__actions { margin-left: auto; display: flex; gap: 10px; }
.topbar .topbar__menu { display: none; }
.topbar__logo { display: none; }

/* Bands: every section its own ground, a ruled edge where two meet (section rhythm rule). */
.band { padding: 72px 0; border-top: 1px solid var(--line); position: relative; }
.band:first-child { border-top: 0; }
.band--white { background: var(--ground); }
.band--tint { background: var(--tint); }
.band--soft { background: linear-gradient(180deg, var(--blue-soft) 0%, #f4f8ff 100%); border-top-color: var(--blue-line); }
.band--ink { background: var(--ink); color: #c9ccd1; border-top-color: var(--ink); }
.band--ink h2, .band--ink h3, .band--ink h1 { color: #fff; }
.band--ink a { color: #9cc0ff; }
.band--brand { background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%); color: #dbe7ff; border-top-color: var(--blue); }
.band--brand h2, .band--brand h3 { color: #fff; }
.band--hero { padding: 64px 0 56px; background: radial-gradient(1200px 400px at 80% -10%, #e8f0ff 0%, rgba(232,240,255,0) 60%), var(--ground); }
.band--tight { padding: 44px 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 820px; }
.kicker { font: 600 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin: 0 0 14px; display: inline-flex; gap: 8px; align-items: center; }
.band--ink .kicker, .band--brand .kicker { color: #9cc0ff; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.band--ink .lede, .band--brand .lede { color: #c9d6f2; }
.hl { background: var(--blue-hl); color: #fff; padding: 0 .16em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.head > div { max-width: 46rem; }
.head p { margin: 0; color: var(--muted); }
.band--ink .head p { color: #a9aeb6; }
.crumbs { font-size: .82rem; color: var(--soft); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 11px 18px; font: 600 .92rem/1 "Inter", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--light:hover { color: var(--ink); border-color: var(--ink); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); color: #fff; }
.btn--white { background: #fff; color: var(--blue-2); }
.btn--sm { padding: 8px 12px; font-size: .84rem; border-radius: 9px; }
.btn--block { width: 100%; justify-content: center; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero__stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero__stats b { display: block; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.hero__stats span { font-size: .82rem; color: var(--soft); }
.search { display: flex; gap: 8px; margin: 22px 0 0; max-width: 520px; }
.search input { flex: 1; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font: inherit; background: #fff; }
.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); }
.mosaic figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.mosaic figure:nth-child(3n+2) { transform: translateY(22px); }
.mosaic img { aspect-ratio: 4/3; object-fit: cover; object-position: top; width: 100%; }
.mosaic figcaption { font-size: .7rem; padding: 6px 9px; color: var(--muted); border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.page-hero--solo { grid-template-columns: 1fr; }
.page-hero__art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.page-hero__art img { width: 100%; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Logo tiles: the old site's offset border, in the group's colour. */
.tile { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.tile__logo { aspect-ratio: 4/3; display: grid; place-items: center; background: #fff; border: 2px solid var(--accent, var(--indigo)); border-right-width: 5px; border-bottom-width: 5px; border-radius: var(--radius); padding: 0; overflow: hidden; transition: transform .14s ease, box-shadow .14s ease; }
/* The old site's logos are tile artboards (a wordmark centred on a 4:3 canvas): they fill the tile. A fetched
   favicon (.is-icon) is a square icon and sits small in the middle. */
.tile__logo img { width: 100%; height: 100%; object-fit: contain; padding: 12% 10%; }
.tile__logo img.is-icon, .pick__logo img.is-icon, .tool-head__logo img.is-icon { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; padding: 0; }
.page-hero .tile__logo img { object-fit: contain; }
.tile:hover .tile__logo { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent, var(--indigo)); }
.tile__name { font-weight: 600; font-size: .95rem; padding: 0 4px; display: flex; justify-content: space-between; gap: 8px; }
.tile__price { font: 500 .74rem/1.6 var(--mono); color: var(--soft); white-space: nowrap; }
.tile__blurb { font-size: .84rem; color: var(--muted); padding: 0 4px; margin: -4px 0 0; }
.tile__out { font-size: .74rem; color: var(--soft); padding: 0 4px; }
.lettermark { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 600; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--accent, var(--indigo)), var(--ink)); }
.accent-blue { --accent: var(--blue); } .accent-indigo { --accent: var(--indigo); } .accent-green { --accent: var(--green); }
.accent-purple { --accent: var(--purple); } .accent-orange { --accent: var(--orange); } .accent-pink { --accent: var(--pink); }
.accent-teal { --accent: var(--teal); } .accent-ink { --accent: var(--ink); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.band--tint .card, .band--soft .card { box-shadow: 0 1px 0 rgba(17,18,19,.04); }
.card__img { aspect-ratio: 16/10; background: var(--tint-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; }
.card__meta { font: 500 .72rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--soft); }
.card__body p { margin: 0; color: var(--muted); font-size: .93rem; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
a.card { text-decoration: none; color: inherit; transition: transform .14s ease, box-shadow .14s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.browser { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.browser__bar { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #e3e5e9; display: block; }
.browser__bar span { margin-left: 8px; font: 500 .7rem/1 var(--mono); color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hub tiles (Start here / Learn) */
.hub { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .14s ease, box-shadow .14s ease; }
.hub:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.hub__art { aspect-ratio: 16/9; overflow: hidden; background: var(--tint-2); border-bottom: 1px solid var(--line); }
.hub__art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hub__body { padding: 18px 20px 20px; }
.hub__body h3 { margin: 0 0 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hub__body p { margin: 0; color: var(--muted); font-size: .9rem; }
.hub__count { font: 600 .7rem/1 var(--mono); color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 4px 8px; white-space: nowrap; }

/* Components */
.comp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; scroll-margin-top: 90px; }
.comp__img { background: linear-gradient(135deg, #eef2ff, #fdf2f8); padding: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16/10; overflow: hidden; }
.comp__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.comp__body { padding: 20px 22px 22px; }
.comp__n { font: 600 .7rem/1 var(--mono); color: var(--soft); }
.comp h2 { font-size: 1.35rem; margin: 6px 0 8px; }
.comp ul { margin: 6px 0 12px; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.comp__should { font-size: .9rem; background: var(--tint); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.comp__ex { font-size: .82rem; color: var(--soft); }
.jump { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.jump a { font-size: .8rem; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); background: #fff; }
.jump a:hover { border-color: var(--ink); color: var(--ink); }

/* Checklist */
.progress { position: sticky; top: 61px; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); padding: 10px 0; }
.progress__bar { height: 8px; background: var(--tint-2); border-radius: 99px; overflow: hidden; flex: 1; }
.progress__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-hl), var(--green)); transition: width .3s ease; }
.progress__row { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--muted); }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.step:first-child { border-top: 0; }
.step__n { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 1.1rem/1 var(--mono); }
.step.is-done .step__n { background: var(--green); }
.step__head { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.step__head h2 { margin: 0; font-size: 1.45rem; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.pick { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; }
.pick:hover { border-color: var(--ink); color: inherit; }
.pick__logo { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; flex: 0 0 40px; background: #fff; overflow: hidden; }
.pick__logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pick__logo img.is-icon { width: 28px; height: 28px; }
.pick b { display: block; font-size: .9rem; color: var(--ink); }
.pick span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* Prose */
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.2rem; }
.prose img { border-radius: 12px; border: 1px solid var(--line); margin: 1.4em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--blue-hl); background: var(--blue-soft); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--tint); }
.prose a { word-break: break-word; }
.prose > *:first-child { margin-top: 0; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.aside-card h3 { font-size: 1rem; }
.byline { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin-top: 18px; }
.cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.disclosure { font-size: .82rem; color: var(--soft); border-top: 1px dashed var(--line-2); padding-top: 12px; margin-top: 24px; }

/* Tool profile */
.tool-head { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.tool-head__logo { width: 160px; height: 120px; border-radius: 20px; border: 2px solid var(--accent, var(--indigo)); border-right-width: 5px; border-bottom-width: 5px; display: grid; place-items: center; background: #fff; overflow: hidden; }
.tool-head__logo img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fact span { display: block; font: 500 .68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--soft); }
.fact b { font-size: .98rem; color: var(--ink); }

/* Forms */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .9rem; color: var(--ink); }
.form input[type=text], .form input[type=email], .form input[type=url], .form textarea, .form select { font: inherit; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; background: #fff; width: 100%; }
.form textarea { min-height: 130px; }
.band--brand .form input { border-color: transparent; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.inline-form input[type=email] { flex: 1 1 220px; font: inherit; border-radius: 10px; border: 1px solid var(--line-2); padding: 12px 14px; }
.lpf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lpf-notice { padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.lpf-notice--good { background: #e8f7ee; color: #14532d; }
.lpf-notice--bad { background: #fdecec; color: #7f1d1d; }
.fine { font-size: .82rem; color: var(--soft); }
.band--brand .fine { color: #c9d6f2; }

/* Testimonials (real people, their own photos) */
.quote { background: #191b1d; border: 1px solid #2a2d31; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.quote p { color: #e2e4e8; margin: 0; font-size: .96rem; }
.quote__who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.quote__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote__who b { color: #fff; display: block; font-size: .9rem; }
.quote__who span { color: #9aa0a8; font-size: .8rem; }

/* Lists of posts */
.post-card .card__img { aspect-ratio: 16/9; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 500 .72rem/1 var(--mono); padding: 5px 8px; border-radius: 99px; background: var(--tint-2); color: var(--muted); text-decoration: none; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager .page-numbers { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 9px; text-decoration: none; color: var(--text); }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--soft); }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); }

/* Interactive tools */
.tool-ui { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tool-ui__head { display: flex; gap: 10px; align-items: center; padding: 14px 18px; background: linear-gradient(90deg, var(--ink), #2b2f36); color: #fff; font-weight: 600; }
.tool-ui__body { padding: 22px; display: grid; gap: 16px; }
.tool-ui__out { background: var(--tint); border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px; font: 500 .9rem/1.5 var(--mono); word-break: break-all; min-height: 52px; }
.meter { height: 12px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e); transition: width .25s ease; }
.blocks { display: grid; gap: 8px; }
.blocks__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.blocks__item b { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-2); font: 600 .78rem/1 var(--mono); }

/* Footer */
.footer { background: var(--ink); color: #a9aeb6; padding: 56px 0 28px; margin-top: auto; }
.footer a { color: #d7dade; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h2 { color: #fff; font-size: .78rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a2d31; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer__logo img { height: 30px; width: auto; filter: invert(1) brightness(2); }


/* Hubs */
.route { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: r; }
.route li { position: relative; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px 16px; }
.route li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 30px; width: 10px; height: 2px; background: var(--line-2); }
.route__n { width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 .8rem/1 var(--mono); margin-bottom: 12px; }
.route b { display: block; color: var(--ink); margin-bottom: 6px; }
.route p { margin: 0; font-size: .9rem; color: var(--muted); }
.calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc > div { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.calc span { display: block; font: 500 .68rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.calc b { font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.funnel { display: grid; gap: 12px; }
.funnel__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 20px; align-items: center; }
.funnel__bar { margin: 0 auto; min-height: 74px; border-radius: 14px; background: linear-gradient(90deg, var(--blue), var(--indigo)); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px; text-align: center; }
.funnel__bar span { font: 600 .7rem/1 var(--mono); opacity: .8; margin-top: 4px; }
.funnel__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.funnel__facts div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.funnel__facts dt { font: 500 .66rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.funnel__facts dd { margin: 2px 0 0; font-size: .88rem; color: var(--ink); }
.formula { background: #191b1d; border: 1px solid #2a2d31; border-radius: var(--radius); padding: 18px; }
.formula__name { display: block; font-size: 1.5rem; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.formula ol { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: f; }
.formula li { counter-increment: f; background: #24272b; border-radius: 8px; padding: 6px 10px; color: #e2e4e8; font-size: .88rem; }
.formula li::before { content: counter(f); font: 600 .7rem/1 var(--mono); color: var(--blue-hl); margin-right: 8px; }
.formula p { margin: 0; color: #a9aeb6; font-size: .86rem; }
.swatch { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; font-weight: 500; font-size: .85rem; }
.swatch input[type=color] { width: 44px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 2px; background: #fff; grid-row: span 1; }
.swatch input[type=text] { font: 500 .9rem var(--mono); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 10px; }
.contrast__sample { border-radius: 14px; padding: 22px; display: grid; gap: 6px; text-align: center; border: 1px solid var(--line); }
.contrast__sample b { font-size: 1.3rem; }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; transform: rotate(-2deg); }
.covers figure { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.covers img { aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.book { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.book__cover { aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: var(--tint-2); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 24px rgba(17,18,19,.12); display: block; transition: transform .14s ease; }
.book:hover .book__cover { transform: translateY(-4px); }
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__plain { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px; background: linear-gradient(160deg, var(--ink), #2b2f36); color: #fff; }
.book__plain b { font-size: 1.15rem; line-height: 1.2; }
.book__plain span { color: #a9aeb6; font-size: .85rem; }
.book__title { color: var(--ink); margin-top: 8px; }
.book__author { font-size: .85rem; color: var(--soft); }
.book__note { font-size: .88rem; color: var(--muted); }
.video { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video__play { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: #000; aspect-ratio: 16/9; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video__play span { position: absolute; inset: 0; margin: auto; width: 64px; height: 44px; border-radius: 12px; background: rgba(17,18,19,.8); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.video__play:hover span { background: #e11d48; }
.video__frame { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video figcaption { padding: 14px 16px 16px; display: grid; gap: 4px; }
.video figcaption b { color: var(--ink); font-size: .95rem; line-height: 1.35; }
.video figcaption span { font-size: .82rem; color: var(--soft); }
.name-tile { height: 100%; display: grid; place-items: center; font-size: 1.6rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--blue), var(--ink)); letter-spacing: -.02em; }
@media (max-width: 1100px) { .route { grid-template-columns: repeat(3, minmax(0, 1fr)); } .funnel__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .funnel__row { grid-template-columns: 1fr; } .band--ink .wrap[style*="grid-template-columns"], .band--brand .wrap[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
@media (max-width: 560px) { .route { grid-template-columns: 1fr; } .route li::after { display: none; } .calc { grid-template-columns: 1fr; } .covers { grid-template-columns: repeat(3, 1fr); } .covers figure:nth-child(n+7) { display: none; } }

/* Phone and tablet */
@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 50; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  body.nav-open .side { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(17,18,19,.4); z-index: 40; }
  .topbar { padding: 10px 16px; gap: 12px; }
  .topbar__links { display: none; }
  .topbar .topbar__menu { display: inline-flex; }
  .topbar__logo { display: block; }
  .topbar__logo img { height: 26px; width: auto; }
  .topbar__actions .btn--light { display: none; }
  .hero, .page-hero { grid-template-columns: 1fr; gap: 32px; }
  .mosaic { transform: none; }
  .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .tool-head { grid-template-columns: 80px minmax(0, 1fr); }
  .tool-head__logo { width: 80px; height: 80px; border-radius: 18px; }
  .tool-head .btns { grid-column: 1 / -1; }
  .progress { top: 53px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .band { padding: 52px 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tile__logo { padding: 12px 14px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic figure:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
