/* ==============================================================
   v3 enhance.css — bento, scrub-rules, terminal FAQ, mesh, magnetic
   ============================================================== */

/* ---------- Free badges ---------- */
/* ====== Free-Hero badge — модерн 2026 ======
   conic rotating border + holo-shimmer text + pulse dot */
.free-hero {
  position: relative;
  display: inline-block;
  padding: 2px;
  margin-bottom: 22px;
  border-radius: 999px;
  isolation: isolate;
  filter: drop-shadow(0 18px 40px rgba(5,150,105,.55));
}
.free-hero__ring {
  position: absolute; inset: 0; border-radius: 999px; z-index: 0;
  background: conic-gradient(from 0deg,
    #10b981, #22d3ee, #a7f3d0, #059669,
    #34d399, #f0fdf4, #10b981);
  animation: fh-spin 4.5s linear infinite;
}
@keyframes fh-spin { to { transform: rotate(360deg); } }

.free-hero__inner {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #041f16 0%, #06342a 45%, #032019 100%);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.free-hero__inner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: fh-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fh-shine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(120%); } }

.free-hero__pulse {
  width: 10px; height: 10px; border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.7);
  animation: fh-pulse 1.6s ease-out infinite;
}
@keyframes fh-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.8); }
  70%  { box-shadow: 0 0 0 14px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.free-hero__text {
  font-family: 'Satoshi','Inter',sans-serif;
  font-weight: 900; font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25), 0 0 12px rgba(16,185,129,.35);
  white-space: nowrap;
  position: relative; z-index: 2;
}

/* char-in reveal — по умолчанию текст виден, анимация только украшает */
.free-hero__text .ch { display: inline-block; }
.free-hero__text.is-in .ch { animation: fh-charin .55s cubic-bezier(.2,.8,.2,1) both; opacity: 0; }
@keyframes fh-charin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__free-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,.25);
  animation: pulse-dot 1.8s infinite;
}
.chip--free {
  background: linear-gradient(90deg, #10b981, #059669) !important;
  color: #fff !important; border-color: transparent !important;
  box-shadow: 0 10px 24px -10px rgba(5,150,105,.55);
  font-weight: 800 !important;
}
.chip--free .chip__dot { background: #fff !important; box-shadow: 0 0 0 4px rgba(255,255,255,.25) !important; }

.program-free-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #065f46; font-weight: 700; font-size: 13px;
}
.program-free-tag span {
  width: 8px; height: 8px; border-radius: 999px; background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,.16);
  animation: pulse-dot 1.8s infinite;
}

/* ---------- Global helpers ---------- */
:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --mut: #64748b;
  --line: #e2e8f0;
  --acc: #059669;
  --acc-2: #10b981;
  --acc-soft: #ecfdf5;
  --acc-mid: #a7f3d0;
  --acc-deep: #065f46;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Section labels */
.eh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--acc);
}
.eh-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--acc); box-shadow: 0 0 0 4px rgba(5,150,105,.12);
}

/* Magnetic + tilt */
.magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .12s ease-out; }
.tilt__inner { transform: translateZ(30px); }

/* Reveal-on-scroll (fallback if GSAP не грузится) */
.eh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.eh-reveal.is-in { opacity: 1; transform: none; }

/* ==============================================================
   BLOCK 4 — #format bento
   ============================================================== */
