:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --text: #15171c;
  --muted: #5b6270;
  --line: #e4e6eb;
  --accent: #3b5bdb;
  --accent-soft: #edf1ff;
  --card: #ffffff;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0f1115; --bg-soft: #171a21; --text: #eceef2; --muted: #a3aab6; --line: #262a33;
  --accent: #7c95ff; --accent-soft: #1c2340; --card: #14171d; --accent-2: #a78bfa; --accent-3: #2dd4bf;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --bg-soft: #171a21; --text: #eceef2; --muted: #a3aab6; --line: #262a33;
  --accent: #7c95ff; --accent-soft: #1c2340; --card: #14171d; --accent-2: #a78bfa; --accent-3: #2dd4bf;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; }
@media (max-width: 680px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 20px 18px; gap: 12px; }
  .nav.open { display: flex; }
}

/* Type */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 680px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--muted); }

/* Sections */
section { padding: 72px 0; }
.hero { padding: 96px 0 72px; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); color: var(--text); background: var(--card); }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { opacity: 0.92; border-color: var(--accent); }

/* Grid + cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: 15px; }
a.card { color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }

/* Tags */
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* Tools directory */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.search { width: 100%; max-width: 420px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 15px; margin-bottom: 26px; }
.tool-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 750; flex: none; }
.take { font-size: 14px; border-left: 3px solid var(--accent); padding-left: 10px; color: var(--text) !important; }
.empty { color: var(--muted); padding: 30px 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline .when { font-size: 14px; color: var(--muted); font-weight: 500; }
.timeline h3 { margin: 2px 0 4px; }
.timeline .org { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 15px; margin: 0; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article h2 { font-size: 26px; margin-top: 40px; }
.article p, .article li { font-size: 18px; }
.article .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; }
.callout p:last-child { margin: 0; }

/* CTA + footer */
.cta { text-align: center; }
.cta .lead { margin: 0 auto; }
.cta .btns { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* ===================== Motion & polish ===================== */
:root { --accent-2: #8b5cf6; --accent-3: #14b8a6; --ease: cubic-bezier(.2,.7,.2,1); }


.site-header { transition: box-shadow .25s, background .25s; backdrop-filter: saturate(1.4) blur(10px); background: color-mix(in srgb, var(--bg) 82%, transparent); }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.18); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Hero */
.hero-fx { position: relative; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.blobs { position: absolute; inset: 0; pointer-events: none; }
.blobs span { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .22; animation: drift 18s ease-in-out infinite alternate; }
.blobs span:nth-child(1) { background: var(--accent); top: -140px; right: 8%; }
.blobs span:nth-child(2) { background: var(--accent-2); top: 120px; right: -120px; animation-duration: 22s; }
.blobs span:nth-child(3) { background: var(--accent-3); bottom: -200px; left: -100px; animation-duration: 26s; opacity: .14; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }

.fx-in { opacity: 0; transform: translateY(18px); animation: fxin .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
@keyframes fxin { to { opacity: 1; transform: none; } }

/* Workflow diagram */
.flow { position: relative; width: 100%; max-width: 420px; aspect-ratio: 420 / 380; justify-self: center; }
.flow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 6px)); } }

/* Buttons */
.btn { transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, #3b5bdb, #7c3aed); color: #fff; border: 0; box-shadow: 0 10px 24px -12px var(--accent); position: relative; overflow: hidden; }
.btn-primary:hover { box-shadow: 0 14px 30px -12px var(--accent); opacity: 1; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4s ease-in-out infinite 1.5s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* Stats */
.stat { border-top: 2px solid var(--line); padding-top: 16px; position: relative; }
.stat::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.2s var(--ease) .2s; }
.stat.in::before { width: 100%; }
.stat .count, .stat .plus { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.stat p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }

/* Cards */
.card { transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; position: relative; overflow: hidden; }
.card.glow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, -200px) var(--my, -200px), color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card.glow:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 18px 40px -24px rgba(30,40,90,.45); }
.card > * { position: relative; }
.tool-icon { background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 18%, var(--accent-soft))); transition: transform .35s var(--ease); }
.card:hover .tool-icon { transform: rotate(-6deg) scale(1.08); }
.chip { transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip:hover { transform: translateY(-1px); border-color: var(--muted); }

/* Scroll reveal */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* Marquee */
@keyframes marquee { to { transform: translateX(-50%); } }

/* Timeline dots */
.timeline li::before { transition: background .4s, box-shadow .4s; }
.timeline li.in::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

/* Page heroes (inner pages) get a subtle gradient wash */
.hero:not(.hero-fx) { background: radial-gradient(800px 300px at 85% 0%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 70%); }
.hero:not(.hero-fx) h1, .hero:not(.hero-fx) .lead, .hero:not(.hero-fx) .eyebrow { animation: fxin .8s var(--ease) both; }
.hero:not(.hero-fx) .lead { animation-delay: .12s; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:not(.allow-motion) *, html:not(.allow-motion) *::before, html:not(.allow-motion) *::after { animation: none !important; transition: none !important; }
  .fx-in, html.js .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===================== Theme + accessibility controls ===================== */
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font: inherit; transition: border-color .2s, transform .15s; }
.icon-btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .theme-ico-light { display: none; }
:root[data-theme="dark"] .theme-ico-dark { display: block; }
.site-header .wrap { position: relative; }
@media (max-width: 680px) { .nav { order: 3; } }

.a11y-panel { position: absolute; right: 20px; top: 60px; width: min(340px, calc(100vw - 32px)); background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.4); padding: 18px; z-index: 30; }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 17px; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.a11y-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--text); padding: 6px 11px; font: inherit; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }
.a11y-reset { margin-top: 12px; width: 100%; padding: 9px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* Text size */
html.ts-1 body { zoom: 1.12; }
html.ts-2 body { zoom: 1.25; }
/* Readable font */
html.readable body, html.readable button, html.readable input { font-family: "Atkinson Hyperlegible", "Verdana", sans-serif; letter-spacing: .01em; }
html.readable p, html.readable li { line-height: 1.75; }
/* Underline links */
html.underline main a:not(.btn):not(.card) { text-decoration: underline; text-underline-offset: 3px; }
/* High contrast */
html.hc { --muted: #2b2f38; --line: #6b7280; --accent: #1d3fbf; --accent-soft: #e3e9ff; }
html.hc[data-theme="dark"] { --text: #ffffff; --muted: #d6dae2; --line: #8a92a3; --accent: #a9bbff; --accent-soft: #1f2a55; --bg: #000; --card: #0b0b0b; --bg-soft: #111; }
@media (prefers-color-scheme: dark) { html.hc:not([data-theme="light"]) { --text: #ffffff; --muted: #d6dae2; --line: #8a92a3; --accent: #a9bbff; --accent-soft: #1f2a55; --bg: #000; --card: #0b0b0b; --bg-soft: #111; } }
html.hc .card, html.hc .btn, html.hc .chip { border-width: 2px; }
html.hc .blobs { display: none; }
/* Reduce motion (manual toggle) */
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation: none !important; transition: none !important; }
html.reduce-motion .fx-in, html.reduce-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ===================== Tools sections ===================== */
.tools-layout { display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .tools-layout { grid-template-columns: 1fr; gap: 0; } }
.cat-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.cat-nav a { color: var(--muted); font-size: 15px; font-weight: 500; padding: 7px 12px; border-radius: 8px; display: flex; justify-content: space-between; }
.cat-nav a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.cat-nav a.active { background: var(--accent-soft); color: var(--accent); }
.cat-nav a small { opacity: .7; }
@media (max-width: 900px) {
  .cat-nav { position: sticky; top: 64px; z-index: 5; flex-direction: row; overflow-x: auto; background: var(--bg); padding: 10px 0; margin-bottom: 10px; scrollbar-width: none; }
  .cat-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; }
}
.tool-section { scroll-margin-top: 90px; margin-bottom: 52px; }
.tool-section[hidden] { display: none; }
.tool-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.tool-section-head .sec-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 20%, var(--accent-soft))); }
.tool-section-head h2 { margin: 0; font-size: 26px; }
.tool-section > p { color: var(--muted); margin: 0 0 18px; }
.nav { margin-left: auto; margin-right: 10px; }
.site-header .wrap { justify-content: flex-start; }
.tool-section { padding: 0; }
.cat-nav a { gap: 10px; align-items: center; }
.cat-nav a small { font-size: 12px; min-width: 20px; text-align: center; padding: 1px 6px; border-radius: 999px; background: var(--bg-soft); }
.cat-nav a.active small { background: var(--card); }

/* ===================== v4: inspired features ===================== */
/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3)); pointer-events: none; }

