/* Главная mthd.ru в стиле prtner.ai: кремовый фон, заголовки в две строки, пилюли, большие скругления,
   пиксельная графика из точек, живые демо в карточках, моноширинные подписи. Цвета и шрифты — «Тёплый графит». */

.pr { --r-xl: 24px; --r-l: 18px; --pill: 999px; --sage: color-mix(in srgb, var(--success) 55%, var(--background)); --sage-soft: color-mix(in srgb, var(--success) 9%, var(--background)); --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace; }
.pr .p-w { max-width: 1136px; margin: 0 auto; padding: 0 24px; }
.pr .p-w.narrow { max-width: 820px; }
.mono { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0; }
.mono.acc, .acc { color: var(--link); }
.mono.dim { color: var(--muted-foreground); font-size: 12.5px; }
.pr h1, .pr h2 { letter-spacing: -.035em; }
.pr h1 span, .pr h2 span { color: var(--sage); }

/* шапка: светлая, полупрозрачная, кнопка-пилюля, полоса прокрутки */
.pr .hdr { background: color-mix(in srgb, var(--background) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.pr .hdr .btn { border-radius: var(--pill); padding: 10px 20px; }
.pr .nav a { font-size: 15px; }
.progress { position: sticky; top: var(--hdr-h, 64px); height: 0; z-index: 40; }
.progress i { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--logo); }

/* кнопки-пилюли */
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: var(--pill); padding: 15px 26px; font: 600 16px/1.2 "Golos Text", Arial, sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, transform .15s; }
.pbtn .ic { width: 18px; height: 18px; transition: transform .15s; }
.pbtn:hover .ic { transform: translateX(2px); }
.pbtn.pri { background: var(--primary); color: var(--primary-foreground); }
.pbtn.pri:hover { background: var(--primary-hover); }
.pbtn.soft { background: var(--secondary); color: var(--foreground); border-color: var(--border); }
.pbtn.soft:hover { background: var(--border); }
.pbtn.full { width: 100%; }
.chip-b { display: inline-block; padding: 6px 14px; border-radius: var(--pill); background: var(--secondary); border: 1px solid var(--border); font-size: 14px; }

/* пиксельная графика */
canvas.dither { display: block; width: 100%; image-rendering: pixelated; }

/* ── первый экран ── */
.p-hero { text-align: center; padding: 72px 0 0; position: relative; overflow: hidden; }
.p-new { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--pill); background: var(--card); border: 1px solid var(--border); color: var(--foreground); text-decoration: none; font-size: 14.5px; }
.p-new span { background: var(--logo); color: #fff; border-radius: var(--pill); padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.p-new .ic { width: 15px; height: 15px; }
.p-hero .mono.acc { margin: 22px 0 14px; }
.p-hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.04; max-width: 15em; margin: 0 auto; }
.p-lede { max-width: 640px; margin: 26px auto 0; font-size: 19px; line-height: 1.55; color: var(--muted-foreground); }
.p-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.p-small { margin: 18px 0 0; font-size: 13px; color: var(--muted-foreground); }
canvas.city { height: 300px; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

/* ── цифры ── */
.p-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.p-stats li { padding: 28px 24px 30px; }
.p-stats li + li { border-left: 1px solid var(--border); }
.p-stats b { display: flex; align-items: baseline; gap: 6px; font: 700 clamp(40px, 4.4vw, 60px)/1 "Manrope", sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.p-stats small { font: 600 18px "Golos Text", sans-serif; letter-spacing: 0; color: var(--muted-foreground); }
.p-stats p { margin: 14px 0 0; color: var(--muted-foreground); font-size: 15.5px; line-height: 1.45; }

/* ── разделы ── */
.p-sec { padding: 120px 0 0; }
.p-sec.last { padding-bottom: 120px; }
.p-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.p-head h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; margin: 20px 0 0; }
.p-head p { margin: 20px auto 0; max-width: 34em; color: var(--muted-foreground); font-size: 18px; }

/* ── демо-рамка ── */
.frame { position: relative; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--sage-soft); padding: 64px 40px 36px; overflow: hidden; }
.frame canvas.bg, .apply canvas.bg { position: absolute; inset: 0; height: 100%; z-index: 0; }
.frame > *:not(canvas) { position: relative; z-index: 1; }
.pause { position: absolute !important; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); display: grid; place-items: center; cursor: pointer; }
.pause svg { width: 16px; height: 16px; stroke: var(--foreground); stroke-width: 2.5; fill: none; }
.frame-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.d-card { background: var(--card); border-radius: var(--r-l); padding: 20px 22px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--foreground) 50%, transparent); min-height: 280px; }
.d-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 15px; }
.tag { font-size: 12.5px; color: var(--muted-foreground); }
.d-kv { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 15px; }
.d-kv span { color: var(--muted-foreground); }
.st { font-size: 12.5px; font-weight: 600; border-radius: var(--pill); padding: 3px 10px; background: var(--warning-soft); color: var(--warning); transition: background-color .3s, color .3s; }
.st.ok { background: var(--success-soft); color: var(--success); }
.bubs { display: grid; gap: 8px; }
.bub { margin: 0; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; max-width: 90%; animation: bub .35s ease both; }
.bub.op { background: var(--secondary); border-bottom-left-radius: 4px; }
.bub.cl { background: var(--primary); color: var(--primary-foreground); justify-self: end; border-bottom-right-radius: 4px; }
@keyframes bub { from { opacity: 0; transform: translateY(6px); } }
.frame-log { display: grid; gap: 8px; max-width: 880px; margin: 18px auto 0; }
.frame-log p { margin: 0; background: var(--card); border-radius: 10px; padding: 10px 14px; }

