.marketing-site {
  --landing-bg: #f7f8f4;
  --landing-paper: #fff;
  --landing-ink: #183329;
  --landing-muted: #65746b;
  --landing-green: #27684b;
  --landing-green-dark: #173f2e;
  --landing-mint: #deeee2;
  --landing-mint-light: #edf5ee;
  --landing-warm: #f0eadf;
  --landing-line: rgba(39, 104, 75, .13);
  min-height: 100vh;
  color: var(--landing-ink);
  background: var(--landing-bg);
  overflow: hidden;
}

.marketing-site[hidden],
.app-shell.is-auth-gated {
  display: none !important;
}

.landing-mode {
  background: var(--landing-bg);
}

.landing-mode .dialog:not(.demo-auth-dialog),
.landing-mode .toast {
  display: none;
}

.landing-header,
.landing-hero,
.landing-section,
.landing-footer {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.landing-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: 'Prata', Georgia, serif;
  font-size: 24px;
  letter-spacing: -.02em;
}

.landing-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--landing-green);
  background: var(--landing-mint);
  border-radius: 13px 13px 13px 5px;
}

.landing-brand-mark svg {
  width: 27px;
  height: 27px;
}

.landing-brand-mark path:first-child {
  fill: rgba(39, 104, 75, .12);
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 500;
}

.landing-nav a {
  transition: color .18s ease;
}

.landing-nav a:hover {
  color: var(--landing-green);
}

.landing-login {
  justify-self: end;
  min-height: 44px;
  padding: 0 18px;
  color: var(--landing-green-dark);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: .18s ease;
}

.landing-login:hover {
  background: #fff;
  transform: translateY(-1px);
}

.landing-hero {
  min-height: 690px;
  padding: 76px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--landing-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.landing-kicker i {
  width: 8px;
  height: 8px;
  background: #73a77f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(115, 167, 127, .12);
}

.landing-hero h1,
.landing-section h2 {
  margin: 0;
  font-family: 'Prata', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.landing-hero h1 {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(43px, 4.6vw, 66px);
  line-height: 1.07;
}

.landing-hero-copy > p {
  max-width: 590px;
  margin: 25px 0 0;
  color: var(--landing-muted);
  font-size: 17px;
  line-height: 1.7;
}

.landing-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-button {
  min-height: 51px;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}

.landing-button svg {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.landing-button:hover svg {
  transform: translateX(3px);
}

.landing-button-primary {
  color: #fff;
  background: var(--landing-green);
  box-shadow: 0 13px 28px rgba(39, 104, 75, .2);
}

.landing-button-primary:hover {
  background: var(--landing-green-dark);
  transform: translateY(-2px);
}

.landing-button-text {
  color: var(--landing-green-dark);
  background: transparent;
}

.landing-button-text:hover {
  background: rgba(222, 238, 226, .65);
}

.landing-trust-row {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--landing-muted);
  font-size: 12px;
}

.landing-trust-row span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.landing-trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--landing-green);
  stroke-width: 2.2;
}

.hero-product {
  position: relative;
  min-height: 535px;
  display: grid;
  align-items: center;
}

.hero-product-glow {
  position: absolute;
  inset: 5% -8% 0 5%;
  background: radial-gradient(circle at 45% 45%, rgba(176, 207, 181, .58), rgba(222, 238, 226, .13) 58%, transparent 72%);
  border-radius: 50%;
  filter: blur(10px);
}

.hero-window {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 26px;
  box-shadow: 0 35px 80px rgba(34, 68, 49, .16);
  overflow: hidden;
  transform: rotate(.8deg);
}

.hero-window-bar {
  height: 73px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--landing-line);
}

.mini-brand {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--landing-green);
  border-radius: 12px 12px 12px 5px;
  font-family: 'Prata', Georgia, serif;
}

.hero-window-bar div {
  min-width: 0;
}

.hero-window-bar b,
.hero-window-bar small {
  display: block;
}

.hero-window-bar b {
  font-size: 12px;
}

.hero-window-bar small {
  margin-top: 2px;
  color: var(--landing-muted);
  font-size: 9px;
}

.hero-status {
  margin-left: auto;
  padding: 6px 9px;
  color: var(--landing-green);
  background: var(--landing-mint-light);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
}

