/* ==========================================================================
   Лёгкость — лендинг: hero и секции вокруг приложения.
   Цифры и тексты-ориентиры — docs/SPEC.md (снят с site.legkost.app).
   ========================================================================== */

.hero {
  padding: 18px 0 28px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  padding: 14px 0 24px;
}

h1 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 900;
  margin: 0 0 14px;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.nw,
.nw2 {
  white-space: nowrap;
}

.roll {
  display: inline-block;
  white-space: nowrap;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.26s ease, transform 0.26s ease;
}

.roll.swap {
  opacity: 0;
  transform: translateY(-14%);
}

.lead {
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 20px;
}

.hero .cta {
  max-width: 440px;
}

.note {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}

.facts {
  display: none;
}

/* --------------------------------------------------------------------------
   Карточка «Пример дня»
   -------------------------------------------------------------------------- */

.day {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--card-line);
  border-radius: 24px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-soft);
}

.day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.by {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.by img {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.meal {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1.5px solid var(--line);
}

.meal:last-of-type {
  border-bottom: 1.5px solid var(--line);
}

.meal img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex: none;
  background: var(--line);
}

.meal-t {
  flex: 1;
  min-width: 0;
}

.meal-k {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-2);
}

.meal-n {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.meal-p {
  flex: none;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--warm);
  border: 1.5px solid var(--warm-line);
}

.total-k {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}

.total-s {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.total-v {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.6px;
  white-space: nowrap;
}

.fine {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.fine b {
  font-weight: 800;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Магазины
   -------------------------------------------------------------------------- */

.stores {
  padding: 4px 0 32px;
}

.stores-t {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 12px;
  text-align: center;
}

.stores-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.store-logo {
  position: relative;
  width: 40px;
  height: 40px;
}

.store-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--card-line);
  background: #fff;
}

.store-logo.soon img {
  opacity: 0.62;
  filter: grayscale(1);
}

.soon-group {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 9px;
  border-left: 1.5px solid var(--card-line);
}

.soon-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Секции лендинга
   -------------------------------------------------------------------------- */

section {
  padding: 36px 0;
}

h2 {
  font-size: 27px;
  line-height: 1.14;
  letter-spacing: -0.8px;
  font-weight: 900;
  margin: 0 0 8px;
}

.sub {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
  max-width: 560px;
}

.band {
  background: var(--band);
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.steps,
.wins {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--card-line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--grad);
  color: #231c15;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 8px 16px rgba(255, 138, 92, 0.24);
}

h3 {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  font-weight: 800;
  margin: 0 0 4px;
}

.card p {
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--grad-icon);
}

.ico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #b4541c;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Блюда и отзывы — горизонтальные ленты на мобайле */

.strip,
.revs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px 20px 6px;
  margin: 0 -20px;
  scroll-padding: 0 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar,
.revs::-webkit-scrollbar {
  display: none;
}

.strip:focus-visible,
.revs:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -6px;
  border-radius: 10px;
}

.dish {
  flex: none;
  width: 156px;
  scroll-snap-align: start;
}

.dish img {
  width: 156px;
  height: 156px;
  border-radius: 20px;
  background: var(--line);
}

.dish-n {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.dish-k {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.dish-k b {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.dish-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted-2);
}

.rev {
  flex: none;
  width: 284px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  background: #fff;
  border: 1.5px solid var(--card-line);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-card);
}

.rev blockquote {
  margin: 0;
}

.rev-s {
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--star);
}

.rev p {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}

.rev-c {
  margin-top: auto;
  padding-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
}

/* Что внутри */

.plan {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  background: #fff;
  border: 1.5px solid var(--card-line);
  border-radius: 26px;
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
}

.plan ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.plan li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 600;
}

.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eaf4ee;
}

.plan li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border-right: 2.5px solid #2c7d58;
  border-bottom: 2.5px solid #2c7d58;
  transform: rotate(45deg);
}

.app {
  background: var(--warm);
  border: 1.5px solid var(--warm-line);
  border-radius: 20px;
  padding: 18px 16px;
}

.app h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.app p {
  margin-bottom: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-2);
}

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

details {
  background: #fff;
  border: 1.5px solid var(--card-line);
  border-radius: 18px;
  padding: 0 16px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  margin: -4px 4px 0 0;
  transition: transform 0.15s ease;
}

details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