/* ── бенто ── */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.b { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
.b.wide { grid-column: span 2; }
.b-art { position: relative; height: 260px; background: var(--sage-soft); border-bottom: 1px solid var(--border); overflow: hidden; }
.b-art canvas { position: absolute; inset: 0; height: 100%; }
.b-ui { position: absolute; z-index: 1; }
.b h3 { font-size: 19px; margin: 22px 24px 8px; letter-spacing: -.015em; }
.b > p { margin: 0 24px 24px; color: var(--muted-foreground); font-size: 15.5px; line-height: 1.5; }
.chips { left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--card); border-radius: var(--pill); padding: 8px 14px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--foreground) 60%, transparent); animation: floaty 5s ease-in-out infinite; }
.chips span:nth-child(2) { animation-delay: -1.6s; } .chips span:nth-child(3) { animation-delay: -3.2s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.site { left: 20px; right: 20px; bottom: 20px; background: var(--card); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--foreground) 60%, transparent); }
.site .mono { font-size: 11.5px; color: var(--muted-foreground); }
.site b { font: 700 17px "Manrope", sans-serif; }
.site i { font-style: normal; justify-self: start; background: var(--primary); color: var(--primary-foreground); border-radius: var(--pill); padding: 6px 14px; font-size: 13px; font-weight: 600; margin-top: 4px; }
.call { left: 20px; right: 20px; bottom: 20px; background: var(--card); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 16px; box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--foreground) 60%, transparent); }
.call b { font-size: 20px; color: var(--success); font-variant-numeric: tabular-nums; }
.wv { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; }
.wv i { flex: 1; height: 20%; border-radius: 2px; background: var(--foreground); opacity: .75; animation: wv 1.1s ease-in-out infinite; }
.wv i:nth-child(2n) { animation-delay: -.3s; } .wv i:nth-child(3n) { animation-delay: -.6s; } .wv i:nth-child(5n) { animation-delay: -.85s; }
@keyframes wv { 50% { height: 95%; } }
.toggles { left: 20px; right: 20px; bottom: 20px; display: flex; gap: 6px; background: var(--card); border-radius: var(--pill); padding: 5px; box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--foreground) 60%, transparent); }
.toggles button { all: unset; box-sizing: border-box; flex: 1; text-align: center; cursor: pointer; padding: 9px 6px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--muted-foreground); transition: background-color .2s, color .2s; }
.toggles button[aria-pressed="true"] { background: var(--logo); color: #fff; }
.toggles button:focus-visible { outline: 2px solid var(--ring); }
.toggles.all button { background: var(--success); color: #fff; }
.bars { right: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); background: var(--card); border-radius: 14px; padding: 16px 16px 12px; box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--foreground) 60%, transparent); }
.bars-in { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars-in button { all: unset; flex: 1; border-radius: 4px 4px 2px 2px; background: var(--sage); cursor: pointer; transition: background-color .2s, height .5s; }
.bars-in button[aria-pressed="true"] { background: var(--logo); }
.bars-in button:focus-visible { outline: 2px solid var(--ring); }
.bars p { margin: 10px 0 0; font-size: 12.5px; }

/* ── скроллителлинг: Телеграм ── */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 46vh; display: flex; gap: 22px; align-items: center; opacity: .35; transition: opacity .35s; }
.step.on { opacity: 1; }
.step .mono { font-size: 14px; padding-top: 4px; align-self: center; }
.step h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--muted-foreground); font-size: 16.5px; line-height: 1.5; }
.tg { position: sticky; top: 110px; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--card); overflow: hidden; box-shadow: 0 40px 80px -50px color-mix(in srgb, var(--foreground) 55%, transparent); }
.tg-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.tg-top div { flex: 1; display: grid; text-align: center; }
.tg-top div span { font-size: 12.5px; color: var(--muted-foreground); }
.tg-back { font-size: 26px; line-height: 1; color: var(--link); }
.tg-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--logo); color: #fff; display: grid; place-items: center; font: 700 16px "Manrope", sans-serif; }
.tg-tabs { display: flex; border-bottom: 1px solid var(--border); font-size: 14px; }
.tg-tabs span { flex: 1; text-align: center; padding: 11px 6px; color: var(--muted-foreground); }
.tg-tabs span.on { color: var(--foreground); font-weight: 600; box-shadow: inset 0 -2px 0 var(--foreground); }
.tg-tabs i { font-style: normal; font-size: 11.5px; background: var(--secondary); border-radius: var(--pill); padding: 1px 7px; margin-left: 4px; }
.tg-feed { background: var(--sage-soft); background-image: radial-gradient(color-mix(in srgb, var(--success) 22%, transparent) 1px, transparent 1.2px); background-size: 14px 14px; padding: 16px 18px 22px; display: grid; gap: 10px; align-content: start; min-height: 470px; }
.tg-day { justify-self: center; font-size: 12px; background: color-mix(in srgb, var(--success) 30%, var(--background)); color: var(--foreground); border-radius: var(--pill); padding: 3px 10px; }
.tg-m { background: var(--card); border-radius: 14px 14px 14px 4px; padding: 10px 14px; max-width: 86%; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.tg-m b { color: var(--success); font-size: 13px; }
.tg-m p { margin: 2px 0 0; }
.tg-m .ttl { font-weight: 600; letter-spacing: .02em; }
.tg-m.me { justify-self: end; background: color-mix(in srgb, var(--success) 16%, var(--card)); border-radius: 14px 14px 4px 14px; }
.tg-time { display: block; text-align: right; font-size: 11.5px; color: var(--muted-foreground); }
.tg-wave { display: flex; align-items: center; gap: 2px; margin-top: 6px; font-size: 12.5px; color: var(--muted-foreground); }
.tg-wave i { width: 3px; height: 10px; border-radius: 2px; background: var(--success); }
.tg-wave i:nth-child(2n) { height: 16px; } .tg-wave i:nth-child(3n) { height: 6px; }
.tg-wave i:last-of-type { margin-right: 8px; }
.tg-btns { display: flex; gap: 6px; margin-top: 8px; }
.tg-btns span { flex: 1; text-align: center; font-size: 13px; padding: 7px; border-radius: 8px; background: var(--secondary); color: var(--link); font-weight: 600; }
.tg[data-stage="1"] [data-s="1"],
.tg[data-stage="2"] [data-s="1"], .tg[data-stage="2"] [data-s="2"],
.tg[data-stage="3"] [data-s="1"], .tg[data-stage="3"] [data-s="2"], .tg[data-stage="3"] [data-s="3"],
.tg[data-stage="4"] .tg-m { opacity: 1; transform: none; }

/* ── контроль ── */
.ctrl { display: grid; grid-template-columns: 1fr 1.05fr; gap: 14px; padding: 14px; border-radius: 28px; background: var(--card); border: 1px solid var(--border); box-shadow: 0 40px 80px -60px color-mix(in srgb, var(--foreground) 55%, transparent); }
.ctrl-l { background: var(--sage-soft); border-radius: var(--r-l); padding: 36px 34px 0; display: flex; flex-direction: column; overflow: hidden; }
.ctrl-l h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.ctrl-l p { color: var(--muted-foreground); margin: 16px 0 0; font-size: 17px; }
.ctrl-l canvas { margin-top: auto; height: 240px; }
.ctrl-r { background: #221F1D; color: #EDE9E4; border-radius: var(--r-l); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.term { font-family: var(--mono); font-size: 13.5px; line-height: 1.55; height: 380px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid #3A3633; border-radius: 12px; padding: 14px 16px; }
.term .ln { display: grid; grid-template-columns: 76px 16px 1fr; gap: 6px; animation: bub .3s ease both; }
.term .t { color: #9A948E; }
.term .d { color: #E2583E; }
.term .ok { color: #7FB894; }
.term .sub { grid-column: 3; color: #9A948E; }
.term .cur::after { content: ""; display: inline-block; width: 8px; height: 15px; background: #E2583E; vertical-align: -2px; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ctrl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ctrl-chips span { border-radius: var(--pill); padding: 8px 14px; font-size: 14px; border: 1px solid #3A3633; color: #C9C3BD; }
.ctrl-chips span.on { background: #E2583E; border-color: #E2583E; color: #fff; }
.ctrl-chips span.lock { background: #24372B; border-color: #2F4A39; color: #A9D3B5; }
.ctrl-r .mono.dim { color: #8A847E; margin: auto 0 0; }

/* ── цены ── */
.pr-card { border-radius: var(--r-xl); padding: 24px; }
.pr-card .seg { border-radius: var(--pill); }
.pr-card .seg button { border-radius: var(--pill); }
.pr-card .city .in { border-radius: var(--pill); padding-left: 42px; }
.pr-card .prices { display: grid; grid-template-columns: 1fr; gap: 0; }
.pr-card .price { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 24px; align-items: center; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 18px 4px; background: transparent; box-shadow: none; }
.pr-card .price h3 { min-height: 0; font-size: 17px; }
.pr-card .price .sum { margin: 0; font-size: 30px; }
.pr-card .price .per { display: none; }
.pr-card .price .btn { border-radius: var(--pill); width: auto; padding: 10px 18px; font-size: 14.5px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 20px; }
.plan h3 { font-size: 24px; }
.plan .pbtn { margin-top: auto; }
.plan.no { background: var(--secondary); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks.x li::before { background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E5853' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid var(--border); }

/* ── вопросы ── */
.pr .faq details { border-radius: var(--r-l); }

/* ── заявка ── */
.apply { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--border); background: var(--sage-soft); }
.apply-in { position: relative; z-index: 1; text-align: center; padding: 88px 24px 72px; max-width: 640px; margin: 0 auto; }
.apply h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; margin: 20px 0 0; }
.apply p { color: var(--muted-foreground); font-size: 18px; margin: 20px 0 0; }
.apply .lead { margin: 32px auto 0; display: grid; gap: 12px; text-align: left; }
.apply .phone-row { border-radius: var(--pill); padding: 6px 6px 6px 12px; }
.apply .phone-row .btn { border-radius: var(--pill); }
.apply .mono.dim { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
  .chips span, .wv i, .bub, .term .ln { animation: none; }
  .step { opacity: 1; }
  .tg .tg-m { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
  .p-stats ul { grid-template-columns: 1fr 1fr; }
  .p-stats li:nth-child(3) { border-left: 0; }
  .p-stats li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .frame { padding: 60px 16px 20px; }
  .frame-in { grid-template-columns: 1fr; }
  .d-card { min-height: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 24px; }
  .tg { position: sticky; top: 72px; order: -1; z-index: 2; }
  .tg-feed { min-height: 300px; max-height: 300px; overflow: hidden; align-content: end; }
  .tg-day { display: none; }
  .story-steps { position: relative; }
  .step { min-height: 52vh; align-items: flex-end; padding-bottom: 6vh; }
  .ctrl { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .p-hero { padding-top: 40px; }
  .p-lede { font-size: 17px; }
  canvas.city { height: 200px; }
  .p-stats li { padding: 20px 14px; }
  .p-stats b { font-size: 36px; }
  .p-stats small { font-size: 14px; }
  .p-sec { padding-top: 88px; }
  .p-sec.last { padding-bottom: 88px; }
  .bento { grid-template-columns: 1fr; }
  .b.wide { grid-column: auto; }
  .b-art { height: 220px; }
  .d-kv { grid-template-columns: 104px 1fr; font-size: 14px; }
  .tg-feed { min-height: 260px; max-height: 260px; }
  .tg-m { font-size: 13.5px; }
  .ctrl-l { padding: 28px 22px 0; }
  .term { font-size: 12px; height: 320px; padding: 12px; }
  .term .ln { grid-template-columns: 62px 12px 1fr; }
  .pr-card { padding: 16px; }
  .pr-card .price { grid-template-columns: 1fr auto; }
  .pr-card .price .btn { grid-column: 1 / -1; }
  .plan { padding: 24px; }
}

/* ── Правки по проверке сайта (01.11.2026) ── */
.pr { --sage: color-mix(in srgb, var(--success) 78%, var(--background)); }
.p-new { padding: 7px 14px; }
.frame { background-color: var(--sage-soft); background-image: radial-gradient(color-mix(in srgb, var(--success) 22%, transparent) 1px, transparent 1.2px); background-size: 14px 14px; }
.toggles button[aria-pressed="true"], .tg-ava { background: var(--ring); color: var(--background); }
.toggles.all button { background: var(--success); color: var(--background); }
.lead-mini { left: 20px; right: 20px; bottom: 20px; background: var(--card); border-radius: 14px; padding: 16px 18px; box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--foreground) 60%, transparent); }
.lead-mini div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.lead-mini b { font: 700 17px "Manrope", sans-serif; }
.lead-mini p { margin: 8px 0 0; color: var(--muted-foreground); font-size: 14.5px; }
.term { justify-content: flex-start; }
.term .d { color: #EC6B52; }
.ctrl-chips span { border-color: #4A4541; color: #D8D2CC; }
.ctrl-r .mono.dim { color: #A29C96; }
@media (max-width: 960px) {
  .tg .tg-m { display: none; }
  .tg[data-stage="1"] [data-s="1"], .tg[data-stage="2"] [data-s="1"], .tg[data-stage="2"] [data-s="2"], .tg[data-stage="3"] [data-s="2"], .tg[data-stage="3"] [data-s="3"], .tg[data-stage="4"] [data-s="3"], .tg[data-stage="4"] [data-s="4"] { display: block; }
  .tg[data-stage="3"] .tg-m.me, .tg[data-stage="4"] .tg-m.me { justify-self: end; }
}
@media (max-width: 600px) {
  .pr-card .seg { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; width: 100%; }
  .pr-card .seg button { text-align: center; white-space: normal; }
  .pr-card .city { width: 100%; }
  .pr-card .city .in { text-overflow: ellipsis; }
}

.p-fact { margin: 18px 0 0; text-align: center; color: var(--muted-foreground); font-size: 15.5px; }
.plan.back { grid-column: 1 / -1; background: var(--sage-soft); }
.plan.back p { margin: 0; color: var(--foreground); max-width: 70ch; }
.tg-top div { text-align: left; }
@media (min-width: 961px) { .tg-feed { min-height: 400px; } }