.hero-window-body {
  min-height: 357px;
  display: grid;
  grid-template-columns: 112px 1fr;
}

.hero-side {
  padding: 24px 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: #f6f8f4;
  border-right: 1px solid var(--landing-line);
}

.hero-side span {
  min-height: 32px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--landing-muted);
  border-radius: 9px;
  font-size: 8.5px;
}

.hero-side span.is-active {
  color: var(--landing-green-dark);
  background: var(--landing-mint);
  font-weight: 700;
}

.hero-side b {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  font-size: 7px;
}

.hero-dashboard {
  padding: 24px 24px 20px;
}

.hero-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-dashboard-head small,
.hero-dashboard-head strong {
  display: block;
}

.hero-dashboard-head small {
  color: var(--landing-muted);
  font-size: 8px;
}

.hero-dashboard-head strong {
  margin-top: 2px;
  font-family: 'Prata', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.hero-dashboard-head em {
  padding: 7px 10px;
  color: var(--landing-green-dark);
  background: var(--landing-mint-light);
  border-radius: 10px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.hero-macros {
  margin-top: 21px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-macros > span {
  position: relative;
  min-width: 0;
  padding: 13px 10px 12px;
  background: #f8faf7;
  border-radius: 12px;
  overflow: hidden;
}

.hero-macros i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #6fa57b var(--value), #e1e9e0 var(--value));
}

.hero-macros b,
.hero-macros small {
  display: block;
}

.hero-macros b {
  font-size: 11px;
}

.hero-macros small {
  margin-top: 3px;
  color: var(--landing-muted);
  font-size: 7.5px;
}

.hero-meals {
  margin-top: 16px;
  display: grid;
  gap: 7px;
}

.hero-meals article {
  min-height: 56px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 35px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
}

.hero-meals article > span {
  color: var(--landing-muted);
  font-size: 7.5px;
}

.hero-meals b,
.hero-meals small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-meals b {
  font-size: 9px;
}

.hero-meals small {
  margin-top: 2px;
  color: var(--landing-muted);
  font-size: 7px;
}

.hero-meals em {
  padding: 4px 6px;
  color: var(--landing-green);
  background: var(--landing-mint-light);
  border-radius: 7px;
  font-size: 6.5px;
  font-style: normal;
  font-weight: 700;
}

.hero-meals em.is-ai {
  color: #4a6570;
  background: #e7eff1;
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  color: var(--landing-ink);
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.98);
  box-shadow: 0 18px 45px rgba(34, 68, 49, .14);
  backdrop-filter: blur(14px);
}

.hero-floating-one {
  right: -34px;
  top: 15px;
  width: 174px;
  padding: 15px 16px;
  border-radius: 17px 17px 17px 6px;
  transform: rotate(-2deg);
}

.hero-floating-one span,
.hero-floating-one strong,
.hero-floating-one small {
  display: block;
}

.hero-floating-one span {
  color: var(--landing-green);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-floating-one strong {
  margin-top: 4px;
  font-size: 11px;
}

.hero-floating-one small {
  margin-top: 2px;
  color: var(--landing-muted);
  font-size: 7.5px;
}

.hero-floating-two {
  left: -42px;
  bottom: 24px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 17px 17px 6px 17px;
  transform: rotate(1.5deg);
}

.hero-floating-two i,
.client-demo-note i {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: #496872;
  background: #e6eff1;
  border-radius: 11px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.hero-floating-two strong,
.hero-floating-two small {
  display: block;
}

.hero-floating-two strong {
  font-size: 10px;
}

.hero-floating-two small {
  margin-top: 2px;
  color: var(--landing-muted);
  font-size: 7.5px;
}

.landing-section {
  padding: 118px 0;
}

.landing-section-intro {
  max-width: 700px;
}

.landing-section-intro h2,
.client-copy h2,
.landing-cta h2 {
  margin-top: 17px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.14;
}

.landing-section-intro > p,
.client-copy > p,
.landing-cta p {
  margin: 19px 0 0;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.7;
}

.landing-problems {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.landing-problems::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
}

.landing-problems > * {
  position: relative;
  z-index: 1;
}

.problem-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.problem-card {
  position: relative;
  min-height: 290px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  background: #f8faf7;
  border: 1px solid var(--landing-line);
  border-radius: 24px;
  overflow: hidden;
  transition: .22s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(34, 68, 49, .08);
}

.problem-card-wide {
  grid-column: 1 / -1;
  min-height: 240px;
}

.problem-number {
  position: absolute;
  top: 24px;
  right: 27px;
  color: #a9b5ac;
  font-family: 'Prata', Georgia, serif;
  font-size: 13px;
}

.problem-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--landing-green);
  background: var(--landing-mint);
  border-radius: 16px;
}

.problem-icon svg {
  width: 23px;
  height: 23px;
}

.problem-card h3 {
  max-width: 490px;
  margin: 24px 0 0;
  font-size: 21px;
  line-height: 1.35;
}

.problem-card > p,
.problem-card-horizontal > div > p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.65;
}