details p {
  padding: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

/* Финальный блок */

.final {
  text-align: center;
  background: linear-gradient(135deg, #fff0d9, #ffe0c8);
  border: 1.5px solid var(--warm-line);
  border-radius: 26px;
  padding: 30px 18px 26px;
}

.about {
  max-width: 680px;
  margin: 14px auto 22px;
  display: grid;
  gap: 10px;
}

.about p {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink-2);
}

/* Запас под липкую кнопку, как в оригинале */

.foot {
  padding-bottom: 110px;
}

/* --------------------------------------------------------------------------
   Липкая кнопка (мобайл)
   -------------------------------------------------------------------------- */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 14px 20px 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(251, 246, 239, 0), var(--bg) 34%);
  transform: translateY(110%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.sticky.on {
  transform: none;
  pointer-events: auto;
}

.sticky .cta {
  max-width: 440px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Брейкпоинты
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  h1 {
    font-size: 31px;
  }

  .nw2 {
    white-space: normal;
  }

  .day-head {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .by {
    white-space: nowrap;
  }
}

@media (max-width: 559px) {
  .about {
    text-align: left;
  }
}

@media (min-width: 560px) {
  .wins {
    grid-template-columns: repeat(2, 1fr);
  }

  .dish,
  .dish img {
    width: 176px;
  }

  .dish img {
    height: 176px;
  }

  .final {
    padding: 40px 32px 34px;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 76px;
    padding: 54px 0 62px;
  }

  h1 {
    font-size: clamp(52px, 5.15vw, 66px);
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin: 0 0 22px;
  }

  .kicker {
    font-size: 13.5px;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
  }

  .lead {
    font-size: 20.5px;
    max-width: 580px;
    margin-bottom: 32px;
  }

  .hero .cta {
    display: inline-flex;
    width: auto;
    min-width: 330px;
    min-height: 70px;
    padding: 22px 40px;
    font-size: 20px;
    border-radius: 19px;
  }

  .note {
    text-align: left;
    font-size: 14.5px;
  }

  .facts {
    display: flex;
    gap: 34px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1.5px solid #f0e7d9;
    max-width: 580px;
  }

  .fact b {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.8px;
  }

  .fact span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
  }

  .day {
    padding: 28px 28px 24px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(120, 80, 40, 0.14), 0 4px 14px rgba(60, 40, 20, 0.06);
  }

  .day-head {
    margin-bottom: 10px;
  }

  .label {
    font-size: 13px;
  }

  .by {
    font-size: 13.5px;
  }

  .meal {
    gap: 16px;
    padding: 14px 0;
  }

  .meal img {
    width: 70px;
    height: 70px;
    border-radius: 19px;
  }

  .meal-k {
    font-size: 13.5px;
  }

  .meal-n {
    font-size: 17.5px;
  }

  .meal-p {
    font-size: 19px;
  }

  .total {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 19px;
  }

  .total-k {
    font-size: 16px;
  }

  .total-s {
    font-size: 13.5px;
  }

  .total-v {
    font-size: 30px;
  }

  .fine {
    font-size: 14px;
    margin-top: 14px;
  }

  .stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 24px;
    padding: 4px 0 70px;
  }

  .stores-t {
    margin: 0;
    font-size: 15.5px;
  }

  .stores-row {
    gap: 11px;
  }

  .soon-group {
    gap: 8px;
    padding-left: 11px;
  }

  .soon-label {
    font-size: 11.5px;
  }

  .dish-note {
    margin-top: 18px;
    font-size: 13.5px;
  }

  .store-logo,
  .store-logo img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  section {
    padding: 78px 0;
  }

  h2 {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -1.8px;
    margin-bottom: 12px;
  }

  .sub {
    font-size: 19px;
    max-width: 640px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .wins {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps,
  .wins {
    gap: 18px;
    margin-top: 36px;
  }

  .card {
    flex-direction: column;
    gap: 18px;
    padding: 28px 26px;
    border-radius: 24px;
  }

  .num {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 20px;
  }

  .ico {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .ico svg {
    width: 27px;
    height: 27px;
  }

  h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 16px;
    line-height: 1.5;
  }

  .strip {
    overflow: visible;
    margin: 0;
    padding: 36px 0 0;
    gap: 20px;
  }

  .dish {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .dish img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
  }

  .dish-n {
    font-size: 15.5px;
    margin-top: 12px;
  }

  .dish-k {
    font-size: 14.5px;
    margin-top: 6px;
  }

  .dish-k b {
    font-size: 18px;
  }

  .revs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 36px 0 0;
    gap: 18px;
  }

  .rev {
    width: auto;
    padding: 24px 24px 20px;
    border-radius: 24px;
    gap: 12px;
  }

  .rev-s {
    font-size: 18px;
  }

  .rev p {
    font-size: 16.5px;
  }

  .rev-c {
    font-size: 13.5px;
  }

  .plan {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    padding: 40px 44px;
    margin-top: 36px;
    border-radius: 30px;
  }

  .plan ul {
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
    margin-top: 18px;
  }

  .plan li {
    font-size: 17px;
  }

  .app {
    padding: 26px 26px 24px;
    border-radius: 24px;
  }

  .app h3 {
    font-size: 23px;
  }

  .app p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .app .cta {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }

  .faq-side {
    position: sticky;
    top: 104px;
  }

  .faq {
    margin-top: 6px;
    gap: 12px;
  }

  summary {
    font-size: 18px;
    padding: 20px 0;
  }

  details {
    padding: 0 22px;
    border-radius: 20px;
  }

  details p {
    font-size: 16px;
    padding-bottom: 20px;
  }

  .final {
    padding: 64px 56px 56px;
    border-radius: 38px;
  }

  .final h2 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  .about {
    max-width: 780px;
    margin: 18px auto 30px;
    gap: 12px;
  }

  .about p {
    font-size: 17.5px;
  }

  .final .cta {
    display: inline-flex;
    width: auto;
    min-width: 360px;
    min-height: 68px;
    font-size: 19.5px;
  }

  .final .note {
    text-align: center;
  }

  .foot {
    padding-bottom: 44px;
  }

  .sticky {
    display: none;
  }
}
