/* ==========================================================================
   Talkino — about, contact and blog pages.
   Loaded after /styles.css (the landing page) and built only from its tokens
   and motifs: the orange voice line, numbered chapters, pale-blue canvas,
   white cards with a pressed blue edge, the character on a brand field.
   ========================================================================== */

/* ---------- Base ---------- */
.site-page { overflow-x: clip; }
.skip-link { position: fixed; top: -60px; right: 12px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; }
.skip-link:focus { top: 12px; }
.site-page .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-page .icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-page main { display: flow-root; }
.site-page a:focus-visible,
.site-page input:focus-visible,
.site-page textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
.site-page [hidden] { display: none !important; }

/* Buttons: the landing styles them only inside its hero, so give them their colours here. */
.site-page .hero-cta { text-decoration: none; }
.site-page .hero-cta-primary { background: linear-gradient(115deg, #0759c9, #096eee); box-shadow: 0 3px 8px #0953ad21; }
.site-page .hero-cta-primary:hover { background: linear-gradient(115deg, #064cb0, #075fd6); }
.site-page .hero-cta-secondary { background: #f8fbff; border-color: #d4e2ee; color: #274d70; }
.site-page .hero-cta-secondary:hover { background: var(--brand-soft); border-color: var(--brand); }
.site-page .hero-cta svg { fill: none; stroke: currentColor; }
.site-page .hero-cta:active { transform: translateY(1px); }


/* Small confirmation for copy actions */
.site-toast {
  position: fixed;
  bottom: calc(92px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #10354b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 14px 30px -10px #0b2a4a80;
  translate: -50% 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--motion-ease), translate .25s var(--motion-ease);
}
.site-toast.is-on { opacity: 1; translate: -50% 0; }
.site-toast::before { width: 8px; height: 8px; border-radius: 50%; background: #3fd492; content: ""; }
@media (min-width: 900px) { .site-toast { bottom: 32px; } }

/* ---------- Page hero ---------- */
.page-hero-wrap { width: calc(100% - 2 * var(--page-gutter)); max-width: var(--content-width); margin-inline: auto; }
.page-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.ph-copy { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #6b8299; font-size: 13px; font-weight: 600; }
.crumbs a { color: var(--muted); transition: color .16s; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current], .crumbs > span:last-child { color: var(--ink); }
.page-hero h1 { display: flex; flex-direction: column; margin: 0; color: var(--ink); font-size: 34px; font-weight: 850; line-height: 1.45; letter-spacing: -.035em; text-wrap: balance; }
.page-hero h1 > span { display: block; }
.ph-kicker { display: block; margin-bottom: 8px; color: var(--brand); font-size: 15px; font-weight: 800; letter-spacing: 0; line-height: 1.5; }
.ph-lead { max-width: 540px; margin: 0; color: #425e74; font-size: 16px; line-height: 2; text-wrap: pretty; }
.ph-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.ph-visual { --mx: 0; --my: 0; position: relative; display: grid; place-items: end center; height: 380px; margin-top: 8px; padding-bottom: 34px; }
.ph-visual::before { position: absolute; z-index: -1; width: min(88%, 380px); height: 84%; top: 6%; border-radius: 45% 55% 60% 40% / 55% 38% 62% 45%; background: linear-gradient(145deg, #eef7ff, #e4f1ff99); transform: rotate(-9deg); content: ""; }
.ph-visual::after { position: absolute; bottom: 26px; left: 50%; z-index: 0; width: 210px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, #0b2a4a38, #0b2a4a14 60%, #0000); translate: -50% 0; content: ""; }
.ph-field { display: none; position: absolute; z-index: -1; pointer-events: none; }
.ph-field-fill { fill: #e4f1ff; opacity: .78; }
.ph-field-edge { fill: none; stroke: var(--brand); stroke-width: 1.5; opacity: .65; }
.ph-yuz { position: relative; z-index: 1; display: block; width: auto; height: 320px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px #0b2a4a24); transform: translate(calc(var(--mx) * -6px), calc(var(--my) * -4px)); transition: transform .5s var(--motion-ease); }
.is-blog .ph-yuz { height: 300px; }

/* Floating pieces around Yuz; --d is how far each drifts with the pointer */
.ph-float { position: absolute; z-index: 2; transform: translate(calc(var(--mx) * var(--d, 16px)), calc(var(--my) * var(--d, 16px))); transition: transform .5s var(--motion-ease); }
.ph-float > * { display: block; }

/* Bubbles beside Yuz: the learner's line, then the teacher's fix */
.ph-bubbles { display: grid; gap: 8px; --d: 22px; }
.ph-bubble { width: max-content; max-width: 230px; margin: 0; padding: 8px 12px; border: 1px solid #d5e1ed; border-radius: 15px 15px 15px 5px; background: #fff; box-shadow: 0 10px 24px -8px #16365230; color: #193850; font-size: 15px; font-weight: 700; line-height: 1.45; text-align: left; }
.ph-bubble small { display: block; margin-bottom: 2px; color: #506781; font: 600 11.5px/1.4 var(--fx); text-align: right; }
.ph-bubble mark { padding: 0 3px; border-radius: 4px; background: #ffe7e5; color: #97372f; }
.ph-bubble.is-right { justify-self: end; margin-inline-start: 34px; border-color: #b9d6f5; border-radius: 15px 15px 5px 15px; background: #eff7ff; }
.ph-bubble.is-right small { color: #205fa4; }
.ph-bubble.is-right mark { background: #d9f2e7; color: #146047; }

.ph-hello { margin: 0; padding: 9px 16px; white-space: nowrap; word-spacing: .12em; border-radius: 18px 18px 18px 6px; background: linear-gradient(135deg, #ff9d3d, var(--orange)); color: #fff; font-size: 17px; font-weight: 850; box-shadow: 0 12px 24px -10px #f38b24aa; }

/* Contact hero: real, tappable contact chips */
.ph-chip { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 18px; background: #ffffffee; box-shadow: inset 0 0 0 1px var(--border), 0 14px 30px -14px #0b2a4a59; color: var(--ink); font-size: 14px; font-weight: 800; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: box-shadow .2s, transform .5s var(--motion-ease); }
.ph-chip:hover { box-shadow: inset 0 0 0 1.5px var(--brand), 0 18px 34px -14px #066cf466; }
.ph-chip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.ph-chip i .icon { width: 19px; height: 19px; }
.ph-chip small { display: block; color: #6b8299; font-size: 11px; font-weight: 700; line-height: 1.4; }
.ph-chip.is-orange i { background: #fff1e2; color: #d7740f; }
.ph-chip.is-pink i { background: linear-gradient(135deg, #fff1de, #ffe3ef); color: #d62976; }
.ph-ping { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: #ffffffee; box-shadow: inset 0 0 0 1px var(--border), 0 10px 24px -10px #0b2a4a40; color: var(--ink); font-size: 12.5px; font-weight: 800; }
.ph-ping-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22b573; }
.ph-ping-dot::after { position: absolute; inset: 0; border-radius: 50%; background: #22b573; content: ""; }

.ph-word { padding: 7px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #d5e1ed, 0 10px 22px -10px #0b2a4a40; color: #0d4fa8; font-size: 15px; font-weight: 800; }
.ph-word.is-orange { color: #b35f0e; box-shadow: inset 0 0 0 1px #ffd9b3, 0 10px 22px -10px #b35f0e40; background: #fffaf4; }


/* Per-page placement of the floating pieces (mobile first, then desktop below) */
.is-about .ph-hello-wrap { top: 6%; right: 4%; }
.is-about .ph-bubbles { bottom: 15%; left: 0; }
.is-contact .is-phone { top: 12%; left: 0; }
.is-contact .is-insta { top: 46%; right: 0; }
.is-contact .ph-ping-wrap { bottom: 9%; left: 2%; }
.ph-w1 { top: 10%; left: 2%; }
.ph-w2 { top: 44%; right: 0; }
.ph-w3 { bottom: 16%; left: 0; }
.ph-word.is-green { color: #146047; background: #f2fbf6; box-shadow: inset 0 0 0 1px #bfe8d2, 0 10px 22px -10px #14604740; }
@media (max-width: 600px) {
  .ph-bubble { font-size: 13.5px; max-width: 190px; }
  .ph-hello { font-size: 15px; }
  .ph-chip { font-size: 12.5px; padding: 6px 10px 6px 6px; }
  .ph-chip i { width: 30px; height: 30px; }
  .ph-w3, .is-contact .ph-ping-wrap { display: none; }
}

.blog-search { position: relative; width: min(100%, 440px); margin: 4px 0 0; }
.blog-search .icon { position: absolute; top: 50%; right: 16px; translate: 0 -50%; color: #6b8299; pointer-events: none; }
.blog-search input { width: 100%; height: 54px; padding: 0 48px 0 18px; border: 1px solid #d4e2ee; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px -14px #0b2a4a40; color: var(--ink); font: 600 15px var(--fx); transition: border-color .18s, box-shadow .18s; }
.blog-search input::placeholder { color: #8aa0b5; font-weight: 500; }
.blog-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px #066cf41f, 0 8px 22px -14px #0b2a4a40; }

@media (min-width: 601px) {
  .page-hero h1 { font-size: 42px; }
  .ph-lead { font-size: 17px; }
  .ph-visual { height: 440px; }
  .ph-yuz { height: 370px; }
  .is-blog .ph-yuz { height: 340px; }
}
@media (min-width: 900px) {
  .page-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 32px; min-height: 540px; padding-top: 8px; }
  .ph-copy { align-items: flex-start; text-align: right; padding: 18px 0; }
  .page-hero h1 { font-size: clamp(42px, 4.2vw, 54px); line-height: 1.42; }
  .page-hero h1 > span:first-of-type { font-size: .8em; font-weight: 700; }
  .ph-actions { justify-content: flex-start; }
  .ph-visual { height: 560px; margin: 0; padding-bottom: 58px; }
  .ph-visual::before { content: none; }
  .ph-visual::after { bottom: 48px; width: 260px; height: 30px; }
  .ph-field {
    display: block;
    top: 0;
    left: calc(-1 * max(var(--page-gutter), (100vw / var(--page-zoom) - var(--content-width)) / 2));
    width: calc(100% + max(var(--page-gutter), (100vw / var(--page-zoom) - var(--content-width)) / 2));
    height: 100%;
  }
  .ph-yuz { height: 452px; }
  .is-blog .ph-yuz { height: 400px; }
  .ph-bubble { font-size: 16px; }
  .is-about .ph-hello-wrap { top: 9%; right: 10%; }
  .is-about .ph-bubbles { bottom: 17%; left: 2%; }
  .is-contact .is-phone { top: 13%; left: 2%; }
  .is-contact .is-insta { top: 40%; right: 2%; }
  .is-contact .ph-ping-wrap { bottom: 15%; left: 4%; }
  .ph-w1 { top: 14%; left: 6%; }
  .ph-w2 { top: 36%; right: 3%; }
  .ph-w3 { bottom: 22%; left: 2%; }
}

/* ---------- Sections ---------- */
.sp-section { position: relative; color: var(--ink); scroll-margin-top: 76px; padding: 8px 0 64px; }
.sp-section:focus { outline: none; }
.sp-content { width: calc(100% - 2 * var(--page-gutter)); max-width: var(--content-width); margin-inline: auto; }
.sp-intro { margin-bottom: 28px; text-align: center; }
.sp-intro h2 { margin: 0; color: var(--ink); font-size: 26px; font-weight: 800; line-height: 1.6; letter-spacing: -.02em; text-wrap: balance; }
.sp-intro p { max-width: 560px; margin: 8px auto 0; color: var(--muted); font-size: 15px; line-height: 2; text-wrap: pretty; }
.sp-intro.is-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: right; }
.sp-intro.is-row .chapter { justify-content: flex-start; }
@media (min-width: 900px) {
  .sp-section { padding-bottom: 88px; }
  .sp-intro { margin-bottom: 40px; }
  .sp-intro h2 { font-size: 36px; }
  .sp-intro p { font-size: 16px; }
  .sp-intro:not(.is-center) { text-align: right; }
  .sp-intro:not(.is-center) .chapter { justify-content: flex-start; }
  .sp-intro:not(.is-center) p { margin-inline: 0; }
}

/* ---------- About: story told as a chat ---------- */
.sp-story { background: linear-gradient(var(--canvas), var(--surface) 78%); padding-top: 24px; }
.story-grid { display: grid; gap: 28px; }
.story-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 0; padding: 0; list-style: none; }
.story-facts li { display: grid; gap: 2px; padding: 0 10px; text-align: center; }
.story-facts li + li { border-inline-start: 1px solid #d4e0ec; }
.story-facts b { color: var(--brand); font-size: 26px; font-weight: 900; line-height: 1.4; }
.story-facts b small { margin-inline-start: 3px; color: #2b5079; font-size: 13px; font-weight: 800; }
.story-facts span { color: var(--muted); font-size: 12.5px; line-height: 1.8; }

.story-chat { width: 100%; max-width: 520px; justify-self: center; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -30px #163c6c59, 0 6px 0 #e3eefb; }
.story-chat-head, .chat-form-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef3f9; background: #fbfdff; }
.story-chat-head img, .chat-form-head img { width: 40px; height: 40px; border-radius: 12px; }
.story-chat-head p, .chat-form-head p { display: grid; margin: 0; line-height: 1.6; }
.story-chat-head b, .chat-form-head b { color: var(--ink); font-size: 15px; }
.story-chat-head span, .chat-form-head span { display: flex; align-items: center; gap: 6px; color: #6b8299; font-size: 12px; font-weight: 600; }
.story-chat-head span::before, .chat-form-head span::before { width: 7px; height: 7px; border-radius: 50%; background: #22b573; content: ""; }
.story-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 440px;
  margin: 0;
  padding: 20px 16px 22px;
  list-style: none;
  background: radial-gradient(1px 1px at 1px 1px, #c9daf0 1px, #0000 0) 0 0 / 18px 18px, #f7fbff;
}
.story-msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.95; }
.story-msg.is-me { align-self: flex-start; border-bottom-right-radius: 6px; background: linear-gradient(135deg, #1f7ff6, var(--brand)); color: #fff; box-shadow: 0 8px 18px -10px #066cf4aa; }
.story-msg.is-yuz { align-self: flex-end; border: 1px solid var(--border); border-bottom-left-radius: 6px; background: #fff; color: #1d3c53; box-shadow: 0 6px 16px -12px #0b2a4a55; }
.story-typing { display: flex; align-self: flex-end; gap: 4px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 18px 18px 18px 6px; background: #fff; }
.story-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9db6d1; }
@media (min-width: 900px) {
  .sp-story { padding-top: 40px; }
  .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
  .story-facts { max-width: 460px; }
  .story-facts li { text-align: right; padding: 0 16px; }
  .story-facts li:first-child { padding-right: 0; }
  .story-msg { font-size: 15px; }
}

/* ---------- About: beliefs ---------- */
.sp-beliefs { background: var(--surface); }
.beliefs { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.belief {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(#fff, #fbfdff);
  box-shadow: inset 0 1px 0 #fff, 0 5px 0 #dbe8f7, 0 18px 30px -20px #0b2a4a40;
  transition: transform .25s var(--motion-ease), box-shadow .25s var(--motion-ease);
}
@media (hover: hover) { .belief:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 9px 0 #cfe0f5, 0 26px 36px -20px #0b2a4a4d; } }
.belief-num { position: absolute; top: 20px; left: 20px; color: var(--orange); font: 800 13px var(--fx); letter-spacing: .08em; }
.belief-icon, .tool-icon, .channel-icon, .trust-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.belief-icon .icon, .tool-icon .icon, .channel-icon .icon { width: 25px; height: 25px; }
.belief h3 { margin: 16px 0 6px; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.6; }
.belief p { flex: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.belief-demo { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 16px; padding: 0 12px; border-radius: 14px; background: #f3f8fe; font-size: 13px; }
.demo-wave i { width: 4px; height: 22px; border-radius: 4px; background: var(--brand); opacity: .85; transform-origin: center; }
.demo-wave i:nth-child(2n) { height: 30px; }
.demo-wave i:nth-child(3n) { height: 14px; background: var(--orange); }
.demo-fix { font-size: 16px; font-weight: 800; }
.demo-fix s { color: #c0262d; text-decoration: line-through 2px #e2726a; }
.demo-fix svg { width: 18px; height: 18px; fill: none; stroke: #8aa0b5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-fix ins { padding: 1px 8px; border-radius: 6px; background: #d9f2e7; color: #146047; text-decoration: none; }
.demo-explain { justify-content: space-between; white-space: nowrap; }
.demo-explain span { padding: 2px 8px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #d5e1ed; color: #0d4fa8; font-weight: 800; }
.demo-explain small { color: var(--muted); font-size: 12px; font-weight: 600; }
.demo-private { color: #146047; font-weight: 800; }
.demo-private svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 600px) { .beliefs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: icon beside the title, so four principles fit in two screens instead of four */
@media (max-width: 599px) {
  .beliefs { gap: 12px; }
  .belief { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 16px 16px 14px; border-radius: 20px; }
  .belief-icon { width: 44px; height: 44px; border-radius: 14px; }
  .belief-icon .icon { width: 22px; height: 22px; }
  .belief h3 { margin: 0; padding-inline-end: 28px; font-size: 16px; }
  .belief-num { top: 38px; left: 16px; translate: 0 -50%; }
  .belief p, .belief-demo { grid-column: 1 / -1; }
  .belief p { margin-top: 10px; font-size: 14px; }
  .belief-demo { height: 40px; margin-top: 12px; border-radius: 12px; }
}
@media (min-width: 1025px) { .beliefs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* ---------- About: three tools on one voice line ---------- */
.sp-tools { background: linear-gradient(var(--surface), var(--canvas)); }
.tools { position: relative; display: grid; gap: 34px; padding-top: 18px; }
.tools-path { display: none; }
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 22px 22px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 5px 0 #dbe8f7, 0 18px 30px -20px #0b2a4a40;
  text-align: center;
  transition: transform .25s var(--motion-ease), box-shadow .25s var(--motion-ease), border-color .25s;
}
@media (hover: hover) { .tool:hover { transform: translateY(-5px); border-color: #c9ddf5; box-shadow: 0 10px 0 #cfe0f5, 0 28px 40px -22px #0b2a4a55; } }
.tool-step { position: absolute; top: -18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 15px; font-weight: 900; box-shadow: 0 0 0 6px var(--surface), 0 6px 14px #f38b2459; }
.tool h3 { margin: 14px 0 6px; color: var(--ink); font-size: 19px; font-weight: 850; }
.tool p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.95; }
.tool-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.tool-tags i { padding: 3px 10px; border-radius: 999px; background: #f1f6fc; color: #2b5079; font-size: 12px; font-style: normal; font-weight: 700; }
.tool-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-size: 14px; font-weight: 800; }
.tool-more .icon { width: 18px; height: 18px; transition: translate .2s var(--motion-ease); }
.tool:hover .tool-more .icon { translate: -4px 0; }
@media (min-width: 900px) {
  .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tools-path { position: absolute; top: -42px; right: 0; left: 0; z-index: 0; display: block; width: 100%; height: 120px; overflow: visible; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; opacity: .75; vector-effect: non-scaling-stroke; }
  .tools-path path { vector-effect: non-scaling-stroke; }
  .tool { z-index: 1; }
}

/* ---------- About: the cast, moving ---------- */
.sp-cast { background: var(--canvas); overflow: hidden; }
.sp-cast .sp-intro { margin-bottom: 30px; }
.cast-marquee { display: grid; gap: 14px; direction: ltr; -webkit-mask-image: linear-gradient(90deg, #0000, #000 9%, #000 91%, #0000); mask-image: linear-gradient(90deg, #0000, #000 9%, #000 91%, #0000); }
.cast-row { display: flex; width: max-content; }
.cast-row ul { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.cast-row li { display: flex; align-items: center; gap: 12px; padding: 7px 20px 7px 7px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--border), 0 10px 24px -16px #0b2a4a59; }
.cast-row img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: #e8f1fc; }
.cast-row span { color: var(--ink); font-size: 16px; font-weight: 800; }

/* ---------- About: Yuz and the company ---------- */
.sp-behind { background: linear-gradient(var(--canvas), var(--canvas)); padding-top: 16px; }
.behind-grid { display: grid; gap: 22px; padding-top: 40px; }
.yuz-card {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 22px 26px;
  border-radius: 28px;
  background:
    radial-gradient(80% 55% at 50% 0%, #6ab0ff66, #0000 70%),
    radial-gradient(1.2px 1.2px at 1px 1px, #ffffff24 1px, #0000 0) 0 0 / 20px 20px,
    linear-gradient(165deg, #2a86f8, var(--brand) 45%, #0450c8);
  color: #fff;
  text-align: center;
  box-shadow: inset 0 1px 0 #ffffff66, 0 8px 0 #0447b4, 0 30px 50px #066cf440;
}
.yuz-card img { width: 210px; height: auto; margin-top: -26px; filter: drop-shadow(0 18px 18px #02225a59); }
.yuz-card .chapter { justify-content: center; color: #fff; }
.yuz-card .chapter i { background: #ffffff66; }
.yuz-card h2 { margin: 0; font-size: 28px; font-weight: 850; line-height: 1.6; }
.yuz-card .speech-emphasis { color: #fff; }
.yuz-card p { max-width: 460px; margin: 8px auto 0; color: #dbeaff; font-size: 15px; line-height: 2; }
.trust { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 4px 0 #e3eefb; }
.trust-icon { width: 44px; height: 44px; border-radius: 14px; }
.trust p { display: grid; gap: 2px; margin: 0; }
.trust strong { color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.7; }
.trust span { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.trust a { color: var(--brand); font-weight: 700; }
@media (min-width: 900px) {
  .sp-behind { padding-top: 40px; }
  .behind-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 36px; padding-top: 0; }
  .yuz-card { grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 22px; padding: 30px 32px 30px 26px; text-align: right; }
  .yuz-card img { align-self: end; width: 250px; margin: -80px -10px -30px 0; }
  .yuz-card .chapter { justify-content: flex-start; }
  .yuz-card p { margin-inline: 0; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li { flex-direction: column; }
}

/* Company facts as an ID card */
.idcard { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: 0 6px 0 #e3eefb, 0 30px 50px -34px #163c6c66; }
.idcard::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(270deg, var(--brand), #4aa3ff 60%, var(--orange)); content: ""; }
.idcard-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px dashed #d8e4f1; background: radial-gradient(1px 1px at 1px 1px, #d5e3f5 1px, #0000 0) 0 0 / 14px 14px, #fbfdff; }
.idcard-head img { width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: 0 6px 14px -8px #0b2a4a59; }
.idcard-head p { display: grid; margin: 0; line-height: 1.6; }
.idcard-head b { color: var(--ink); font-size: 17px; font-weight: 850; }
.idcard-head span { color: #8aa0b5; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-align: right; }
.idcard-rows { display: grid; margin: 0; padding: 6px 22px 12px; }
.idcard-rows > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 12px 0; }
.idcard-rows > div + div { border-top: 1px solid #eef3f9; }
.idcard dt { display: flex; align-items: center; gap: 8px; color: #6b8299; font-size: 13px; font-weight: 700; }
.idcard dt .icon { width: 18px; height: 18px; color: var(--brand); }
.idcard dd { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.85; }
.idcard dd a { color: var(--brand); }
.idcard dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 480px) { .idcard-rows > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Contact: channels ---------- */
.sp-channels { background: linear-gradient(var(--canvas), var(--surface) 80%); padding-top: 24px; }
.channels { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px;
  border-radius: 24px;
  background: linear-gradient(#fff, #f6faff);
  box-shadow: inset 0 0 0 1px var(--border), 0 5px 0 #d4e4f6, 0 18px 30px -20px #0b2a4a40;
  text-align: center;
  transition: transform .25s var(--motion-ease), box-shadow .25s var(--motion-ease);
}
@media (hover: hover) { .channel:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #d2e2f4, 0 9px 0 #c8dcf3, 0 26px 36px -20px #0b2a4a4d; } }
.channel-icon { width: 56px; height: 56px; border-radius: 18px; }
.channel h3 { margin: 12px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.channel-value { margin: 2px 0 14px; color: var(--ink); font-size: 21px; font-weight: 900; line-height: 1.6; }
.channel-actions { display: flex; gap: 8px; margin-top: auto; }
.channel-actions a, .channel-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  transition: background .18s, color .18s;
}
.channel-actions button { width: 42px; padding: 0; background: #f1f6fc; color: #2b5079; }
.channel-actions a:hover { background: var(--brand); color: #fff; }
.channel-actions button:hover { background: #e3edf8; }
.channel.is-instagram .channel-icon { background: linear-gradient(135deg, #fff1de, #ffe3ef); color: #d62976; }
.channel.is-form {
  background: radial-gradient(1.2px 1.2px at 1px 1px, #ffffff24 1px, #0000 0) 0 0 / 20px 20px, linear-gradient(165deg, #2a86f8, var(--brand) 50%, #0450c8);
  box-shadow: inset 0 1px 0 #ffffff66, 0 5px 0 #0447b4, 0 18px 30px -16px #066cf480;
}
@media (hover: hover) { .channel.is-form:hover { box-shadow: inset 0 1px 0 #ffffff66, 0 9px 0 #0447b4, 0 26px 36px -16px #066cf480; } }
.channel.is-form .channel-icon { background: #ffffff26; color: #fff; }
.channel.is-form h3 { color: #cfe2ff; }
.channel.is-form .channel-value { color: #fff; font-size: 18px; }
.channel.is-form .channel-actions a { background: #fff; color: var(--brand); }
/* Phones: each channel is one row — icon, what and where, then the action */
@media (max-width: 599px) {
  .channels { gap: 10px; }
  .channel { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; column-gap: 14px; padding: 14px; border-radius: 20px; text-align: right; }
  .channel-icon { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 15px; }
  .channel-icon .icon { width: 23px; height: 23px; }
  .channel h3 { margin: 0; font-size: 13px; }
  .channel-value { margin: 0; font-size: 17px; line-height: 1.7; }
  .channel.is-form .channel-value { font-size: 16px; }
  .channel-actions { grid-row: 1 / 3; grid-column: 3; margin: 0; }
  .channel-actions a { height: 40px; padding: 0 16px; }
  .channel-actions button { width: 40px; height: 40px; }
}
@media (min-width: 600px) and (max-width: 1024px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } .channel.is-form { grid-column: 1 / -1; } }
@media (min-width: 1025px) { .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

/* ---------- Contact: the form is a chat with Yuz ---------- */
.sp-form { background: linear-gradient(var(--surface), var(--canvas)); }
.form-grid { display: grid; gap: 24px; }
.next-steps { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; text-align: right; }
.next-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.next-steps li:not(:last-child)::before { position: absolute; top: 36px; bottom: 2px; right: 15px; border-right: 2px dashed #f7c592; content: ""; }
.next-steps b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff4ea; color: var(--orange); font-size: 14px; font-weight: 900; box-shadow: inset 0 0 0 1.5px #f8cfa6; }
.next-steps p { display: grid; margin: 2px 0 0; }
.next-steps strong { color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.7; }
.next-steps span { color: var(--muted); font-size: 13.5px; line-height: 1.8; }

.quick-call { display: flex; align-items: center; gap: 14px; max-width: 380px; margin-top: 20px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(#fff, #f6faff); box-shadow: inset 0 0 0 1px var(--border), 0 5px 0 #dbe8f7, 0 16px 28px -20px #0b2a4a59; transition: transform .25s var(--motion-ease), box-shadow .25s var(--motion-ease); }
.quick-call:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #c9ddf5, 0 8px 0 #cfe0f5, 0 22px 32px -20px #0b2a4a66; }
.quick-call-icon { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: linear-gradient(135deg, #1f7ff6, var(--brand)); color: #fff; box-shadow: 0 8px 16px -8px #066cf4aa; }
.quick-call-icon .icon { width: 22px; height: 22px; }
.quick-call > span:nth-child(2) { display: grid; flex: 1; line-height: 1.6; text-align: right; }
.quick-call small { color: #6b8299; font-size: 12.5px; font-weight: 700; }
.quick-call bdi { color: var(--ink); font-size: 19px; font-weight: 900; }
.quick-call-go { color: var(--brand); transition: translate .2s var(--motion-ease); }
.quick-call:hover .quick-call-go { translate: -4px 0; }
@media (max-width: 899px) { .quick-call { margin-inline: auto; } }

.chat-form { position: relative; width: 100%; max-width: 640px; justify-self: center; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -30px #163c6c59, 0 6px 0 #e3eefb; }
.chat-form-body, .cf-done { margin: 0; padding: 20px 18px 22px; border: 0; background: radial-gradient(1px 1px at 1px 1px, #c9daf0 1px, #0000 0) 0 0 / 18px 18px, #f7fbff; }
.cf-honey { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.cf-ask { width: max-content; max-width: 88%; margin: 0; padding: 9px 14px; border: 1px solid var(--border); border-radius: 18px 18px 6px 18px; background: #fff; color: #1d3c53; font-size: 14.5px; font-weight: 700; line-height: 1.8; box-shadow: 0 6px 16px -12px #0b2a4a55; }
legend.cf-ask { float: right; margin-bottom: 8px; }
.cf-topics { clear: both; }
.cf-field { position: relative; display: block; align-self: flex-end; width: 90%; }
.cf-field input, .cf-field textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cfe0f5;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  color: var(--ink);
  font: 600 15px/1.8 var(--fx);
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.cf-field input[dir="ltr"] { text-align: left; letter-spacing: .04em; }
.cf-field textarea { min-height: 136px; padding-bottom: 30px; resize: vertical; }
.cf-field :is(input, textarea)::placeholder { color: #9bb0c4; font-weight: 500; }
.cf-field :is(input, textarea):focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px #066cf41f; }
.cf-ok { position: absolute; top: 50%; left: 12px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #22b573; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; translate: 0 -50%; scale: 0; transition: scale .25s var(--motion-ease); }
.cf-row.is-valid .cf-ok { scale: 1; }
.cf-row.is-valid :is(input, textarea) { border-color: #9edbbf; background: #fbfffd; }
.cf-field input:has(~ .cf-ok) { padding-left: 44px; }
.cf-count { position: absolute; left: 14px; bottom: 8px; color: #8aa0b5; font-size: 12px; font-weight: 600; }
.cf-error { display: none; align-self: flex-end; width: 90%; color: #c0262d; font-size: 12.5px; font-weight: 700; }
.cf-row.is-invalid .cf-error { display: block; }
.cf-row.is-invalid :is(input, textarea) { border-color: #f0a19b; background: #fffafa; }
.cf-topics { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; width: 92%; align-self: flex-end; }
.cf-topic input { position: absolute; opacity: 0; pointer-events: none; }
.cf-topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid #cfe0f5; border-radius: 999px; background: #fff; color: #2b5079; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s var(--motion-ease); }
.cf-topic span:hover { border-color: #9cc3f2; }
.cf-topic input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 6px 14px -6px #066cf499; }
.cf-topic input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 3px; }
.cf-alert { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #fff1f0; color: #a3271f; font-size: 13.5px; font-weight: 700; line-height: 1.8; }
.cf-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.cf-submit .hero-cta { min-width: 160px; }
.cf-submit small { display: flex; align-items: center; gap: 6px; color: #6b8299; font-size: 12.5px; font-weight: 600; line-height: 1.8; }
.cf-submit small .icon { width: 16px; height: 16px; }
.cf-submit [aria-busy="true"] { pointer-events: none; opacity: .85; }
.cf-submit [aria-busy="true"] svg { animation: cf-spin .9s linear infinite; }
@keyframes cf-spin { to { rotate: 360deg; } }

.cf-done { display: grid; justify-items: center; gap: 10px; padding: 40px 22px 34px; text-align: center; }
.cf-done-mark { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 10px #22b57322, 0 16px 30px -10px #22b573aa; }
.cf-done-mark svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cf-done .cf-ask { width: auto; max-width: none; border-radius: 18px; font-size: 17px; }
.cf-done-text { max-width: 420px; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 2; }
.cf-done-text b { color: var(--ink); }
.cf-again { margin-top: 6px; color: var(--brand); font-size: 14px; font-weight: 800; }
@media (min-width: 900px) {
  .form-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 64px; }
  .form-grid .sp-intro { position: sticky; top: 110px; }
  .chat-form-body { padding: 26px 28px 28px; }
  .cf-ask { font-size: 15px; }
}

/* ---------- Contact: office ---------- */
.sp-office { background: linear-gradient(var(--canvas), var(--surface)); }
.office { display: grid; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: 0 6px 0 #e3eefb, 0 30px 60px -36px #163c6c59; }
.office-map { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #eaf3ff, #ddebfe 70%); }
.office-map img { display: block; width: 100%; max-width: 560px; height: auto; }
.office-copy { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 20px 28px; text-align: center; }
.office-copy .chapter { margin: 0; }
.office-copy h2 { margin: 0; color: var(--ink); font-size: 28px; font-weight: 850; line-height: 1.5; }
.office address { display: grid; gap: 10px; font-style: normal; }
.office address p { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: #24435a; font-size: 15px; font-weight: 600; line-height: 1.95; text-align: right; }
.office address .icon { margin-top: 4px; color: var(--brand); }
.office address small { display: block; color: #6b8299; font-size: 13px; }
.office-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
@media (min-width: 900px) {
  .office { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .office-map { order: 2; min-height: 400px; }
  .office-copy { align-items: flex-start; justify-content: center; padding: 40px 44px; text-align: right; }
  .office-copy .chapter { justify-content: flex-start; }
  .office-copy h2 { font-size: 36px; }
  .office-actions { justify-content: flex-start; }
}

/* Contact FAQ reuses the landing's accordion */
.sp-faq { padding-bottom: 8px; }
.faq-item p a { color: var(--brand); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #83b5f5; }

/* ---------- Blog: lists ---------- */
/* One colour per topic (BlogPost::tones()) */
[data-tone] { --tone: var(--brand); --tone-soft: #eaf3ff; --tone-ink: #145bad; }
[data-tone="green"] { --tone: #14a052; --tone-soft: #e5f7ec; --tone-ink: #0c7a3b; }
[data-tone="orange"] { --tone: var(--orange); --tone-soft: #fff1e3; --tone-ink: #b35f0e; }
[data-tone="violet"] { --tone: #7657f2; --tone-soft: #f0ecff; --tone-ink: #5638cf; }

.sp-posts { background: linear-gradient(var(--canvas), var(--surface) 70%); padding-top: 28px; }
.sp-related { background: linear-gradient(var(--surface), var(--canvas)); }
.sp-posts .sp-intro.is-row { align-items: end; }

.blog-filters { display: flex; gap: 4px; max-width: 100%; padding: 5px; overflow-x: auto; border: 1px solid #dde8f3; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -20px #0b2a4a59; scrollbar-width: none; }
.blog-filters::-webkit-scrollbar { display: none; }
.blog-filters button { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: #3b5a78; font-size: 13.5px; font-weight: 800; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.blog-filters button::before { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); content: ""; }
.blog-filters button:not([data-tone])::before { display: none; }
.blog-filters button b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #eef3f9; color: #59718a; font-size: 11.5px; font-weight: 800; transition: inherit; }
.blog-filters button:hover { background: #f3f7fc; color: var(--ink); }
.blog-filters button[aria-pressed="true"] { background: var(--tone, var(--brand)); color: #fff; box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--tone, var(--brand)) 70%, transparent); }
.blog-filters button[aria-pressed="true"]::before { background: #fff; }
.blog-filters button[aria-pressed="true"] b { background: #ffffff33; color: #fff; }
.blog-filters button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 15px; font-weight: 800; }
.see-all .icon { transition: translate .2s var(--motion-ease); }
.see-all:hover .icon { translate: -4px 0; }

/* Card */
.post-grid, .post-list { display: grid; gap: 20px; }
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 5px 0 #e1ecf8, 0 18px 30px -22px #0b2a4a4d;
  transition: transform .3s var(--motion-ease), box-shadow .3s var(--motion-ease), border-color .3s;
}
.post-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tone) 30%, var(--border)); box-shadow: 0 10px 0 #d5e5f7, 0 30px 44px -24px #0b2a4a66; }
.post-cover { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--tone-soft); }
.post-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--motion-ease); }
.post-card:hover .post-cover img { scale: 1.05; }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 16px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.post-cat, .post-flag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.post-cat { background: var(--tone-soft); color: var(--tone-ink); }
.post-cat::before { width: 6px; height: 6px; border-radius: 50%; background: var(--tone); content: ""; }
.post-flag { background: #fff1e3; color: #b35f0e; }
.post-title { display: -webkit-box; margin: 12px 0 8px; overflow: hidden; color: var(--ink); font-size: 18px; font-weight: 850; line-height: 1.75; text-wrap: pretty; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color .2s; }
.post-card:hover .post-title { color: var(--tone-ink); }
.post-title a::after { position: absolute; inset: 0; z-index: 1; content: ""; }
.post-title a:focus-visible { outline: none; }
.post-card:has(.post-title a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.post-excerpt { display: -webkit-box; flex: 1; margin: 0; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef3f9; }
.post-foot .author-mark { width: 36px; height: 36px; font-size: 15px; }
.post-foot p { display: grid; flex: 1; gap: 1px; margin: 0; }
.post-foot b { color: var(--ink); font-size: 13.5px; font-weight: 800; }
.post-foot p span { color: #6b8299; font-size: 12.5px; font-weight: 600; }
.post-foot i { margin: 0 6px; font-style: normal; }
.post-go { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tone-soft); color: var(--tone); transition: background .25s, color .25s; }
.post-go .icon { width: 18px; height: 18px; transition: translate .25s var(--motion-ease); }
.post-card:hover .post-go { background: var(--tone); color: #fff; }
.post-card:hover .post-go .icon { translate: -3px 0; }
.post-card.is-filtered-out { display: none; }

/* Newest post: one wide card above the grid. A filtered list (.is-filtering) is a plain grid. */
@media (min-width: 640px) {
  .post-grid, .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-list:not(.is-filtering) > .is-lead { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .post-list:not(.is-filtering) > .is-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 28px; }
  .post-list:not(.is-filtering) > .is-lead .post-cover { aspect-ratio: auto; min-height: 300px; }
  .post-list:not(.is-filtering) > .is-lead .post-body { justify-content: center; padding: 26px 26px 22px; }
  .post-list:not(.is-filtering) > .is-lead .post-title { margin: 14px 0 10px; font-size: 22px; line-height: 1.7; -webkit-line-clamp: 3; }
  .post-list:not(.is-filtering) > .is-lead .post-excerpt { flex: 0 1 auto; font-size: 15.5px; -webkit-line-clamp: 3; }
  .post-list:not(.is-filtering) > .is-lead .post-foot { margin-top: 26px; }
}
@media (min-width: 1000px) {
  .post-grid, .post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px; }
  .post-list:not(.is-filtering) > .is-lead .post-cover { min-height: 360px; }
  .post-list:not(.is-filtering) > .is-lead .post-body { padding: 34px 38px 30px; }
  .post-list:not(.is-filtering) > .is-lead .post-title { margin: 16px 0 12px; font-size: 28px; line-height: 1.65; }
}

.blog-empty { display: grid; justify-items: center; gap: 10px; padding: 32px 0; text-align: center; }
.blog-empty img { width: 120px; height: auto; }
.blog-empty p { display: grid; gap: 2px; margin: 0; }
.blog-empty strong { color: var(--ink); font-size: 18px; }
.blog-empty span { color: var(--muted); font-size: 14px; }

/* ---------- Blog: article ---------- */
.read-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 8; height: 3px; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(270deg, var(--orange), var(--brand)); transform: scaleX(var(--read, 0)); transform-origin: right; border-radius: 0 0 0 3px; }
.article { width: calc(100% - 2 * var(--page-gutter)); max-width: 1080px; margin-inline: auto; padding-bottom: 72px; }
.article-head { max-width: 860px; margin: 0 auto; padding: 26px 0 8px; text-align: center; }
.article-head .crumbs { justify-content: center; }
.article-head h1 { margin: 16px 0 12px; color: var(--ink); font-size: 29px; font-weight: 850; line-height: 1.6; letter-spacing: -.025em; text-wrap: balance; }
.article-lead { max-width: 720px; margin: 0 auto; color: #425e74; font-size: 16px; line-height: 2.05; text-wrap: pretty; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; margin-top: 20px; color: var(--muted); font-size: 13.5px; font-weight: 700; }
.article-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta > span + span::before { width: 4px; height: 4px; margin-inline-end: 14px; border-radius: 50%; background: #b9cbe0; content: ""; }
.article-meta .icon { width: 17px; height: 17px; }
.article-author .author-mark { width: 38px; height: 38px; font-size: 16px; }
.article-author > span { display: grid; line-height: 1.45; text-align: right; }
.article-author b { color: var(--ink); font-size: 14px; }
.article-author small { color: #8aa0b5; font-size: 11.5px; font-weight: 600; }
.article-cover { position: relative; isolation: isolate; max-width: 1040px; margin: 26px auto 0; }
.article-cover::before { position: absolute; inset: 22px -16px -16px 22px; z-index: -1; border-radius: 30px; background: radial-gradient(circle, #a9c9f2 1.3px, #0000 1.6px) 0 0 / 16px 16px; content: ""; }
.article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -32px #0b2a4a73; }

.article-layout { display: grid; gap: 28px; max-width: 1040px; margin: 36px auto 0; }
.article-aside { display: grid; gap: 14px; align-content: start; min-width: 0; }
.toc { border: 1px solid var(--border); border-radius: 20px; background: #fbfdff; }
.toc summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; color: var(--ink); font-size: 14px; font-weight: 850; list-style: none; cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { color: #7f97b8; font-size: 20px; font-weight: 400; line-height: 1; transition: transform .22s var(--motion-ease); content: "+"; }
.toc[open] summary::after { transform: rotate(45deg); }
.toc ol { display: grid; margin: 0; padding: 0 18px 14px; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: flex; gap: 8px; padding: 7px 14px 7px 0; border-right: 2px solid #e3ecf6; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.8; transition: color .18s, border-color .18s; }
.toc a::before { color: #a8bbd0; font-weight: 800; content: counter(toc, persian) "."; transition: color .18s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-color: var(--orange); color: var(--brand); font-weight: 800; }
.toc a.is-active::before { color: var(--orange); }
.share { display: flex; align-items: center; gap: 8px; color: #6b8299; font-size: 13px; font-weight: 700; }
.share span { margin-inline-end: auto; }
.share :is(a, button) { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f1f6fc; color: #2b5079; transition: background .18s, color .18s, transform .18s var(--motion-ease); }
.share :is(a, button):hover { background: var(--brand-soft); color: var(--brand); transform: translateY(-2px); }
.share svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aside-cta { display: none; }
@media (min-width: 900px) {
  .article-head { padding-top: 40px; }
  .article-head h1 { font-size: 44px; line-height: 1.55; }
  .article-lead { font-size: 18px; }
  .article-cover { margin-top: 34px; }
  .article-cover img { border-radius: 30px; }
  .article-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; margin-top: 56px; }
  .article-aside { position: sticky; top: 104px; }
  .toc summary { pointer-events: none; }
  .toc summary::after { content: none; }
  .aside-cta {
    position: relative;
    display: grid;
    gap: 4px;
    margin-top: 58px;
    padding: 84px 18px 18px;
    border-radius: 24px;
    background: radial-gradient(1.2px 1.2px at 1px 1px, #ffffff24 1px, #0000 0) 0 0 / 20px 20px, linear-gradient(165deg, #2a86f8, var(--brand) 50%, #0450c8);
    color: #fff;
    box-shadow: inset 0 1px 0 #ffffff66, 0 6px 0 #0447b4, 0 22px 36px -18px #066cf480;
    transition: transform .25s var(--motion-ease);
  }
  .aside-cta:hover { transform: translateY(-3px); }
  .aside-cta img { position: absolute; top: -58px; left: 50%; width: 92px; height: auto; aspect-ratio: 720 / 1000; object-fit: cover; object-position: top; border: 4px solid #0b2a4a; border-bottom: 0; border-radius: 16px 16px 0 0; translate: -50% 0; box-shadow: 0 12px 22px -10px #02225a80; }
  .aside-cta strong { font-size: 16px; font-weight: 850; line-height: 1.7; }
  .aside-cta span { color: #dbeaff; font-size: 13px; line-height: 1.8; }
  .aside-cta b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; margin-top: 10px; border-radius: 12px; background: #fff; color: var(--brand); font-size: 14px; font-weight: 850; box-shadow: 0 3px 0 #b8d2f5; }
  .aside-cta b .icon { width: 17px; height: 17px; }
}

/* Article body */
.prose { min-width: 0; max-width: 720px; color: #24435a; font-size: 16.5px; line-height: 2.15; counter-reset: sec; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2.1em;
  color: var(--ink);
  font-size: 23px;
  font-weight: 850;
  line-height: 1.65;
  letter-spacing: -.015em;
  scroll-margin-top: 104px;
  counter-increment: sec;
}
.prose h2::before { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px; background: #fff4ea; box-shadow: inset 0 0 0 1.5px #f8cfa6; color: var(--orange); font-size: 15px; font-weight: 900; content: counter(sec, persian); }
.prose h2 + * { margin-top: .8em; }
.prose strong { color: #10354b; font-weight: 800; }
.prose a { color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-color: #83b5f5; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-decoration-color .18s; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose code { padding: 1px 8px; border-radius: 7px; background: #eef5ff; color: #0d4fa8; font: 700 .9em/1.7 var(--fx); direction: ltr; unicode-bidi: isolate; }
.prose ul:not(.phrases) { padding: 0; list-style: none; }
.prose ul:not(.phrases) li { position: relative; padding-right: 22px; }
.prose ul:not(.phrases) li + li { margin-top: .45em; }
.prose ul:not(.phrases) li::before { position: absolute; top: .95em; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); content: ""; }
.prose ol:not(.steps) { padding: 0; list-style: none; counter-reset: item; }
.prose ol:not(.steps) li { position: relative; padding-right: 46px; counter-increment: item; }
.prose ol:not(.steps) li + li { margin-top: .9em; }
.prose ol:not(.steps) li::before { position: absolute; top: .3em; right: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 900; line-height: 1; content: counter(item, persian); box-shadow: 0 4px 10px -3px #066cf480; }

/* "Mistake → fix", the landing's correction bubbles */
.prose .fix { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(#fff, #f8fbff); box-shadow: 0 4px 0 #e6eff9; }
.prose .fix p { margin: 0; }
.fix-wrong, .fix-right { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 12px; font-size: 17px; font-weight: 700; line-height: 1.7; }
.fix-wrong::before, .fix-right::before { flex: none; padding: 2px 10px; border-radius: 999px; font: 800 12px/1.8 var(--fx); content: "نادرست"; }
.fix-wrong { color: #97372f; text-decoration: line-through 2px #e2726a88; }
.fix-wrong::before { background: #ffe7e5; color: #c0262d; }
.fix-right { color: #146047; }
.fix-right::before { background: #d9f2e7; color: #146047; content: "درست"; }
.prose .fix-note { margin-top: 2px; padding-top: 10px; border-top: 1px dashed #d8e4f1; color: var(--muted); font-size: 14.5px; line-height: 2; }

/* Phrase cards; JS adds a listen button where the browser can speak English */
.prose .phrases { display: grid; gap: 10px; padding: 0; list-style: none; }
.phrases li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; padding: 12px 16px; border: 1px solid #e3ecf6; border-radius: 18px; background: #f7fbff; transition: border-color .2s, background .2s, box-shadow .2s; }
.phrases li:hover { border-color: #c9ddf5; background: #fff; box-shadow: 0 10px 22px -16px #0b2a4a59; }
.phrases li > span { grid-column: 1; color: #10354b; font-size: 16.5px; font-weight: 800; line-height: 1.8; text-align: right; }
.phrases li > small { grid-column: 1; color: var(--muted); font-size: 14px; line-height: 1.9; }
.phrases .say { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); transition: background .18s, color .18s, transform .18s var(--motion-ease); }
.phrases .say:hover { background: var(--brand); color: #fff; }
.phrases .say:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.phrases .say .icon { width: 20px; height: 20px; }
.phrases .say.is-speaking { background: var(--brand); color: #fff; }
.phrases li:has(.is-speaking) { border-color: #9cc3f2; background: #fff; }

/* A timed routine */
.prose .steps { display: grid; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.steps li:not(:last-child)::before { position: absolute; top: 40px; bottom: 4px; right: 40px; border-right: 2px dashed #f7c592; content: ""; }
.steps b { align-self: start; display: grid; place-items: center; height: 38px; border-radius: 12px; background: #fff4ea; box-shadow: inset 0 0 0 1.5px #f8cfa6; color: #b35f0e; font-size: 13.5px; font-weight: 900; }
.steps p { margin: 0; padding: 10px 16px; border: 1px solid #e3ecf6; border-radius: 18px; background: #f7fbff; font-size: 15.5px; line-height: 2; }

/* Tip */
.prose .tip { padding: 16px 18px; border: 1px solid #ffe1c2; border-radius: 20px; background: linear-gradient(#fffaf4, #fff4e8); }
.tip strong { display: flex; align-items: center; gap: 8px; color: #b35f0e; font-size: 15px; }
.tip strong::before { width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-4 10.5c.7.7 1 1.5 1 2.5h6c0-1 .3-1.8 1-2.5A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }
.tip p { margin: 4px 0 0; color: #6b4a2b; font-size: 15px; line-height: 2; }

@media (min-width: 900px) {
  .prose { font-size: 17.5px; }
  .prose h2 { font-size: 26px; }
  .prose .fix, .prose .tip { padding: 18px 22px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Reveal: only once the script runs, so the page never hides content on its own */
  .motion [data-reveal]:not(.reveal-started, .ph-copy) { opacity: 0; translate: 0 18px; }
  .motion [data-reveal].reveal-started:not(.ph-copy) { opacity: 1; translate: 0 0; transition: opacity .7s var(--motion-ease), translate .7s var(--motion-ease); }

  .ph-copy.reveal-started > *,
  .ph-copy.reveal-started h1 > * { animation: hero-copy-in 560ms var(--motion-ease) var(--arrival, 0ms) backwards; }
  .ph-copy h1 > span:first-of-type { --arrival: 60ms; }
  .ph-copy h1 > span:last-of-type { --arrival: 140ms; }
  .ph-copy > .ph-lead { --arrival: 220ms; }
  .ph-copy > :is(.ph-actions, .blog-search) { --arrival: 320ms; }

  .motion .ph-yuz { animation: ph-arrive 900ms var(--motion-ease) backwards, yuz-bob 6s ease-in-out 900ms infinite; }
  .motion .ph-visual::after { animation: field-in 900ms ease-out backwards, shadow-breathe 6s ease-in-out 900ms infinite; }
  .motion .is-blog-visual .ph-yuz { animation: ph-arrive 900ms var(--motion-ease) backwards; }
  .motion .is-blog-visual::after { animation: field-in 900ms ease-out backwards; }
  .motion .ph-field-fill { animation: field-in 800ms ease-out backwards; }
  .motion .ph-field-edge { stroke-dasharray: 1; animation: trace-line 1100ms ease-in-out 200ms backwards; }
  .motion .ph-bubble { animation: message-arrival 420ms var(--motion-ease) 700ms backwards; }
  .motion .ph-bubble.is-right { animation-delay: 1500ms; }
  .motion .ph-bubble.is-right mark { animation: correction-emphasis 720ms ease-out 1750ms backwards; }
  .motion .ph-ping { animation: message-arrival 420ms var(--motion-ease) 1300ms backwards; }
  .motion .ph-hello { animation: hello-pop 620ms var(--motion-ease) 650ms backwards, hello-wave 3.6s ease-in-out 1.4s infinite; transform-origin: 0 100%; }
  .motion .ph-chip { animation: message-arrival 460ms var(--motion-ease) 700ms backwards; }
  .motion .ph-chip.is-insta { animation-delay: 1000ms; }
  .motion .ph-float > .ph-word { animation: message-arrival 460ms var(--motion-ease) 700ms backwards, ph-float 5.5s ease-in-out 1.2s infinite; }
  .motion .ph-w2 > .ph-word { animation-delay: 900ms, 1.6s; animation-duration: 460ms, 6.5s; }
  .motion .ph-w3 > .ph-word { animation-delay: 1100ms, 2s; animation-duration: 460ms, 7s; }
  .ph-ping-dot::after { animation: ping 1.8s ease-out infinite; }

  /* Story: messages arrive one by one, then Yuz keeps typing */
  .motion .story-chat:not(.reveal-started) .story-thread > li { opacity: 0; }
  .story-chat.reveal-started .story-thread > li { animation: msg-in 460ms var(--motion-ease) calc(250ms + var(--i) * 620ms) backwards; }
  .story-typing i { animation: typing 1.2s ease-in-out infinite; }
  .story-typing i:nth-child(2) { animation-delay: .15s; }
  .story-typing i:nth-child(3) { animation-delay: .3s; }

  /* Cards in a row rise one after another */
  .motion :is(.beliefs, .channels, .tools, .trust):not(.reveal-started) > * { opacity: 0; translate: 0 22px; }
  :is(.beliefs, .channels, .tools, .trust).reveal-started > * { transition: opacity .6s var(--motion-ease), translate .6s var(--motion-ease), transform .25s var(--motion-ease), box-shadow .25s var(--motion-ease), border-color .25s; }
  :is(.beliefs, .channels, .tools, .trust).reveal-started > :nth-child(2) { transition-delay: 90ms, 90ms, 0s, 0s, 0s; }
  :is(.beliefs, .channels, .tools, .trust).reveal-started > :nth-child(3) { transition-delay: 180ms, 180ms, 0s, 0s, 0s; }
  :is(.beliefs, .channels, .tools, .trust).reveal-started > :nth-child(4) { transition-delay: 270ms, 270ms, 0s, 0s, 0s; }
  .tools-path path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .tools.reveal-started .tools-path path { animation: trace-line 1400ms var(--motion-ease) 300ms forwards; }

  .demo-wave i { animation: wave 1.1s ease-in-out infinite; }
  .demo-wave i:nth-child(2) { animation-delay: -.15s; }
  .demo-wave i:nth-child(3) { animation-delay: -.3s; }
  .demo-wave i:nth-child(4) { animation-delay: -.45s; }
  .demo-wave i:nth-child(5) { animation-delay: -.6s; }
  .demo-wave i:nth-child(6) { animation-delay: -.75s; }
  .demo-wave i:nth-child(7) { animation-delay: -.9s; }
  .belief:hover .demo-fix ins { animation: pop .45s var(--motion-ease); }

  .cast-row { animation: marquee 46s linear infinite; }
  .cast-row.is-reverse { animation-direction: reverse; animation-duration: 54s; }
  .cast-marquee:hover .cast-row { animation-play-state: paused; }

  .office-map img { transition: scale .8s var(--motion-ease); }
  .office:hover .office-map img { scale: 1.03; }

  .cf-done:not([hidden]) .cf-done-mark { animation: pop .5s var(--motion-ease) backwards; }
  .cf-done:not([hidden]) .cf-done-mark path { stroke-dasharray: 1; animation: trace-line 500ms ease-out 250ms backwards; }

  .post-card.is-entering { animation: msg-in 420ms var(--motion-ease) backwards; }
  .post-list > :nth-child(2) { --i: 1; } .post-list > :nth-child(3) { --i: 2; } .post-list > :nth-child(n+4) { --i: 3; }
  .post-list.reveal-started > .post-card { animation: msg-in 520ms var(--motion-ease) calc(var(--i, 0) * 90ms) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  .cast-row:last-child { display: none; }
  .cast-marquee { overflow-x: auto; }
}
@keyframes ph-arrive { from { opacity: 0; translate: 0 22px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ph-float { 50% { translate: 0 -8px; } }
@keyframes yuz-bob { 50% { translate: 0 -7px; } }
@keyframes shadow-breathe { 50% { scale: .86; opacity: .7; } }
@keyframes hello-pop { from { opacity: 0; scale: .5; } 70% { scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes hello-wave { 0%, 100% { rotate: 0deg; } 8% { rotate: -5deg; } 16% { rotate: 4deg; } 24% { rotate: 0deg; } }
@keyframes msg-in { from { opacity: 0; translate: 0 10px; scale: .98; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
@keyframes wave { 50% { scale: 1 .35; } }
@keyframes pop { 0% { scale: .6; } 60% { scale: 1.12; } 100% { scale: 1; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes ping { 0% { scale: 1; opacity: .7; } 100% { scale: 3; opacity: 0; } }

/* ---------- Blog: author, figures, tables ---------- */
.author-mark { display: grid; flex: none; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2f8bff, var(--brand)); box-shadow: inset 0 -2px 0 #0004; color: #fff; font-style: normal; font-weight: 900; }
.author-box { display: flex; gap: 16px; margin-top: 2.4em; padding: 20px 22px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(#fbfdff, #f3f8fe); }
.author-box .author-mark { width: 56px; height: 56px; font-size: 22px; }
.author-box p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 2; }
.author-box .author-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 4px; }
.author-name b { color: var(--ink); font-size: 16px; }
.author-name span { color: var(--brand); font-size: 13px; font-weight: 800; }
.author-updated { margin-top: 6px !important; color: #6b8299 !important; font-size: 13px !important; }

.prose figure { margin: 1.8em 0; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: 20px; background: #eef4fb; }
.prose figcaption { margin-top: 10px; color: #6b8299; font-size: 13.5px; line-height: 1.9; text-align: center; }
.prose figure.shot { max-width: 300px; margin-inline: auto; }
.prose figure.shot img { border: 7px solid #0f2233; border-radius: 34px; box-shadow: 0 24px 40px -22px #0b2a4a8c, 0 0 0 1px #0f2233; }
.prose .figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 1.8em 0; }
.prose .figures figure { margin: 0; }
.prose .figures figure.shot { max-width: none; }
.prose .figures figure.shot img { border-width: 5px; border-radius: 26px; }

.table-wrap { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 14px 28px -24px #0b2a4a59; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.9; }
.prose th { padding: 12px 14px; background: #f3f8fe; color: var(--ink); font-weight: 850; text-align: right; white-space: nowrap; }
.prose td { padding: 11px 14px; border-top: 1px solid #eef3f9; vertical-align: top; }
.prose tbody tr:hover td { background: #fafcff; }
.prose td:first-child { color: var(--ink); font-weight: 800; }
.prose h3 { margin: 1.6em 0 .4em; color: var(--ink); font-size: 19px; font-weight: 850; line-height: 1.7; }
.prose blockquote { margin: 1.4em 0; padding: 4px 18px; border-right: 4px solid var(--brand); color: #24435a; }
.prose pre { margin: 1.4em 0; padding: 16px 18px; overflow-x: auto; border-radius: 16px; background: #0f2233; color: #e6f0fb; direction: ltr; text-align: left; font: 500 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.prose pre code { padding: 0; background: none; color: inherit; font: inherit; }
.prose td:first-child { white-space: nowrap; }
.prose td:nth-child(2) { min-width: 200px; }
.prose ul.sources { display: grid; gap: 8px; }
.prose ul.sources li { padding: 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; unicode-bidi: plaintext; text-align: start; }
.prose ul.sources li::before { display: none; }
.prose ul.sources li + li { margin: 0; }
