/* ============================================
   RED MONKEY — Franchise Landing
   Tokens (all-white theme)
   ============================================ */
:root{
  /* color */
  --bg:         #FFFFFF;   /* чистий білий фон сторінки */
  --ink:        #292826;   /* headings / strong text (Figma) */
  --body:       #292826;   /* body text (Figma) */
  --muted:      #706E6A;   /* muted text (Figma) */
  --red:        #F40009;
  --red-dark:   #C50008;
  --gold:       #A87C22;   /* darker gold for contrast on white */
  --line:       #E4E4E4;   /* light borders (Figma) */
  --line-2:     #D9D9D9;   /* stronger lines (Figma) */
  /* Calendly-inspired rounding + soft elevation */
  --radius:      24px;   /* cards (Figma) */
  --radius-sm:   16px;   /* buttons / inputs (Figma) */
  --shadow-card: 0 8px 30px rgba(23,19,14,.07);

  /* type */
  --f-display: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --wrap: 1408px;   /* Figma content width (1728 frame − 2×160 margin) */
}

*,*::before,*::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
ul{ margin:0; padding:0; list-style:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

::selection{ background: var(--red); color:#fff; }

:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ============================================
   Type scale
   ============================================ */
h1,h2,h3{
  font-family: var(--f-display);
  font-weight: 700;
  margin:0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow{
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
  font-weight: 500;
}
.eyebrow--light{ color: var(--red); }

.section__title{
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.125;
  color: #292826;
  margin-bottom: 24px;
}
.section__title--light{ color: var(--ink); }

.section__lead{
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 700px;
  margin: 0 0 44px;
}
.section__lead--light{ color: var(--muted); }

/* ============================================
   Buttons
   ============================================ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{ background: var(--red); color:#fff; }
.btn--primary:hover{ background: var(--red-dark); }
.btn--ghost{ border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover{ background: rgba(23,19,14,.05); }
.btn--soft{ background: #F4F4F4; color: var(--ink); }
.btn--soft:hover{ background: #ECECEC; }
.btn--lg{ padding: 14px 32px; font-size: 16px; line-height: 24px; }   /* Figma: 53px tall */
.btn--sm{ padding: 9px 18px; font-size: 13px; }
.btn--block{ width:100%; }
.btn:disabled{ opacity:.6; cursor:not-allowed; }

/* ============================================
   Nav
   ============================================ */
.nav{
  position: sticky; top:0; z-index: 40;
  background: #fff;
  transition: background-color .25s ease, padding .25s ease;
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 68px;
  border-radius: 16px;
  transition: background-color .25s ease, box-shadow .25s ease, height .25s ease;
}
/* On scroll: header detaches into a floating white rounded card (Figma 11:4156) */
.nav.is-scrolled{
  background: transparent;
  padding-top: 12px;
}
.nav.is-scrolled .nav__inner{
  background: #fff;
  height: 64px;
  box-shadow: 0 4px 5px rgba(95,109,119,.04), 0 6px 10px rgba(95,109,119,.05);
}
.nav__logo{
  display:flex; align-items:center; gap:10px;
  font-family: var(--f-display); font-weight:900; font-size:16px; letter-spacing:.02em;
  color: var(--ink);
}
.nav__logo img{ border-radius:6px; }
.nav__links{ display:flex; gap:28px; }
.nav__links a{
  font-size:14px; font-weight:600; color: var(--body);
  position:relative;
}
.nav__links a:hover{ color: var(--red); }
@media (max-width: 760px){
  .nav__links{ display:none; }
}

/* ============================================
   Hero  (Figma: 1000px tall, 120 top, content centered-top)
   ============================================ */
.hero{
  position: relative;
  height: 1000px;
  padding-top: 120px;
  overflow: hidden;
  background: #fff;
  text-align: center;
}
.hero__inner{ position: relative; z-index: 1; }

/* eyebrow — Roboto Medium 16/24, +1.5 tracking, #F40009 */
.hero .eyebrow{
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #F40009;
  margin: 0 0 24px;
}
/* H1 — Lato Extrabold 80/80, #292826 */
.hero__title{
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 80px;
  line-height: 80px;
  letter-spacing: 0;
  color: #292826;
  margin: 0;
}

/* stats row */
.hero__stats{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;                 /* 40px between each group and divider */
  margin-top: 64px;          /* Figma: title block ends y=338, stats start y=402 */
}
.hero__stat{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
.hero__stat-num{
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  color: #292826;
}
.hero__stat-label{
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #706E6A;
}
.hero__stat-div{
  width: 1px;
  align-self: stretch;
  background: #D9D9D9;
}

/* CTA */
.hero__cta{
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

/* ramen photo — Figma: y=686, width 928, centered; section (1000px) clips its bottom */
.hero__photo{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 928px;
  max-width: calc(100% - 48px);
}
.hero__photo img{ display: block; width: 100%; height: auto; }

/* ============================================
   Stat bar (ledger tape)
   ============================================ */
.statbar{
  background: var(--bg);
}
.statbar__inner{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 24px;
}
.stat{
  display:flex; flex-direction:column; gap:6px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.stat:first-child{ border-left:none; padding-left:0; }
.stat__num{
  font-family: var(--f-mono);
  font-weight:700;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label{ font-size: 13px; color: var(--muted); }
.stat__label sup{ color: var(--red); }
.statbar__note{
  font-size: 12px; color: var(--muted);
  padding-bottom: 18px;
  font-family: var(--f-mono);
}
.statbar__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 44px;
}
@media (max-width: 520px){
  .statbar__cta{ flex-direction: column; align-items: stretch; }
}
@media (max-width: 760px){
  .statbar__inner{ grid-template-columns: repeat(2,1fr); row-gap:28px; }
  .stat:nth-child(3){ border-left:none; padding-left:0; }
}

/* ============================================
   Section rhythm
   ============================================ */
.section{ padding: 200px 0; }   /* Figma: header sits 200px from section top */
.section--dark{ background: var(--bg); }
.section--paper-alt{ background: var(--bg); }
.section + .section{ border-top: none; }

/* Why section — content sits inside a rounded #FCFBF8 panel (Figma 7:4100) */
.why-section{ padding: 0; }
.why-panel{
  background: #FCFBF8;
  border-radius: 32px;
  margin: 96px 24px;
  padding: clamp(64px, 9vw, 120px) 24px;
}
.why-panel .offer-grid{ margin-top: 36px; }
.why-panel .offer-card{ box-shadow: none; }
@media (max-width: 760px){
  .why-panel{ margin: 56px 16px; border-radius: 24px; padding: 56px 20px; }
}

/* Why grid — Figma: 3×346 cards, 24 gap, centered in ~1088 area, 200px tall */
.why-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1088px;
  margin: 0 auto;
}
.why-grid .why-item{ min-height: 200px; }
.feat-ic{ display:block; width:28px; height:28px; }
.why-item,
.brand-item{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.feat-icon{
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
}
.why-item h3{ font-size:19px; margin-bottom:10px; }
.why-item p{ margin:0; color: var(--muted); font-size:14.5px; }
@media (max-width: 860px){
  .why-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .why-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   Economics — compact stats row (Figma 1:212)
   ============================================ */
.econ-stats{
  display:flex; justify-content:center; align-items:stretch;
  gap: 40px;
  margin: 64px 0 80px;
}
.econ-stat{ display:flex; flex-direction:column; gap:8px; text-align:left; }
.econ-stat__num{
  font-family: var(--f-body); font-weight:500;
  font-size: 48px; line-height: 56px;
  color: #292826;
  font-variant-numeric: tabular-nums;
}
.econ-stat__label{
  font-family: var(--f-body); font-weight:400;
  font-size: 18px; line-height: 24px; color: var(--muted);
}
.econ-stat__div{ width:1px; align-self:stretch; background: var(--line-2); }
@media (max-width: 760px){
  .econ-stats{ flex-wrap:wrap; gap: 24px 32px; }
  .econ-stat__div{ display:none; }
}

/* Requirements block folded into the "who / where" section */
.fit-requirements{ margin-top: 56px; }

/* Economics — two-column card grid */
.econ-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 1088px;
  margin: 0 auto;
  scroll-margin-top: 88px;
}
.econ-col{ display:flex; flex-direction:column; gap:24px; min-width:0; }

/* Economics card */
.ecard{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 33px;
}
.ecard__title{
  font-family: var(--f-display); font-weight:800;
  font-size: 24px; line-height:36px;
  color: #292826;
  margin: 0 0 16px;
}
.ecard__row{
  display:flex; justify-content:space-between; align-items:baseline; gap:16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px; line-height:24px; color: var(--body);
}
.ecard__row span:last-child{ font-weight:500; text-align:right; font-variant-numeric: tabular-nums; }
.ecard__row--total{
  border-bottom: none;
  font-size: 20px; line-height:32px;
  font-weight:700; color: #292826;
}
.ecard__row--total span:last-child{ font-weight:700; }
.ecard__note{
  margin: 16px 0 0;
  font-size: 13px; line-height:1.55;
  color: var(--muted);
}
@media (max-width: 860px){
  .econ-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   Calculator (inside the economics .ecard--calc)
   ============================================ */
.ecard--calc .calc__field{ display:flex; flex-direction:column; gap:16px; padding: 16px 0; }
.ecard--calc .calc__field:last-of-type{ margin-bottom: 12px; }
.calc__field-label{ font-size:16px; line-height:24px; font-weight:700; color: #292826; }
.calc__field-label b{ font-weight:700; font-variant-numeric: tabular-nums; }

input[type="range"]{
  -webkit-appearance:none; appearance:none;
  width:100%; height:4px;
  background: var(--line-2);
  border-radius: 2px;
  outline:none;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:18px; height:18px; border-radius:50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--red);
  cursor:pointer;
}
input[type="range"]::-moz-range-thumb{
  width:18px; height:18px; border-radius:50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--red);
  cursor:pointer;
}

/* First slider gets extra top space below the calc title */
.ecard--calc .calc__field:first-of-type{ margin-top: 4px; }

.requirements{ display:flex; flex-wrap:wrap; gap:12px; }
.requirements__item{
  font-family: var(--f-mono); font-size:13px;
  border:1px solid var(--line-2);
  padding: 8px 14px; border-radius:100px;
  color: var(--body);
}

/* ============================================
   Locations (proof) — pill chips, Figma 1:232
   ============================================ */
.locations{
  display:flex; flex-wrap:wrap; gap:24px;
  max-width:1088px; margin:0 auto;
}
.loc{
  display:inline-flex; align-items:center; gap:8px;
  padding:16px 24px 16px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  font-family:var(--f-body); font-weight:600;
  font-size:18px; line-height:1;
  color:#292826; white-space:nowrap;
}
.loc--open{ background:#fff; }
.loc--soon{ background:transparent; border-style:dashed; }
.loc__ic{ width:32px; height:32px; flex:0 0 32px; display:block; }
@media (max-width: 760px){
  .locations{ gap:12px; justify-content:center; }
  .loc{ font-size:16px; padding:12px 18px 12px 12px; }
  .loc__ic{ width:26px; height:26px; flex-basis:26px; }
}

/* ============================================
   Reviews (Figma 2:3508) — grey container, two rows,
   opposite-direction seamless marquee
   ============================================ */
.brand-cards{ margin-top: 8px; }

.reviews{
  margin-top: 64px;
  background: #eee;
  border-radius: 48px;
  overflow: hidden;
  padding: 80px 0;
  display: flex; flex-direction: column; gap: 24px;
}
.reviews__row{ overflow: hidden; }
.reviews__track{
  display: flex; gap: 24px;
  width: max-content;
  will-change: transform;
}
.reviews__row--ltr .reviews__track{ animation: rev-left 85s linear infinite; }
.reviews__row--rtl .reviews__track{ animation: rev-right 85s linear infinite; }
.reviews:hover .reviews__track{ animation-play-state: paused; }
@keyframes rev-left{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes rev-right{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }

.rev-card{
  flex: 0 0 320px; width: 320px; min-height: 202px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.rev-card__text{
  font-family: var(--f-body); font-weight: 600;
  font-size: 16px; line-height: 24px; color: #292826; margin: 0;
}
.rev-card__foot{ display: flex; flex-direction: column; gap: 8px; }
.rev-card__stars{ display: flex; align-items: center; }
.rev-card__star{ width: 24px; height: 24px; display: block; flex: 0 0 24px; }
.rev-card__author{
  font-family: var(--f-body); font-weight: 400;
  font-size: 16px; line-height: 24px; color: var(--muted); margin: 0;
}
@media (prefers-reduced-motion: reduce){
  .reviews__track{ animation: none !important; }
}
@media (max-width: 760px){
  .reviews{ border-radius: 32px; padding: 48px 0; margin-top: 48px; }
}

/* ============================================
   Offer grid (package) — 3×3 star cards, Figma 1:252
   ============================================ */
.offer-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap:24px;
  max-width:1088px; margin:0 auto;
}
.offer-card{
  min-height:200px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-card);
  padding:24px;
  display:flex; flex-direction:column; justify-content:space-between; gap:24px;
}
.offer-card__ic{ width:40px; height:40px; flex:0 0 40px; display:block; }
.offer-card__body{ display:flex; flex-direction:column; gap:8px; }
.offer-card__body h3{
  font-family:var(--f-body); font-weight:600;
  font-size:18px; line-height:1.25; color:#292826; margin:0;
}
.offer-card__body p{
  margin:0; font-size:16px; line-height:24px; color:var(--muted);
}
@media (max-width: 860px){ .offer-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .offer-grid{ grid-template-columns: 1fr; } }

/* ============================================
   Roadmap (real sequence -> numbered is justified)
   ============================================ */
.roadmap{
  display:flex; flex-direction:column;
  max-width:928px; margin:0 auto;
}
.roadmap__step{
  display:flex; gap:24px; align-items:center;
  padding: 24px 0;
  border-bottom: 1px solid #DBDBDB;
}
.roadmap__num{
  font-family: var(--f-body); font-weight:500;
  font-size:48px; line-height:56px;
  color:#292826; flex-shrink:0;
  min-width:40px;
}
.roadmap__text{ display:flex; flex-direction:column; gap:4px; flex:1 1 0; min-width:0; }
.roadmap__cta{ flex-shrink:0; }
.roadmap__step h3{
  font-family:var(--f-body); font-weight:600;
  color:#292826; font-size:18px; line-height:1.25; margin:0;
}
.roadmap__step p{ color: var(--muted); margin:0; font-size:16px; line-height:24px; }

/* ============================================
   Fit grid — cards (Figma 1:1016): wide left card + right column of two
   ============================================ */
.fit-grid{
  display:flex; gap:24px; align-items:flex-start;
  max-width:1088px; margin:0 auto;
}
.fit-card--wide{ flex:1 1 0; min-width:0; }
.fit-col{ flex:0 0 523px; max-width:523px; display:flex; flex-direction:column; gap:24px; }
.fit-card{
  background:#fff;
  border:1px solid #D5D5D5;
  border-radius:24px;
  padding:32px;
  display:flex; flex-direction:column; gap:16px;
}
.fit-card__title{
  font-family:var(--f-body); font-weight:500;
  font-size:24px; line-height:36px; color:#292826; margin:0;
}
.fit-card__list{ display:flex; flex-direction:column; gap:16px; }
.fit-card__list li{
  font-family:var(--f-body); font-weight:400;
  font-size:16px; line-height:24px; color:var(--muted);
}
@media (max-width: 860px){
  .fit-grid{ flex-direction:column; }
  .fit-col{ flex-basis:auto; max-width:none; width:100%; }
}

/* ============================================
   FAQ
   ============================================ */
.faq{
  max-width: 928px;
  display:flex; flex-direction:column;
}
/* Figma 1:1027 — borderless list: full-width rows, vertical padding only,
   each row divided by a bottom line (question flush left, chevron flush right) */
.faq__item{ padding: 24px 0; border-bottom:1px solid var(--line); }
.faq__item summary{
  cursor:pointer;
  font-family:var(--f-body); font-weight:600; font-size:18px; line-height:1.3; color:#292826;
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:24px;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__chev{
  flex-shrink:0; width:12px; height:12px; margin-right:6px;
  border-right:2px solid #292826; border-bottom:2px solid #292826;
  transform: rotate(45deg); transform-origin:center;
  transition: transform .2s ease;
}
.faq__item[open] .faq__chev{ transform: rotate(-135deg); }
.faq__item p{ margin: 12px 48px 0 0; color: var(--muted); font-size:16px; line-height:24px; }

/* ============================================
   Final CTA + full-page popup (modal) with the form
   ============================================ */
.cta-final__actions{ display:flex; justify-content:center; margin-top:48px; }

.modal{ position:fixed; inset:0; z-index:1000; }
.modal:not([hidden]){ display:block; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
.modal__overlay{ position:fixed; inset:0; background:var(--bg); }
.modal__dialog{ position:relative; min-height:100%; }
.modal__close{
  position:fixed; top:20px; right:20px; z-index:2;
  width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#eee; border:none; color:var(--ink);
  cursor:pointer;
  transition: background .15s ease;
}
.modal__close:hover{ background:#e2e2e2; }
.modal__inner{ max-width:560px; margin:0 auto; padding:88px 24px; }
.modal__title{
  font-family:var(--f-display); font-weight:800;
  font-size:clamp(32px,5vw,48px); line-height:1.16; color:#292826;
  text-align:center; margin:0 0 32px;
}
.modal .form-wrap{ max-width:none; }
@media (max-width:560px){
  .modal__inner{ padding:84px 18px 64px; }
  .modal__close{ top:14px; right:14px; width:44px; height:44px; }
}

.footer__link-btn{
  background:none; border:none; padding:0; cursor:pointer;
  font:inherit; color:inherit;
}

/* ============================================
   Lead form
   ============================================ */
.form-wrap{ max-width: 560px; }
.form{ display:flex; flex-direction:column; gap:24px; }
.form__row{ display:flex; flex-direction:column; gap:4px; border:none; padding:0; margin:0; min-inline-size:0; }
.form__row > label, .form__row > legend{
  font-family:var(--f-body); font-size:16px; line-height:24px; font-weight:500; color:#292826; padding:0;
}

/* Text inputs — Figma states: default (white + 1px grey border) / focus (2px black) / error (2px red).
   Focus & error use 2px border with 15px padding to offset the extra 1px and avoid any height jump. */
.form input[type="text"],
.form input[type="tel"]{
  width:100%;
  background:#fff;
  border:1px solid #D9D9D9;
  border-radius:8px;
  padding:16px;
  font-family:var(--f-body);
  font-size:16px; line-height:24px;
  color:#292826;
  transition: border-color .15s ease;
}
.form input::placeholder{ color:#B0B0B0; }
.form input[type="text"]:focus,
.form input[type="tel"]:focus{
  border:2px solid #292826; padding:15px; outline:none;
}
.form__row.is-error input[type="text"],
.form__row.is-error input[type="tel"]{
  border:2px solid var(--red); padding:15px;
}

/* Supporting text under a field (shown red on error) */
.form__support{
  font-family:var(--f-body); font-size:14px; line-height:20px; color:#292826; margin:2px 0 0;
}
.form__row.is-error .form__support{ color:var(--red); }

/* Radio group — joined segmented control (Figma 2:3921): two equal-width
   boxes sharing a middle divider; 20px native dot (red when checked). */
.radio-group{ display:flex; align-items:stretch; width:100%; margin-top:4px; }
.radio{
  flex:1 1 0; min-width:0;
  display:flex; align-items:center; gap:8px;
  background:#fff; border:1px solid #D9D9D9;
  padding:16px;
  font-family:var(--f-body); font-size:16px; line-height:24px; color:#292826;
  cursor:pointer;
  transition: border-color .15s ease;
}
.radio + .radio{ border-left:none; }
.radio:first-child{ border-radius:8px 0 0 8px; }
.radio:last-child{ border-radius:0 8px 8px 0; }
.radio input{ width:20px; height:20px; accent-color:var(--red); margin:0; cursor:pointer; flex:0 0 20px; }
.form__row.is-error .radio{ border-color:var(--red); }

.form__row--conditional{ padding-left:0; }

/* Success state (Arigato!) — Figma node 2:3989 */
.modal__success{
  min-height:56vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; gap:40px;
}
.modal__success-logo{ width:60px; height:48px; object-fit:contain; }
.modal__success-title{
  font-family:var(--f-display); font-weight:800;
  font-size:clamp(44px,6vw,64px); line-height:1.12; color:#292826; margin:0;
}
.modal__success-text{
  font-family:var(--f-body); font-weight:400;
  font-size:clamp(18px,2.6vw,24px); line-height:1.5; color:var(--muted); margin:0;
}

/* ============================================
   Footer
   ============================================ */
.footer{ background: var(--bg); border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.footer__brand{ display:flex; align-items:center; gap:10px; font-family: var(--f-display); font-weight:900; color: var(--ink); }
.footer__brand img{ border-radius:6px; }
.footer__links{ display:flex; gap:24px; align-items:center; }
.footer__links a,
.footer__links .footer__link-btn{ font-size:13.5px; color: var(--muted); }
.footer__links a:hover,
.footer__links .footer__link-btn:hover{ color: var(--red); }
.footer__sign{ font-family: var(--f-display); font-style:italic; font-weight:700; color: var(--red); margin:0; font-size:15px; }

/* ============================================
   Responsive base
   ============================================ */
@media (max-width: 760px){
  .section{ padding: 64px 0; }
  .hero{ padding: 72px 0 14px; }
}

@media (max-width: 520px){
  .hero__cta{ flex-direction: column; align-items: stretch; }
  .btn{ white-space: normal; text-align: center; }
  .form-wrap .btn{ white-space: normal; }
}


/* ============================================
   Calendly-inspired layout pass
   ============================================ */

/* centered hero, Calendly-style stack */
.hero__inner{ text-align: center; }
.hero__title{ margin-left: auto; margin-right: auto; max-width: 22ch; }
.hero__sub{ margin-left: auto; margin-right: auto; }

/* centered stats row + centered CTA */
.stat{ align-items: flex-start; text-align: left; }
.statbar__cta{ justify-content: center; }

/* ============================================
   All sections centered (headers + standalone blocks)
   ============================================ */
.eyebrow,
.section__title,
.section__lead{ text-align: center; }

.section__lead{ margin-left: auto; margin-right: auto; }

/* center the max-width standalone blocks */
.faq{ margin-left: auto; margin-right: auto; }
.form-wrap{ margin-left: auto; margin-right: auto; }

/* center the venue-requirements chips + heading */
.fit-requirements{ text-align: center; }
.fit-requirements .requirements{ justify-content: center; }


/* red text -> black (brand red kept only on buttons/logo/dots/eyebrows) */
.footer__sign,
.review__stars{ color: var(--ink); }
.faq__item summary::after,
.fit-list li::before{ color: var(--ink); }


/* ============================================================
   RESPONSIVE — mobile-first optimization (phones = primary)
   Appended last so it overrides earlier breakpoint rules.
   ============================================================ */

/* Tablet / small laptop */
@media (max-width: 1024px){
  .section{ padding: 128px 0; }
  .why-panel{ margin: 80px 24px; padding: 96px 32px; }
  .hero__title{ font-size: clamp(48px, 7vw, 80px); line-height: 1.05; }
}

/* ===== Shared phone + tablet base (≤768) ===== */
@media (max-width: 768px){
  .section{ padding: 72px 0; }
  .section__title{ font-size: clamp(28px, 6.6vw, 44px); line-height: 1.14; margin-bottom: 16px; }
  .section__lead{ font-size: 17px; line-height: 1.5; margin-bottom: 32px; }

  /* Hero — flows naturally; 2×2 LEFT-aligned stats */
  .hero{ height: auto; padding: 96px 0 0; }
  .hero .eyebrow{ font-size: 16px; letter-spacing: 1.5px; margin-bottom: 14px; }
  .hero__title{ line-height: 1.12; max-width: none; }
  .hero__stats{ flex-wrap: wrap; row-gap: 40px; column-gap: 0; margin-top: 44px; }
  .hero__stat{ flex: 0 0 50%; min-width: 0; align-items: flex-start; text-align: left; gap: 8px; }
  .hero__stat-div{ display: none; }
  .hero__stat-label{ font-size: 18px; line-height: 1.35; }
  .hero__cta{ margin-top: 40px; }
  .hero__photo{ position: static; transform: none; width: calc(100% - 96px); max-width: 672px; margin: 56px auto 0; }

  /* Economics ledger stats — 2×2 left-aligned */
  .econ-stats{ flex-wrap: wrap; row-gap: 40px; column-gap: 0; margin: 40px 0 44px; }
  .econ-stat__div{ display: none; }
  .econ-stat{ flex: 0 0 50%; min-width: 0; align-items: flex-start; text-align: left; }
  .ecard{ padding: 24px; }
  .ecard__title{ font-size: 20px; line-height: 28px; }

  /* Roadmap */
  .roadmap__step{ gap: 16px; padding: 20px 0; }
  .roadmap__step h3{ font-size: 17px; }

  /* Fit — 1 column, order Де відкрити → Вимоги → Кого (Figma) */
  .fit-card{ padding: 24px; }
  .fit-card__title{ font-size: 20px; line-height: 28px; }
  .fit-col{ flex-direction: column-reverse; }

  /* Brand block — single column (Figma tablet) */
  .offer-grid.brand-cards{ grid-template-columns: 1fr; }

  .why-panel{ margin: 48px 24px; padding: 64px 32px; border-radius: 28px; }
  .reviews{ padding: 48px 0; }
  .faq__item summary{ font-size: 16px; gap: 16px; }

  .modal__title{ font-size: clamp(26px, 7.5vw, 34px); margin-bottom: 24px; }
  .modal__inner{ padding: 80px 18px 56px; }
  .modal__success-text{ font-size: 18px; }
}

/* ===== Tablet (601–768) — Figma 768 design ===== */
@media (min-width: 601px) and (max-width: 768px){
  .wrap{ padding: 0 48px; }                 /* Figma tablet: 48px side margins */
  .hero__title{ font-size: clamp(50px, 8.5vw, 64px); }
  .hero__stat-num{ font-size: 48px; line-height: 56px; }
  .econ-stat__num{ font-size: 48px; line-height: 56px; }
  /* hero buttons stay side-by-side (default row) */
}

/* ===== Phone (≤600) — Figma 480 design ===== */
@media (max-width: 600px){
  .wrap{ padding: 0 24px; }                 /* Figma phone: 24px side margins */
  .section{ padding: 56px 0; }
  .section__title{ font-size: clamp(26px, 7.2vw, 36px); }
  .hero__title{ font-size: clamp(34px, 10vw, 48px); }
  .hero__stat-num{ font-size: clamp(30px, 8.4vw, 40px); line-height: 1.2; }
  .hero__stat-label{ font-size: 16px; }
  .hero__cta{ flex-direction: column; align-items: stretch; padding: 0 24px; gap: 16px; }
  .hero__cta .btn{ width: 100%; }
  .hero__photo{ width: calc(100% - 48px); max-width: 520px; }
  .econ-stat__num{ font-size: clamp(28px, 8vw, 40px); line-height: 1.2; }
  .offer-grid{ grid-template-columns: 1fr; }   /* all card grids → 1 column */
  .why-panel{ margin: 40px 16px; padding: 48px 20px; border-radius: 24px; }
}

/* ===== Portrait phone (≤480) ===== */
@media (max-width: 480px){
  /* Locations — full-width chips, one per row (Figma phone) */
  .locations{ flex-direction: column; gap: 12px; }
  .loc{ width: 100%; }
  .reviews{ padding: 40px 0; }
  .roadmap__cta{ padding: 8px 14px; font-size: 12.5px; }
  .footer__inner{ flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__links{ flex-wrap: wrap; gap: 16px; }
}
