/* Força de Hábito — demo gym site. Chalk and iron: chalk ground, rubber-black ink, one violet accent.
   Big Shoulders Display for headings, numerals and timetable times; Manrope for text. Photos are shown in black and white. */
:root {
  --chalk: #F4F3EF;
  --ink: #17171A;
  --violet: #5B2EFF;
  --violet-d: #4720D9;
  --field: #E7E4F5;
  --grey: #77757E;
  --dim: #56545C;
  --line: #D5D3CB;
  --paper: #FFFFFF;
  --bad: #B3261E;
  --disp: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 1rem/1.6 var(--text); color: var(--ink); background: var(--chalk); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
main img { filter: grayscale(1) contrast(1.04); }
a { color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.hero :focus-visible, .space :focus-visible, .band :focus-visible, .sec--dark :focus-visible, .ft :focus-visible, .today__head :focus-visible { outline-color: #fff; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.lc { text-transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; stroke-width: 2; }

h1, h2, h3 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; line-height: 1; }
h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h3 { font-size: 1.6rem; line-height: 1.05; }

/* studio demo bar (shared chrome, same rules as the other demos) */
.demobar { background: #000; color: #fff; font: 500 .86rem/1.3 system-ui, sans-serif; }
.demobar__in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-block: 7px; }
.demobar a { color: #fff; text-decoration: none; }
.demobar__back:hover { text-decoration: underline; }
.demobar__txt { flex: 1 1 14em; opacity: .75; }
.demobar__cta { padding: 6px 14px; border-radius: 999px; background: #17D878; color: #000 !important; font-weight: 700; white-space: nowrap; }
html.embedded .demobar { display: none; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 2px solid var(--violet); border-radius: 2px; background: var(--violet); color: #fff; font: 700 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { background: var(--violet-d); border-color: var(--violet-d); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.btn--inv { background: transparent; border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--inv:hover { background: #fff; border-color: #fff; color: var(--ink); }
.lnk { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lnk:hover { color: var(--violet); }
.more { margin-top: 28px; }
.lead { font-size: 1.0625rem; max-width: 34rem; }

/* header */
.hd { position: sticky; top: 0; z-index: 40; background: var(--chalk); border-bottom: 1px solid var(--line); }
.hd__in { position: relative; display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font: 800 1.55rem/1 var(--disp); text-transform: uppercase; white-space: nowrap; }
.logo__m { width: 34px; height: 22px; flex: none; }
.logo--inv { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .15s ease; }
.nav a:not(.btn):hover { box-shadow: inset 0 -3px 0 var(--line); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--ink); }
.nav__cta { display: none; }
.hd__side { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 2px; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 40px; font-weight: 700; font-size: .82rem; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--chalk); }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { position: absolute; left: 10px; width: 24px; height: 3px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

/* home: first screen */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(540px, calc(100vh - 190px), 700px); background: var(--ink); color: #fff; overflow: hidden; }
html.embedded .hero { min-height: 600px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 26, .9) 0%, rgba(23, 23, 26, .62) 40%, rgba(23, 23, 26, .1) 80%), linear-gradient(0deg, rgba(23, 23, 26, .8) 0%, rgba(23, 23, 26, 0) 46%); }
.hero__in { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 128px; }
.hero h1 { font-size: clamp(2.9rem, 12.6vw, 9.5rem); font-weight: 900; line-height: .94; }
.hero h1 span { display: block; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 48px; margin-top: 26px; }
.hero__row p { max-width: 35rem; font-size: 1.0625rem; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* home: what is on today, cutting into the photo */
.today { position: relative; z-index: 3; margin-top: -84px; }
.today__box { display: grid; grid-template-columns: 232px minmax(0, 1fr) 168px; background: var(--paper); border-bottom: 3px solid var(--ink); }
.today__head { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px; background: var(--violet); color: #fff; }
.today__head h2 { font-size: 3rem; font-weight: 900; line-height: .92; }
.today__date { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.today__open { margin-top: 2px; font-size: .82rem; line-height: 1.35; opacity: .92; }
.today__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.today__list[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.today__list[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.today__list[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.today__list li + li { border-left: 1px solid var(--line); }
.today__list a { display: flex; flex-direction: column; height: 100%; padding: 18px 18px 20px; text-decoration: none; transition: background-color .15s ease; }
.today__list a:hover { background: var(--field); }
.today__t { font: 800 2.7rem/1 var(--disp); font-variant-numeric: tabular-nums; }
.today__n { margin: 6px 0 8px; font: 800 1.5rem/1 var(--disp); text-transform: uppercase; }
.today__m { font-size: .84rem; line-height: 1.45; color: var(--dim); }
.today__soon { margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--violet); }
.today__more { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px; border-left: 1px solid var(--line); font-size: .88rem; color: var(--dim); }
.today__more a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.today__more a:hover { color: var(--violet); }
.today__note { margin-top: 10px; font-size: .88rem; color: var(--dim); }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--rule { border-top: 1px solid var(--line); }
.sec--flush { padding-top: clamp(28px, 4vw, 48px); }
.sec--dark { padding-top: 8px; background: var(--ink); color: var(--chalk); }
.sec__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 14px 56px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec__top p { max-width: 34rem; }

.intro__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 64px; }
.intro__txt p + p { margin-top: 14px; }
.intro__txt p:first-child { font-size: 1.125rem; }
.facts { grid-column: 1 / -1; margin-top: 12px; border-top: 3px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4px 64px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 800 1.5rem/1.1 var(--disp); text-transform: uppercase; }

/* home: plans table and the habit strip */
.rateboard { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.rate { width: 100%; border-top: 3px solid var(--ink); }
.rate th, .rate td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rate thead th { padding-block: 10px; font-size: .84rem; font-weight: 700; color: var(--dim); }
.rate tbody th span { display: block; font: 800 1.8rem/1 var(--disp); text-transform: uppercase; }
.rate tbody th small { display: block; margin-top: 6px; max-width: 30rem; font-size: .88rem; font-weight: 400; line-height: 1.45; color: var(--dim); }
.rate td { width: 132px; white-space: nowrap; }
.rate td b { display: block; font: 800 2.3rem/1 var(--disp); font-variant-numeric: tabular-nums; }
.rate td small { display: block; margin-top: 4px; font-size: .78rem; color: var(--dim); }
.habit { padding-top: 18px; border-top: 3px solid var(--ink); }
.habit__grid { display: grid; gap: 6px; }
.habit__row { display: grid; grid-template-columns: 82px repeat(7, 24px); gap: 6px; align-items: center; }
.habit__row span { font-size: .8rem; color: var(--dim); }
.habit__row b { font-size: .72rem; font-weight: 600; text-align: center; color: var(--grey); }
.habit__row i { width: 24px; height: 24px; background: var(--field); }
.habit__row i.on { background: var(--ink); }
.habit figcaption { margin-top: 18px; max-width: 24rem; font-size: .95rem; }

/* home: the space (dark band) */
.space { padding-bottom: clamp(56px, 8vw, 96px); background: var(--ink); color: var(--chalk); }
.space__ph { position: relative; }
.space__ph img { width: 100%; max-width: none; height: clamp(300px, 46vw, 620px); object-fit: cover; }
.space__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 23, 26, .92) 0%, rgba(23, 23, 26, .15) 55%); }
.space__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: 18px; }
.space__cap h2 { font-size: clamp(2.8rem, 8.4vw, 7.4rem); font-weight: 900; line-height: .94; color: #fff; }
.space__p { max-width: 40rem; margin: 20px 0 40px; font-size: 1.0625rem; color: rgba(244, 243, 239, .82); }
.zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.zones li { padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .24); }
.zones h3 { color: #fff; }
.zones p { margin-top: 8px; font-size: .92rem; color: rgba(244, 243, 239, .74); }

/* home: trainers */
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.face a { display: block; text-decoration: none; }
.face img { width: 100%; }
.face h3 { margin-top: 14px; }
.face a:hover h3 { text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.face p { margin-top: 4px; font-size: .9rem; color: var(--dim); }

/* trial: steps and form */
.trial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 72px; align-items: start; }
.trial__txt .lead { margin-top: 16px; }
.trial__bring { margin-top: 18px; font-size: .95rem; color: var(--dim); }
.steps { counter-reset: s; margin-top: 28px; border-bottom: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 0; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: 1 / span 2; font: 900 2.6rem/.95 var(--disp); }
.steps li > * { grid-column: 2; }
.steps p { font-size: .95rem; }
.form { display: grid; gap: 18px; }
.form__2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fld { min-width: 0; border: 0; }
.fld label, .fld legend { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="date"], .fld select { display: block; width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 2px 2px 0 0; background-color: var(--field); color: var(--ink); font: 500 1rem/1.3 var(--text); }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317171A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px; }
.fld input:focus-visible, .fld select:focus-visible { outline: 3px solid var(--violet); outline-offset: 0; }
.fld.is-bad input { border-bottom-color: var(--bad); }
.fld__err { margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--bad); }
.opts { display: flex; flex-wrap: wrap; gap: 0 28px; }
.opt { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--violet); }
.form .btn { justify-self: start; }
.form__note { font-size: .86rem; color: var(--dim); }

/* inner page head */
.ph { padding-top: clamp(36px, 6vw, 76px); }
.ph__in > h1 { font-size: clamp(3rem, 9vw, 7.2rem); font-weight: 900; line-height: .94; }
.ph__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 20px 56px; }
.ph__in::after { content: ""; grid-column: 1 / -1; height: 3px; margin-top: clamp(8px, 2vw, 20px); background: var(--ink); }
.ph__side p { max-width: 32rem; font-size: 1.0625rem; }

/* classes page: filters */
.ttsec { padding: 28px 0 clamp(48px, 7vw, 88px); }
.flt { display: flex; flex-wrap: wrap; gap: 18px 48px; }
.flt__l { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 2px; background: transparent; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { background: var(--field); }
.chip.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
.ttbar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: 30px 0 12px; }
.ttbar__count { font: 800 1.7rem/1 var(--disp); text-transform: uppercase; }
.ttbar__legend { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--dim); }
.lvl { display: inline-flex; gap: 3px; vertical-align: middle; }
.lvl i { width: 8px; height: 8px; border: 1.5px solid var(--ink); }
.lvl i.on { background: var(--ink); }

