/* Public site (/, /work, /bot): warm, colourful and soft, deliberately unlike the dark dashboard. */
@font-face { font-family: 'Bricolage'; src: url('/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --cream: #fbf4ea;
  --paper: #fffcf7;
  --ink: #241d16;
  --ink-2: #5f554a;
  --ink-3: #766a5e;
  --line: #ecdfcc;
  --coral: #ff7a59;  --coral-soft: #ffe3d8;
  --sun: #ffc23d;    --sun-soft: #fff0c4;
  --mint: #22c08a;   --mint-soft: #d3f4e6;
  --lilac: #9a7bff;  --lilac-soft: #ebe3ff;
  --sky: #45a8f5;    --sky-soft: #dbeefe;
  --radius: 26px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 1px 2px rgba(90, 60, 30, .06), 0 18px 40px -22px rgba(90, 60, 30, .28);
  --display: 'Bricolage', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', ui-sans-serif, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.site::after { /* paper grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-block; font: 700 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
h1, h2, h3, .display { font-family: var(--display); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 54px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }

/* Breathing colour blobs */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blobs span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 26s var(--ease) infinite alternate; }
.blobs span:nth-child(1) { background: var(--coral-soft); top: -18vmax; left: -12vmax; }
.blobs span:nth-child(2) { background: var(--sun-soft); top: 10vmax; right: -16vmax; animation-duration: 31s; animation-delay: -6s; }
.blobs span:nth-child(3) { background: var(--mint-soft); bottom: -22vmax; left: 18vw; animation-duration: 34s; animation-delay: -12s; }
.blobs span:nth-child(4) { background: var(--lilac-soft); bottom: 10vmax; right: 22vw; width: 30vmax; height: 30vmax; animation-duration: 28s; animation-delay: -3s; }
.page-bot .blobs span:nth-child(1) { background: var(--mint-soft); }
.page-bot .blobs span:nth-child(2) { background: var(--lilac-soft); }
.page-bot .blobs span:nth-child(3) { background: var(--sky-soft); }
.page-bot .blobs span:nth-child(4) { background: var(--sun-soft); }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vmax, 3vmax) scale(1.12); }
  100% { transform: translate(-3vmax, 5vmax) scale(.94); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; color: var(--ink); background: var(--paper);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 20px -10px rgba(60, 35, 10, .35); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 14px 26px -12px rgba(60, 35, 10, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn i { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-mint { background: var(--mint); color: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 2px var(--line), 0 10px 22px -14px rgba(60, 35, 10, .35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.copy-hint { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.micro { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; padding: 14px 0; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(251, 244, 234, .78); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 750 21px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.mark { width: 22px; height: 22px; border-radius: 8px; background: var(--coral); box-shadow: inset 0 0 0 5px var(--coral), inset 0 0 0 11px var(--cream); flex: none; }
.mark-bot { background: var(--mint); box-shadow: inset 0 0 0 5px var(--mint), inset 0 0 0 11px var(--cream); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.nav-cta { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--ink); color: var(--paper); transition: transform .3s var(--ease); }
.pill:hover { transform: translateY(-1px); }
.pill i { font-style: normal; }
.pill-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.pill-mint { background: var(--mint); color: #fff; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: clamp(36px, 7vw, 90px) 0 clamp(40px, 6vw, 80px); }
.display { font-size: clamp(44px, 7.2vw, 88px); }
.display .hl { background: linear-gradient(transparent 62%, var(--mint-soft) 62%, var(--mint-soft) 92%, transparent 92%); }
.lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.hero-copy .eyebrow { margin-bottom: 18px; }

.who { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.avatar { width: 64px; height: 64px; border-radius: 22px; object-fit: cover; box-shadow: 0 0 0 4px var(--paper), 0 10px 24px -10px rgba(60, 35, 10, .5); transform: rotate(-4deg); }
.avatar-ph { display: grid; place-items: center; background: var(--coral); color: #fff; font: 800 28px var(--display); }
.who-name { font: 750 20px/1.1 var(--display); letter-spacing: -.02em; }
.who-role { color: var(--ink-3); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--mint-soft); color: #0f6e4d; font-weight: 700; font-size: 13.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(34, 192, 138, .6); animation: pulse 2.4s infinite; flex: none; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 192, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 192, 138, 0); } }

.hero-art { position: relative; min-height: 420px; }
.orb { position: absolute; inset: 8% 6% 4% 10%; border-radius: 44% 56% 52% 48% / 50% 42% 58% 50%; background: radial-gradient(circle at 30% 30%, #ffd2c0, var(--coral-soft) 45%, var(--sun-soft) 80%); animation: morph 16s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 56% 44% 40% 60% / 44% 58% 42% 56%; transform: rotate(8deg) scale(1.04); } }
.float-card { position: absolute; z-index: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 18px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); min-width: 230px; animation: bob 7s ease-in-out infinite; }
.float-card b { font-size: 15.5px; }
.float-card span:last-child { grid-column: 2; font-size: 13.5px; color: var(--ink-3); }
.fc-emoji { grid-row: span 2; font-size: 26px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--sun-soft); }
.fc1 { top: 10%; left: 0; transform: rotate(-3deg); }
.fc2 { top: 42%; right: 0; animation-delay: -2.4s; }
.fc2 .fc-emoji { background: var(--lilac-soft); }
.fc3 { bottom: 6%; left: 12%; animation-delay: -4.6s; }
.fc3 .fc-emoji { background: var(--mint-soft); }
@keyframes bob { 50% { translate: 0 -12px; } }

/* Live stats */
.stats { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 14px; }
.stat { padding: 24px 26px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.stat b { font: 750 clamp(38px, 5vw, 56px)/1 var(--display); letter-spacing: -.04em; }
.stat span { color: var(--ink-2); }
.stat-note { flex-direction: row; align-items: center; gap: 12px; background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--ink-2); font-size: 15px; }

/* Sections */
.section { padding: clamp(56px, 9vw, 110px) 0 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; font-size: 18.5px; color: var(--ink-2); }

/* Tints shared by cards */
.tint-coral { --t: var(--coral); --ts: var(--coral-soft); }
.tint-sun { --t: var(--sun); --ts: var(--sun-soft); }
.tint-mint { --t: var(--mint); --ts: var(--mint-soft); }
.tint-lilac { --t: var(--lilac); --ts: var(--lilac-soft); }
.tint-sky { --t: var(--sky); --ts: var(--sky-soft); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* Three or more: rows of three, a short last row centred */
.projects:not(.is-single):not(.is-pairs) { display: flex; flex-wrap: wrap; justify-content: center; }
.projects:not(.is-single):not(.is-pairs) > .project { flex: 0 1 calc((100% - 36px) / 3); min-width: 0; }
@media (max-width: 1000px) { .projects:not(.is-single):not(.is-pairs) > .project { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 600px) { .projects:not(.is-single):not(.is-pairs) > .project { flex-basis: 100%; } }
/* Two or four projects: two per row, so no row ends with a gap */
.projects.is-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* One project: one wide card, the numbers on the right */
.projects.is-single { grid-template-columns: 1fr; }
.projects.is-single .project { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; grid-template-areas: "head nums" "desc nums" "tags nums" "visit nums"; gap: 18px 36px; padding: 32px; }
.projects.is-single .project::before { height: 120px; }
.projects.is-single .p-head { grid-area: head; }
.projects.is-single .p-numbers { grid-area: nums; align-content: center; padding: 32px 34px; gap: 18px 24px; }
.projects.is-single .p-num b { font-size: clamp(48px, 5.4vw, 72px); }
.projects.is-single .p-num > span { font-size: 15px; }
.projects.is-single .p-meter { height: 10px; }
.projects.is-single .p-desc { grid-area: desc; -webkit-line-clamp: 6; font-size: 16.5px; }
.projects.is-single .p-tags { grid-area: tags; align-self: start; }
.projects.is-single .p-visit { grid-area: visit; align-self: end; }
@media (max-width: 1000px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .projects.is-single .project { display: flex; padding: 24px; }
  .projects.is-single .p-num b { font-size: clamp(34px, 9vw, 44px); }
}
.project { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.project::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 92px; background: linear-gradient(135deg, var(--ts), transparent 85%); z-index: 0; }
.project > * { position: relative; }
.project:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 1px 0 #fff inset, 0 26px 50px -26px rgba(90, 60, 30, .38); }
.p-head { display: flex; align-items: center; gap: 16px; }
.p-icon { width: 64px; height: 64px; border-radius: 20px; object-fit: cover; box-shadow: 0 0 0 4px var(--paper); flex: none; }
.p-ph { display: grid; place-items: center; background: var(--t); color: #fff; font: 800 26px var(--display); }
.p-title { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.p-title h3 { margin: 0; }
.p-role { padding: 4px 11px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1.5px var(--ts) inset; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
/* The numbers: the first thing a visitor should read */
.p-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 20px 22px 18px; border-radius: 22px; background: linear-gradient(160deg, var(--ts), color-mix(in srgb, var(--ts) 45%, var(--paper))); }
.p-num { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-num b { display: flex; align-items: center; gap: 10px; font: 800 clamp(34px, 4vw, 44px)/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-num > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.p-online b { color: var(--ink); }
.pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #2fbf71; flex: none; font-style: normal; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #2fbf71; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .55; } to { transform: scale(2.6); opacity: 0; } }
.p-meter { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--paper) 70%, transparent); overflow: hidden; }
.p-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2fbf71, #5fd99a); transition: width 1s var(--ease); }
.p-desc { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.p-tags { padding-top: 16px; border-top: 1.5px dashed var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 999px; background: var(--ts); font-size: 12px; font-weight: 650; letter-spacing: .01em; color: var(--ink-2); }
/* The whole card is the link; "Visit" sits at the very bottom. */
a.project { color: inherit; text-decoration: none; cursor: pointer; }
.p-visit { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; transition: background .3s var(--ease), letter-spacing .3s var(--ease); }
.p-visit i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.project.is-link::before { transition: height .5s var(--ease), opacity .5s var(--ease); }
.project .p-icon { transition: transform .5s var(--ease); }
.project.is-link:hover, .project.is-link:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--t) inset, 0 30px 60px -28px rgba(90, 60, 30, .45); outline: none; }
.project.is-link:hover::before, .project.is-link:focus-visible::before { height: 100%; opacity: .55; }
.project.is-link:hover .p-icon { transform: rotate(-6deg) scale(1.06); }
.project.is-link:hover .p-visit, .project.is-link:focus-visible .p-visit { background: var(--t); }
.project.is-link:hover .p-visit i { transform: translate(3px, -3px); }
.project.is-link:active { transform: translateY(-2px) scale(.99); }
@media (prefers-reduced-motion: reduce) { .project, .project *, .project::before { transition: none !important; } .pulse::after { animation: none; } }
.empty-card { display: flex; align-items: center; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); color: var(--ink-2); }
.empty-card span { font-size: 34px; }

/* Services / features */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service, .feature { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); transition: transform .45s var(--ease); }
.service:hover, .feature:hover { transform: translateY(-4px); }
.s-icon { width: 54px; height: 54px; display: grid; place-items: center; font-size: 26px; border-radius: 18px; background: var(--ts); margin-bottom: 6px; transition: transform .5s var(--ease); }
.service:hover .s-icon, .feature:hover .s-icon { transform: rotate(-8deg) scale(1.06); }
.service p, .feature p { color: var(--ink-2); font-size: 16px; }
.service .why { margin-top: auto; padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: 15px; }
.service .why b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t); margin-bottom: 4px; filter: saturate(1.2) brightness(.8); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: 22px; align-items: start; }
.feature-wide .s-icon { grid-row: span 2; }
.feature-wide h3 { align-self: end; }
.feature-wide p { grid-column: 2; }
.feature-wide .feature-demo { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.mini-chart i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--sky), #8fd0ff); opacity: .85; }
.mini-chart i:nth-last-child(-n+3) { background: linear-gradient(180deg, var(--mint), #7fe3bf); }
.mini-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.mini-legend b { color: var(--ink); }
.feature-demo { margin-top: auto; padding: 14px; border-radius: 18px; background: var(--ts); }

/* Mock Discord messages */
.dm { display: grid; grid-template-columns: 38px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; text-align: left; }
.dm + .dm { margin-top: 14px; }
.dm-av { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); box-shadow: inset 0 0 0 9px var(--mint), inset 0 0 0 14px var(--paper); }
.dm b { font-weight: 700; }
.app { margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.dm p { color: var(--ink-2); margin-top: 2px; }
.dm-embed { margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: var(--paper); border-left: 4px solid var(--coral); display: flex; flex-direction: column; gap: 2px; }
.dm-embed span { color: var(--ink-2); }
.e-lilac { border-left-color: var(--lilac); }
.dm-btn { display: inline-block; margin-top: 8px; padding: 6px 14px; border-radius: 8px; background: var(--mint); color: #fff; font-weight: 700; font-size: 13px; }
.bar { margin-top: 8px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--coral)); }

.chat { border-radius: 28px; background: var(--paper); box-shadow: var(--shadow), 0 40px 80px -40px rgba(34, 120, 90, .35); overflow: hidden; transform: rotate(1.5deg); animation: bob 9s ease-in-out infinite; }
.chat-top { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1.5px solid var(--line); }
.chat-top span { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.chat-top span:nth-child(2) { background: var(--sun); }
.chat-top span:nth-child(3) { background: var(--mint); }
.chat-top b { margin-left: 10px; color: var(--ink-3); font-size: 14px; }
.chat-body { padding: 20px; background: linear-gradient(180deg, var(--paper), #fff8ee); }
.chat-body .dm-embed { background: #fff; box-shadow: 0 1px 3px rgba(60, 35, 10, .08); }

/* Steps, trust, checks */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 26px; border-radius: var(--radius); background: rgba(255, 252, 247, .65); box-shadow: inset 0 0 0 2px var(--line); }
.steps .n { display: inline-block; font: 750 15px var(--display); color: var(--coral); margin-bottom: 14px; }
.page-bot .steps .n { color: var(--mint); }
.steps b { display: block; font: 750 23px/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.trust-item { padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.trust-item b { font: 750 19px/1.2 var(--display); letter-spacing: -.02em; }
.trust-item p { margin-top: 8px; color: #cfc4b6; font-size: 15px; }

.split-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 34px; background: var(--ink); color: var(--paper); }
.split-band .eyebrow { color: #b9ad9f; }
.split-band h2 { margin-top: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; color: #d8cec2; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #fff; font-weight: 800; font-size: 14px; }
.checks b { color: var(--paper); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 700 18px/1.3 var(--body); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 24px/1 var(--display); color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* CTA band */
/* Centred and stacked: heading, text, then the button, with no empty middle */
.cta-band { display: grid; justify-items: center; text-align: center; gap: 26px; padding: clamp(30px, 5vw, 56px); border-radius: 34px; background: linear-gradient(120deg, var(--coral-soft), var(--sun-soft)); }
.cta-mint { background: linear-gradient(120deg, var(--mint-soft), var(--sky-soft)); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { margin: 12px auto 0; max-width: 62ch; color: var(--ink-2); font-size: 18px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.cta-band-actions .copy-hint { flex-basis: 100%; margin: 0; }

/* Footer */
.foot { margin-top: clamp(60px, 9vw, 110px); padding: 34px 0 40px; border-top: 1.5px solid var(--line); color: var(--ink-3); font-size: 14.5px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mark-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; text-decoration: none; }
.mark-link .mark { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 4px var(--coral), inset 0 0 0 9px var(--cream); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-note { margin-top: 16px; font-size: 13px; }

/* Home: two doors */
.page-home { min-height: 100vh; }
.doors { display: flex; gap: 14px; padding: 14px; min-height: 100vh; min-height: 100dvh; }
.door { position: relative; flex: 1; display: flex; align-items: flex-end; padding: clamp(26px, 4vw, 54px); border-radius: 36px; text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate;
  transition: flex .8s var(--ease), transform .6s var(--ease); }
.door-work { background: linear-gradient(160deg, #ffd9c9, var(--coral-soft) 45%, var(--sun-soft)); }
.door-bot { background: linear-gradient(160deg, #c8f2df, var(--mint-soft) 45%, var(--sky-soft)); }
.door:hover { flex: 1.22; }
.door-body { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.door-title { font: 780 clamp(64px, 11vw, 150px)/.88 var(--display); letter-spacing: -.055em; }
.door-text { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 26em; }
.door .btn { align-self: flex-start; margin-top: 8px; }
.door-work .btn { background: var(--ink); color: var(--paper); }
.door-bot .btn { background: var(--mint); color: #fff; }
.sticker { position: absolute; top: clamp(22px, 3vw, 36px); left: clamp(26px, 4vw, 54px); padding: 9px 16px; border-radius: 999px; background: var(--paper); font-weight: 800; font-size: 14px; box-shadow: var(--shadow); transform: rotate(-4deg); }
.door-bot .sticker { transform: rotate(3deg); }
.door-shape { position: absolute; z-index: -1; border-radius: 50%; transition: transform 1.2s var(--ease); }
.door-work .s1 { width: 46%; aspect-ratio: 1; top: 8%; right: -6%; background: var(--coral); opacity: .9; border-radius: 42% 58% 60% 40% / 46% 40% 60% 54%; animation: morph 14s ease-in-out infinite; }
.door-work .s2 { width: 16%; aspect-ratio: 1; top: 38%; right: 38%; background: var(--sun); }
.door-bot .s1 { width: 42%; aspect-ratio: 1; top: 10%; right: -4%; background: var(--mint); border-radius: 30%; animation: spin 40s linear infinite; }
.door-bot .s2 { width: 14%; aspect-ratio: 1; top: 36%; right: 40%; background: var(--lilac); border-radius: 26%; }
.door:hover .s1 { transform: scale(1.08) translate(-3%, 3%); }
.door:hover .s2 { transform: translate(-30%, -40%) rotate(25deg); }
@keyframes spin { to { rotate: 360deg; } }
.home-links { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 252, 247, .8); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.home-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.home-links a:hover { background: var(--cream); color: var(--ink); }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Responsive */
@media (max-width: 1020px) {
  .services, .trust, .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { display: flex; }
  .split-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 340px; }
  .nav-links { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-note { grid-column: span 2; }
  .doors { flex-direction: column; }
  .door { min-height: 46vh; }
  .door:hover { flex: 1; }
  .door { padding-top: 90px; }
  .door .s2 { display: none; }
  .door .s1 { width: 38%; top: -6%; right: -8%; }
  .home-links { position: static; transform: none; justify-content: center; margin: 4px auto 24px; width: max-content; }
}
@media (max-width: 600px) {
  body.site { font-size: 16px; }
  .services, .trust, .steps, .steps-3, .features { grid-template-columns: 1fr; }
  .projects, .projects.is-pairs { grid-template-columns: 1fr; }
  .nav-cta .pill-ghost { display: none; }
  .float-card { min-width: 0; }
  .fc2 { right: 4%; }
  .btn { height: 50px; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ───── The bot's real avatar ───── */
.av-img { object-fit: cover; border-radius: 50%; background: var(--mint-soft); box-shadow: none; }
.mark.mark-img { width: 30px; height: 30px; border-radius: 10px; }
.door-title-av { display: inline-flex; align-items: center; gap: .14em; }
.door-av { width: .62em; height: .62em; flex: none; border-radius: 30%; box-shadow: 0 10px 30px -12px rgba(20, 90, 60, .55); }
span.door-av { display: none; }

/* ───── Reviews ───── */
/* Reviews fill rows of three; a short last row is centred instead of leaving holes */
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.reviews > * { flex: 0 1 calc((100% - 32px) / 3); min-width: 0; }
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.review::before { content: '“'; position: absolute; right: 18px; top: -14px; font: 800 120px/1 var(--display); color: var(--ts); pointer-events: none; }
.review-featured { background: linear-gradient(160deg, var(--paper), var(--ts)); }
.review blockquote { margin: 0; font-size: 17px; color: var(--ink); position: relative; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.review figcaption > span { display: flex; flex-direction: column; line-height: 1.3; }
.review figcaption > span > span { color: var(--ink-3); font-size: 14px; }
.r-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.r-ph { display: grid; place-items: center; background: var(--ts); font-weight: 800; }
.stars { color: var(--sun); letter-spacing: 2px; font-size: 18px; filter: saturate(1.2); }
.stars i { font-style: normal; color: var(--line); }
.rating-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rating-sum b { font: 750 26px/1 var(--display); color: var(--ink); }
.reviews-how { margin-top: 22px; color: var(--ink-2); font-size: 15.5px; }
.reviews-how code, .empty-card code { font-size: .9em; padding: 2px 7px; border-radius: 8px; background: var(--sun-soft); }
@media (max-width: 960px) { .reviews > * { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .reviews > * { flex-basis: 100%; } }

.s-label { font: 700 11.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--t); filter: saturate(1.2) brightness(.8); margin-bottom: -4px; }

/* Headings break into even lines instead of leaving one or two words alone */
h1, h2, h3, .section-head p, .cta-band p { text-wrap: balance; }
p { text-wrap: pretty; }
