/* =====================================================================
   每日一步 · 官网 Landing Page
   设计令牌对齐 App v2「纸底 + 墨 + 赤陶」体系：色值取自
   apps/harmony/.../base/element/color.json 与 iOS DesignSystem/Theme.swift，
   字体取自 App 同款 rawfile（子集化脚本 tools/build-fonts.py）。
   ===================================================================== */

/* 衬线：标题 / 引语 / 大数字（App 同款 Noto Serif SC，490 字子集 140 KB） */
@font-face {
  font-family: 'Noto Serif SC Subset';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/noto-serif-sc-subset.woff2') format('woff2');
}
/* 拉丁与数字：Nunito 可变字重 */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/nunito-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215;
}

:root {
  /* 纸与面 */
  --bg: #F4F2EE;              /* 纸底 */
  --bg-alt: #F9F7F3;          /* 次级纸面（区块交替） */
  --surface: #FFFFFF;         /* 白面卡片 */
  --line: rgba(27, 26, 24, .08);   /* hairline */
  --line2: rgba(27, 26, 24, .16);  /* 输入框等实边 */

  /* 墨（文字三级灰阶） */
  --ink: #1B1A18;
  --t2: #6E6A64;
  --t3: #9A958D;

  /* 赤陶（唯一强调色） */
  --ac: #B5542D;
  --ac-bright: #C9713F;
  --ac-soft: rgba(181, 84, 45, .10);

  /* 墨底之上（反白 = 纸色） */
  --on-ink: #F4F2EE;
  --on-ink-muted: rgba(244, 242, 238, .68);
  --on-ink-faint: rgba(244, 242, 238, .42);

  /* 阴影：v2 克制，只给设备图与浮层 */
  --shadow-phone: drop-shadow(0 30px 50px rgba(27, 26, 24, .18));
  --shadow-phone-sm: drop-shadow(0 24px 42px rgba(27, 26, 24, .14));

  --maxw: 1180px;
  --pad-x: 40px;

  /* 字体三件套：衬线标题 + 系统苹方正文 + Nunito 数字（与 App 一致） */
  --font-serif: 'Noto Serif SC Subset', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
               'Microsoft YaHei', system-ui, sans-serif;
  --font-display: 'Nunito', var(--font-body);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 0; height: 0; }

a { color: inherit; }
img { max-width: 100%; }

input::placeholder { color: var(--t3); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 进入视口时的渐显（IntersectionObserver 添加 .in-view）。
   仅在 JS 启用（html.js-anim）时隐藏，保证无 JS / JS 失败时内容始终可见。 */
.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,0,0,1), transform .7s cubic-bezier(.2,0,0,1); }
.js-anim .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .hero__copy { animation: none !important; }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* 锚点滚动时为 sticky 顶栏留出余量 */
section[id], div[id] { scroll-margin-top: 84px; }

[hidden] { display: none !important; }

/* 区块通用标签 */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--t3);
  font-family: var(--font-display);
  margin-bottom: 18px;
}
.eyebrow--center { text-align: center; }
.eyebrow--mint { color: var(--on-ink-faint); }

.section-title {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 58px;
  font-weight: 600;
  letter-spacing: -.2px;
  margin: 0 0 56px;
}

/* =========================== NAV =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 238, .86);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 13px;
  overflow: hidden; flex-shrink: 0; display: block;
  box-shadow: 0 1px 3px rgba(27, 26, 24, .12);
}
.brand__mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.brand__name { font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: .5px; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  text-decoration: none;
  color: var(--t2);
  font-size: 15px;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); font-weight: 600; }

.btn-pill {
  text-decoration: none;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(27, 26, 24, .22); }

/* =========================== HERO =========================== */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__ridge {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 240px; opacity: .05;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px var(--pad-x) 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { animation: fadeUp .6s cubic-bezier(.2,0,0,1); }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--t2);
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.badge__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ac); }

