:root {
  --ink: #1e2a4a;
  --ink-soft: #2c3a60;
  --amber: #e8a23a;
  --amber-soft: #f0bd6e;
  --cream: #faf6ee;
  --cream-warm: #f4ecdb;
  --paper: #fffaf0;
  --char: #15171d;
  --green: #5a8a4a;
  --muted: #6b6358;
  --rule: rgba(30, 42, 74, 0.10);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(30, 42, 74, 0.08);
  --shadow: 0 4px 20px rgba(30, 42, 74, 0.10);
  --shadow-lg: 0 12px 40px rgba(30, 42, 74, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--amber); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* === Typography === */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 .accent { color: var(--amber); }
h2.section-title {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 14px;
}
h3 { font-size: 22px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 10px;
}
.eyebrow.center, .section-title.center, .section-sub.center { text-align: center; }
.section-sub {
  color: var(--muted);
  font-size: 18px;
  margin: 0 auto 36px;
  max-width: 640px;
}
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 540px;
}
.lead-sm {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 480px;
}
.microcopy {
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0 0;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--ink-soft);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-row.center { justify-content: center; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 246, 238, 0.85);
  border-bottom: 1px solid var(--rule);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 768px) {
  .nav { display: none; }
}

/* === Sections common === */
section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
section + section { padding-top: 90px; }

/* === Decor + parallax === */
.parallax {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  will-change: transform;
}
.decor-bg { z-index: 0; }
.decor-mid { z-index: 1; }
.decor-front { z-index: 2; }
.decor-top { z-index: 3; }
.hero-decor, .how-decor, .try-decor, .calc-decor, .pricing-decor, .cta-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Animations */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}
.breathe img { animation: breathe 4.5s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.bob { animation: bob 4s ease-in-out infinite; }

@keyframes drift-rotate {
  0%, 100% { rotate: -3deg; }
  50%      { rotate: 3deg; }
}
.drift-rotate { animation: drift-rotate 8s ease-in-out infinite; }

@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
.twinkle { animation: twinkle 3s ease-in-out infinite; }

@keyframes blink {
  0%, 90%, 100% { opacity: 1; }
  92%, 98%      { opacity: 0; }
}
.cursor { animation: blink 1.1s steps(1) infinite; color: var(--amber); }

/* === HERO === */
.hero {
  padding-top: 80px;
  padding-bottom: 120px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 50px;
  align-items: center;
  min-height: 540px;
}
.hero-text { z-index: 3; }
.hero-character {
  z-index: 3;
  position: relative;
}
.hero-character img {
  max-height: 520px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-character img { max-height: 380px; }
}

/* === STEPS === */
.how { background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 50px;
}
.step {
  background: var(--cream-warm);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step-img {
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 18px;
}
.step-img img { max-height: 100%; max-width: 100%; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

/* === ROLES === */
.roles { background: var(--cream); }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.role-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--rule);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.role-img {
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
}
.role-img img { max-height: 100%; }
.role-card h3 { margin-bottom: 6px; font-size: 20px; }
.role-claim {
  color: var(--amber);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 10px;
}
.role-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}
@media (max-width: 1000px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .roles-grid { grid-template-columns: 1fr; }
}

/* === TRY DEMO === */
.try {
  background: var(--paper);
}
.try-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: center;
}
.try-character img { max-height: 360px; margin: 0 auto; }
.try-form-input {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.try-form-input input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid var(--rule);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.try-form-input input:focus { border-color: var(--amber); }
.try-result {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}
.try-result.show { max-height: 600px; opacity: 1; padding: 20px; }
.try-result-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
}
.try-result-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.3);
}
.try-result-header .dot:first-child { background: #ff6b6b; }
.try-result-header .dot:nth-child(2) { background: var(--amber); }
.try-result-header .dot:nth-child(3) { background: var(--green); }
.try-result-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(250, 246, 238, 0.6);
}
.transcript {
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 0 0 16px;
  white-space: pre-wrap;
  color: var(--cream);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .try-grid { grid-template-columns: 1fr; }
  .try-character { display: none; }
}

