/* FITRA public site. Tokens match dashboard_ui/styles.py.
   Fonts: Cabinet Grotesk (Fontshare) for the FITRA logo only; Archivo (Google Fonts, variable) for all
   other text, titles included. */
:root {
  --accent: #E8402B; --accent-dark: #B92F1D; --accent-soft: #FFF0EB; --accent-tint: #F3C1B7;
  --ink: #554C40; --ink-dark: #362F27; --muted: #766C5E; --soft: #A49B90; --faint: #C4BCAE;
  --line: #DDD6CB; --line-soft: #ECE7DF; --page: #F4F3F0; --surface: #FFFFFF; --field: #FAF8F5;
  --logo: "Cabinet Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 20px 50px rgba(73, 58, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto; font-variation-settings: "wdth" 100; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
section { scroll-margin-top: 24px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); }

/* Banner */
.banner { background: var(--accent-soft); border-bottom: 1px solid var(--line); padding: 14px 24px;
  text-align: center; font-size: .95rem; }

/* Nav */
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 86px;
  border-bottom: 1px solid rgba(221, 214, 203, .65); }
.logo { font-family: var(--logo); font-weight: 800; font-size: 2.4rem; letter-spacing: .1em;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.logo img { width: 1.15em; height: 1.15em; object-fit: contain; }
.logo span { margin-right: -.1em; } /* trailing letter-spacing would push the lockup off-center */
.logo:hover { color: var(--ink); }
.nav .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.links--left { margin-left: 0; }
.links a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.links a:hover { color: var(--accent); }
.links a.login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: .85rem; letter-spacing: .06em;
  border-radius: 12px; font-weight: 600; transition: transform .2s, box-shadow .2s, border-color .2s; }
.links a.login { background: var(--accent); color: #fff; }
.links a.login:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 64, 43, .18); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 24px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; box-shadow: 0 10px 24px rgba(232, 64, 43, .18); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-dark); color: #fff; }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); transform: none; }

/* Hero */
.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; padding: 88px 0 72px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 1.0rem; letter-spacing: .12em; }
.hero h1 { margin: 18px 0 0; font-size: clamp(3.2rem, 5.4vw, 5.1rem); line-height: .98; font-weight: 700;
  letter-spacing: -.03em; }
.hero h1 span { font-weight: 500; }
.hero .eyebrow { white-space: nowrap; font-size: min(1rem, 1.12vw); }
.hero .cta-row { margin-top: 38px; }

.hero-visual { position: relative; min-height: 530px; }
.app-window { position: absolute; inset: 44px 24px 64px 28px; background: rgba(255, 255, 255, .93);
  border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-1deg); }
.app-topbar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  border-bottom: 1px solid var(--line-soft); }
.mini-brand { display: flex; align-items: center; gap: 8px; font-family: var(--logo); font-weight: 800;
  font-size: .9rem; letter-spacing: .12em; }