.problem-result {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--landing-line);
}

.problem-result strong,
.problem-result span {
  display: block;
}

.problem-result strong {
  color: var(--landing-green-dark);
  font-size: 13px;
}

.problem-result span {
  max-width: 730px;
  margin-top: 6px;
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.55;
}

.problem-card-wide:not(.problem-card-horizontal) {
  display: grid;
  grid-template-columns: 58px minmax(0, .8fr) minmax(360px, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 22px;
}

.problem-card-wide:not(.problem-card-horizontal) .problem-icon {
  grid-row: 1 / span 2;
}

.problem-card-wide:not(.problem-card-horizontal) h3 {
  margin-top: 0;
}

.problem-card-wide:not(.problem-card-horizontal) > p {
  grid-column: 2;
}

.problem-card-wide:not(.problem-card-horizontal) .problem-result {
  grid-column: 3;
  grid-row: 1 / span 3;
  margin: 0;
  padding: 5px 0 5px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 0;
  border-left: 1px solid var(--landing-line);
}

.problem-card-horizontal {
  min-height: 220px;
  display: grid;
  grid-template-columns: 54px minmax(0, .8fr) minmax(330px, 1fr);
  align-items: center;
  gap: 26px;
}

.problem-card-horizontal h3 {
  margin-top: 0;
}

.problem-card-horizontal .problem-result {
  margin: 0;
  padding: 10px 0 10px 30px;
  border-top: 0;
  border-left: 1px solid var(--landing-line);
}

.landing-section-intro-center {
  margin-inline: auto;
  text-align: center;
}

.workflow-grid {
  position: relative;
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.workflow-grid::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 53px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9ebaa5 10%, #9ebaa5 90%, transparent);
}

.workflow-grid article {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding: 26px 22px;
  text-align: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 22px;
}

.workflow-grid article > span {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--landing-green);
  background: var(--landing-mint);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

.workflow-icon {
  width: 64px;
  height: 64px;
  margin: 1px auto 22px;
  display: grid;
  place-items: center;
  color: var(--landing-green);
  background: #fff;
  border: 1px solid var(--landing-line);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(34, 68, 49, .07);
}

.workflow-icon svg {
  width: 26px;
  height: 26px;
}

.workflow-grid h3 {
  margin: 0;
  font-size: 15px;
}

.workflow-grid p {
  margin: 9px 0 0;
  color: var(--landing-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.landing-client {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(440px, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(70px, 9vw, 130px);
}

.landing-client::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  background: var(--landing-green-dark);
  transform: translateX(-50%);
}

.client-copy,
.landing-client .landing-kicker {
  color: #fff;
}

.client-copy > p {
  color: rgba(255,255,255,.7);
}

.client-copy ul {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 19px;
  list-style: none;
}

.client-copy li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}

.client-copy li > svg {
  width: 23px;
  height: 23px;
  padding: 5px;
  color: #fff;
  background: rgba(255,255,255,.13);
  border-radius: 8px;
  stroke-width: 2.2;
}

.client-copy li strong,
.client-copy li small {
  display: block;
}

.client-copy li strong {
  font-size: 13px;
}

.client-copy li small {
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.5;
}

.client-demo {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.client-demo::before {
  content: '';
  position: absolute;
  width: 430px;
  height: 430px;
  background: rgba(144, 187, 153, .12);
  border-radius: 50%;
}

.client-phone {
  position: relative;
  z-index: 1;
  width: 315px;
  min-height: 565px;
  padding: 13px 17px 20px;
  color: var(--landing-ink);
  background: #f8faf7;
  border: 7px solid #102c21;
  border-radius: 40px;
  box-shadow: 0 32px 70px rgba(4, 21, 14, .35);
  transform: rotate(-2deg);
}

.client-phone-top {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  font-weight: 700;
}

.client-phone-top i {
  width: 58px;
  height: 15px;
  position: absolute;
  top: 8px;
  left: calc(50% - 29px);
  background: #102c21;
  border-radius: 999px;
}

.client-phone-head {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-phone-head .mini-brand {
  width: 32px;
  height: 32px;
}

.client-phone-head small,
.client-phone-head strong {
  display: block;
}

.client-phone-head small {
  color: var(--landing-muted);
  font-size: 7px;
}

.client-phone-head strong {
  margin-top: 1px;
  font-size: 11px;
}

.client-day-score {
  margin-top: 21px;
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--landing-green);
  border-radius: 17px;
  color: #fff;
}

.client-day-score span,
.client-day-score strong {
  display: block;
}

.client-day-score span {
  color: rgba(255,255,255,.7);
  font-size: 7px;
}

.client-day-score strong {
  margin-top: 2px;
  font-family: 'Prata', Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.client-day-score em {
  padding: 6px 8px;
  background: rgba(255,255,255,.13);
  border-radius: 8px;
  font-size: 7px;
  font-style: normal;
}

.client-meal {
  min-height: 62px;
  margin-top: 9px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--landing-line);
  border-radius: 14px;
}

.client-meal > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--landing-green);
  background: var(--landing-mint);
  border-radius: 9px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.client-meal.is-done {
  opacity: .7;
}

.client-meal small,
.client-meal strong {
  display: block;
}

.client-meal small {
  color: var(--landing-muted);
  font-size: 6.5px;
}

.client-meal strong {
  margin-top: 3px;
  font-size: 9px;
}

.client-swap {
  margin-top: 12px;
  padding: 15px;
  background: #eef3ec;
  border-radius: 15px;
}

.client-swap span,
.client-swap strong {
  display: block;
}

.client-swap span {
  color: var(--landing-muted);
  font-size: 7px;
}

.client-swap strong {
  margin-top: 3px;
  font-size: 9px;
  line-height: 1.4;
}

.client-swap button {
  width: 100%;
  height: 34px;
  margin-top: 11px;
  color: #fff;
  background: var(--landing-green);
  border: 0;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 700;
}

.client-demo-note {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 44px;
  width: 240px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  color: var(--landing-ink);
  background: #fff;
  border-radius: 17px 17px 17px 6px;
  box-shadow: 0 20px 50px rgba(4, 21, 14, .24);
}

.client-demo-note strong,
.client-demo-note span {
  display: block;
}

.client-demo-note strong {
  font-size: 9px;
}

.client-demo-note span {
  margin-top: 3px;
  color: var(--landing-muted);
  font-size: 7px;
  line-height: 1.45;
}

.client-demo-note p {
  margin: 0;
}

.landing-cta {
  padding-top: 128px;
  padding-bottom: 104px;
}

.landing-cta-inner {
  position: relative;
  padding: 74px 8%;
  text-align: center;
  color: #fff;
  background: var(--landing-green);
  border-radius: 34px;
  overflow: hidden;
}

.landing-cta-inner::before,
.landing-cta-inner::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
}

.landing-cta-inner::before {
  left: -100px;
  top: -110px;
}

.landing-cta-inner::after {
  right: -80px;
  bottom: -150px;
  width: 330px;
  height: 330px;
}

.landing-cta .landing-kicker,
.landing-cta h2,
.landing-cta p,
.landing-cta button,
.landing-cta small {
  position: relative;
  z-index: 1;
}

.landing-cta .landing-kicker {
  color: #cce4d1;
}

.landing-cta h2 {
  max-width: 760px;
  margin-inline: auto;
}

.landing-cta p {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(255,255,255,.7);
}

.landing-button-light {
  margin-top: 30px;
  color: var(--landing-green-dark);
  background: #fff;
  box-shadow: 0 14px 28px rgba(8, 38, 25, .2);
}

.landing-button-light:hover {
  transform: translateY(-2px);
}

.landing-cta small {
  display: block;
  margin-top: 13px;
  color: rgba(255,255,255,.54);
  font-size: 10.5px;
}

.landing-footer {
  min-height: 100px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--landing-muted);
  border-top: 1px solid var(--landing-line);
  font-size: 10px;
}