.hero__title {
  font-family: var(--font-serif);
  font-size: 58px; line-height: 78px; font-weight: 600;
  letter-spacing: -.2px; margin: 0 0 24px;
}
.hero__title em { font-style: normal; color: var(--ac); }
.hero__sub {
  font-size: 20px; line-height: 32px; color: var(--t2);
  margin: 0 0 36px; max-width: 520px; text-wrap: pretty;
}
.hero__phone { display: flex; justify-content: center; }
.hero__phone img { height: 650px; width: auto; display: block; filter: var(--shadow-phone); }

/* CTA · 候补名单表单 */
.waitlist { max-width: 480px; }
.waitlist__row { display: flex; gap: 10px; margin-bottom: 14px; }
.input {
  flex: 1; min-width: 0; height: 54px; border-radius: 14px;
  border: 1.5px solid var(--line2); background: var(--surface);
  padding: 0 18px; font-size: 16px; color: var(--ink);
  outline: none; font-family: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus { border-color: var(--ac); box-shadow: 0 0 0 4px rgba(181, 84, 45, .12); }
.input.is-error { border-color: #D9534F; box-shadow: 0 0 0 4px rgba(217, 83, 79, .12); }

.btn-accent {
  height: 54px; padding: 0 26px; border: none; border-radius: 14px;
  background: var(--ac); color: #fff; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(181, 84, 45, .26); }
.btn-accent:disabled { opacity: .7; cursor: default; transform: none; box-shadow: none; }

.waitlist__error {
  color: #C9472F; font-size: 13px; margin: -4px 0 12px; min-height: 0;
}
.waitlist__assure {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--t3);
}
.waitlist__assure span { display: flex; align-items: center; gap: 6px; }

.waitlist__done {
  display: flex; align-items: center; gap: 12px; max-width: 480px;
  min-height: 60px; padding: 10px 22px; border-radius: 16px;
  background: var(--ac-soft); border: 1px solid rgba(181, 84, 45, .18); animation: fadeUp .4s ease;
}
.waitlist__done-icon {
  width: 30px; height: 30px; border-radius: 999px; background: var(--ac);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.waitlist__done-text { font-size: 15px; color: var(--ac); font-weight: 600; }

/* CTA · 下载 */
.downloads { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 13px; height: 62px;
  padding: 0 30px; border-radius: 15px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
}
.store-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(27, 26, 24, .20); }
.store-btn--dark { background: var(--ink); color: #fff; }
.store-btn--light { background: var(--surface); border: 1.5px solid var(--line2); color: var(--ink); }
.store-btn__cap { line-height: 1.15; display: flex; flex-direction: column; align-items: flex-start; }
.store-btn__small { display: block; font-size: 12px; opacity: .72; margin-bottom: 1px; }
.store-btn--light .store-btn__small { color: var(--t3); opacity: 1; }
.store-btn__big { display: block; font-size: 18px; font-weight: 600; }
.store-btn__big--nunito { font-family: var(--font-display); }
.downloads__note { margin-top: 14px; font-size: 13px; color: var(--t3); }

/* =========================== WHY =========================== */
.why { background: var(--bg); border-top: 1px solid var(--line); }
.why .container { padding-top: 104px; padding-bottom: 104px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px;
}
.card__num {
  font-size: 34px; font-weight: 800; font-family: var(--font-display); margin-bottom: 18px;
}
.card__num--gold { color: var(--t3); }
.card__num--accent { color: var(--t3); }
.card__num--green { color: var(--t3); }
.card__title { font-family: var(--font-serif); font-size: 23px; font-weight: 600; margin-bottom: 12px; }
.card__desc { font-size: 17px; line-height: 27px; color: var(--t2); text-wrap: pretty; }

/* =========================== SOLUTION (dark) =========================== */
.solution { position: relative; overflow: hidden; background: var(--ink); }
.solution__ridge {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; opacity: .06;
}
.solution .container { position: relative; padding-top: 108px; padding-bottom: 108px; }
.solution__title {
  font-family: var(--font-serif);
  font-size: 48px; line-height: 68px; font-weight: 600; letter-spacing: -.2px;
  color: var(--on-ink); margin: 0; max-width: 1000px;
}
.solution__sub {
  font-size: 22px; line-height: 38px; color: var(--on-ink-muted);
  margin: 30px 0 0; max-width: 1040px; text-wrap: pretty;
}
.chips { display: flex; gap: 14px; margin-top: 46px; flex-wrap: wrap; }
.chip {
  height: 54px; padding: 0 30px; border-radius: 999px;
  background: rgba(244, 242, 238, .09); color: var(--on-ink);
  font-family: var(--font-serif); font-size: 18px; font-weight: 600;
  display: flex; align-items: center;
}

/* =========================== CORE LOOP =========================== */
.loop { background: var(--bg); }
.loop .container { padding-top: 104px; padding-bottom: 104px; }
.loop__track { display: flex; align-items: stretch; gap: 14px; }
.loop__step {
  flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 30px 26px;
}
.loop__num { font-size: 20px; font-weight: 700; font-family: var(--font-display); margin-bottom: 14px; }
.loop__num--green { color: var(--t3); }
.loop__num--accent { color: var(--t3); }
.loop__num--gold { color: var(--ac); }
.loop__step-title { font-family: var(--font-serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.loop__step-desc { font-size: 16px; line-height: 25px; color: var(--t2); }
.loop__arrow { display: flex; align-items: center; color: rgba(27, 26, 24, .22); flex-shrink: 0; }
.loop__note {
  display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--ac);
}
.loop__note span { font-size: 18px; font-weight: 600; text-wrap: pretty; }

/* =========================== FEATURES =========================== */
.features { background: var(--bg-alt); border-top: 1px solid var(--line); }
.features__head { max-width: var(--maxw); margin: 0 auto; padding: 104px var(--pad-x) 40px; }
.features__title {
  font-family: var(--font-serif);
  font-size: 44px; line-height: 58px; font-weight: 600; letter-spacing: -.2px;
  margin: 0 auto 8px; text-align: center;
}
.features__lead {
  font-size: 19px; line-height: 30px; color: var(--t2);
  text-align: center; max-width: 660px; margin: 0 auto;
}
.feature { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--pad-x); }
.feature--last { padding-bottom: 96px; }
.feature__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature__media { display: flex; justify-content: center; }
.feature__media img { height: 600px; width: auto; display: block; filter: var(--shadow-phone-sm); }
.feature__tag {
  font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--ac);
  font-family: var(--font-display); margin-bottom: 18px;
}
.feature__title {
  font-family: var(--font-serif);
  font-size: 36px; line-height: 52px; font-weight: 600; letter-spacing: -.2px; margin: 0 0 20px;
}
.feature__desc {
  font-size: 18px; line-height: 30px; color: var(--t2); margin: 0 0 26px; text-wrap: pretty;
}
.bullets { display: flex; flex-direction: column; gap: 13px; }
.bullet { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.bullet__dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.bullet__dot--green { background: var(--t3); }
.bullet__dot--accent { background: var(--ac); }
.bullet__dot--gold { background: var(--t3); }

/* =========================== PRINCIPLES =========================== */
.principles .container { padding-top: 104px; padding-bottom: 104px; }
.principles--dark { background: var(--ink); }
.principles--light { background: var(--bg); border-top: 1px solid var(--line); }
.principles__title {
  font-family: var(--font-serif);
  font-size: 44px; line-height: 58px; font-weight: 600; letter-spacing: -.2px; margin: 0 0 56px;
}
.principles--dark .principles__title { color: var(--on-ink); }
.pcard { border-radius: 22px; padding: 36px; }
.principles--dark .pcard { background: rgba(244, 242, 238, .05); border: 1px solid rgba(244, 242, 238, .12); }
.principles--light .pcard { background: var(--surface); border: 1px solid var(--line); }
.pcard__title { font-family: var(--font-serif); font-size: 25px; font-weight: 600; margin-bottom: 14px; }
.principles--dark .pcard__title { color: var(--on-ink); }
.pcard__desc { font-size: 17px; line-height: 27px; text-wrap: pretty; }
.principles--dark .pcard__desc { color: var(--on-ink-muted); }
.principles--light .pcard__desc { color: var(--t2); }

/* =========================== PRICING =========================== */
.pricing { background: var(--bg); border-top: 1px solid var(--line); }
.pricing .container { padding-top: 104px; padding-bottom: 104px; }
.pricing__title {
  font-family: var(--font-serif);
  font-size: 44px; line-height: 58px; font-weight: 600; letter-spacing: -.2px;
  margin: 0 auto 12px; text-align: center;
}
.pricing__lead {
  font-size: 19px; line-height: 30px; color: var(--t2);
  text-align: center; max-width: 640px; margin: 0 auto 56px;
}
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { border-radius: 24px; padding: 38px; }
.plan--free { background: var(--surface); border: 1px solid var(--line); }
.plan--pro { position: relative; background: var(--ink); overflow: hidden; }
.plan__badge {
  position: absolute; top: 30px; right: 30px; height: 28px; padding: 0 13px;
  border-radius: 999px; background: var(--ac); color: var(--on-ink);
  font-size: 12px; font-weight: 600; display: flex; align-items: center;
}
.plan__label { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.plan--free .plan__label { color: var(--t3); }
.plan--pro .plan__label { color: var(--on-ink-faint); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan__price-num { font-size: 44px; font-weight: 700; font-family: var(--font-display); }
.plan--pro .plan__price-num { font-family: var(--font-serif); font-size: 32px; color: var(--on-ink); }
.plan__price-unit { font-size: 16px; color: var(--t3); }
.plan__caption { font-size: 15px; margin-bottom: 28px; }
.plan--free .plan__caption { color: var(--t2); }
.plan--pro .plan__caption { color: var(--on-ink-muted); }
.plan__feats { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.plan__feat { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; }
.plan--free .plan__feat { color: var(--ink); }
.plan--pro .plan__feat { color: var(--on-ink); }
.plan__feat svg { flex-shrink: 0; margin-top: 2px; }
.plan__cta {
  text-decoration: none; height: 50px; border-radius: 13px;
  font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .2s ease;
}
.plan__cta:hover { transform: translateY(-1px); }
.plan__cta--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.plan__cta--gold { background: var(--ac); color: var(--on-ink); font-weight: 600; }

/* =========================== CLOSING CTA =========================== */
.closing { position: relative; overflow: hidden; background: var(--ink); }
.closing__ridge {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; opacity: .07;
}
.closing .container { position: relative; padding-top: 120px; padding-bottom: 120px; text-align: center; }
.closing__title {
  font-family: var(--font-serif);
  font-size: 50px; line-height: 74px; font-weight: 600; letter-spacing: -.2px;
  color: var(--on-ink); margin: 0 auto; max-width: 900px; text-wrap: pretty;
}
.closing__sub {
  font-size: 20px; line-height: 32px; color: var(--on-ink-muted);
  margin: 26px auto 44px; max-width: 560px;
}
.closing__sub[hidden] { display: none; }
.closing .waitlist { margin: 0 auto; }
.closing .waitlist__row { margin: 0 auto 16px; }
.closing .input {
  border: 1px solid rgba(244, 242, 238, .18); background: rgba(244, 242, 238, .07); color: var(--on-ink);
}
.closing .input:focus { border-color: var(--ac-bright); box-shadow: 0 0 0 4px rgba(201, 113, 63, .22); }
.closing__assure { font-size: 13px; color: var(--on-ink-faint); }
.closing .btn-accent { height: 56px; }
.closing .input { height: 56px; }
.closing__done {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 26px;
  border-radius: 16px; background: rgba(244, 242, 238, .07); border: 1px solid rgba(244, 242, 238, .18);
  animation: fadeUp .4s ease;
}
.closing__done-icon {
  width: 30px; height: 30px; border-radius: 999px; background: var(--ac);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.closing__done-text { font-size: 16px; color: var(--on-ink); font-weight: 600; }
.closing__download {
  text-decoration: none; display: inline-flex; align-items: center; gap: 11px; height: 58px;
  padding: 0 30px; border-radius: 14px; background: var(--ac); color: var(--on-ink);
  font-size: 17px; font-weight: 600; transition: transform .15s ease;
}
.closing__download:hover { transform: translateY(-1px); }

/* =========================== FOOTER =========================== */
.footer { background: var(--ink); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 40px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__mark {
  width: 36px; height: 36px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(244, 242, 238, .14);
  display: block; flex-shrink: 0;
}
.footer__mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.footer__name { font-family: var(--font-serif); font-size: 15px; font-weight: 600; letter-spacing: .5px; color: var(--on-ink); }
.footer__links { display: flex; align-items: center; gap: 28px; }
.footer__link { text-decoration: none; color: var(--on-ink-faint); font-size: 14px; }
.footer__link:hover { color: var(--on-ink); }
.footer__copy { font-size: 13px; color: var(--on-ink-faint); font-family: var(--font-display); }
.footer__icp { color: var(--on-ink-faint); text-decoration: none; margin-left: 10px; }
.footer__icp:hover { color: var(--on-ink); }

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 1080px) {
  .hero__title { font-size: 52px; line-height: 62px; }
  .solution__title { font-size: 44px; line-height: 56px; }
  .closing__title { font-size: 46px; line-height: 58px; }
  .hero__phone img { height: 560px; }
  .feature__media img { height: 540px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav__links { gap: 0; }
  .nav__link { display: none; }            /* 窄屏隐藏文字导航，仅保留 CTA */
  .nav__cta { display: inline-flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px var(--pad-x) 64px; }
  .hero__phone { order: -1; }
  .hero__phone img { height: 460px; }
  .hero__title { font-size: 44px; line-height: 54px; }
  .hero__sub { font-size: 18px; line-height: 29px; }

  .section-title, .features__title, .pricing__title, .principles__title { font-size: 36px; line-height: 46px; }
  .solution__title { font-size: 36px; line-height: 46px; }
  .solution__sub { font-size: 19px; line-height: 32px; }
  .closing__title { font-size: 38px; line-height: 48px; }

  .cards-3 { grid-template-columns: 1fr; }

  .loop__track { flex-direction: column; }
  .loop__arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }

  .feature__grid { grid-template-columns: 1fr; gap: 32px; }
  .feature__media { order: -1 !important; }
  .feature__media img { height: 480px; }
  .feature__title { font-size: 30px; line-height: 40px; }

  .plans { grid-template-columns: 1fr; max-width: 460px; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --pad-x: 18px; }
  .why .container, .loop .container, .principles .container, .pricing .container { padding-top: 72px; padding-bottom: 72px; }
  .solution .container { padding-top: 76px; padding-bottom: 76px; }
  .closing .container { padding-top: 84px; padding-bottom: 84px; }
  .features__head { padding-top: 72px; }

  .hero__title { font-size: 38px; line-height: 47px; }
  .hero__phone img { height: 400px; }
  .feature__media img { height: 420px; }

  .waitlist__row { flex-direction: column; }
  .input, .btn-accent { width: 100%; }
  .btn-accent { padding: 0 20px; }

  .section-title, .features__title, .pricing__title, .principles__title, .solution__title { font-size: 30px; line-height: 39px; }
  .closing__title { font-size: 31px; line-height: 40px; }
  .card { padding: 28px; }
  .plan { padding: 28px; }
  .chip { font-size: 16px; height: 48px; padding: 0 22px; }

  .footer__links { flex-wrap: wrap; gap: 16px 22px; }
}