.mini-brand img { width: 22px; height: 22px; object-fit: contain; }
.window-dots { display: flex; gap: 5px; }
.window-dots b { width: 6px; height: 6px; background: #D8D2C8; border-radius: 50%; }
.app-body { display: grid; grid-template-columns: 92px 1fr; min-height: 380px; }
.app-side { padding: 24px 12px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column;
  gap: 10px; font-size: .8rem; }
.app-side span { padding: 9px 10px; border-radius: 9px; color: var(--muted); }
.app-side .active { color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.app-main { padding: 24px; }
.app-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.app-heading-row small { font-size: .66rem; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.app-title { margin-top: 5px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.app-heading-row b, .searchbar b, .mail-foot b { background: var(--accent); color: #fff; border-radius: 9px;
  padding: 10px 14px; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.filter-row, .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.filter-row span, .pill-row span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
  background: var(--field); font-size: .76rem; }
.creator-list { border: 1px solid var(--line-soft); border-radius: 15px; overflow: hidden; }
.creator-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 12px;
  border-bottom: 1px solid var(--line-soft); }
.creator-row:last-child { border-bottom: 0; }
.creator-row strong { font-size: .82rem; display: block; }
.creator-row small { display: block; margin-top: 2px; font-size: .7rem; color: var(--soft); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: .85rem; }
.score { min-width: 38px; text-align: center; border-radius: 999px; padding: 5px 8px; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; font-size: .8rem; }
.card { position: absolute; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); }
.score-card { right: -8px; top: 0; width: 212px; padding: 16px; display: grid; grid-template-columns: 68px 1fr;
  gap: 14px; align-items: center; }
.ring { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--accent) 0 82%, #F2DFD9 82% 100%); }
.ring::after { content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.ring span { position: relative; z-index: 2; font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.score-card small, .roi-card small { font-size: .62rem; letter-spacing: .08em; color: var(--soft); font-weight: 600; }
.score-card strong { display: block; font-size: .92rem; margin: 3px 0; }
.score-card p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.roi-card { left: 0; bottom: 0; width: 190px; padding: 16px; }
.roi-card strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.9rem; margin-top: 4px; }
.spark { display: flex; align-items: end; gap: 5px; height: 40px; margin-top: 8px; }
.spark i { flex: 1; background: var(--accent-tint); border-radius: 4px 4px 0 0; }
.spark i:nth-child(1) { height: 28%; } .spark i:nth-child(2) { height: 48%; } .spark i:nth-child(3) { height: 38%; }
.spark i:nth-child(4) { height: 72%; } .spark i:nth-child(5) { height: 88%; background: var(--accent); }
.float-chip { position: absolute; z-index: 4; padding: 8px 12px; border-radius: 999px; background: var(--ink);
  color: #fff; font-size: .74rem; box-shadow: 0 10px 30px rgba(60, 49, 38, .15); }
.chip-a { left: 8px; top: 18px; }
.chip-b { right: 18px; bottom: 32px; background: var(--accent); }

/* Sections */
.section { padding: 88px 0 0; }
.head { max-width: 900px; margin-bottom: 20px; }
h2 { font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; margin: 16px 0 18px; letter-spacing: -.03em; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; margin: 0; }

/* Method: one row per step (number + verb, headline, product name, description, illustration) */
#how-it-works { border-top: 1px solid var(--line); scroll-margin-top: 0; }
.story-row { display: grid; grid-template-columns: .72fr 1.28fr; gap: 78px; align-items: center; padding: 72px 0;
  border-bottom: 1px solid var(--line); }
.story-row:last-child { border-bottom: 0; }
.story-row--reverse { grid-template-columns: 1.28fr .72fr; }
.story-row--reverse .story-copy { order: 2; }
.story-top { display: flex; align-items: center; gap: 12px; }
.story-num { font-family: var(--display); color: var(--faint); font-size: 2.1rem; line-height: 1; font-weight: 700; }
.story-verb { padding: 8px 16px; border-radius: 999px; background: #FEE7E2; color: var(--accent-dark);
  font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.story-verb i { font-style: normal; margin: 0 7px; opacity: .6; }
.story-copy h3 { margin: 26px 0 0; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: .98; font-weight: 700; letter-spacing: -.03em; }
.story-name { margin-top: 22px; font-weight: 700; color: var(--ink); }
.story-copy p { margin: 22px 0 0; color: var(--muted); max-width: 380px; line-height: 1.6; }
.story-visual { background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow); padding: 28px; font-size: .92rem; }
.searchbar { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.searchbar > span { padding: 12px 14px; border-radius: 10px; background: var(--field); color: var(--muted);
  border: 1px solid var(--line-soft); }
.creator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.creator-grid article { background: #fff; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; padding-bottom: 12px; }
.creator-grid strong, .creator-grid small { display: block; padding: 0 12px; }
.creator-grid strong { font-size: .86rem; margin-top: 10px; }
.creator-grid small { font-size: .74rem; color: var(--soft); margin-top: 2px; }
.portrait { height: 138px; position: relative; overflow: hidden; background: #DDD; }
.portrait img, .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.portrait--top img, .avatar--top img { object-position: center 12%; }

.fit-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-block { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.profile-block .portrait { width: 74px; height: 74px; border-radius: 18px; flex: 0 0 auto; }
.profile-block strong, .profile-block small { display: block; }
.profile-block small { color: var(--soft); margin-top: 3px; }
.fit-score { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 150px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--accent-soft); }
.fit-score span { font-family: var(--display); font-size: 3.6rem; font-weight: 700; line-height: 1.1; }
.fit-score small, .insight-box small { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: .8rem; }
.fit-facts { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.fit-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 15px 14px;
  border-bottom: 1px solid var(--line-soft); font-size: .82rem; }
.fit-facts div:last-child { border-bottom: 0; }
.fit-facts span { color: var(--muted); }
.insight-box { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
.insight-box p { margin: 8px 0 0; font-size: .88rem; }

.outreach-board { display: grid; gap: 12px; }
.mail-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.mail-head b { font-size: .74rem; color: #397247; background: #EDF6EE; padding: 6px 9px; border-radius: 999px; }
.mail-field { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted); }
.mail-field div { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--ink); background: #fff; font-size: .92rem; }
.mail-body { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px; line-height: 1.55; }
.mail-foot { display: flex; justify-content: flex-end; }

.track-board { display: grid; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px; }
.kpis small { display: block; color: var(--soft); }
.kpis strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.9rem; margin-top: 4px; }
.bar-chart { height: 170px; display: flex; align-items: end; gap: 12px; padding: 18px 8px 0; border-bottom: 1px solid var(--line); }
.bar-chart i { flex: 1; max-width: 54px; border-radius: 8px 8px 0 0; background: #F1C9C1; }
.bar-chart i:nth-last-child(-n+2) { background: var(--accent); }
.track-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.track-table div { display: flex; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); font-size: .86rem; }
.track-table div:last-child { border-bottom: 0; }
.track-table em { font-style: normal; color: var(--soft); margin-left: 8px; letter-spacing: .04em; }
.track-table strong { color: var(--accent); }

/* Pricing */
#pricing, .demo-section, .policies { border-top: 1px solid var(--line); margin-top: 0; }
#pricing { margin-top: 16px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.plan { display: flex; flex-direction: column; }
.plan .included { flex: 1; }
.plan-cta { margin-top: 22px; align-self: flex-start; }
.demo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .fine.wide { grid-column: 1 / -1; margin: 0; }
#pricing h2, .demo-section h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.demo-section h2 { white-space: nowrap; }
.plan { position: relative; background: rgba(255, 255, 255, .74); border: 1px solid var(--line); border-radius: 24px; padding: 32px 36px 26px; }
.plan.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -16px; left: 30px; background: var(--accent); color: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.plan-name { margin: 0; font-size: 1.6rem; font-weight: 700; }
.plan-when { margin-top: 4px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-num { font-family: var(--display); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--ink); }
.per { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; }
.quotas { padding-top: 12px !important; }
.quotas li { display: flex; justify-content: space-between; gap: 18px; padding: 4px 0; }
.quotas b { font-weight: 700; }
.included { padding-top: 8px !important; }
.included li { position: relative; padding: 4px 0 4px 24px; color: var(--muted); }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fine { color: var(--muted); font-size: .8rem; margin: 22px 0 0; }
#pricing .cta-row { margin-top: 28px; }

/* Demo */
.demo-section { margin-top: 92px; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; max-width: 880px; margin-top: 28px; padding: 26px;
  background: rgba(255, 255, 255, .76); border: 1px solid var(--line); border-radius: 26px; }
.demo-form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--ink-dark); }
.demo-form label span { font-weight: 400; color: var(--muted); }
.demo-form .wide, .demo-form button { grid-column: 1 / -1; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; font: inherit; font-weight: 400; font-size: .92rem;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #FBFAF8; color: var(--ink); outline: none; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { border-color: #B9AA98; box-shadow: 0 0 0 3px rgba(85, 76, 64, .06); }
.demo-form textarea { resize: vertical; min-height: 96px; }
.demo-form button { justify-self: start; }
.demo-msg { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.demo-msg--error { background: #fff; }

/* Policies: all four titles share one color, including the linked ones */
.policies { margin-top: 56px; padding-top: 36px; }
.policies-title { font-size: 1.6rem; margin: 6px 0 4px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 8px; }
.policy { padding: 12px 0; border-top: 1px solid var(--line); }
.policy h3 { margin: 0 0 4px; font-size: .92rem; font-weight: 700; color: var(--ink); }
.policy h3 a { color: inherit; text-decoration: none; }
.policy h3 a:hover { color: var(--accent); }
.policy p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.policy p a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
.footer-mark { display: block; padding: 48px 0 40px; text-align: center; font-family: var(--logo); font-weight: 800;
  font-size: calc(min(1180px, 100vw - 48px) / 4.6); line-height: .8; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.footer-mark:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 30px;
  padding: 24px 0 44px; border-top: 1px solid var(--line); }
.footer {
  margin-top: 64px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.contacts { display: flex; flex-wrap: wrap; gap: 22px; font-size: calc(.8rem + 2px); scroll-margin-top: 100px; }

/* Tablet */
@media (max-width: 1100px) { .links { gap: 18px; } .links a { font-size: .8rem; } .links a.login { font-size: .78rem; } }
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .nav .logo { position: static; transform: none; order: -1; }
  .links--left { order: 2; width: 100%; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero .eyebrow { font-size: 1rem; }
  .story-row, .story-row--reverse { grid-template-columns: 1fr; gap: 34px; padding: 60px 0; }
  .story-row--reverse .story-copy { order: 0; }
  .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .policy-grid { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 74px; }
  .hero .eyebrow { white-space: normal; font-size: .9rem; }
  .demo-section h2 { white-space: normal; }
}
@media (max-width: 640px) {
  .hero { padding: 44px 0 48px; gap: 32px; }
  .hero h1 { font-size: clamp(2.35rem, 9.5vw, 3rem); line-height: 1.05; }
  .hero .eyebrow { font-size: .75rem; }
  .links--left, .links a:not(.login) { display: none; }
  .links a.login { min-height: 38px; padding: 0 10px; font-size: .78rem; }
  .logo { font-size: 1.8rem; }
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 560px; }
  .app-window { inset: 44px 0 70px 0; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .score-card { width: 212px; right: 0; }
  .score-card small { white-space: nowrap; }
  .story-row, .story-row--reverse { padding: 44px 0; gap: 28px; }
  .story-copy, .story-visual, .app-main { min-width: 0; }
  .story-top { gap: 8px; }
  .story-num { font-size: 1.65rem; }
  .story-verb { padding: 8px 10px; font-size: .7rem; letter-spacing: .025em; }
  .story-verb i { margin: 0 4px; }
  .story-copy h3 { font-size: clamp(2rem, 8.5vw, 2.6rem); line-height: 1.08; margin-top: 22px; }
  .story-copy p { margin-top: 22px; max-width: none; }
  .story-visual { padding: 18px; border-radius: 22px; }
  .app-main { padding: 18px 14px; }
  .app-heading-row { gap: 8px; }
  .app-heading-row b { padding: 8px 10px; font-size: .75rem; }
  .searchbar { grid-template-columns: minmax(0, 1fr); }
  .searchbar b { justify-self: start; }
  .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .creator-grid strong, .creator-grid small { padding-inline: 8px; }
  .mail-head { flex-wrap: wrap; gap: 8px; }
  .mail-field { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
  .mail-field div { padding: 10px; overflow-wrap: anywhere; }
  .mail-body { padding: 14px; }
  .track-table div { padding: 12px 10px; gap: 8px; }
  .track-table em { display: block; margin-left: 0; font-size: .75rem; }
  .track-table strong { white-space: nowrap; }
  .section { padding-top: 52px; }
  .demo-section { margin-top: 52px; }
  .demo-form input, .demo-form select, .demo-form textarea { font-size: 1rem; min-width: 0; }
  .demo-form button { width: 100%; }
  .contacts { flex-direction: column; gap: 12px; }
  .contacts span { overflow-wrap: anywhere; }
  .policy p { font-size: .85rem; }
  .fit-board, .kpis { grid-template-columns: 1fr; }
  .plan { padding: 34px 24px 28px; }
  .cta-row .btn { width: 100%; }
  .demo-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-mark { padding: 32px 0 28px; font-size: calc((100vw - 32px) / 4.6); }
}

.legal { max-width: 760px; padding: 48px 16px 80px; line-height: 1.6; }
.legal h1, .legal h2, .legal h3 { letter-spacing: -.01em; line-height: 1.15; }
.legal h1 { font-size: 2.6rem; }
.legal h2 { font-size: 1.6rem; margin: 32px 0 10px; }
.legal table { border-collapse: collapse; width: 100%; }
.legal td, .legal th { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