/* === CALCULATOR === */
.calc { background: var(--cream-warm); }
.calc-character {
  width: 200px;
  display: block;
}
.calc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: center;
}
.calc-controls label {
  display: block;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 16px;
}
.calc-controls input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--rule);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 14px 0;
  cursor: pointer;
}
.calc-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--paper);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.calc-controls input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--paper);
  cursor: pointer;
}
.hours-display {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
}
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.result-row.scribi {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.result-row.scribi .result-note { color: rgba(250, 246, 238, 0.55); }
.result-label {
  font-weight: 600;
  font-size: 16px;
}
.result-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  white-space: nowrap;
  text-align: right;
}
.result-value span {
  color: inherit;
}
.result-row.scribi .result-value { color: var(--amber); }
.result-note {
  grid-column: 1;
  font-size: 13px;
  color: var(--muted);
  margin-top: -4px;
}
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .result-value { font-size: 20px; white-space: normal; }
}

/* === RESULT TABS === */
.result { background: var(--paper); }
.tabs {
  margin: 40px auto 30px;
  max-width: 860px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.tab-buttons {
  display: flex;
  gap: 4px;
  background: var(--cream-warm);
  border-radius: var(--radius);
  padding: 4px;
}
.tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease, color 0.2s ease;
}
.tab-btn.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: currentColor;
}
.tab-content { display: none; padding: 20px 4px; }
.tab-content.active { display: block; }
.md-block, .transcript-block, .voices-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  white-space: pre-wrap;
  margin: 0;
  line-height: 1.7;
  overflow-x: auto;
}
.md-block { color: #d4c8a8; }
.md-block::first-line { color: var(--amber); }
.speaker { color: var(--amber); font-weight: 600; }
.speaker.speaker-2 { color: var(--amber-soft); }
.result-mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 700px;
  margin: 24px auto 0;
}
.result-mascot img {
  width: 180px;
  flex-shrink: 0;
}
.result-aside {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

/* === PRICING === */
.pricing { background: var(--cream); }
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.plan {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  border: 1px solid var(--rule);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-recommended {
  border: 2px solid var(--amber);
  background: var(--cream-warm);
  transform: scale(1.03);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.plan-badge span {
  background: var(--amber);
  color: var(--ink);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 0 var(--ink);
  white-space: nowrap;
}
.plan h3 { margin-top: 0; }
.plan-tagline {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 8px;
}
.pricing-note {
  margin-top: 36px;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}
.pricing-note a {
  color: var(--amber);
  font-weight: 600;
  border-bottom: 1px solid var(--amber-soft);
}
.plan-price {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 12px 0 26px;
}
.price-num { font-size: 44px; color: var(--ink); }
.price-unit { font-size: 16px; color: var(--muted); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}
.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 26px;
}
.plan-features li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
  position: absolute;
  left: 0;
}
.plan-features li:last-child { border-bottom: none; }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .plan-recommended { transform: none; }
}

/* === FAQ === */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.faq-mascot img { max-height: 380px; margin: 0 auto; }
.accordion details {
  border-bottom: 1px solid var(--rule);
  padding: 18px 4px;
}
.accordion details:first-child { padding-top: 8px; }
.accordion summary {
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 36px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: var(--amber);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after { content: "−"; }
.accordion p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-mascot { display: none; }
}

/* === CTA FINAL === */
.cta-final {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  text-align: center;
}
.cta-final-inner {
  max-width: 720px;
  text-align: center;
}
.cta-character {
  margin: 0 auto 24px;
}
.cta-character img {
  max-height: 320px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 14px;
}
.cta-final .lead { margin: 0 auto 30px; }