/* classes page: the weekly grid */
.days { display: none; }
.tt { width: 100%; table-layout: fixed; border-top: 3px solid var(--ink); }
.tt__c0 { width: 62px; }
.tt thead th { padding: 12px 8px 10px; text-align: left; vertical-align: bottom; font: 800 1.35rem/1 var(--disp); text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.tt thead th small { display: block; margin-top: 4px; font: 700 .72rem/1 var(--text); text-transform: none; }
.tt thead th.is-today { background: var(--violet); color: #fff; }
.tt__ds { display: none; }
.tt tbody th { padding: 14px 6px 0 0; text-align: left; vertical-align: top; font: 800 1.5rem/1 var(--disp); font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); }
.tt td { padding: 5px; vertical-align: top; border-bottom: 1px solid var(--line); }
.tt td.is-today { background: var(--field); }
.cls { display: block; width: 100%; margin: 0 0 5px; padding: 9px 9px 10px; border: 0; border-left: 3px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: opacity .2s ease, background-color .15s ease, box-shadow .15s ease; }
.cls:last-child { margin-bottom: 0; }
.cls:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cls.is-off { opacity: .15; pointer-events: none; }
.cls__start { display: none; }
.cls__body, .cls__name, .cls__time, .cls__meta { display: block; }
.cls__name { font: 800 1.3rem/1 var(--disp); text-transform: uppercase; }
.cls__time { margin-top: 5px; font-size: .78rem; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; }
.cls__dur { margin-left: 6px; font-weight: 500; color: var(--dim); white-space: nowrap; }
.cls__meta { font-size: .76rem; line-height: 1.4; color: var(--dim); }
.cls .lvl { margin-top: 7px; }
.cls.is-sel { background: var(--violet); border-left-color: var(--violet); color: #fff; box-shadow: none; }
.cls.is-sel .cls__dur, .cls.is-sel .cls__meta { color: rgba(255, 255, 255, .88); }
.cls.is-sel .lvl i { border-color: #fff; }
.cls.is-sel .lvl i.on { background: #fff; }
.tt__empty { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tt__empty:not(.is-total) { display: none; }
.detail { margin-top: 22px; padding: 16px 0 0; border-top: 3px solid var(--ink); }
.detail__hint { color: var(--dim); }
.detail.is-filled { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 48px; align-items: start; }
.detail__h h3 { font-size: 3rem; font-weight: 900; line-height: .94; }
.detail__h p { margin-top: 8px; font-weight: 700; }
.detail__f li { padding: 6px 0; font-size: .92rem; border-bottom: 1px solid var(--line); }
.detail__s p { margin-bottom: 14px; font-size: .95rem; }

/* dark photo bands */
.band { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(23, 23, 26, .72); }
.band__in { position: relative; z-index: 2; padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(44px, 6vw, 76px); }
.band h2 { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 900; line-height: .96; }
.band__lead { max-width: 40rem; margin-top: 18px; font-size: 1.0625rem; color: rgba(255, 255, 255, .9); }
.band__note { max-width: 44rem; margin-top: 22px; font-size: .95rem; color: rgba(255, 255, 255, .86); }
.steps--inv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 36px; border-bottom: 0; }
.steps--inv li { align-content: start; border-top-color: rgba(255, 255, 255, .45); }
.band--pt { min-height: clamp(360px, 44vw, 520px); display: flex; align-items: flex-end; }
.band--pt .band__img { object-position: 50% 30%; }
.band--pt::after { background: linear-gradient(0deg, rgba(23, 23, 26, 1) 0%, rgba(23, 23, 26, .55) 55%, rgba(23, 23, 26, .3) 100%); }
.band--pt .band__in { width: 100%; }

/* classes page: descriptions */
.kinds { border-bottom: 1px solid var(--line); }
.kind { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.7fr); gap: 16px 40px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.kind__ph img { width: 100%; }
.kind__h h3 { font-size: 2.8rem; font-weight: 900; }
.kind__h dl { margin-top: 12px; }
.kind__h dl div { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 5px 0; font-size: .88rem; }
.kind__h dt { font-weight: 700; }
.kind__h dd { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); }
.kind__txt p + p { margin-top: 10px; }
.kind__flt { min-height: 44px; margin-top: 6px; padding: 8px 0; border: 0; background: none; cursor: pointer; text-align: left; }

/* plans page */
.tg { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border: 2px solid var(--ink); border-radius: 2px; }
.tg button { min-height: 48px; padding: 10px 20px; border: 0; background: transparent; font-size: .95rem; font-weight: 700; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.tg button.is-on { background: var(--violet); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 3px solid var(--ink); }
.plan { display: flex; flex-direction: column; padding: 30px 24px 32px; border-left: 1px solid var(--line); }
.plan:first-child { padding-left: 0; border-left: 0; }
.plan h2 { font-size: 2.3rem; }
.plan__d { min-height: 4.6em; margin-top: 10px; font-size: .92rem; color: var(--dim); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-top: 16px; }
.plan__price b { display: inline-block; font: 900 clamp(3.6rem, 6.2vw, 5.4rem)/1 var(--disp); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__price b.is-tick { animation: tick .3s ease-out; }
.plan__price span { font-size: .9rem; color: var(--dim); }
.plan__note { min-height: 3.1em; margin: 8px 0 22px; font-size: .88rem; }
.plan .btn { margin-top: auto; }
@keyframes tick { from { transform: translateY(.22em); opacity: 0; } to { transform: none; opacity: 1; } }

.scrollhint { display: none; margin-bottom: 10px; font-size: .86rem; color: var(--dim); }
.scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 760px; border-top: 3px solid var(--ink); }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 800 1.5rem/1 var(--disp); text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.cmp tbody th { width: 25%; padding-left: 0; font-size: .95rem; font-weight: 700; }
.cmp thead th:first-child, .cmp tbody th { position: sticky; left: 0; z-index: 1; background: var(--chalk); }
.cmp td { font-size: .92rem; }
.cmp .is-no .ico { color: var(--grey); }

.fine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.fine h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 22px; }
.extra { display: block; width: 100%; border-top: 3px solid var(--ink); }
.extra tbody { display: block; }
.extra tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.extra th { text-align: left; font-weight: 700; }
.extra .num { font: 800 1.7rem/1 var(--disp); white-space: nowrap; }
.extra td:last-child { grid-column: 1 / -1; font-size: .92rem; color: var(--dim); }
.rules { border-top: 3px solid var(--ink); }
.rules div { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.rules dt { margin-bottom: 6px; font: 800 1.5rem/1.05 var(--disp); text-transform: uppercase; }
.rules dd { font-size: .95rem; }

.packs { width: 100%; }
.packs th, .packs td { padding: 16px 16px 16px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.packs thead th { font-size: .84rem; font-weight: 700; color: rgba(244, 243, 239, .72); }
.packs tbody th, .packs .num { font: 800 1.8rem/1 var(--disp); text-transform: uppercase; color: #fff; white-space: nowrap; }
.packs__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: 28px; }
.packs__foot p { max-width: 42rem; font-size: .92rem; color: rgba(244, 243, 239, .78); }

/* team page */
.tr { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 28px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); }
.tr__ph img { width: 100%; }
.tr h2 { font-size: 2.3rem; }
.tr__role { margin: 6px 0 10px; font-weight: 700; }
.tr__q { margin-top: 12px; font-size: .86rem; line-height: 1.5; color: var(--dim); }
.tr__dl { margin-top: 14px; }
.tr__dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.tr__dl dt { font-size: .84rem; font-weight: 700; }
.tr__dl dd { font-size: .92rem; }
.tr__cls li { display: flex; flex-wrap: wrap; gap: 0 10px; }
.tr__cls b { min-width: 92px; font-weight: 600; }
.tr__cls span { font-variant-numeric: tabular-nums; }
.tr--lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 56px; align-items: end; padding: 0 0 clamp(40px, 6vw, 64px); border-top: 0; }
.tr--lead h2 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; line-height: .94; }
.tr--lead .tr__role { margin-top: 12px; font-size: 1.0625rem; }
.tr--lead .tr__txt > p { max-width: 36rem; }
.trs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-bottom: 1px solid var(--line); }

/* contact page */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.contact__form .trial__bring { margin: 12px 0 26px; max-width: 36rem; }
.reach { margin-bottom: 36px; border-top: 3px solid var(--ink); }
.reach div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 12px; align-items: center; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.reach dt { font-size: .86rem; font-weight: 700; }
.openline { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; font-weight: 700; }
.openline::before { content: ""; width: 12px; height: 12px; flex: none; border: 2px solid var(--ink); }
.openline.is-open::before { border-color: var(--violet); background: var(--violet); }
.hours { width: 100%; border-top: 3px solid var(--ink); }
.hours th, .hours td { padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--violet); color: #fff; font-weight: 700; }
.hours__note { margin-top: 12px; font-size: .88rem; color: var(--dim); }
.where { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: start; }
.map { display: block; width: 100%; height: 440px; border: 0; background: var(--field); filter: grayscale(1) contrast(1.05); }
.ways { border-top: 3px solid var(--ink); }
.ways li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ways .ico { width: 24px; height: 24px; margin-top: 2px; }
.ways p { margin-top: 4px; font-size: .95rem; }

/* closing call */
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding-block: clamp(40px, 6vw, 72px); }
.strip { border-top: 3px solid var(--ink); }
.strip h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.strip p { margin-top: 8px; color: var(--dim); }