#format.bento-section {
  background: linear-gradient(180deg,#f8fafc 0%, #ffffff 100%);
  padding: 96px 0 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
#format.bento-section::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 60%;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(16,185,129,.10), transparent 60%),
    radial-gradient(500px 300px at 80% 20%, rgba(59,130,246,.08), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

.bento-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.bento-head { text-align: center; margin-bottom: 48px; }
.bento-head h2 {
  font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(30px, 4.2vw, 56px); color: var(--ink); margin: 12px 0 20px; line-height: 1.05;
}
.bento-head p { max-width: 720px; margin: 0 auto; color: var(--mut); line-height: 1.6; font-size: 17px; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
}
.bento__tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 4px 24px -12px rgba(15,23,42,.10), 0 2px 6px -2px rgba(15,23,42,.05);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.bento__tile:hover {
  transform: translateY(-4px);
  border-color: var(--acc-mid);
  box-shadow: 0 24px 60px -24px rgba(5,150,105,.28), 0 6px 16px -4px rgba(15,23,42,.10);
}
.bento__num {
  display: inline-flex; width: 42px; height: 42px; border-radius: 12px;
  background: var(--acc-soft); border: 1px solid var(--acc-mid);
  color: var(--acc-deep); font-weight: 800; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  margin-bottom: 14px;
}
.bento__h { font-family: 'Satoshi','Inter',sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.02em; line-height: 1.2; }
.bento__p { font-size: 14.5px; color: var(--mut); line-height: 1.6; margin: 0; }

/* Sizes */
.bento__tile.t-robot   { grid-column: span 6; grid-row: span 3; padding: 0; background: #0a1224; }
.bento__tile.t-calendar{ grid-column: span 3; grid-row: span 2; }
.bento__tile.t-chat    { grid-column: span 3; grid-row: span 2; }
.bento__tile.t-out     { grid-column: span 3; grid-row: span 1; background: linear-gradient(135deg,#0a1224,#1e293b); color: #fff; }
.bento__tile.t-vault   { grid-column: span 3; grid-row: span 1; }
.bento__tile.t-outro   { grid-column: span 12; background: linear-gradient(135deg, var(--acc-soft), #fff); border-color: var(--acc-mid); }

.t-out .bento__h, .t-out .bento__p { color: #fff; }
.t-out .bento__p { color: rgba(255,255,255,.72); }
.t-out .bento__num { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }

/* Robot tile inside */
.t-robot .bento__inner { position: absolute; inset: 0; }
.t-robot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-robot .t-robot__cap {
  position: absolute; left: 20px; bottom: 18px; right: 20px;
  color: #fff; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.t-robot .t-robot__cap h3 { font-family: 'Satoshi','Inter',sans-serif; font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.t-robot .t-robot__cap span { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.t-robot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,18,36,.7) 100%);
  pointer-events: none; z-index: 1;
}

/* Mini-calendar */
.mini-cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-top: 10px; }
.mini-cal__d {
  aspect-ratio: 1/1; border-radius: 6px; background: #f1f5f9; color: #94a3b8;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.mini-cal__d.is-live {
  background: var(--acc); color: #fff;
  box-shadow: 0 0 0 4px rgba(5,150,105,.16), 0 4px 10px -2px rgba(5,150,105,.35);
  animation: cal-pulse 2.4s infinite;
}
.mini-cal__d.is-done { background: var(--acc-soft); color: var(--acc-deep); }
@keyframes cal-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }

/* Mini chat */
.mini-chat { margin-top: 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; line-height: 1.55; }
.mini-chat__row { display: flex; gap: 8px; margin-bottom: 6px; }
.mini-chat__who { color: var(--acc-deep); font-weight: 700; min-width: 34px; }
.mini-chat__t { color: var(--ink-2); }
.mini-chat__cursor { display: inline-block; width: 7px; height: 14px; background: var(--acc); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ==============================================================
   BLOCK 5 — #budget mesh + counter + stagger
   ============================================================== */
#budget.mesh-section {
  position: relative;
  padding: 100px 0 120px;
  background: #ffffff;
  overflow: hidden;
}
#budget .mesh-canvas {
  position: absolute; inset: 0; z-index: 0;
  opacity: .55; pointer-events: none;
}
#budget .bento-wrap { position: relative; z-index: 1; }

.budget-total {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--acc-mid); color: var(--acc-deep);
  font-weight: 800; box-shadow: 0 6px 18px -8px rgba(5,150,105,.35);
}
.budget-total span:first-child { font-size: 13px; color: var(--mut); font-weight: 700; }
.budget-total .budget-num { font-size: 22px; }

.budget-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.budget-card {
  position: relative;
  padding: 24px; border-radius: 20px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.budget-card:hover { transform: translateY(-4px); border-color: var(--acc-mid); box-shadow: 0 20px 50px -20px rgba(5,150,105,.28); }
.budget-card__label { font-size: 15px; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
.budget-card__price { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--acc-deep); font-weight: 800; margin-top: 12px; font-size: 20px; }
.budget-card__desc { color: var(--mut); font-size: 14px; line-height: 1.55; margin-top: 10px; }
.budget-card__spark { position: absolute; right: -20px; bottom: -20px; width: 120px; height: 120px; opacity: .18; }

.budget-foot {
  margin-top: 28px; padding: 32px;
  border-radius: 22px;
  background: linear-gradient(135deg,#0a1224 0%, #1e293b 100%);
  color: #fff; position: relative; overflow: hidden;
}
.budget-foot::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 999px;
  background: radial-gradient(circle, rgba(16,185,129,.45), transparent 70%);
  filter: blur(24px);
}
.budget-foot p { position: relative; line-height: 1.6; margin: 0 0 12px; }
.budget-foot p:last-child { margin: 0; color: rgba(255,255,255,.72); font-size: 14.5px; }
.budget-foot .hi { color: var(--acc-mid); font-weight: 800; }

@media (max-width: 900px) {
  .budget-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .budget-grid { grid-template-columns: 1fr; }
}

/* ==============================================================
   BLOCK 6 — #rules pinned scrub track
   ============================================================== */
#rules.rules-track-section {
  padding: 0;
  background: #0a1224;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rules-pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 24px;
  position: relative;
}
.rules-pin__head { max-width: 1200px; margin: 0 auto 40px; width: 100%; }
.rules-pin__head h2 {
  font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(30px, 4.2vw, 56px); margin: 12px 0 18px; line-height: 1.05;
}
.rules-pin__head p { color: rgba(255,255,255,.7); max-width: 560px; line-height: 1.6; font-size: 17px; }

.rules-progress {
  max-width: 1200px; margin: 0 auto 24px; width: 100%;
  height: 4px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden;
}
.rules-progress__bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--acc), var(--acc-2)); border-radius: 999px; transition: width .1s linear; }

.rules-cards { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rule-card {
  position: relative; padding: 32px; border-radius: 24px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  transform: translateY(30px); opacity: .35;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .6s ease, border-color .3s ease, background .3s ease;
}
.rule-card.is-active { transform: none; opacity: 1; border-color: var(--acc-mid); background: rgba(16,185,129,.08); box-shadow: 0 40px 80px -30px rgba(5,150,105,.5); }
.rule-card__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 60px; font-weight: 800;
  background: linear-gradient(135deg, var(--acc-mid), var(--acc-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 12px;
}
.rule-card h3 { font-family: 'Satoshi','Inter',sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.rule-card p { color: rgba(255,255,255,.75); line-height: 1.6; margin: 0; font-size: 15px; }
.rules-foot { max-width: 1200px; margin: 40px auto 0; color: rgba(255,255,255,.55); font-size: 14px; text-align: center; }

@media (max-width: 900px) {
  .rules-cards { grid-template-columns: 1fr; gap: 14px; }
  .rules-pin { min-height: auto; padding: 60px 20px; }
}

/* ==============================================================
   BLOCK 7 — #faq terminal
   ============================================================== */
#faq.faq-terminal {
  position: relative;
  padding: 100px 0 40px;
  background: #ffffff;
  overflow: hidden;
}
#faq .mesh-canvas { position: absolute; inset: 0; z-index: 0; opacity: .35; pointer-events: none; }
.faq-wrap { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-head h2 {
  font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(30px, 4.2vw, 56px); color: var(--ink); margin: 12px 0 8px;
}

.term {
  border-radius: 22px; border: 1px solid var(--line);
  background: #0a1224;
  box-shadow: 0 40px 80px -30px rgba(15,23,42,.35);
  overflow: hidden;
}
.term__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgba(255,255,255,.02); border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', ui-monospace, monospace; color: rgba(255,255,255,.55); font-size: 12px;
}
.term__dot { width: 10px; height: 10px; border-radius: 999px; background: #475569; }
.term__dot.r { background: #ef4444; }
.term__dot.y { background: #eab308; }
.term__dot.g { background: #10b981; }
.term__title { margin-left: 8px; letter-spacing: .1em; text-transform: uppercase; }
.term__title::before { content: "~/"; opacity: .5; margin-right: 4px; }
.term__ai {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--acc-mid);
}
.term__ai::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--acc-2);
  box-shadow: 0 0 0 4px rgba(16,185,129,.2);
  animation: pulse-dot 1.6s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; box-shadow: 0 0 0 4px rgba(16,185,129,.2); } 50% { opacity: .55; box-shadow: 0 0 0 8px rgba(16,185,129,.05); } }

.term__body { padding: 22px; }
.qa { border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: #fff; font-size: 14.5px;
  transition: background .2s ease, border-color .2s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before {
  content: "$"; color: var(--acc-mid); font-weight: 700; margin-right: 4px;
}
.qa summary:hover { background: rgba(16,185,129,.06); border-color: var(--acc-mid); }
.qa[open] summary { background: rgba(16,185,129,.10); border-color: var(--acc-mid); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.qa summary .chev {
  margin-left: auto; width: 16px; height: 16px; color: rgba(255,255,255,.5);
  transition: transform .2s ease;
}
.qa[open] .chev { transform: rotate(180deg); color: var(--acc-mid); }

.qa__a {
  padding: 20px 22px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-top: none;
  border-bottom-left-radius: 14px; border-bottom-right-radius: 14px;
  background: rgba(255,255,255,.02);
  color: rgba(255,255,255,.82); line-height: 1.7; font-size: 14.5px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.qa__a::before {
  content: "> ai:"; display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: var(--acc-mid); margin-right: 6px; font-weight: 700;
}
.qa__a .cur {
  display: inline-block; width: 7px; height: 15px; background: var(--acc-2); vertical-align: -2px; margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}

/* ==============================================================
   BLOCK 8 — #join terminal CTA
   ============================================================== */
#join.join-terminal {
  position: relative;
  padding: 60px 0 120px;
  background: linear-gradient(180deg,#ffffff 0%, var(--acc-soft) 100%);
  overflow: hidden;
}
.join-wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.join-term { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0a1224; box-shadow: 0 40px 80px -30px rgba(15,23,42,.35); }
.join-term__body { padding: 40px 32px 44px; }
.join-line { font-family: 'JetBrains Mono', ui-monospace, monospace; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 6px; }
.join-line .g { color: var(--acc-mid); }
.join-h {
  font-family: 'Satoshi','Inter',sans-serif; font-weight: 900; letter-spacing: -0.03em;
  font-size: clamp(28px, 4vw, 46px); color: #fff; margin: 18px 0 14px; line-height: 1.1;
}
.join-p { color: rgba(255,255,255,.72); line-height: 1.65; font-size: 16px; margin: 0 0 24px; max-width: 640px; }

.cta-shimmer {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px; border-radius: 14px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 20px 40px -14px rgba(5,150,105,.6), inset 0 1px 0 rgba(255,255,255,.2);
  overflow: hidden; text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.cta-shimmer::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { left: -60%; } 60%,100% { left: 130%; } }
.cta-shimmer:hover { transform: translateY(-2px) scale(1.02); }

.join-alt { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 18px; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.join-alt a { color: var(--acc-mid); }

/* ==============================================================
   Responsive bento
   ============================================================== */
@media (max-width: 1024px) {
  .bento__tile.t-robot   { grid-column: span 12; grid-row: span 2; }
  .bento__tile.t-calendar{ grid-column: span 6; }
  .bento__tile.t-chat    { grid-column: span 6; }
  .bento__tile.t-out     { grid-column: span 6; }
  .bento__tile.t-vault   { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { gap: 12px; }
  .bento__tile { padding: 20px; border-radius: 18px; }
  .bento__tile.t-calendar,
  .bento__tile.t-chat,
  .bento__tile.t-out,
  .bento__tile.t-vault { grid-column: span 12; }
}

@media (max-width: 760px) {
  .free-hero__ring { animation: none; }
  .free-hero__inner::after { animation: none; opacity: .22; transform: translateX(0); }
}

/* Denis author card */
.author-denis-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  max-width: 820px;
  margin: -10px auto 34px;
  padding: clamp(14px, 2.5vw, 22px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eef8f4 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.author-denis-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #e7eef5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 18px 42px rgba(15, 23, 42, 0.16);
}

.author-denis-card__photo::before,
.author-denis-card__photo::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: rgba(27, 190, 135, 0.82);
  z-index: 2;
  pointer-events: none;
}

.author-denis-card__photo::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.author-denis-card__photo::after {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.author-denis-card__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.author-denis-card__body {
  min-width: 0;
  text-align: left;
}

.author-denis-card__name {
  font-family: var(--font-display, inherit);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  color: #0f2b46;
}

.author-denis-card__role {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #168865;
}

.author-denis-card__meta {
  margin-top: 18px;
  max-width: 430px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: #334155;
}

.author-denis-card__meta b {
  color: #0f2b46;
}

@media (max-width: 700px) {
  .author-denis-card {
    grid-template-columns: 1fr;
    max-width: 390px;
    margin-top: -4px;
    margin-bottom: 28px;
    padding: 14px;
  }

  .author-denis-card__body {
    text-align: center;
    padding: 2px 6px 6px;
  }

  .author-denis-card__meta {
    margin-left: auto;
    margin-right: auto;
  }
}