/* === FOOTER === */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 40px;
}
.site-footer a { color: rgba(250, 246, 238, 0.7); }
.site-footer a:hover { color: var(--amber); }
.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  font-size: 15px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(250, 246, 238, 0.55);
  margin: 0;
  text-align: right;
}
@media (max-width: 800px) {
  .footer-row { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}

/* === Mobile parallax tames === */
@media (max-width: 768px) {
  /* Reduce decor presence on mobile */
  .parallax { opacity: 0.5; }
  .decor-bg { display: none; }
  section { padding: 70px 0; }
}

/* === Скриби-нарратор: облачко-плашка === */
.scribi-bubble {
  position: relative;
  display: inline-block;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
  max-width: 280px;
  box-shadow: 0 4px 0 var(--ink);
}
.scribi-bubble::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
/* Tail variants — direction the tail points */
.scribi-bubble.tail-left::before {
  left: -10px;
  bottom: 22px;
  transform: rotate(135deg);
}
.scribi-bubble.tail-right::before {
  right: -10px;
  bottom: 22px;
  transform: rotate(-45deg);
}
.scribi-bubble.tail-bottom::before {
  bottom: -10px;
  left: 32px;
  transform: rotate(45deg);
}
.scribi-bubble.tail-top::before {
  top: -10px;
  left: 32px;
  transform: rotate(-135deg);
}

/* Hero floating bubble — sits to the upper-left of the fennec, points to him */
.hero-character {
  position: relative;
}
.hero-character .scribi-bubble {
  position: absolute;
  top: 30px;
  left: -180px;
  z-index: 5;
  font-size: 15px;
  max-width: 220px;
  transform: rotate(-3deg);
}
.hero-character .scribi-bubble.tail-bottom::before {
  bottom: -10px;
  left: auto;
  right: 24px;
  transform: rotate(45deg);
}

/* Bubble in try-demo section — placed ABOVE the fennec, not over the face */
.try-character {
  position: relative;
}
.try-character .scribi-bubble {
  position: absolute;
  top: -50px;
  left: 30px;
  z-index: 5;
  max-width: 230px;
  font-size: 15px;
  transform: rotate(-2deg);
}

/* Bubble in calculator (next to thumbsup fennec) — bubble GOES UP, not sideways */
.calc-character-wrap {
  position: absolute;
  bottom: 0;
  left: 2%;
  z-index: 3;
  pointer-events: none;
  width: 240px;
}
.calc-character-wrap .scribi-bubble {
  position: absolute;
  top: -70px;
  left: 50px;
  max-width: 220px;
  font-size: 14px;
  transform: rotate(-3deg);
}
@media (max-width: 1100px) {
  .calc-character-wrap { display: none; }
}

/* FAQ bubble — placed to the right of the mascot, NOT over face */
.faq-mascot {
  position: relative;
}
.faq-mascot .scribi-bubble {
  position: absolute;
  top: -20px;
  left: 22%;
  max-width: 220px;
  font-size: 14px;
  z-index: 5;
  transform: rotate(-2deg);
}
.faq-mascot .scribi-bubble.tail-bottom::before {
  bottom: -10px;
  left: auto;
  right: 38px;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .hero-character .scribi-bubble,
  .try-character .scribi-bubble,
  .faq-mascot .scribi-bubble { display: none; }
}

/* === Реалистичные плашки-врезки внутри секций (Скриби говорит) === */
.scribi-aside {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--cream-warm);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 32px auto;
  max-width: 720px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
}
.scribi-aside img {
  width: 80px;
  height: auto;
}
.scribi-aside p { margin: 0; }
.scribi-aside .scribi-name {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* === Blog teaser (на главной — 3 свежих гайда) === */
.blog-teaser {
  padding: 80px 0;
  background: var(--cream-warm);
}
.blog-teaser .section-lead {
  max-width: 640px;
  margin: 8px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
}
.blog-teaser .teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 1000px) { .blog-teaser .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-teaser .teaser-grid { grid-template-columns: 1fr; } }
.teaser-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.teaser-card .teaser-img {
  background: var(--cream);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.teaser-card .teaser-img img {
  max-height: 75%;
  max-width: 65%;
  object-fit: contain;
}
.teaser-card .teaser-rubric {
  display: block;
  margin: 22px 24px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.teaser-card h3 {
  margin: 8px 24px 8px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}
.teaser-card p {
  margin: 0 24px 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  flex: 1;
}
.teaser-card .teaser-meta {
  margin: 0 24px 22px;
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
}
.blog-teaser .teaser-more {
  margin-top: 36px;
  text-align: center;
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  .breathe img, .bob, .drift-rotate, .twinkle, .cursor { animation: none; }
  html { scroll-behavior: auto; }
}