.landing-footer .landing-brand {
  color: var(--landing-ink);
  font-size: 20px;
}

.landing-footer p {
  margin: 0;
}

.landing-footer > span {
  justify-self: end;
}

.demo-auth-dialog {
  width: min(92vw, 430px);
  padding: 0;
  color: var(--landing-ink, #183329);
  background: transparent;
  border: 0;
  border-radius: 25px;
  overflow: visible;
}

.demo-auth-dialog::backdrop {
  background: rgba(12, 30, 22, .55);
  backdrop-filter: blur(8px);
}

.demo-auth-card {
  position: relative;
  padding: 34px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 35px 90px rgba(9, 31, 21, .28);
}

.demo-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #6b776f;
  background: #f4f7f3;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}

.demo-auth-close svg {
  width: 17px;
  height: 17px;
}

.demo-auth-brand {
  text-align: center;
}

.demo-auth-brand .landing-brand-mark {
  margin: 0 auto 17px;
  width: 48px;
  height: 48px;
  border-radius: 17px 17px 17px 6px;
}

.demo-auth-brand strong {
  display: block;
  font-family: 'Prata', Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

.demo-auth-brand p {
  margin: 8px 0 0;
  color: #68756d;
  font-size: 12px;
}

.yandex-login-button {
  width: 100%;
  min-height: 52px;
  margin-top: 27px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 31px 1fr 31px;
  align-items: center;
  color: #1f2421;
  background: #f3f4f2;
  border: 1px solid #e5e8e4;
  border-radius: 14px;
  cursor: pointer;
  transition: .18s ease;
}

.yandex-login-button:hover {
  background: #eceeeb;
}

.yandex-login-button > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #fc3f1d;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
}

.yandex-login-button b {
  font-size: 12px;
}

.yandex-login-button.is-loading > span {
  color: transparent;
  background: conic-gradient(#fc3f1d 0 28%, #ffd6cf 28% 100%);
  animation: landing-spin .7s linear infinite;
}

@keyframes landing-spin {
  to { transform: rotate(1turn); }
}

.demo-auth-note {
  margin-top: 16px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  background: #f7f9f6;
  border-radius: 13px;
}

.demo-auth-note svg {
  width: 19px;
  height: 19px;
  color: #557165;
}

.demo-auth-note p {
  margin: 0;
}

.demo-auth-note strong,
.demo-auth-note span {
  display: block;
}

.demo-auth-note strong {
  font-size: 9px;
}

.demo-auth-note span {
  margin-top: 2px;
  color: #718078;
  font-size: 8px;
  line-height: 1.5;
}

.demo-logout {
  width: 32px;
  height: 32px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.demo-logout:hover {
  color: var(--green);
  background: var(--surface-soft);
}

.demo-logout svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1060px) {
  .landing-hero {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
    gap: 40px;
  }

  .hero-floating-one { right: -8px; }
  .hero-floating-two { left: -18px; }
  .landing-client { gap: 55px; }
  .client-demo-note { right: -20px; }
}

@media (max-width: 900px) {
  .landing-header {
    grid-template-columns: 1fr auto;
  }

  .landing-nav { display: none; }

  .landing-hero {
    padding-top: 58px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-hero h1,
  .landing-hero-copy > p {
    margin-inline: auto;
  }

  .landing-actions,
  .landing-trust-row {
    justify-content: center;
  }

  .hero-product {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .problem-card-wide:not(.problem-card-horizontal),
  .problem-card-horizontal {
    grid-template-columns: 54px 1fr;
  }

  .problem-card-wide:not(.problem-card-horizontal) .problem-result,
  .problem-card-horizontal .problem-result {
    grid-column: 2;
    grid-row: auto;
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 1px solid var(--landing-line);
    border-left: 0;
  }

  .problem-card-horizontal > div:nth-of-type(2) {
    grid-column: 2;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .workflow-grid::before { display: none; }

  .landing-client {
    grid-template-columns: 1fr;
  }

  .client-copy {
    max-width: 650px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .landing-header,
  .landing-hero,
  .landing-section,
  .landing-footer {
    width: min(100% - 30px, 1200px);
  }

  .landing-header { min-height: 72px; }
  .landing-brand { font-size: 21px; }
  .landing-brand-mark { width: 33px; height: 33px; }
  .landing-login { min-height: 44px; padding-inline: 16px; }

  .landing-hero {
    min-height: auto;
    padding: 48px 0 68px;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .landing-hero-copy,
  .hero-product { min-width: 0; }

  .landing-hero h1 { font-size: 40px; }
  .landing-hero-copy > p { font-size: 15px; }
  .landing-actions { align-items: stretch; flex-direction: column; }
  .landing-button { width: 100%; }
  .landing-trust-row { display: grid; justify-content: start; text-align: left; }

  .hero-product { min-height: 380px; }
  .hero-window { min-height: 330px; border-radius: 20px; }
  .hero-window-bar { height: 60px; padding-inline: 14px; }
  .hero-window-body { min-height: 270px; grid-template-columns: 76px 1fr; }
  .hero-side { padding: 15px 7px; }
  .hero-side span { padding-inline: 7px; font-size: 6.5px; }
  .hero-dashboard { padding: 16px 12px; }
  .hero-dashboard-head strong { font-size: 14px; }
  .hero-macros { margin-top: 14px; gap: 5px; }
  .hero-macros > span { padding: 9px 7px; }
  .hero-meals article { min-height: 48px; grid-template-columns: 28px minmax(0,1fr) auto; padding-inline: 8px; gap: 7px; }
  .hero-meals article:nth-child(3) { display: none; }
  .hero-floating-one { width: 145px; right: -5px; top: -8px; }
  .hero-floating-two { left: -5px; bottom: 0; }

  .landing-section { padding: 82px 0; }
  .landing-section-intro h2,
  .client-copy h2,
  .landing-cta h2 { font-size: 36px; }
  .landing-section-intro > p,
  .client-copy > p,
  .landing-cta p { font-size: 14px; }

  .problem-grid { grid-template-columns: 1fr; margin-top: 37px; }
  .problem-card,
  .problem-card-wide,
  .problem-card-horizontal { grid-column: auto; min-height: 0; padding: 24px; display: flex; }
  .problem-card-wide:not(.problem-card-horizontal) { display: flex; grid-template-columns: none; }
  .problem-card-horizontal { align-items: stretch; }
  .problem-card-wide:not(.problem-card-horizontal) .problem-icon { grid-row: auto; }
  .problem-card-wide:not(.problem-card-horizontal) h3 { margin-top: 24px; }
  .problem-card-wide:not(.problem-card-horizontal) > p { grid-column: auto; }
  .problem-card-wide:not(.problem-card-horizontal) .problem-result,
  .problem-card-horizontal .problem-result { grid-column: auto; }
  .problem-card-horizontal > div:nth-of-type(2) { grid-column: auto; }
  .problem-card-horizontal h3 { margin-top: 24px; }
  .problem-card .problem-result { margin-top: 24px; }

  .workflow-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .workflow-grid article { min-height: 230px; }

  .landing-client { gap: 48px; }
  .client-demo { min-height: 520px; }
  .client-phone { width: 290px; min-height: 520px; }
  .client-demo-note { width: 205px; right: -2px; bottom: 12px; }

  .landing-cta { padding-top: 78px; padding-bottom: 70px; }
  .landing-cta-inner { padding: 55px 22px; border-radius: 25px; }

  .landing-footer { grid-template-columns: 1fr auto; }
  .landing-footer p { display: none; }

  .demo-auth-card { padding: 31px 22px 23px; }
}

@media (max-width: 340px) {
  .landing-hero h1 { font-size: 35px; line-height: 1.08; }
  .landing-kicker { font-size: 9.5px; letter-spacing: .1em; }
  .hero-floating-one { right: 0; }
  .hero-floating-two { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-site *,
  .marketing-site *::before,
  .marketing-site *::after,
  .demo-auth-dialog * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