/* footer */
.ft { padding: 60px 0 26px; background: var(--ink); color: rgba(244, 243, 239, .8); font-size: .92rem; }
.ft__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 36px 44px; }
.ft h2 { margin-bottom: 10px; font: 700 .9rem/1.4 var(--text); text-transform: none; color: #fff; }
.ft__brand p { margin-top: 10px; max-width: 24rem; }
.ft a { text-decoration: none; }
.ft ul a { display: inline-flex; align-items: center; min-height: 44px; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__hours li { display: flex; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ft__hours span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft__c li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.ft__c .ico { width: 18px; height: 18px; }
.ft__bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; margin-top: 40px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.ft__bot ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.ft__demo { margin-top: 10px; font-size: .82rem; opacity: .7; }

/* one load moment on the home page: the headline rises, the strip slides into the photo */
@media (prefers-reduced-motion: no-preference) {
  html:not(.embedded) .hero h1 span { animation: rise .8s cubic-bezier(.2, .75, .2, 1) both; }
  html:not(.embedded) .hero h1 span:nth-child(2) { animation-delay: .09s; }
  html:not(.embedded) .hero__row { animation: fade .7s .32s ease both; }
  html:not(.embedded) .today__box { animation: lift .8s .26s cubic-bezier(.2, .75, .2, 1) both; }
}
@keyframes rise { from { transform: translateY(.3em); opacity: 0; } }
@keyframes lift { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- narrower screens ---------- */
@media (max-width: 1180px) {
  .tt__dl { display: none; }
  .tt__ds { display: inline; }
  .today__box { grid-template-columns: 216px minmax(0, 1fr); }
  .today__head h2 { font-size: 2.7rem; }
  .today__more { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { padding: 28px 24px 30px; border-top: 1px solid var(--line); }
  .plan:nth-child(-n+2) { border-top: 0; }
  .plan:nth-child(odd) { padding-left: 0; border-left: 0; }
  .plan__d, .plan__note { min-height: 0; }
  .trs { grid-template-columns: minmax(0, 1fr); }
  .kind { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px 28px; }
  .cls__name { font-size: 1.15rem; }
  .tt td { padding: 4px 3px; }
}

@media (max-width: 1020px) {
  .demobar__txt { display: none; }
  .demobar__cta { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px clamp(18px, 4vw, 40px) 22px; background: var(--chalk); border-bottom: 3px solid var(--ink); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { min-height: 56px; padding: 8px 0; font: 800 1.9rem/1 var(--disp); text-transform: uppercase; border-bottom: 1px solid var(--line); box-shadow: none; }
  .nav a:not(.btn):hover { box-shadow: none; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--violet); }
  .nav__cta { display: inline-flex; margin-top: 18px; }
  .hd__side { margin-left: auto; }
  .burger { display: block; }
  .rateboard, .trial, .contact, .where, .fine, .intro__in { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); }
  .ft__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--inv { grid-template-columns: minmax(0, 1fr); }
  .ph__in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .sec__top { grid-template-columns: minmax(0, 1fr); }
  .today { margin-top: -60px; }
  .hero__in { padding-bottom: 96px; }
  .today__box { grid-template-columns: minmax(0, 1fr); }
  .today__head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 20px; padding: 14px 18px; }
  .today__head h2 { font-size: 2.6rem; }
  .today__list, .today__list[data-n] { grid-template-columns: minmax(0, 1fr); }
  .today__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .today__list a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 10px; padding: 12px 18px 14px; }
  .today__t { grid-row: 1 / span 5; font-size: 2.3rem; }
  .today__n { margin: 2px 0 4px; }
  .today__soon { margin-top: 4px; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr--lead { grid-template-columns: minmax(0, 1fr); }
  .tr--lead .tr__ph { max-width: 420px; }
  .scrollhint { display: block; }
  .detail.is-filled { grid-template-columns: minmax(0, 1fr); }
  .kind { grid-template-columns: 132px minmax(0, 1fr); gap: 14px 18px; }
  .kind__txt { grid-column: 1 / -1; }
  .kind__h h3 { font-size: 2.3rem; }

  /* the grid becomes one day at a time */
  .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
  .daybtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; padding: 6px 0; border: 1.5px solid var(--line); border-radius: 2px; background: var(--paper); cursor: pointer; }
  .daybtn b { font: 800 1.25rem/1 var(--disp); text-transform: uppercase; }
  .daybtn small { min-height: .7rem; font-size: .66rem; font-weight: 700; line-height: 1; }
  .daybtn.is-today { border-color: var(--ink); }
  .daybtn.is-none b { color: var(--grey); }
  .daybtn.is-on { background: var(--violet); border-color: var(--violet); color: #fff; }
  .daybtn.is-on b { color: #fff; }
  .tt, .tt tbody, .tt tr { display: block; }
  .tt thead, .tt colgroup, .tt tbody th { display: none; }
  .tt td { display: none; padding: 0; border: 0; }
  .tt td.is-today { background: none; }
  .tt[data-day="0"] td[data-d="0"], .tt[data-day="1"] td[data-d="1"], .tt[data-day="2"] td[data-d="2"], .tt[data-day="3"] td[data-d="3"],
  .tt[data-day="4"] td[data-d="4"], .tt[data-day="5"] td[data-d="5"], .tt[data-day="6"] td[data-d="6"] { display: block; }
  .cls { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 12px; margin: 0; padding: 14px 6px 16px; border-left: 0; border-bottom: 1px solid var(--line); background: none; }
  .cls:hover { box-shadow: none; }
  .cls.is-off { display: none; }
  .cls__start { display: block; font: 800 2.3rem/1 var(--disp); font-variant-numeric: tabular-nums; }
  .cls__name { font-size: 1.7rem; }
  .cls__time, .cls__meta { font-size: .88rem; }
  .cls.is-sel { padding-inline: 12px; }
  .tt__empty:not(.is-total) { display: flex; }

  .packs thead { display: none; }
  .packs, .packs tbody { display: block; }
  .packs tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .packs th, .packs td { display: block; padding: 0; border: 0; }
  .packs tbody th { grid-column: 1 / -1; font-size: 2.1rem; }
  .packs td::before { content: attr(data-l); display: block; margin-bottom: 4px; font: 600 .78rem/1.3 var(--text); text-transform: none; color: rgba(244, 243, 239, .7); white-space: normal; }
  .packs td:not(.num) { font-weight: 600; color: #fff; }
}

@media (max-width: 620px) {
  .hd__cta { display: none; }
  .hd__in { gap: 10px; }
  .hd__side { gap: 8px; }
  .logo { font-size: 1.3rem; gap: 8px; }
  .logo__m { width: 28px; height: 18px; }
  .lang a { min-width: 38px; min-height: 44px; }
  .hero { min-height: 560px; }
  .hero__cta, .hero__cta .btn { width: 100%; }
  .form__2 { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .zones { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan, .plan:nth-child(odd) { padding: 26px 0 28px; border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .plan:nth-child(2) { border-top: 1px solid var(--line); }
  .rate th, .rate td { padding-right: 10px; }
  .rate td { width: 84px; }
  .rate td b { font-size: 1.9rem; }
  .rate tbody th span { font-size: 1.5rem; }
  .rate thead th { white-space: normal; }
  .habit__row { grid-template-columns: 76px repeat(7, 24px); }
  .tr { grid-template-columns: minmax(0, 1fr); }
  .tr__ph { max-width: 200px; }
  .tr--lead .tr__ph { max-width: none; }
  .ft__top { grid-template-columns: minmax(0, 1fr); }
  .strip .btn, .packs__foot .btn { width: 100%; }
  .map { height: 340px; }
  .cmp { min-width: 680px; }
  .cmp tbody th { width: 132px; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .cmp tbody th { padding-left: 0; }
}

/* ---- узкие телефоны: длинное слово переносится, а не вылезает из блока ---- */
h1, h2, h3, h4, p, li, dt, dd, td, th, label, b, strong, small, a { overflow-wrap: break-word; }

.tt thead th small { font-size: .8rem; }

/* ---- телефоны: по ссылкам и кнопкам легче попасть пальцем ---- */
@media (max-width: 700px) {
  .demobar__back, .demobar__cta { display: inline-flex; align-items: center; min-height: 40px; }
  footer a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"]):not([class*="marca"]) { display: inline-block; padding-block: 7px; }
  .link, .tl, .more, .tlink, .lnk, .band__link { display: inline-block; padding-block: 9px; }
}

.daybtn small { font-size: .75rem; }