/* Hero network + typed */
.hero-fx .wrap { z-index: 1; }
.typed-wrap { display: inline-block; white-space: nowrap; }
.typed { background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -0.08em; background: var(--accent-2); border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Dark bands (always dark, in both themes) */
.band-dark { --bg: #0c1022; --bg-soft: #131836; --card: #121735; --text: #eef0f7; --muted: #a9b0c6; --line: #283058; --accent: #8fa3ff; --accent-soft: #1d2550; --accent-2: #b39bff; --accent-3: #4fd8c4;
  background: radial-gradient(900px 400px at 90% 0%, rgba(139,92,246,.18), transparent 70%), radial-gradient(700px 360px at 0% 100%, rgba(20,184,166,.12), transparent 70%), var(--bg); color: var(--text); }
:root[data-theme="dark"] .band-dark { --bg: #0a0d1c; }
.band-dark .btn { background: transparent; }

/* Split section heading */

/* Service cards */

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center; margin-bottom: 14px; position: relative; }
@media (max-width: 720px) { .step { grid-template-columns: 44px 1fr; gap: 14px; } .steps::before { left: 21px; } }

/* Carousel */
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.car-track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .car-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .car-track { grid-auto-columns: 88%; } }
.car-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.car-dots button[aria-selected="true"] { width: 28px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Tools goal picker */
.goals { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; margin-bottom: 34px; box-shadow: 0 20px 50px -36px rgba(30,40,90,.5); }
.goals h2 { font-size: 24px; margin-bottom: 4px; }
.goals > p { margin-bottom: 18px; }
.goal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.goal { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.goal span:last-child { color: var(--accent); transition: transform .2s var(--ease); }
.goal:hover { transform: translateY(-2px); border-color: var(--accent); }
.goal:hover span:last-child { transform: translateX(3px); }
.goal[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }

/* ===================== v5: bento, FAQ, micro-interactions ===================== */
/* Bento grid */
/* mini flow */
.sw { width: 34px; height: 20px; border-radius: 999px; background: var(--line); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
/* orbit */
@media (max-width: 620px) { }
/* ring */
.ring { position: relative; width: 84px; height: 84px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 7; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--accent); }
/* shield */
/* eras */

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 28px; } }
.faq-side { position: sticky; top: 100px; }
@media (max-width: 860px) { .faq-side { position: static; } }
.faq-contact { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.faq-contact p { margin: 2px 0 14px; font-size: 15px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; transition: border-color .25s, box-shadow .3s, background .3s; }
.faq-item:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 16px 36px -26px rgba(30,40,90,.5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 14px; }
.faq-q { transition: color .2s; }
.faq-item[open] .faq-q, .faq-item summary:hover .faq-q { color: var(--accent); }
.faq-ico { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); flex: none; transition: transform .35s var(--ease), background .3s; }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background .3s; }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico { transform: rotate(180deg); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.faq-item[open] .faq-ico::before, .faq-item[open] .faq-ico::after { background: #fff; }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq-item[open] .faq-a p { animation: faqtext .45s var(--ease) both; }
@keyframes faqtext { from { opacity: 0; transform: translateY(-6px); } }

/* Micro-interactions */
.btn:active { transform: translateY(0) scale(.97); }
.copy-email { font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; min-width: 128px; }
.copy-email.copied { border-color: #22c55e; color: #16a34a; }
 .section-head > a { display: inline-flex; gap: 6px; align-items: center; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card); color: var(--text); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 40; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { position: absolute; inset: 2px; width: 44px; height: 44px; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.tt-track { stroke: var(--line); }
.tt-ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: 125.7; }
.to-top span { font-size: 18px; font-weight: 700; position: relative; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===================== v6: personal hero + workflow player ===================== */
.dotgrid { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 18%, transparent) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(520px circle at var(--hx, 75%) var(--hy, 40%), #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.08) 75%);
          mask-image: radial-gradient(520px circle at var(--hx, 75%) var(--hy, 40%), #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.08) 75%);
  animation: gridpan 30s linear infinite; }
@keyframes gridpan { to { background-position: 26px 26px; } }

.hello { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; margin-bottom: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3)); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px color-mix(in srgb, var(--accent) 35%, transparent); }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out infinite 1s; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: live 2s infinite; }
@keyframes live { 70%, 100% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }

/* Player card */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinborder { to { --ang: 360deg; } }
.pl-tabs button[aria-selected="true"] { color: var(--text); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--accent-soft); }
@keyframes think { 50% { opacity: 1; transform: translateY(-3px); } }

/* "At a glance" strip */
.now { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-right: 1px solid var(--line); transition: background .25s; }
.now:last-child { border-right: 0; }
.now:hover { background: var(--bg-soft); }
.now small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.now strong { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; }
@media (max-width: 1000px) { .now { border-bottom: 1px solid var(--line); } .now:nth-child(2n) { border-right: 0; } .now:last-child { grid-column: span 2; border-bottom: 0; } }
@media (max-width: 520px) { .now { border-right: 0; } .now:last-child { grid-column: auto; } }
 html.reduce-motion .dotgrid { animation: none; }

/* ===================== v7: redesigned sections ===================== */
/* Accessibility pill (distinct from theme button) */
.a11y-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: var(--accent-soft); color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s; }
.a11y-pill svg { width: 20px; height: 20px; }
.a11y-pill:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 6px 16px -8px var(--accent); }
.a11y-pill[aria-expanded="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.theme-btn { border-radius: 50%; }
@media (max-width: 860px) { .a11y-pill span { display: none; } .a11y-pill { padding: 0; width: 38px; justify-content: center; } }

/* Section system */
.sec { padding: 110px 0; }
@media (max-width: 700px) { .sec { padding: 76px 0; } }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-label { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.sec-num { font-variant-numeric: tabular-nums; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-line { height: 2px; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .9s var(--ease) .2s; }
.sec-head.in .sec-line { width: 44px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Hero v3 */
.hero-v3 { padding: 80px 0 60px; }
.hero-v3 h1 { font-size: clamp(36px, 5.2vw, 60px); }
.hero-v3 .typed-wrap { white-space: normal; min-height: 1.1em; }
.ba-tabs button[aria-selected="true"] { background: var(--bg-soft); color: var(--text); }
.ba-opt[aria-pressed="true"] { color: #fff; }
.ba[data-mode="ai"] .ba-thumb { transform: translateX(100%); background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px -8px var(--accent); }
.ba[data-mode="ai"] .ba-fill { background: linear-gradient(90deg, #22c55e, #14b8a6); }
.ba[data-mode="ai"] .ba-min { color: #16a34a; }

/* Services v2 */

/* Approach: sticky side + active step */
.ap-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .ap-wrap { grid-template-columns: 1fr; gap: 10px; } }
.ap-side { position: sticky; top: 110px; }
@media (max-width: 900px) { .ap-side { position: static; } .ap-counter, .ap-prog { display: none; } }
.ap-counter { font-size: 88px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.ap-cur { background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-of { font-size: 24px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.ap-prog { width: 4px; height: 120px; border-radius: 4px; background: var(--line); margin-top: 22px; overflow: hidden; }
.ap-prog span { display: block; height: 100%; background: linear-gradient(var(--accent), var(--accent-2)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.st { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); opacity: .45; transform: scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.st.past { opacity: .75; transform: none; }
.st.active { opacity: 1; transform: none; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 24px 50px -30px rgba(40,60,160,.45); }
.st-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; background: var(--bg-soft); color: var(--muted); transition: background .4s, color .4s; }
.st.active .st-num, .st.past .st-num { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.st h3 { font-size: 21px; margin-bottom: 4px; }
.st p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.st-get { font-size: 13px; color: var(--muted); }
.st-get strong { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .st { opacity: 1; transform: none; } }

/* Toolkit + 3D sphere */
.tk-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .tk-wrap { grid-template-columns: 1fr; } }
.tk-legend { display: flex; gap: 18px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.tk-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); margin-right: 6px; vertical-align: 0; }
.tk-legend i.hot { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tk-btn { background: transparent; }
.sphere-box { position: relative; height: 480px; cursor: grab; touch-action: pan-y; perspective: 900px; user-select: none; }
.sphere-box.grab { cursor: grabbing; }
.sphere-box::before { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.28), transparent 65%); filter: blur(10px); }
@media (max-width: 520px) { .sphere-box { height: 380px; } .sphere-box::before { width: 260px; height: 260px; } }
.sphere { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.tag3d { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 15px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); will-change: transform, opacity; }
.tag3d.hot { background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 35%, transparent), color-mix(in srgb, var(--accent-2) 35%, transparent)); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.sphere-hint { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); }

/* Bento tilt */

/* Testimonials v2 */
.quote2 { margin: 0; scroll-snap-align: start; padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.quote2::after { content: "\201C"; position: absolute; right: 18px; top: -18px; font-size: 140px; font-weight: 800; line-height: 1; color: var(--accent-soft); z-index: 0; }
.quote2 blockquote { margin: 0; font-size: 17px; line-height: 1.65; position: relative; z-index: 1; }
.quote2 figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; position: relative; z-index: 1; }
.q-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.quote2 figcaption strong { display: block; font-size: 15px; }
.quote2 figcaption small { color: var(--muted); font-size: 13px; }

/* Resources */
.res-go { font-weight: 700; position: relative; }
.rt-arrow { margin-left: auto; color: var(--accent); transition: transform .25s var(--ease); }

/* CTA v2 */
.cta-v2 { position: relative; overflow: hidden; padding: 120px 0; text-align: center; color: #fff; background: linear-gradient(120deg, #1d2a7a, #5b3cc4, #0f766e, #1d2a7a); background-size: 300% 300%; animation: ctaflow 16s ease infinite; }
@keyframes ctaflow { 50% { background-position: 100% 50%; } }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(600px circle at 50% 120%, rgba(255,255,255,.25), transparent 60%); }
.cta-inner { position: relative; max-width: 760px; }
.cta-v2 .eyebrow { color: rgba(255,255,255,.8); }
.cta-v2 h2 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.03em; }
.cta-v2 .lead { color: rgba(255,255,255,.82); margin: 0 auto; }
.cta-v2 .btns { justify-content: center; }
.cta-v2 .btn { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.cta-v2 .btn-primary { background: #fff; color: #1d2a7a; border: 0; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.cta-v2 .copy-email.copied { color: #bbf7d0; border-color: #86efac; }

/* Remove older home-only bits that no longer exist */
.band-dark .sec-head p { color: var(--muted); }
 html.reduce-motion .cta-v2 { animation: none !important; }
.hero-v3 h1 { font-size: clamp(34px, 4.6vw, 54px); }
.hero-v3 .typed-wrap { display: block; }
.sphere-box { perspective: none; }
.tag3d { font-size: 13px; padding: 6px 12px; }

/* ===================== v8 ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Header controls: theme = sliding switch, accessibility = circle */
.theme-switch { border: 0; background: none; padding: 0; cursor: pointer; }
.ts-track { position: relative; display: flex; align-items: center; justify-content: space-between; width: 62px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); transition: background .3s, border-color .3s; }
.ts-track svg { width: 15px; height: 15px; position: relative; z-index: 1; transition: color .3s; }
.ts-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .35s var(--ease), background .35s; }
.theme-switch[aria-checked="true"] .ts-knob { transform: translateX(30px); background: linear-gradient(135deg, #818cf8, #6366f1); }
.theme-switch[aria-checked="false"] .ts-sun, .theme-switch[aria-checked="true"] .ts-moon { color: #fff; }
.theme-switch:hover .ts-track { border-color: var(--muted); }
.theme-switch:focus-visible { outline: none; } .theme-switch:focus-visible .ts-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.a11y-circle { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
.a11y-circle svg { width: 22px; height: 22px; }

/* Prompt bar (replaces the at-a-glance strip) */
.ask-sec { padding: 8px 0 72px; position: relative; z-index: 1; text-align: center; }
.ask { position: relative; display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 0 auto; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--card); box-shadow: 0 20px 50px -24px rgba(60,70,180,.45); }
.ask::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--ang, 0deg), var(--accent), var(--accent-2), var(--accent-3), var(--accent)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinborder 6s linear infinite; pointer-events: none; }
.ask::after { content: ""; position: absolute; inset: -14px; border-radius: inherit; background: conic-gradient(from var(--ang, 0deg), var(--accent), var(--accent-2), var(--accent-3), var(--accent)); filter: blur(26px); opacity: .18; z-index: -1; animation: spinborder 6s linear infinite; }
.ask-ico { font-size: 20px; }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; padding: 12px 0; }
.ask input::placeholder { color: var(--muted); }
.ask-go { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 20px; font-weight: 700; background: linear-gradient(135deg, #3b5bdb, #7c3aed); transition: transform .2s var(--ease), box-shadow .2s; }
.ask-go:hover { transform: scale(1.06); box-shadow: 0 10px 24px -10px #7c3aed; }
.ask:focus-within { box-shadow: 0 24px 60px -24px rgba(60,70,180,.6); }
.ask.pulse { animation: askpulse .6s var(--ease); }
@keyframes askpulse { 50% { transform: scale(1.015); } }
.ask.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ask-chips button { border: 1px solid var(--line); background: var(--card); color: var(--muted); padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .2s, border-color .2s, transform .2s var(--ease); }
.ask-chips button:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.ask-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* Dark bands: richer indigo, better contrast, matches the brand gradient */
.band-dark { --bg: #171d4a; --bg-soft: rgba(255,255,255,.07); --card: rgba(255,255,255,.06); --text: #f4f5ff; --muted: #c9cdeb; --line: rgba(255,255,255,.16); --accent: #a5b4ff; --accent-soft: rgba(165,180,255,.16); --accent-2: #c4b5fd; --accent-3: #5eead4;
  background: radial-gradient(1000px 500px at 85% -10%, rgba(167,139,250,.35), transparent 60%), radial-gradient(800px 420px at 0% 110%, rgba(45,212,191,.22), transparent 60%), linear-gradient(160deg, #1b2260 0%, #2a2170 55%, #16305e 100%); }
:root[data-theme="dark"] .band-dark { --bg: #141a44; }
.band-dark .tag3d { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* One-time shimmer across section headlines */
.sec-head h2 { background: linear-gradient(100deg, var(--text) 42%, var(--accent-2) 50%, var(--text) 58%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head.in h2 { animation: sweep 2.2s var(--ease) .3s both; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
html.hc .sec-head h2 { background: none; color: var(--text); }

/* Sphere links + hover */
.tag3d { cursor: pointer; text-decoration: none !important; transition: background .2s, border-color .2s, box-shadow .2s, color .2s; }
.sphere.dim .tag3d:not(.hl) { filter: saturate(.5); }
.tag3d.hl, .tag3d:focus-visible { background: linear-gradient(120deg, var(--accent), var(--accent-2)) !important; color: #0b1033 !important; border-color: transparent !important; box-shadow: 0 0 0 4px rgba(165,180,255,.25), 0 10px 30px -8px rgba(165,180,255,.8); opacity: 1 !important; z-index: 200 !important; outline: none; }
.sphere-tip { position: absolute; top: 10px; left: 50%; transform: translate(-50%, -6px); padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.95); color: #141a44; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.sphere-tip strong { margin-right: 8px; }
.sphere-tip.show { opacity: 1; transform: translate(-50%, 0); }

/* Tools page: spotlight a card arriving from the sphere */
.card.spot { border-color: var(--accent) !important; box-shadow: 0 0 0 4px var(--accent-soft), 0 20px 40px -20px var(--accent); animation: spot 1.4s var(--ease) 2; }
@keyframes spot { 50% { box-shadow: 0 0 0 10px var(--accent-soft), 0 20px 40px -20px var(--accent); } }
html.reduce-motion .ask::before, html.reduce-motion .ask::after { animation: none; }
.hero-v3 .blobs, .hero-v3 .dotgrid { -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.hero-v3 .dotgrid { -webkit-mask-image: linear-gradient(#000 65%, transparent), radial-gradient(520px circle at var(--hx, 75%) var(--hy, 40%), #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.08) 75%); -webkit-mask-composite: source-in; mask-image: linear-gradient(#000 65%, transparent), radial-gradient(520px circle at var(--hx, 75%) var(--hy, 40%), #000 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.08) 75%); mask-composite: intersect; }

/* ===================== v9 ===================== */
/* Theme switch knob: blue in both modes */
.ts-knob { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.theme-switch[aria-checked="true"] .ts-knob { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* Back-to-top sits above the chat button */
.to-top { bottom: 92px; right: 24px; width: 44px; height: 44px; }
.to-top svg { width: 40px; height: 40px; }

/* Quick-answer chat */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.chat-fab { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; font: inherit; font-weight: 700; font-size: 15px; background: linear-gradient(120deg, #3b5bdb, #7c3aed); box-shadow: 0 16px 36px -14px rgba(59,91,219,.8); transition: transform .25s var(--ease), box-shadow .25s; }
.chat-fab:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(124,58,237,.8); }
.chat-fab-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.chat-fab-ico svg { width: 22px; height: 22px; }
.chat.open .chat-fab-label { display: none; }
.chat.open .chat-fab { padding: 0 8px; }
.chat.nudge .chat-fab { animation: nudge 1.2s var(--ease) 2; }
@keyframes nudge { 30% { transform: translateY(-6px) rotate(-2deg); } 60% { transform: translateY(0) rotate(1deg); } }
@media (max-width: 600px) { .chat-fab-label { display: none; } .chat-fab { padding: 0 8px; } }
.chat-panel { position: absolute; right: 0; bottom: 70px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(20,30,80,.5); overflow: hidden; transform-origin: bottom right; animation: chatin .35s var(--ease); }
.chat-panel[hidden] { display: none; }
@keyframes chatin { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(120deg, #3b5bdb, #7c3aed); }
.chat-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.2); position: relative; }
.chat-av::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid #5b4bdc; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; opacity: .85; }
.chat-x { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; animation: msgin .3s var(--ease); }
@keyframes msgin { from { opacity: 0; transform: translateY(6px); } }
.msg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; color: #fff; background: linear-gradient(120deg, #3b5bdb, #6d4be0); border-bottom-right-radius: 6px; }
.msg a { color: var(--accent); font-weight: 600; }
.chat-cta { display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); text-decoration: none !important; }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: think 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
.chat-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--bg); }
.chat-sugg:empty { padding: 0; }
.chat-sugg button { border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--card); color: var(--accent); padding: 6px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.chat-sugg button:hover { background: var(--accent-soft); transform: translateY(-1px); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--bg); color: var(--text); font: inherit; font-size: 14px; }
.chat-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chat-form button { width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, #3b5bdb, #7c3aed); }
.chat-cta { display: table; }

/* ===================== v10: personal graphics ===================== */
.hand { font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 700; }
html.readable .hand { font-family: "Atkinson Hyperlegible", sans-serif; font-weight: 700; }

/* Hero handwritten note */

/* 04 My path */
.path-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .path-wrap { grid-template-columns: 1fr; gap: 36px; } }
.me-card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 18px 18px 24px; box-shadow: 0 30px 60px -40px rgba(30,40,100,.5); transform: rotate(-1.5deg); transition: transform .4s var(--ease); }
.me-card:hover { transform: rotate(0) translateY(-4px); }
@media (max-width: 960px) { .me-card { position: static; max-width: 380px; } }
.me-photo { position: relative; border-radius: 20px; overflow: hidden; }
.me-photo img { display: block; width: 100%; aspect-ratio: 300/340; object-fit: cover; }
.me-badge { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: #3b2fb8; }
.me-hi { font-size: 34px; margin: 16px 4px 4px; color: var(--accent); transform: rotate(-2deg); }
.me-txt { margin: 0 4px 6px; color: var(--muted); font-size: 15px; }

.journey { position: relative; list-style: none; margin: 0; padding: 0 0 0 0; display: grid; gap: 22px; }
.jr-line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 4px; height: calc(100% - 60px); overflow: visible; }
.jr { display: grid; grid-template-columns: 66px 1fr; gap: 20px; align-items: start; position: relative; }
.jr-node { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); position: relative; z-index: 1; transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease), box-shadow .5s; }
.jr-node svg { width: 34px; height: 34px; fill: none; stroke: var(--muted); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.jr.lit .jr-node { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; transform: rotate(-4deg) scale(1.04); box-shadow: 0 14px 30px -12px var(--accent); }
.jr.lit .jr-node svg { stroke: #fff; }
.jr-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; transition: border-color .4s, box-shadow .4s, transform .3s var(--ease); }
.jr.lit .jr-card { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.jr-card:hover { transform: translateX(4px); box-shadow: 0 20px 40px -28px rgba(30,40,100,.5); }
.jr-when { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.jr-card h3 { margin: 4px 0 2px; font-size: 20px; }
.jr-org { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.jr-card p { margin: 0; color: var(--text); font-size: 15px; opacity: .85; }
.jr:last-child .jr-card { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--card)), color-mix(in srgb, var(--accent-2) 10%, var(--card))); }

/* 06 Resources v2 */
.res2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 900px) { .res2 { grid-template-columns: 1fr; } }
.res2-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 30px; border-radius: 26px; color: #fff; overflow: hidden; background: radial-gradient(500px 300px at 90% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #1e2a78, #5b3cc4 55%, #0f766e); transition: transform .25s var(--ease), box-shadow .3s; }
.res2-feature:hover { text-decoration: none; box-shadow: 0 30px 60px -30px rgba(60,40,160,.7); }
.res2-feature .tag { align-self: flex-start; background: rgba(255,255,255,.16); color: #fff; margin-bottom: 12px; }
.res2-feature h3 { font-size: clamp(24px, 3vw, 30px); }
.res2-feature p { color: rgba(255,255,255,.82); }
.doodle { position: absolute; top: 22px; left: 24px; right: 24px; width: calc(100% - 48px); height: auto; color: rgba(255,255,255,.75); }
.doodle .d1, .doodle .d2, .doodle .d3 { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.doodle .d2 { transition-delay: .5s; } .doodle .d3 { transition-delay: 1.2s; stroke: #5eead4; stroke-width: 3.4; }
.res2-feature.in .doodle .d1, .res2-feature.in .doodle .d2, .res2-feature.in .doodle .d3 { stroke-dashoffset: 0; }
.doodle text { opacity: 0; transition: opacity .6s .9s; }
.res2-feature.in .doodle text { opacity: .9; }

.deck { position: relative; min-height: 360px; perspective: 1000px; }
.deck-card { position: absolute; left: 6%; right: 6%; top: 40px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(30,40,100,.5); transition: transform .55s var(--ease), box-shadow .3s; }
.deck-card h4 { font-size: 20px; margin: 12px 0 6px; line-height: 1.25; }
.deck-card p { margin: 0; color: var(--muted); font-size: 15px; }
.dc3 { transform: translateY(-28px) scale(.9) rotate(-4deg); opacity: .7; }
.dc2 { transform: translateY(-14px) scale(.95) rotate(3deg); opacity: .88; }
.dc1 { transform: translateY(0) rotate(-1deg); }
.deck:hover .dc3 { transform: translate(-10%, -46px) rotate(-10deg); opacity: 1; }
.deck:hover .dc2 { transform: translate(8%, -6px) rotate(7deg); opacity: 1; }
.deck:hover .dc1 { transform: translateY(110px) rotate(-2deg); }
.deck-note { position: absolute; right: 18px; bottom: -34px; font-size: 22px; color: var(--accent-2); transform: rotate(-6deg); }
@media (max-width: 900px) { .deck { min-height: 300px; } .deck:hover .dc1 { transform: translateY(70px) rotate(-2deg); } }

.tool-rows { margin-top: 44px; display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trow { overflow: hidden; }
.trow-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.trow.rev .trow-track { animation-direction: reverse; animation-duration: 58s; }
.tool-rows:hover .trow-track { animation-play-state: paused; }
.tchip { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); white-space: nowrap; transition: border-color .2s, transform .2s var(--ease); }
.tchip:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-3px); }
.tchip .tool-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.tchip strong { display: block; font-size: 14px; }
.tchip small { color: var(--muted); font-size: 12px; }

/* CTA handwriting */
.cta-hand { font-size: 28px; color: rgba(255,255,255,.9); margin: -4px 0 16px; transform: rotate(-1.5deg); }
html.reduce-motion .trow-track { animation: none; }
.jr-line { position: absolute; left: 31px; top: 33px; bottom: 33px; width: 4px; height: auto; border-radius: 4px; background: var(--line); overflow: hidden; }
.jr-line i { position: absolute; inset: 0; background: linear-gradient(var(--accent), var(--accent-2), var(--accent-3)); transform: scaleY(0); transform-origin: top; transition: transform .2s linear; }
.res2-feature { min-height: 470px; }
.doodle { width: auto; max-width: calc(100% - 48px); height: 210px; left: 50%; transform: translateX(-50%); right: auto; }
@media (max-width: 520px) { .doodle { height: 150px; } .res2-feature { min-height: 420px; } }

/* ===================== v11 ===================== */
/* Theme switch: icons centered exactly on knob positions */
.ts-track { display: block; padding: 0; width: 62px; height: 32px; box-sizing: border-box; }
.ts-track svg { position: absolute; top: 8px; width: 14px; height: 14px; }
.ts-sun { left: 8px; } .ts-moon { left: 38px; }
.ts-knob { top: 3px; left: 3px; width: 24px; height: 24px; }
.theme-switch[aria-checked="true"] .ts-knob { transform: translateX(30px); }

/* Photo avatar */
img.avatar { object-fit: cover; padding: 0; }
.me-photo img { display: block; width: 100%; height: auto; aspect-ratio: 300/340; object-fit: cover; }

/* Glass + blurred photo backdrop in closing section */
.cta-v2 { background: #14193f; animation: none; }
.cta-photo { position: absolute; inset: -40px; background: url("images/office-blur.jpg") center/cover no-repeat; filter: blur(6px) saturate(1.2); transform: scale(1.05); }
.cta-v2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(29,42,122,.82), rgba(91,60,196,.72) 55%, rgba(15,118,110,.7)); background-size: 300% 300%; animation: ctaflow 16s ease infinite; }
.glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; padding: 48px 32px; backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.cta-inner.glass { max-width: 820px; }
.cta-me { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 16px; }
.cta-me img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.7); }
.cta-me .cta-hand { margin: 0; }
@media (max-width: 600px) { .glass { padding: 34px 20px; } .cta-me { flex-direction: column; } }

/* Soft blurred light behind sections for depth */
#approach, #testimonials, #faq { position: relative; overflow: hidden; }
#approach::before, #testimonials::before, #faq::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .16; pointer-events: none; z-index: 0; }
#approach::before { background: var(--accent); right: -160px; top: 10%; }
#testimonials::before { background: var(--accent-3); left: -200px; top: 20%; }
#faq::before { background: var(--accent-2); right: -180px; bottom: -120px; }
#approach > .wrap, #testimonials > .wrap, #faq > .wrap { position: relative; z-index: 1; }
.quote2, .faq-item, .st { backdrop-filter: blur(8px); }

/* Article listing */
.art-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .art-list { grid-template-columns: 1fr; } }
.art-tile { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); color: var(--text); transition: transform .25s var(--ease), border-color .25s, box-shadow .3s; }
.art-tile:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 24px 50px -30px rgba(30,40,100,.5); }
.art-tile h3 { margin: 8px 0 6px; font-size: 19px; } .art-tile p { margin: 0; color: var(--muted); font-size: 15px; }
.art-thumb { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; font-size: 44px; position: relative; overflow: hidden; }
.art-thumb span { position: relative; animation: float2 4s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-6px) rotate(-4deg); } }
.art-thumb::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg, rgba(255,255,255,.0), rgba(255,255,255,.35), rgba(255,255,255,0)); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.t1 { background: linear-gradient(135deg, #3b5bdb, #7c3aed); } .t2 { background: linear-gradient(135deg, #0ea5e9, #14b8a6); } .t3 { background: linear-gradient(135deg, #22c55e, #f59e0b 55%, #ef4444); } .t4 { background: linear-gradient(135deg, #7c3aed, #ec4899); }

/* Article pages */
.art-hero { padding: 72px 0 40px; background: radial-gradient(900px 400px at 85% 0%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 70%); }
.art-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .art-hero-grid { grid-template-columns: 1fr; } }
.art-hero h1 { font-size: clamp(34px, 5vw, 52px); }
.back-link { display: inline-block; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.art-meta { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.art-meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.art-meta strong { display: block; font-size: 15px; } .art-meta small { color: var(--muted); font-size: 13px; }
.art-hero-fig { margin: 0; padding: 22px; border-radius: 26px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 30px 70px -40px rgba(30,40,100,.5); }
.art-hero-fig svg { width: 100%; height: auto; display: block; }
.art-body-sec { padding: 30px 0 80px; }
.art-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .art-layout { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc strong { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
.toc a { color: var(--muted); font-weight: 500; } .toc a:hover, .toc a.active { color: var(--accent); text-decoration: none; }
.art2 { max-width: 760px; margin: 0; }
.art2 h2 { scroll-margin-top: 90px; font-size: 28px; margin-top: 48px; }
.art2 h3 { font-size: 19px; margin: 0 0 6px; }
.lead-in { font-size: 21px; line-height: 1.6; color: var(--text); }
.step-list { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 14px; }
.step-list li { counter-increment: s; position: relative; padding: 20px 22px 18px 76px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.step-list li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.step-list li p { margin: 0; font-size: 17px; color: var(--muted); }
.art-fig { margin: 30px 0; }
.art-fig > svg, .art-fig > div { width: 100%; border-radius: 22px; }
.art-fig > svg { height: auto; display: block; background: var(--card); border: 1px solid var(--line); padding: 16px; }
.art-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.callout.tip { background: color-mix(in srgb, #22c55e 12%, var(--card)); border-left: 4px solid #22c55e; }
.callout.warn { background: color-mix(in srgb, #f59e0b 12%, var(--card)); border-left: 4px solid #f59e0b; }
.callout { border-left: 4px solid var(--accent); }
.tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 600px) { .tip-grid { grid-template-columns: 1fr; } }
.tip-card { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: transform .25s var(--ease), border-color .25s; }
.tip-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.tip-card span { font-size: 26px; } .tip-card h3 { margin: 8px 0 4px; } .tip-card p { margin: 0; font-size: 15px; color: var(--muted); }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 22px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.related { margin-top: 64px; } .related h2 { font-size: 28px; margin-bottom: 20px; }
.rel-card h3 { margin: 12px 0 6px; }

/* Article illustrations */
.af-wire { fill: none; stroke: url(#pag); stroke: var(--accent); stroke-width: 3; stroke-dasharray: 6 8; animation: dash 1.4s linear infinite; opacity: .7; }
.af-dot { fill: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent-2)); }
.af-node rect { fill: var(--bg-soft); stroke: var(--line); stroke-width: 1.5; }
.af-main rect { stroke: none; }
.af-node text { text-anchor: middle; font-size: 14px; font-weight: 700; fill: var(--text); font-family: Inter, sans-serif; }
.af-node .af-ico { font-size: 24px; }
.af-node { animation: float 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.af-node:nth-of-type(2) { animation-delay: .8s; } .af-node:nth-of-type(3) { animation-delay: 1.6s; }
.b-frame { fill: var(--card); stroke: var(--line); } .b-bar { fill: var(--bg-soft); }
.b-title { text-anchor: middle; font: 600 13px Inter, sans-serif; fill: var(--muted); }
.b-step rect { fill: var(--bg); stroke: color-mix(in srgb, var(--accent) 40%, var(--line)); stroke-width: 1.5; }
.b-step text { font: 500 14px Inter, sans-serif; fill: var(--text); }
.b-step .b-badge { font: 700 10px Inter, sans-serif; letter-spacing: .08em; fill: var(--accent); }
.b-arrow { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 4; }
.builder .b-step { opacity: 0; animation: bstep 6s var(--ease) infinite; }
.builder .s2 { animation-delay: .6s; } .builder .s3 { animation-delay: 1.2s; } .builder .s4 { animation-delay: 1.8s; }
@keyframes bstep { 0% { opacity: 0; transform: translateY(8px); } 8%, 80% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
.orbit-ring { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 8; }
.clock circle:first-child { fill: var(--card); stroke: var(--accent); stroke-width: 4; }
.clock circle:last-child { fill: var(--accent); }
.clock line { stroke: var(--text); stroke-width: 4; stroke-linecap: round; transform-origin: 220px 150px; }
.hand-m { animation: spin 4s linear infinite; } .hand-h { animation: spin 24s linear infinite; }
.orbiters { transform-origin: 220px 150px; animation: spin 30s linear infinite; }
.orbiters circle { fill: var(--card); stroke: color-mix(in srgb, var(--accent) 50%, var(--line)); stroke-width: 2; }
.orbiters text { text-anchor: middle; font-size: 22px; }
.orbiters g { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite reverse; }
.m-bg { fill: var(--bg-soft); } .m-hot { fill: color-mix(in srgb, #22c55e 16%, transparent); }
.m-line { stroke: var(--line); stroke-width: 2; stroke-dasharray: 5 5; }
.m-zone { text-anchor: middle; font: 700 14px Inter, sans-serif; fill: #16a34a; }
.m-axis { text-anchor: middle; font: 600 13px Inter, sans-serif; fill: var(--muted); }
.m-pt circle { fill: url(#pag); fill: var(--accent); }
.m-pt text { text-anchor: middle; font: 800 15px Inter, sans-serif; fill: #fff; }
.m-pt { transform-box: fill-box; transform-origin: center; animation: pop 3s var(--ease) infinite; }
.p3 { animation-delay: .3s; } .p4 { animation-delay: .6s; } .p2 { animation-delay: .9s; } .p5 { animation-delay: 1.2s; }
@keyframes pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.15); } }
.wf-list { display: grid; gap: 16px; }
.wf-card { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.wf-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.wf-num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.wf-head h3 { margin: 0 0 4px; }
.lvl { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.lvl.beginner { background: color-mix(in srgb, #22c55e 16%, transparent); color: #16a34a; }
.lvl.intermediate { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; }
.wf-card p { font-size: 16px; margin: 0 0 8px; }
.wf-tools { color: var(--muted); } .wf-tip { margin: 10px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 15px !important; }
.doc rect:first-child { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.dl { fill: var(--line); } .dl.strong { fill: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.doc .dl { transform-box: fill-box; transform-origin: left; animation: grow 4s var(--ease) infinite; }
@keyframes grow { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
.light rect { fill: #1f2433; }
.light circle { opacity: .25; animation: lamp 3s infinite; }
.l-g { fill: #22c55e; } .l-y { fill: #f59e0b; animation-delay: 1s !important; } .l-r { fill: #ef4444; animation-delay: 2s !important; }
@keyframes lamp { 0%, 30% { opacity: 1; filter: drop-shadow(0 0 10px currentColor); } 34%, 100% { opacity: .25; } }
.pol-cap { text-anchor: middle; font: 700 14px Caveat, cursive; font-size: 20px; fill: var(--muted); }
.traffic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .traffic { grid-template-columns: 1fr; } }
.tl-col { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); position: relative; }
.tl-col h3 { font-size: 17px; margin: 10px 0 8px; }
.tl-col ul { margin: 0; padding-left: 18px; } .tl-col li { font-size: 15px; margin-bottom: 4px; }
.tl-dot { display: block; width: 18px; height: 18px; border-radius: 50%; }
.tl-col.g { border-top: 4px solid #22c55e; } .tl-col.g .tl-dot { background: #22c55e; box-shadow: 0 0 12px #22c55e; }
.tl-col.y { border-top: 4px solid #f59e0b; } .tl-col.y .tl-dot { background: #f59e0b; box-shadow: 0 0 12px #f59e0b; }
.tl-col.r { border-top: 4px solid #ef4444; } .tl-col.r .tl-dot { background: #ef4444; box-shadow: 0 0 12px #ef4444; }
.template-box { border-radius: 20px; border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.template-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.copy-btn { padding: 8px 14px; font-size: 14px; cursor: pointer; font-family: inherit; }
.copy-btn.copied { border-color: #22c55e; color: #16a34a; }
.template-box pre { margin: 0; padding: 20px; white-space: pre-wrap; font: 14px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--text); max-height: 420px; overflow: auto; }

/* Deck cards are links now */
a.deck-card { color: var(--text); display: block; } a.deck-card:hover { text-decoration: none; border-color: var(--accent); }

/* Chat v2 */
.chat-panel { height: min(640px, calc(100vh - 110px)); width: min(400px, calc(100vw - 32px)); }
.chat-fab-ico img, .chat-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.chat-fab-ico { padding: 2px; background: rgba(255,255,255,.35); }
.chat-av { padding: 0; overflow: visible; }
.chat-av img { border: 2px solid rgba(255,255,255,.6); }
.chat-home { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 17px; cursor: pointer; }
.chat-home + .chat-x { margin-left: 6px; }
.chat-sugg { max-height: 170px; overflow-y: auto; }
.chat-tools { display: grid; gap: 6px; margin: 10px 0; }
.chat-tool { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text) !important; text-decoration: none !important; font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.chat-tool:hover { border-color: var(--accent); transform: translateX(3px); }
.chat-tool span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 13px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.chat-tool b { margin-left: auto; color: var(--accent); }
.calc-card { display: grid; gap: 2px; padding: 14px; margin: 2px 0 6px; border-radius: 14px; background: var(--bg-soft); text-align: center; }
.calc-card span { font-size: 13px; color: var(--muted); }
.calc-card strong { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 6px; }
.calc-card strong.g { color: #16a34a; font-size: 30px; }
.muted-note { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.chat-email { margin: 10px 0 2px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 13.5px; }
.cta-photo { z-index: 0; } .cta-v2::before { z-index: 1; } .cta-glow { z-index: 1; } .cta-inner { z-index: 2; }
.back-link { display: block; width: max-content; }
.af-node { animation: none; }
.art-hero-fig svg { overflow: visible; }
.art-thumb::before { inset: -60%; }
.cta-me { flex-direction: column; gap: 8px; }
.cta-me .cta-hand { font-size: 26px; }

/* ===================== v12: Services, Flo ===================== */
.svx-tab[aria-selected="true"] { background: rgba(255,255,255,.12); border-color: rgba(165,180,255,.6); box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); }
.svx-tab[aria-selected="true"] .svx-n { background: linear-gradient(135deg, #5b7cfa, #8b5cf6); color: #fff; }
/* panel 1: canvas */
/* panel 2: AI chat */
/* panel 3: learning path */

/* Flo mascot */
.chat.has-flo { right: 18px; bottom: 12px; transform: translateX(var(--fx, 0px)); transition: transform 2.6s cubic-bezier(.45,.05,.4,1); }
.chat.has-flo .chat-fab { width: 86px; height: 92px; padding: 0; border-radius: 0; background: none; box-shadow: none; display: block; }
.chat.has-flo .chat-fab:hover { transform: none; box-shadow: none; }
.flo-wrap { display: block; width: 86px; height: 92px; }
.flo { width: 100%; height: 100%; overflow: visible; }
.flo-shadow { fill: rgba(20,25,60,.18); animation: shadowpulse 3s ease-in-out infinite; transform-origin: 60px 126px; }
.flo-body { animation: flofloat 3s ease-in-out infinite; transform-origin: 60px 70px; }
@keyframes flofloat { 50% { transform: translateY(-6px); } }
@keyframes shadowpulse { 50% { transform: scaleX(.8); opacity: .6; } }
.flo-tip { fill: #5eead4; animation: tipglow 1.8s ease-in-out infinite; }
@keyframes tipglow { 50% { fill: #a5b4ff; filter: drop-shadow(0 0 6px #a5b4ff); } }
.flo-eyes { transition: transform .15s; transform-box: view-box; }
.flo-eyes ellipse { animation: blink 4.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.flo-arm { transform-box: fill-box; }
.flo-arm.r { transform-origin: 0% 100%; }
.chat.wave .flo-arm.r, .chat.nudge .flo-arm.r { animation: wavearm .5s ease-in-out 4 alternate; }
@keyframes wavearm { from { transform: rotate(0); } to { transform: rotate(-35deg); } }
.chat.open .flo-wrap { transform: scale(.85); transition: transform .3s; }
.chat.nudge .chat-fab { animation: none; }
.flo-bubble { position: absolute; right: 70px; bottom: 78px; width: max-content; max-width: 230px; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 16px 36px -14px rgba(20,30,80,.45); font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; opacity: 0; transform: translateY(8px) scale(.95); transform-origin: bottom right; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.flo-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.chat-av.flo-av { width: 42px; height: 42px; padding: 0; background: rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; }
.chat-av.flo-av::after { display: none; }
.flo.mini { width: 34px; height: 38px; }
.flo.mini .flo-shadow { display: none; }
.chat-panel { bottom: 100px; }
.to-top { bottom: 116px; right: 30px; }
html.reduce-motion .chat.has-flo { transform: none; }
@media (max-width: 600px) { .chat.has-flo .chat-fab, .flo-wrap { width: 68px; height: 74px; } .chat-panel { bottom: 84px; } .flo-bubble { right: 56px; bottom: 62px; } .to-top { bottom: 96px; right: 22px; } }

/* ===================== v12: long-form article components ===================== */
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
@media (max-width: 700px) { .glossary { grid-template-columns: 1fr 1fr; } }
.glossary div { padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.glossary strong { color: var(--accent); font-size: 15px; } .glossary p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.tip-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .tip-grid.three { grid-template-columns: 1fr; } }
.todo { list-style: none; padding: 0; display: grid; gap: 8px; margin: 18px 0; }
.todo label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .2s, background .2s; font-size: 16px; }
.todo input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.todo input:checked + span { text-decoration: line-through; color: var(--muted); }
.todo label:has(input:checked) { border-color: #22c55e; background: color-mix(in srgb, #22c55e 8%, var(--card)); }
.ba2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
@media (max-width: 600px) { .ba2 { grid-template-columns: 1fr; } }
.ba2-col { padding: 16px 18px; border-radius: 16px; }
.ba2-col h4 { margin: 0 0 8px; font-size: 15px; }
.ba2-col ul { margin: 0; padding-left: 18px; } .ba2-col li { font-size: 15px !important; margin-bottom: 4px; }
.ba2-col.before { background: color-mix(in srgb, #f59e0b 10%, var(--card)); border: 1px solid color-mix(in srgb, #f59e0b 35%, var(--line)); }
.ba2-col.after { background: color-mix(in srgb, #22c55e 10%, var(--card)); border: 1px solid color-mix(in srgb, #22c55e 35%, var(--line)); }
.step-list li p + p { margin-top: 10px; }
.see { font-size: 15px !important; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--text) !important; }
.code-line { font: 14px/1.6 ui-monospace, Menlo, Consolas, monospace !important; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); border: 1px dashed var(--line); color: var(--text) !important; }
.code-line span { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mistake { display: flex; gap: 14px; padding: 16px 18px; margin: 10px 0; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.mistake > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; color: #ef4444; background: color-mix(in srgb, #ef4444 14%, transparent); }
.mistake strong { font-size: 16px; } .mistake p { margin: 2px 0 0; font-size: 15px !important; color: var(--muted); }
.art2 .faq-list { margin: 18px 0; }
.wf-card.big { padding: 28px; }
.wf-card h4 { margin: 18px 0 8px; font-size: 16px; }
.wf-scn { font-size: 16px !important; font-style: italic; color: var(--muted); border-left: 3px solid var(--accent-2); padding-left: 14px; }
.lvl.time { background: var(--bg-soft); color: var(--muted); }
.mini-steps { margin: 0; padding-left: 20px; } .mini-steps li { font-size: 15.5px !important; margin-bottom: 6px; }
.wf-warn { font-size: 15px !important; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #f59e0b 12%, transparent); }
.scorecard { display: grid; gap: 8px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); margin: 18px 0; }
.scorecard label { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); cursor: pointer; font-size: 16px; }
.scorecard input { width: 20px; height: 20px; accent-color: var(--accent); }
.sc-out { margin: 8px 0 0; padding: 14px; border-radius: 14px; font-size: 16px; text-align: center; transition: background .3s; }
.sc-out strong { font-size: 22px; margin-right: 6px; }
.sc-out[data-level="great"] { background: color-mix(in srgb, #22c55e 18%, transparent); }
.sc-out[data-level="good"] { background: color-mix(in srgb, #3b82f6 16%, transparent); }
.sc-out[data-level="meh"] { background: color-mix(in srgb, #f59e0b 16%, transparent); }
.sc-out[data-level="no"] { background: var(--bg-soft); }
.plan { list-style: none; padding: 0; display: grid; gap: 12px; position: relative; }
.plan li { display: grid; grid-template-columns: 90px 1fr; gap: 4px 16px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.plan li span { grid-row: span 2; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 12px; display: grid; place-items: center; text-align: center; }
.plan li strong { font-size: 17px; } .plan li p { margin: 0; font-size: 15px !important; color: var(--muted); }
.three-q { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
@media (max-width: 600px) { .three-q { grid-template-columns: 1fr; } }
.three-q div { display: flex; gap: 10px; align-items: center; padding: 16px; border-radius: 16px; background: var(--accent-soft); }
.three-q span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--accent); flex: none; }
.quote-ex { font-size: 15px !important; font-style: italic; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); color: var(--text) !important; border-left: 3px solid var(--accent); }
.scn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
@media (max-width: 640px) { .scn-grid { grid-template-columns: 1fr; } }
.scn { border-radius: 18px; border: 1px solid var(--line); background: var(--card); overflow: hidden; transition: border-color .3s, transform .25s var(--ease); }
.scn:hover { transform: translateY(-2px); }
.scn summary { list-style: none; cursor: pointer; padding: 18px; display: grid; gap: 8px; }
.scn summary::-webkit-details-marker { display: none; }
.scn-q { font-weight: 600; font-size: 16px; }
.scn-hint { font-size: 13px; color: var(--accent); font-weight: 600; }
.scn[open] .scn-hint { display: none; }
.scn-a { padding: 0 18px 18px; animation: msgin .35s var(--ease); }
.scn-a p { margin: 8px 0 0; font-size: 15px !important; color: var(--muted); }
.scn-badge { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.scn.g[open] { border-color: #22c55e; } .scn.g .scn-badge { background: color-mix(in srgb, #22c55e 18%, transparent); color: #16a34a; }
.scn.y[open] { border-color: #f59e0b; } .scn.y .scn-badge { background: color-mix(in srgb, #f59e0b 18%, transparent); color: #b45309; }
.scn.r[open] { border-color: #ef4444; } .scn.r .scn-badge { background: color-mix(in srgb, #ef4444 16%, transparent); color: #dc2626; }

/* ===================== v13: Flo chat-bubble mascot ===================== */
.chat.has-flo { transform: none; transition: none; }
.chat.has-flo .chat-fab, .flo-wrap { width: 78px; height: 78px; }
.fb { width: 100%; height: 100%; overflow: visible; }
.fb-shadow { fill: rgba(20,25,60,.2); transform-origin: 50px 95px; animation: shadowpulse 3.2s ease-in-out infinite; }
.fb-body { transform-origin: 50px 88px; animation: fbfloat 3.2s ease-in-out infinite; }
@keyframes fbfloat { 50% { transform: translateY(-4px); } }
.fb-dots circle { fill: #fff; opacity: 0; transition: opacity .25s; }
.fb-face { transition: opacity .25s, transform .3s var(--ease); transform-origin: 50px 45px; }
.fb-typing .fb-dots circle { opacity: 1; animation: think 1s infinite; }
.fb-typing .fb-dots circle:nth-child(2) { animation-delay: .15s; } .fb-typing .fb-dots circle:nth-child(3) { animation-delay: .3s; }
.fb-typing .fb-face { opacity: 0; transform: scale(.6); }
.fb-eyes ellipse { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.fb-pupils { transition: transform .12s; }
.fb-spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.chat.fb-pop .fb-body { animation: fbpop .7s var(--ease); }
@keyframes fbpop { 0% { transform: scale(1, 1); } 25% { transform: scale(1.15, .85); } 50% { transform: scale(.92, 1.1) translateY(-10px); } 75% { transform: scale(1.04, .97); } 100% { transform: scale(1); } }
.chat.fb-pop .fb-mouth, .chat.fb-hover .fb-mouth { d: path("M42 55 q8 8 16 0"); }
.chat.fb-hover .fb-eyes ellipse { animation: none; transform: scale(1.1); }
.chat.fb-hover .fb-body { animation: fbwiggle .6s ease-in-out; }
@keyframes fbwiggle { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.flo-bubble { right: 66px; bottom: 66px; }
.chat-av.flo-av { width: 42px; height: 42px; }
.fb.mini { width: 36px; height: 36px; } .fb.mini .fb-shadow, .fb.mini .fb-spark { display: none; } .fb.mini .fb-dots { display: none; }
html.reduce-motion .fb-body, html.reduce-motion .fb-spark, html.reduce-motion .fb-shadow { animation: none !important; }
@media (max-width: 600px) { .chat.has-flo .chat-fab, .flo-wrap { width: 64px; height: 64px; } .flo-bubble { right: 54px; bottom: 54px; } }

/* ===================== v13: Tools page ===================== */
.how3 { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 820px; }
@media (max-width: 700px) { .how3 { grid-template-columns: 1fr; } }
.how3 li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.how3 li > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.how3 strong { display: block; font-size: 15px; } .how3 small { color: var(--muted); font-size: 13px; }
.goals2 { margin: 10px 0 26px; }
.goals2 h2 { font-size: 22px; margin-bottom: 14px; }
.goals2 .goal { justify-content: flex-start; gap: 12px; }
.g-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); font-size: 18px; flex: none; }
.goal[aria-pressed="true"] .g-ico { background: var(--card); }
.toolbar { position: sticky; top: 64px; z-index: 6; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; margin: 0 -12px; border-radius: 18px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
.tb-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.tb-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tb-search .search { margin: 0; border: 0; padding: 12px 0; background: transparent; max-width: none; outline: none; }
.seg2 { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.seg2 .chip { border: 0; padding: 7px 12px; border-radius: 9px; background: transparent; }
.seg2 .chip[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.easy-tg { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.easy-tg input { accent-color: var(--accent); width: 18px; height: 18px; }
.tb-status { display: flex; justify-content: space-between; align-items: center; min-height: 34px; margin: 6px 0 18px; font-size: 14px; color: var(--muted); }
.cat-nav a span { width: 18px; text-align: center; }
.cat-nav a { justify-content: flex-start; } .cat-nav a small { margin-left: auto; }
.tool-section-head { align-items: flex-start; margin-bottom: 16px; }
.tool-section-head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: transform .25s var(--ease), border-color .25s, box-shadow .3s; position: relative; overflow: hidden; }
.tcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, hsl(var(--h) 80% 60%), hsl(calc(var(--h) + 40) 80% 60%)); opacity: .8; }
.tcard:hover { transform: translateY(-4px); border-color: hsl(var(--h) 70% 60%); box-shadow: 0 22px 44px -26px hsl(var(--h) 60% 40% / .6); }
.tc-top { display: flex; align-items: center; gap: 12px; }
.tc-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 55%), hsl(calc(var(--h) + 40) 75% 55%)); flex: none; }
.tc-ico.big { width: 60px; height: 60px; font-size: 24px; border-radius: 18px; }
.tc-id h3 { margin: 0; font-size: 18px; } .tc-id span { font-size: 13px; color: var(--muted); }
.lvl2 { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.lvl2.easy { background: color-mix(in srgb, #22c55e 16%, transparent); color: #16a34a; }
.lvl2.mid { background: color-mix(in srgb, #3b82f6 15%, transparent); color: #2563eb; }
.lvl2.adv { background: color-mix(in srgb, #f59e0b 18%, transparent); color: #b45309; }
.tc-desc { margin: 0; font-size: 15px; color: var(--muted); }
.tc-best { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-best span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--text); }
.tcard .take { margin: 0; }
.tc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 6px; }
.tc-open { padding: 8px 14px; font-size: 14px; cursor: pointer; font-family: inherit; }
.tc-visit { font-size: 14px; font-weight: 600; }
.tcard.spot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.empty2 { text-align: center; padding: 50px 20px; border: 2px dashed var(--line); border-radius: 22px; }
.empty2 > span { font-size: 40px; } .empty2 p { color: var(--muted); }
.drawer-back { position: fixed; inset: 0; z-index: 90; background: rgba(10,14,40,.4); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.drawer-back.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(460px, 100vw); overflow-y: auto; padding: 28px; background: var(--card); color: var(--text); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); transform: translateX(100%); transition: transform .35s var(--ease); }
.drawer.open { transform: none; }
.dr-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-size: 20px; cursor: pointer; }
.dr-head { display: flex; gap: 14px; align-items: center; margin: 8px 0 16px; }
.dr-head h2 { margin: 0; font-size: 26px; } .dr-head > div > span { font-size: 14px; color: var(--muted); }
.dr-head .lvl2 { margin-left: 4px; }
.dr-desc { font-size: 16px; }
.dr-take { padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); margin: 16px 0; }
.dr-take .hand { font-size: 22px; color: var(--accent); } .dr-take p { margin: 2px 0 0; }
.drawer h3 { font-size: 15px; margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dr-steps { list-style: none; counter-reset: d; padding: 0; margin: 0; display: grid; gap: 10px; }
.dr-steps li { counter-increment: d; position: relative; padding: 12px 14px 12px 52px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; }
.dr-steps li::before { content: counter(d); position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.dr-note { font-size: 14px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); margin: 18px 0; }
.dr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chat-how { margin: 8px 0; padding-left: 20px; } .chat-how li { margin-bottom: 4px; }
.chat-take { margin: 8px 0; padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); font-size: 14px; }
.chat-lvl { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, #22c55e 16%, transparent); color: #16a34a; }
.goals2 .goal span:last-child { color: var(--text); } .goals2 .goal[aria-pressed="true"] span:last-child { color: var(--accent); }

/* ===================== v15 ===================== */
/* Sticky sections: overflow:hidden broke position:sticky */
#approach, #testimonials, #faq { overflow: clip; }
.ap-side { position: sticky; top: 96px; align-self: start; }
.ap-wrap { align-items: start; }

/* Calmer hero */
.hero-v3 .dotgrid { animation: none; -webkit-mask-image: radial-gradient(600px circle at 75% 40%, #000, transparent 70%); mask-image: radial-gradient(600px circle at 75% 40%, #000, transparent 70%); opacity: .6; }
.hero-v3 .blobs span { opacity: .14; animation-duration: 40s; }
.cmp { width: 100%; max-width: 460px; justify-self: end; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(30,40,100,.45); }
@media (max-width: 900px) { .cmp { justify-self: stretch; max-width: none; } }
.cmp-head { display: flex; justify-content: space-between; align-items: center; }
.cmp-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp-dots { display: flex; gap: 6px; }
.cmp-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.cmp-dots button[aria-selected="true"] { width: 24px; background: var(--accent); }
.cmp-task { font-size: 22px; margin: 8px 0 20px; }
.cmp.play .cmp-task { animation: msgin .4s var(--ease); }
.cmp-row { padding: 16px 0; border-top: 1px solid var(--line); }
.cmp-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.cmp-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.manual .cmp-num { color: #ea580c; } .ai .cmp-num { color: #16a34a; }
.cmp-bar { height: 10px; border-radius: 10px; background: var(--bg-soft); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; }
.manual .cmp-bar i { background: linear-gradient(90deg, #fbbf24, #f97316); }
.ai .cmp-bar i { background: linear-gradient(90deg, #22c55e, #14b8a6); }
.cmp.play .manual .cmp-bar i { animation: barw 1.1s var(--ease) .2s forwards; }
.cmp.play .ai .cmp-bar i { animation: barw 1.1s var(--ease) 1.5s forwards; }
@keyframes barw { to { width: var(--w); } }
.cmp-steps { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.cmp.play .ai .cmp-steps { animation: fadein .5s ease 1.9s both; }
@keyframes fadein { from { opacity: 0; } }
.cmp-cap { margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cmp-cap strong { color: var(--text); }
html.reduce-motion .cmp-bar i { width: var(--w); }

/* Services: expanding panels */
.xps { display: flex; gap: 14px; min-height: 520px; }
.xp { position: relative; flex: 1; min-width: 0; border-radius: 26px; overflow: hidden; cursor: pointer; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: flex .6s var(--ease), background .4s, border-color .4s; outline: none; }
.xp.open { flex: 3.2; cursor: default; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border-color: rgba(165,180,255,.5); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.xp:focus-visible { box-shadow: 0 0 0 3px #a5b4ff; }
.xp-closed { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 20px; transition: opacity .3s; }
.xp-closed h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 24px; margin: 0; white-space: nowrap; align-self: flex-start; }
.xp-plus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.12); }
.xp.open .xp-closed { opacity: 0; pointer-events: none; }
.xp-open { position: relative; height: 100%; padding: 32px; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--ease); width: 100%; min-width: 440px; }
.xp.open .xp-open { opacity: 1; transform: none; transition-delay: .25s; }
.xp-num { font-size: 14px; font-weight: 800; color: #a5b4ff; letter-spacing: .08em; }
.xp-open h3 { font-size: 30px; margin: 6px 0 4px; }
.xp-tag { font-family: Caveat, cursive; font-size: 26px; color: #5eead4; margin: 0 0 10px; }
.xp-open > p { color: var(--muted); max-width: 520px; }
.xp-open ul { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 520px; }
.xp-open li { padding-left: 26px; position: relative; font-size: 15px; }
.xp-open li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; background: rgba(94,234,212,.2); color: #5eead4; font-weight: 800; }
.xp-ex { margin-top: auto; padding: 16px; border-radius: 16px; background: rgba(15,20,64,.45); border: 1px solid rgba(255,255,255,.12); font-size: 15px; max-width: 520px; }
.xp-ex span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a5b4ff; margin-bottom: 4px; }
.xp-art { position: absolute; right: 26px; top: 26px; width: 150px; color: #c4b5fd; opacity: .9; }
.xp-art svg { width: 100%; height: auto; }
.xp-art .dash { stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }
.xp.open .xp-art { animation: float2 5s ease-in-out infinite; }
@media (max-width: 900px) {
  .xps { flex-direction: column; min-height: 0; }
  .xp { flex: none !important; }
  .xp-closed { position: relative; flex-direction: row; align-items: center; padding: 20px; gap: 14px; }
  .xp-closed h3 { writing-mode: horizontal-tb; transform: none; font-size: 19px; flex: 1; }
  .xp.open .xp-closed { display: none; }
  .xp-open { display: none; min-width: 0; padding: 24px; }
  .xp.open .xp-open { display: flex; }
  .xp-art { width: 90px; right: 16px; top: 16px; }
  .xp-open ul { grid-template-columns: 1fr; }
}

/* Flo: eyes only */
.fbg-happy, .fbg-sleep, .fbg-wink, .fbg-z { opacity: 0; transition: opacity .2s; }
.fb-open, .fb-pupils { transition: transform .35s var(--ease), opacity .2s; transform-box: fill-box; }
.fb-hi .fb-open, .fb-sleep .fb-open { opacity: 0; }
.fb-hi .fbg-happy { opacity: 1; }
.fb-hi .fb-body { animation: fbhop .6s var(--ease) 2; }
@keyframes fbhop { 50% { transform: translateY(-8px) rotate(-4deg); } }
.fb-sleep .fbg-sleep, .fb-sleep .fbg-z { opacity: 1; }
.fb-sleep .fbg-z text { animation: zfloat 2.4s ease-in-out infinite; }
.fb-sleep .fbg-z text:nth-child(2) { animation-delay: .6s; }
@keyframes zfloat { 0% { transform: translate(0,4px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translate(4px,-6px); opacity: 0; } }
.fb-sleep .fb-body { animation: breathe2 3.4s ease-in-out infinite; }
@keyframes breathe2 { 50% { transform: scale(1.03, .97); } }
.fb-bored .fb-pupils { transform: translate(0, 3px) !important; }
.fb-wink .fb-pupils circle:nth-child(3) { opacity: 0; }
.fb-wink .fbg-wink { opacity: 1; }
.fb-roll .fb-pupils { animation: roll 1.4s ease-in-out; }
@keyframes roll { 0% { transform: translate(0,0); } 25% { transform: translate(-4px,-5px); } 50% { transform: translate(0,-6px); } 75% { transform: translate(4px,-5px); } 100% { transform: translate(0,0); } }
.fb-look .fb-pupils { animation: look 1.8s ease-in-out; }
@keyframes look { 0%, 100% { transform: translate(0,0); } 25%, 40% { transform: translate(-4px,0); } 60%, 80% { transform: translate(4px,0); } }
.fb-surprise .fb-pupils { transform: scale(.8) !important; }
.fb-spark { display: none; }
.fb.mini .fbg-z { display: none; }

/* About page */
.float-chip { position: absolute; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(30,40,100,.4); transition: translate .2s ease-out; animation: float2 5s ease-in-out infinite; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.story { display: grid; gap: 22px; }
.st-node[aria-selected="true"] .st-dot { transform: scale(1.18); border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 26px -10px var(--accent); }
.st-node[aria-selected="true"] .st-year { color: var(--text); }
 .flip[aria-pressed="true"] .flip-in { transform: rotateY(180deg); }
.sk-filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ===================== v16: Flo binocular eyes ===================== */
.fb-dots circle { opacity: 0; }
.fb-typing .fb-dots circle { opacity: 1; animation: dotwave 1.8s ease-in-out infinite; }
.fb-typing .fb-dots circle:nth-child(2) { animation-delay: .2s; } .fb-typing .fb-dots circle:nth-child(3) { animation-delay: .4s; }
@keyframes dotwave { 0%, 60%, 100% { transform: translateY(0); opacity: 1; } 30% { transform: translateY(-3px); opacity: .7; } }
.fb-hi .fb-body { animation: fbhop .6s var(--ease) 2; }
.fb-tilt .fb-face { transform: rotate(-8deg); transition: transform .5s var(--ease); }
.fb-sleep .fbg-z { opacity: 1; }

/* ===================== v16: About page ===================== */
.ab2 { padding: 70px 0 90px; }
.ab2-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .ab2-grid { grid-template-columns: 1fr; gap: 36px; } }
.pf { position: sticky; top: 96px; padding: 18px 18px 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(30,40,100,.45); }
@media (max-width: 920px) { .pf { position: static; max-width: 420px; } }
.pf-photo { border-radius: 20px; overflow: hidden; }
.pf-photo img { display: block; width: 100%; height: auto; aspect-ratio: 300/320; object-fit: cover; transition: transform .6s var(--ease); }
.pf:hover .pf-photo img { transform: scale(1.03); }
.pf-name { font-size: 26px; margin: 18px 4px 2px; letter-spacing: -0.02em; }
.pf-role { margin: 0 4px 14px; color: var(--accent); font-weight: 600; font-size: 15px; }
.pf-meta { list-style: none; margin: 0 0 18px; padding: 14px 4px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pf-meta li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--muted); }
.pf-meta span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-soft); font-size: 14px; flex: none; }
.pf-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-btns .btn { text-align: center; padding: 11px; }
.pf-ask { width: 100%; margin-top: 10px; padding: 11px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--accent) 50%, var(--line)); background: var(--accent-soft); color: var(--accent); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .2s var(--ease); }
.pf-ask:hover { transform: translateY(-2px); }
.ab2-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; margin: 6px 0 14px; }
.ab2-main > .lead { max-width: 640px; }
.tabs { position: relative; display: flex; gap: 4px; margin: 34px 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 12px 16px; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s; }
.tabs button[aria-selected="true"], .tabs button:hover { color: var(--text); }
.tab-ink { position: absolute; left: 0; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: transform .35s var(--ease), width .35s var(--ease); }
.tpanel.show { animation: msgin .4s var(--ease); }
.tp-hint { color: var(--muted); font-size: 14px; }
.chapters { display: grid; gap: 4px; position: relative; }
.ch { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 16px 0; position: relative; }
.ch:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 60px; bottom: -4px; width: 2px; background: var(--line); }
.ch-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--bg-soft); border: 2px solid var(--line); color: var(--muted); }
.ch.now .ch-n { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }
.ch h3 { margin: 8px 0 6px; font-size: 19px; } .ch p { margin: 0; color: var(--muted); }
.xrs { display: grid; gap: 10px; }
.xr { border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: border-color .25s, box-shadow .25s; }
.xr[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 16px 36px -28px rgba(30,40,100,.5); }
.xr summary { list-style: none; display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; }
.xr summary::-webkit-details-marker { display: none; }
.xr-when { font-size: 13px; font-weight: 700; color: var(--accent); }
.xr-main strong { display: block; font-size: 16px; } .xr-main small { color: var(--muted); font-size: 14px; }
.xr-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); position: relative; transition: transform .3s var(--ease); }
.xr-ico::before, .xr-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 2px; background: var(--text); transform: translate(-50%,-50%); }
.xr-ico::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .3s; }
.xr[open] .xr-ico::after { transform: translate(-50%,-50%) rotate(0); }
.xr ul { margin: 0; padding: 0 18px 16px 162px; color: var(--muted); font-size: 15px; animation: msgin .3s var(--ease); }
.xr li { margin-bottom: 4px; }
@media (max-width: 600px) { .xr summary { grid-template-columns: 1fr auto; } .xr-when { grid-column: 1 / -1; } .xr ul { padding-left: 36px; } }
.sgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .sgs { grid-template-columns: 1fr; } }
.sg { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.sg h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 12px; }
.sg h3 span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sg-chips span { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); transition: background .2s, color .2s; }
.sg:hover .sg-chips span { background: var(--accent-soft); color: var(--accent); }
.edu2 { display: grid; gap: 12px; }
.ed { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.ed-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--accent-soft); flex: none; }
.ed-y { font-size: 13px; font-weight: 700; color: var(--accent); }
.ed h3 { margin: 2px 0; font-size: 17px; } .ed p { margin: 0; color: var(--muted); font-size: 14px; }
.hiw { margin-top: 40px; padding: 24px; border-radius: 20px; background: var(--bg-soft); }
.hiw h3 { margin: 0 0 14px; font-size: 17px; }
.hiw ol { list-style: none; counter-reset: h; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.hiw li { counter-increment: h; padding: 7px 12px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hiw li::before { content: counter(h); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.hiw p { margin: 0; font-size: 14px; color: var(--muted); }
.ab2-grid { grid-template-columns: 340px minmax(0, 1fr); }
@media (max-width: 920px) { .ab2-grid { grid-template-columns: minmax(0, 1fr); } }
.ab2-main, .pf { min-width: 0; }
.ab2-title { overflow-wrap: anywhere; }

/* ===================== v17: Flo simple pill eyes ===================== */
.fx-happy, .fx-sleep, .fx-bored, .fx-wink, .fx-love { opacity: 0; transition: opacity .2s; }
.feyes { transition: translate .15s; }
.pill { transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease), opacity .15s; animation: pblink 5.5s infinite; }
.pill.r { animation-delay: .04s; }
@keyframes pblink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.fb-hi .pill, .fb-sleep .pill, .fb-bored .pill, .fb-love .pill { opacity: 0; animation: none; }
.fb-hi .fx-happy, .fb-sleep .fx-sleep, .fb-bored .fx-bored, .fb-love .fx-love { opacity: 1; }
.fb-wink .pill.l { opacity: 0; animation: none; } .fb-wink .fx-wink { opacity: 1; }
.fb-love .fx-love { animation: lovebeat .7s ease-in-out 2; transform-box: fill-box; transform-origin: center; }
@keyframes lovebeat { 50% { transform: scale(1.15); } }
.fb-surprise .pill { animation: none; transform: scale(1.25, 1.1); }
.fb-look .feyes { animation: plook 1.8s ease-in-out; }
@keyframes plook { 0%, 100% { transform: translateX(0); } 25%, 40% { transform: translateX(-5px); } 60%, 80% { transform: translateX(5px); } }
.fb-roll .feyes { animation: proll 1.4s ease-in-out; }
@keyframes proll { 0%, 100% { transform: translate(0,0); } 25% { transform: translate(-4px,-4px); } 50% { transform: translate(0,-6px); } 75% { transform: translate(4px,-4px); } }
.fb-tilt .fb-face { transform: rotate(-8deg); transition: transform .5s var(--ease); transform-box: view-box; transform-origin: 50px 45px; }
.fb-tilt .pill.r { transform: scaleY(.85); }
.fb-sleep .fbg-z { opacity: 1; }
.fb.mini .pill { animation: none; }

/* Logo mark */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: -0.02em; color: #fff; background: linear-gradient(135deg, #4f7cff, #7c3aed 60%, #14b8a6); box-shadow: 0 6px 14px -6px rgba(79,124,255,.7); transition: transform .3s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; color: var(--text); font-size: 16px; }
.logo-text small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
@media (max-width: 420px) { .logo-text small { display: none; } .logo-text { font-size: 15px; } }
.brand span.logo-mark { color: #fff; } .brand span.logo-text { color: var(--text); } .brand span.logo-text small { color: var(--muted); }

/* Keyboard focus outline (kept for accessibility) */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

html.reduce-motion .af-dot { display: none; }
@media (prefers-reduced-motion: reduce) { html:not(.allow-motion) .af-dot { display: none; } }
