/* Emotio landing — emotio.online
   Desktop (≥1024px) reproduces the Figma frame "Desktop - 1" (1440×5494,
   section «Лендінг сторінка») with its exact coordinates; between 1024 and
   1440px js/fit.js zooms the whole 1440px page to the viewport width.
   Below 1024px the page switches to a stacked mobile layout (bottom of file). */

:root {
  --dark: #1E293B;
  --light: #94A3B8;
  --bg: #F5F1E7;
  --orange: #FF5C2A;
  --red: #F84D4D;
  --black: #0E0E11;
  --burgundy: #3B1E24;
  --grey-text: #4D4D56;
  --line: #ECECEE;
  --s: 1;
  --cs: 1;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: #fff;
  color: var(--dark);
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, ul, li { margin: 0; padding: 0; }
h1, h2, h3, h4 { font: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
b, i, small, time { font: inherit; }
img { display: block; max-width: none; }
button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Icons: one monochrome SVG file per icon, tinted with currentColor. */
.ico {
  display: inline-block;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.ico-android   { --m: url(/landing/img/icons/android.svg);   width: 20px; height: 20px; }
.ico-apple     { --m: url(/landing/img/icons/apple.svg);     width: 19px; height: 20px; -webkit-mask-size: 20px 20px; mask-size: 20px 20px; -webkit-mask-position: 0 0; mask-position: 0 0; }
.ico-apple-ios { --m: url(/landing/img/icons/apple-ios.svg); width: 24px; height: 24px; }
.ico-star      { --m: url(/landing/img/icons/star.svg);      width: 16px; height: 16px; }
.ico-chevron   { --m: url(/landing/img/icons/chevron-down.svg); width: 13.86px; height: 7.98px; color: var(--light); }
.ico-caret     { --m: url(/landing/img/icons/caret-down.svg); width: 8px; height: 8px; }
.ico-close     { --m: url(/landing/img/icons/close.svg);     width: 14px; height: 14px; }
.ico-book      { --m: url(/landing/img/icons/book.svg);      width: 24px; height: 24px; }
.ico-eye       { --m: url(/landing/img/icons/eye.svg);       width: 26px; height: 26px; }
.ico-play      { --m: url(/landing/img/icons/play.svg);      width: 60px; height: 60px; }

/* ═══ Desktop: the 1440px Figma frame ═══════════════════════════════════ */

.page {
  position: relative;
  width: 1440px;
  height: 5494px;
  margin: 0 auto;
}

.page > section,
.page > footer { position: absolute; }

/* Shared controls ------------------------------------------------------- */

.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 48px; height: 48px; }
.brand-name {
  width: 105px;
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: var(--burgundy);
}

.stores { display: flex; align-items: center; gap: 8px; }

.btn-dark {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 52px;
  padding: 12px;
  border-radius: 12px;
  background: var(--black);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.btn-dark:hover { background: #2a2a31; }

.lang { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 91px;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--light);
  border-radius: 13px;
  background: #fff;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.24px;
  color: var(--dark);
}
.lang-btn[aria-expanded="true"] .ico-chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  width: 91px;
  padding: 5px;
  border: 1px solid var(--light);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 41, 59, .08);
}
.lang-list li {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.24px;
  cursor: pointer;
}
.lang-list li:hover { background: var(--bg); }
.lang-list li[aria-selected="true"] { font-weight: 600; }
.lang-up .lang-list { top: auto; bottom: calc(100% + 6px); }

.burger { display: none; }
.hero-cta { display: none; }

/* Hero ------------------------------------------------------------------ */

.hero { left: 0; top: 0; width: 1440px; height: 1374px; }

.hero-bg {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 1424px;
  height: 844px;
  border-radius: 20px;
  overflow: hidden;
  clip-path: inset(0 round 20px);
  background: #fff;
}
.blob { position: absolute; border-radius: 50%; }
.blob-1 { left: -54px; top: 562px; width: 328px; height: 328px; background: #F26758; filter: blur(302px); }
.blob-2 { left: 815px; top: 450px; width: 460px; height: 460px; background: #FA8A54; filter: blur(302px); }
.blob-3 { left: 154px; top: 430px; width: 361px; height: 361px; background: #FDA75C; filter: blur(197px); }

.hdr {
  position: absolute;
  z-index: 20;
  left: 50px;
  top: 34px;
  width: 1340px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hdr-left { display: flex; align-items: center; gap: 44px; }
.hdr-right { display: flex; align-items: center; gap: 10px; }

.nav { display: flex; align-items: center; gap: 44px; }
.nav a {
  padding: 5px 0 4px;
  border-bottom: 1px solid transparent;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
  transition: border-color .2s ease;
}
.nav a:hover { border-bottom-color: rgba(30, 41, 59, .35); }
.nav a.is-active { border-bottom-color: var(--dark); }

.hero-intro {
  position: absolute;
  z-index: 2;
  left: 316px;
  top: 203px;
  width: 808px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--light);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}
.hero-head {
  width: 808px;
  padding: 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}
.hero-head h1 {
  width: 624px;
  min-height: 140.8px;
  padding: 7.2px 0 5.6px;
  font-weight: 700;
  font-size: 52px;
  line-height: 64px;
  text-align: center;
  text-wrap: balance;
}
.hero-head h1 .accent { color: var(--light); }
.hero-sub { position: relative; top: .8px; width: 624px; font-size: 16px; line-height: 24px; text-align: center; }

/* The hero composition lives in a 1134×912 stage (Figma x 119…1253, y 433…1345). */
.hero-art { position: absolute; left: 119px; top: 433px; width: 1134px; height: 912px; }
.hero-stage { position: absolute; left: 0; top: 0; width: 1134px; height: 912px; }
.hero-stage > * { position: absolute; }

.hero-note {
  left: 180px;
  top: 263px;
  width: 149px;
  height: 36px;
  display: flex;
  align-items: center;
  font-family: 'Mynerve', cursive;
  font-size: 14px;
  line-height: 18px;
}
.hero-arrow { left: 63px; top: 228px; width: 144px; height: 76px; }

.phone { left: 395px; top: 70.59px; width: 412px; height: 842px; }
.phone-frame { position: absolute; left: 0; top: 0; width: 412px; height: 842px; }
.phone-screen { position: absolute; left: 22px; top: 17.41px; width: 371px; height: 806px; border-radius: 52px; }

.mini-card {
  left: 962px;
  top: 82px;
  width: 172px;
  height: 234px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--light);
}
.mini-card > * { position: absolute; }
.mc-dot { border-radius: 50%; background: #F0E8D3; }
.mc-dot-1 { left: 8px; top: 45px; width: 53px; height: 53px; }
.mc-dot-2 { left: 106px; top: 122px; width: 19px; height: 19px; }
.mc-shadow { left: 31px; top: 139px; width: 60px; height: 3px; border-radius: 50%; background: rgba(0, 0, 0, .7); filter: blur(4.5px); }
.mc-mascot { left: 8px; top: 43px; width: 106px; height: 106px; object-fit: contain; }
.mc-user { left: 8px; top: 8px; display: flex; align-items: center; gap: 7px; }
.mc-user img { width: 30px; height: 30px; border-radius: 50%; }
.mc-user div { display: flex; flex-direction: column; font-size: 12px; line-height: 15px; }
.mc-user b { font-weight: 500; }
.mc-user span { color: var(--light); opacity: .5; }
.mc-battery { left: 121px; top: 69px; width: 32px; height: 58px; }
.mc-level { left: 17px; top: 150px; height: 18px; display: flex; align-items: center; gap: 4px; }
.mc-level span { width: 95px; font-size: 10px; line-height: 12px; }
.mc-level i {
  width: 38px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #F6C34C;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 17px;
  font-style: normal;
}
.mc-tiles { left: 8px; top: 175.5px; width: 156px; display: flex; gap: 2px; }
.mc-tile {
  position: relative;
  flex: 1;
  height: 51px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 10px;
  background: var(--bg);
}
.mc-tile b { font-weight: 600; font-size: 14px; line-height: 17px; }
.mc-tile span { font-weight: 300; font-size: 10px; line-height: 12px; }
.mc-tile img { position: absolute; right: 9.5px; top: 9.5px; width: 7px; height: 7px; }

.chart-card {
  left: 747px;
  top: 258px;
  width: 350px;
  height: 209px;
  border-radius: 14px;
  background: #FAF8F3;
  box-shadow: inset 0 0 0 1px var(--light);
}
.chart-card > * { position: absolute; }
.cc-head {
  left: 14px;
  top: 14px;
  width: 320px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
}
.cc-pill {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 13px;
  border: 1px solid var(--light);
  border-radius: 30px;
  background: #fff;
  font-weight: 400;
}
.cc-axis {
  left: 14px;
  top: 42px;
  width: 26px;
  height: 139px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cc-axis span,
.cc-dates span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 10px;
  line-height: 20px;
}
.cc-axis span { width: 26px; height: 20px; }
.cc-bars { left: 50px; top: 75px; width: 286px; height: 102px; display: flex; align-items: flex-end; gap: 5px; }
.cc-bars i { flex: 1; display: block; border-radius: 4px 4px 2px 2px; background: var(--orange); }
.cc-dates { left: 50px; top: 181px; width: 286px; height: 14px; display: flex; align-items: center; justify-content: space-between; }
.cc-dates span { width: 27px; height: 14px; }

.btn-light {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--light), 0 1px 4px rgba(32, 41, 76, .1);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  transition: transform .15s ease;
}
.btn-light:hover { transform: translateY(-1px); }
.btn-light .ico-android { width: 24px; height: 24px; }
.btn-ios { left: 118px; top: 38px; }
.btn-android { left: 190px; top: 101px; }

.hero-bubble {
  left: 920.66px;
  top: 0;
  width: 132.098px;
  height: 116.683px;
  object-fit: cover;
  transform: rotate(17.2822deg);
  transform-origin: 0 0;
}

.badge-appstore {
  left: 0;
  top: 316px;
  width: 162px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 16px;
  background: var(--black);
  color: #fff;
  white-space: nowrap;
}
.badge-appstore .ico-apple { width: 20px; }
.badge-text { width: 103px; display: flex; flex-direction: column; }
.badge-text small { font-weight: 300; font-size: 12px; line-height: 24px; text-align: center; }
.badge-text b { margin-top: -8px; font-weight: 500; font-size: 16px; line-height: 24px; }

.reminder {
  left: 146px;
  top: 511px;
  width: 350px;
  height: 292px;
  padding: 34px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 2px 4px 10px rgba(39, 31, 18, .1), inset 0 1px 0 #fff;
}
.reminder-pic { width: 106px; height: 80px; border-radius: 53px; object-fit: cover; }
.reminder-text { width: 274px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.reminder-text b { font-weight: 700; font-size: 18px; line-height: 26px; }
.reminder-text span { font-size: 14px; line-height: 17px; margin: -2.9px 0 -4.3px; }
.reminder-btn {
  width: 284px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 75px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
}
.reminder-close {
  position: absolute;
  left: 306px;
  top: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 75px;
  background: #fff;
  color: var(--red);
}

/* Why Emotio is special ------------------------------------------------- */

.special { left: 0; top: 1374px; width: 1440px; height: 1232px; }
.special > * { position: absolute; }

.special-glow {
  left: 321px;
  top: 450px;
  width: 709px;
  height: 499px;
  background: linear-gradient(270deg, #AE2408 0%, #FF5800 100%);
  opacity: .3;
  filter: blur(99px);
  pointer-events: none;
}
.special-title {
  left: .5px;
  top: 112px;
  width: 1440px;
  font-weight: 700;
  font-size: 36px;
  line-height: 64px;
  text-align: center;
}
.special-sub {
  left: .5px;
  top: 188px;
  width: 1440px;
  margin-top: -3.1px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
}

.tabs {
  left: 395.5px;
  top: 265px;
  width: 650px;
  height: 48px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 3px 4px;
  border: 1px solid var(--light);
  border-radius: 10px;
}
.tabs button {
  flex: none;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.tabs button:nth-child(1) { width: 152px; }
.tabs button:nth-child(2) { width: 126px; }
.tabs button:nth-child(3) { width: 111px; }
.tabs button:nth-child(4) { width: 125px; }
.tabs button:nth-child(5) { width: 106px; }
.tabs button:hover { background: #FAF8F3; }
.tabs button.is-active { height: 38px; background: var(--bg); font-size: 12px; line-height: 26px; }

.checkin-card {
  left: 500px;
  top: 377px;
  width: 440px;
  height: 480px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(24, 24, 27, .06), 0 0 0 1px rgba(24, 24, 27, .04);
}
.checkin-card > * { position: absolute; }
.ck-inner { left: 12px; top: 12px; width: 416px; height: 456px; border-radius: 8px; background: var(--bg); }
.ck-pic { left: 110px; top: 32px; width: 218px; height: 192px; object-fit: cover; }
.ck-step {
  left: 198.5px;
  top: 232px;
  width: 41px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  background: #fff;
  font-size: 14px;
  line-height: 17px;
}
.ck-question {
  left: 44px;
  top: 268px;
  width: 350px;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}
.ck-slider { left: 45px; top: 342px; width: 350px; height: 32px; }
.ck-track, .ck-fill { position: absolute; left: 0; top: 12px; height: 8px; border-radius: 4px; }
.ck-track { width: 350px; background: #fff; }
.ck-fill { width: 242px; background: var(--orange); }
.ck-knob {
  position: absolute;
  left: 219px;
  top: -4px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(254, 129, 75, .25);
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  line-height: 26px;
}
.ck-next {
  left: 146px;
  top: 392px;
  width: 147px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 75px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
}

.features { left: 0; top: 0; width: 0; height: 0; }
.fcard {
  position: absolute;
  width: 320px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 20px;
  background: #fff;
  transition: box-shadow .25s ease;
}
.fcard.is-highlighted { box-shadow: 0 0 0 2px rgba(255, 92, 42, .45), 0 12px 32px rgba(255, 92, 42, .12); }
.fcol { position: absolute; top: 386px; width: 320px; display: flex; flex-direction: column; gap: 40px; }
.fcol-left  { left: 50px; }
.fcol-right { left: 1070px; }
.fcol .fcard { position: relative; }
.fcard-care { left: 560px; top: 921px; }
.fcard-top { min-height: 90px; display: flex; flex-direction: column; gap: 14px; }
.fcard-care .fcard-top { min-height: 110px; }
.fcard-head { position: relative; height: 48px; }
.fcard-ico {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 36px;
  height: 36px;
  padding: 6px;
  display: flex;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
}
.fcard h3 {
  position: absolute;
  left: 55px;
  top: 13px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  white-space: nowrap;
}
.fcard h4 { position: relative; top: .8px; font-weight: 500; font-size: 16px; line-height: 20px; }
.fcard-care h4 { width: 267px; }
.fcard p { font-size: 14px; line-height: 17px; margin: -2.9px 0 -4.3px; }
.fcard-diary p { margin-right: -4px; }

/* Why choose Emotio ----------------------------------------------------- */

.choose { left: 0; top: 2606px; width: 1440px; height: 502px; }
.choose-title {
  position: absolute;
  left: -3.5px;
  top: 36px;
  width: 1440px;
  font-weight: 700;
  font-size: 36px;
  line-height: 64px;
  text-align: center;
}
.choose-cards { position: absolute; left: 105px; top: 142px; display: flex; gap: 24px; }
.ccard { position: relative; flex: none; width: 392px; height: 280.39px; border-radius: 24px; overflow: hidden; }
.ccard-1 { background: #FEF0E7; }
.ccard-2 { background: #F5F1E7; }
.ccard-3 { background: #FEECE3; }
.ccard-ico {
  position: absolute;
  left: 40px;
  top: 40px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 80px rgba(0, 0, 0, .06);
}
.ccard-body { position: absolute; display: flex; flex-direction: column; }
.ccard h3 { font-weight: 500; font-size: 18px; line-height: 22px; }
.ccard p { font-size: 14px; line-height: 17px; margin: -3.72px 0 -3.48px; }
.ccard-1 .ccard-body { left: 40px; top: 147.7px; width: 289.59px; gap: 12px; }
.ccard-1 h3 { min-height: 24px; padding-top: 1px; }
.ccard-2 .ccard-body { left: 38px; top: 130px; width: 315px; gap: 10px; }
.ccard-2 h3 { width: 224px; }
.ccard-3 .ccard-body { left: 40px; top: 149.7px; width: 299px; gap: 10px; }

/* How Emotio fits into your everyday life ------------------------------- */

.fits {
  left: 50px;
  top: 3108px;
  width: 1340px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fits-pic { flex: none; width: 620px; height: 420px; border-radius: 40px; overflow: hidden; background: #FEF0E7; }
.fits-pic img { width: 100%; height: 100%; object-fit: cover; }
.fits-text { width: 611px; display: flex; flex-direction: column; gap: 24px; }
.fits h2 { font-weight: 700; font-size: 36px; line-height: 48px; }
.fits p { position: relative; top: .6px; font-size: 16px; line-height: 24px; }

/* Video ----------------------------------------------------------------- */

.video {
  left: 50px;
  top: 3608px;
  width: 1340px;
  height: 570px;
  border-radius: 40px;
  overflow: hidden;
  background: #FEF0E7;
}
.video-el { display: block; width: 100%; height: 100%; object-fit: cover; background: #FEF0E7; }
.video-play {
  position: absolute;
  left: calc(50% - 30px);
  top: calc(50% - 30px);
  width: 60px;
  height: 60px;
  color: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}
.video-play:hover { transform: scale(1.06); }
.video.is-playing .video-play { display: none; }
.video-soon {
  position: absolute;
  left: 50%;
  top: calc(50% + 48px);
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(14, 14, 17, .72);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

/* What experts recommend ------------------------------------------------ */

.experts { left: 124px; top: 4263px; width: 1192px; height: 687.75px; }
.experts > * { position: absolute; }
.experts-glow {
  left: 102px;
  top: 135.8px;
  width: 988px;
  height: 432px;
  background: linear-gradient(270deg, #AE2408 0%, #FF5800 100%);
  opacity: .2;
  filter: blur(99px);
  pointer-events: none;
}
.experts-title {
  left: .5px;
  top: 8px;
  width: 1192px;
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
}
.experts-sub {
  left: 242px;
  top: 72px;
  width: 709px;
  margin-top: -2.9px;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}
.posts { left: 0; top: 190.37px; display: flex; gap: 32px; }
.post {
  position: relative;
  flex: none;
  width: 376px;
  height: 497.38px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(24, 24, 27, .04);
}
.post > img { position: absolute; left: 12px; top: 12px; width: 352px; height: 248px; border-radius: 8px; object-fit: cover; }
.post-text { position: absolute; left: 32px; top: 294px; width: 310.12px; display: flex; flex-direction: column; gap: 14px; }
.post-head { display: flex; flex-direction: column; gap: 12px; }
.post time { position: relative; top: .6px; height: 15px; display: flex; align-items: center; font-size: 12px; line-height: 26px; }
.post h3 { position: relative; top: .6px; height: 62.79px; display: flex; align-items: center; font-weight: 500; font-size: 18px; line-height: 22px; }
.post-body { display: flex; align-items: center; }
.post-body p {
  font-size: 14px;
  line-height: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-1 .post-text { gap: 16px; }
.post-1 time { width: 90px; height: 26px; }
.post-1 h3 { width: 292.34px; height: 66px; }
.post-1 .post-body { height: 56px; }
.post-2 h3 { width: 284.47px; }
.post-2 .post-body { height: 55px; }
.post-3 .post-body { height: 64.59px; }

/* Footer ---------------------------------------------------------------- */

.ftr { left: 0; top: 5071px; width: 1440px; height: 423px; }
.ftr-brand { position: absolute; left: 158px; top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 19px; }
.ftr-tagline { min-height: 24px; display: flex; align-items: center; font-weight: 500; font-size: 18px; line-height: 22px; }
.ftr-actions { display: flex; align-items: center; gap: 10px; }

.ftr-links {
  position: absolute;
  left: 1018px;
  top: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 171.57px auto;
  grid-template-rows: repeat(5, 20px);
  row-gap: 23.8px;
}
.ftr-links a,
.copyright,
.ftr-meta a {
  display: flex;
  align-items: center;
  height: 20px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.09px;
  color: var(--grey-text);
  white-space: nowrap;
}
.ftr-links a:hover,
.ftr-meta a:hover { color: var(--dark); }

.ftr-bottom { position: absolute; left: 50px; top: 304px; width: 1340px; height: 70px; border-top: 1px solid var(--line); }
.copyright { position: absolute; left: 0; top: 45px; display: block; line-height: 20px; }
.copyright a { font-weight: 500; color: #18181B; }
.ftr-meta { position: absolute; right: .3px; top: 45px; height: 20px; display: flex; align-items: center; }
.ftr-divider { width: 1px; height: 16px; margin: 0 23.3px 0 24.3px; background: var(--line); }

/* ═══ Mobile & tablet (< 1024px) ════════════════════════════════════════ */

@media (max-width: 1023.98px) {
  .page { width: auto; height: auto; overflow-x: clip; }
  .page > section,
  .page > footer { position: relative; left: auto; top: auto; width: auto; height: auto; }

  .hero { padding-bottom: 8px; }
  .hero-bg { left: 6px; right: 6px; width: auto; top: 4px; height: calc(100% - 160px); border-radius: 18px; clip-path: inset(0 round 18px); }
  .blob-1 { left: -30%; top: 38%; width: 70vw; height: 70vw; filter: blur(110px); }
  .blob-2 { left: 55%; top: 30%; width: 90vw; height: 90vw; filter: blur(120px); }
  .blob-3 { left: 5%; top: 25%; width: 70vw; height: 70vw; filter: blur(90px); }

  .hdr { position: relative; left: auto; top: auto; width: auto; height: 72px; margin: 0 16px; padding-top: 12px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { width: auto; font-size: 24px; line-height: 30px; }
  .hdr-right { gap: 8px; }
  .hdr-right > .stores { display: none; }
  .lang-btn { width: 84px; height: 44px; padding: 0 13px; border-radius: 12px; }
  .lang-list { width: 84px; }

  .burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    border: 1px solid var(--light);
    border-radius: 12px;
    background: #fff;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .2s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--light);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(30, 41, 59, .12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 12px; border: 0; border-radius: 10px; font-size: 17px; }
  .nav a.is-active { background: var(--bg); }

  .hero-intro { position: relative; left: auto; top: auto; width: auto; padding: 28px 16px 0; gap: 20px; }
  .rating { height: 38px; padding: 6px 14px; font-size: 13px; }
  .hero-head { width: auto; padding: 0; }
  .hero-head h1 { width: auto; max-width: 560px; min-height: 0; padding: 0; font-size: clamp(30px, 8vw, 44px); line-height: 1.22; }
  .hero-sub { width: auto; max-width: 520px; font-size: 15px; }
  .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hero-cta .btn-dark { height: 48px; padding: 12px 16px; }

  /* Mobile composition: a 680×1000 re-arrangement of the hero, scaled by --s. */
  .hero-art { position: relative; left: auto; top: auto; width: auto; height: calc(1000px * var(--s)); margin-top: 28px; }
  .hero-stage { left: 50%; width: 680px; height: 1000px; margin-left: calc(-340px * var(--s)); transform: scale(var(--s)); transform-origin: 0 0; }
  .hero-note, .hero-arrow, .btn-ios, .btn-android, .badge-appstore { display: none; }
  .phone { left: 134px; top: 40px; }
  .hero-bubble { left: 516px; top: 0; }
  .mini-card { left: 508px; top: 92px; }
  .chart-card { left: 340px; top: 600px; }
  .reminder { left: 0; top: 700px; }

  .special { padding: 72px 16px 0; }
  .special > * { position: relative; left: auto; top: auto; width: auto; }
  .special-glow { position: absolute; left: 10%; top: 360px; width: 80%; height: 420px; filter: blur(80px); }
  .special-title { font-size: 28px; line-height: 36px; }
  .special-sub { margin-top: 10px; font-size: 16px; }
  .tabs {
    width: fit-content;
    max-width: 100%;
    margin: 24px auto 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .checkin-card {
    left: 50%;
    width: 440px;
    margin: 32px 0 calc(480px * (var(--cs) - 1)) -220px;
    transform: scale(var(--cs));
    transform-origin: 50% 0;
  }
  .features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; height: auto; }
  .fcol { display: contents; }
  .fcard { position: relative; left: auto; top: auto; width: auto; box-shadow: 0 8px 32px rgba(24, 24, 27, .06), 0 0 0 1px rgba(24, 24, 27, .04); }
  .fcard-top, .fcard-care .fcard-top { min-height: 0; }
  .fcard-care h4 { width: auto; }
  .fcard h3 { white-space: normal; }

  .choose { padding: 72px 16px 0; }
  .choose-title { position: static; width: auto; font-size: 28px; line-height: 36px; }
  .choose-cards { position: static; margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .ccard { width: auto; height: auto; min-height: 0; padding: 32px 28px; }
  .ccard-ico { position: static; }
  .ccard-body, .ccard-1 .ccard-body, .ccard-2 .ccard-body, .ccard-3 .ccard-body { position: static; width: auto; margin-top: 28px; gap: 12px; }
  .ccard-1 h3 { min-height: 0; padding: 0; }
  .ccard-2 h3 { width: auto; }

  .fits { margin: 72px 16px 0; flex-direction: column; align-items: stretch; gap: 28px; }
  .fits-pic { width: auto; height: auto; aspect-ratio: 620 / 420; border-radius: 28px; }
  .fits-text { width: auto; gap: 18px; }
  .fits h2 { font-size: 28px; line-height: 36px; }
  .fits p { font-size: 15px; }

  .video { margin: 56px 16px 0; aspect-ratio: 4 / 3; border-radius: 28px; }

  .experts { margin: 72px 16px 0; }
  .experts > * { position: relative; left: auto; top: auto; width: auto; }
  .experts-glow { position: absolute; left: 5%; top: 200px; width: 90%; height: 60%; filter: blur(80px); }
  .experts-title { font-size: 28px; line-height: 36px; }
  .experts-sub { margin-top: 14px; }
  .posts { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
  .post { width: auto; height: auto; padding: 12px 12px 28px; }
  .post > img { position: static; width: 100%; height: auto; aspect-ratio: 352 / 248; }
  .post-text, .post-1 .post-text { position: static; width: auto; padding: 24px 12px 0; gap: 12px; }
  .post time, .post-1 time { width: auto; height: auto; line-height: 20px; }
  .post h3, .post-1 h3, .post-2 h3 { width: auto; height: auto; }
  .post-body, .post-1 .post-body, .post-2 .post-body, .post-3 .post-body { height: auto; }

  .ftr { margin: 72px 16px 0; padding-bottom: 32px; }
  .ftr-brand { position: static; }
  .ftr-actions { flex-wrap: wrap; }
  .ftr-links { position: static; margin-top: 36px; grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .ftr-bottom { position: static; width: auto; height: auto; margin-top: 36px; padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
  .copyright, .ftr-meta { position: static; }
  .ftr-divider { margin: 0 16px; }
}

@media (max-width: 420px) {
  .hero-cta .btn-dark { flex: 1 1 0; justify-content: center; }
}
