/* ============================================================
   推我一把 / Nudge Me —— 样式表
   ------------------------------------------------------------
   这一版的设计参数不是凭感觉定的，是扒了 6 个真实站点之后定的
   （见 tools/grab-references.mjs，输出在 .refs/design-tokens.json）：

     站点        底色        正文墨色      圆角        字重
     Linear      #08090a     #f7f8f8      8/12+9999   400 510 590
     Stripe      白          #061b31      4/6         400 500
     Headspace   白          #2d2c2b      16/24/32    400 500 700
     Typeform    #faf9fb     #2a222b      24          400 500 600
     Vercel      #fafafa     #171717      6           400 450 500

   结论（也是上一版"土"的原因）：
   1. 强调色只用 1-3 次。上一版橙色的按钮/标签/圆点/渐变线/数字全都上色，
      一多就变促销感。这一版橙色只出现在：主按钮、那颗小圆点。
   2. 圆角要大。24/32 是"柔和高级"的区间，14px 显硬。
   3. 字重用细腻的过渡（400/500/600），不要 400 跳到 700。
   4. 正文 16px，靠间距拉开层次 —— 不是靠把字放大。
   5. 底色用"近白"（#fbfbfa）而不是纯白，纯白在手机上刺眼。

   移动优先：先写手机，再用 min-width 往上加。
   ============================================================ */

:root {
  /* ---- 近白底：比纯白柔，比米白干净 ---- */
  --bg:        #fbfbfa;
  --surface:   #ffffff;                    /* 卡片 */
  --surface-2: #f6f6f4;                    /* 输入区 / 次级面板 */
  --surface-3: #efefec;                    /* 悬停 */
  --line:      rgba(17, 17, 17, 0.07);
  --line-2:    rgba(17, 17, 17, 0.13);

  /* ---- 墨色：带一点暖的近黑，不用纯黑 ---- */
  --text:   #1a1a18;
  --text-2: #6e6e69;
  --text-3: #9a9a93;

  /* ---- 强调色：只用在主按钮和一个小圆点上 ---- */
  --accent:      #f0f0ec;                  /* 主按钮底色：近白 */
  --accent-ink:  #1a1a18;                  /* 主按钮文字 */
  --hot:         #e4572e;                  /* 唯一一处高饱和色 */
  --hot-soft:    #fdefe9;

  --mint:      #1f7a5c;
  --mint-soft: #edf6f2;
  --warn:      #a8501f;
  --warn-soft: #fbf0e8;

  /* ---- 大圆角：柔和的关键 ---- */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* ---- 阴影极轻，靠 1px 描边定形 ---- */
  --shadow-1: 0 1px 2px rgba(17, 17, 17, 0.04);
  --shadow-2: 0 2px 8px -2px rgba(17, 17, 17, 0.06), 0 1px 2px rgba(17, 17, 17, 0.03);
  --shadow-3: 0 12px 32px -16px rgba(17, 17, 17, 0.14), 0 1px 3px rgba(17, 17, 17, 0.04);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
          "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-quote: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* ============================================================
   背景：不加任何装饰。留白本身就是设计。
   ============================================================ */
.night {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
    var(--bg);
}

.night::after { content: none; }
.night__grid,
.night__grain,
.night__glow { display: none; }

/* ============================================================
   顶栏
   ============================================================ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top)) 20px 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

/* 那颗点：全页唯一的高饱和色，代表"深夜还亮着的一盏灯" */
.brand__mark {
  flex: none;
  width: 7px; height: 7px;
  background: var(--hot);
  border-radius: 50%;
}

.brand__mark svg { display: none; }

.brand__text { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.brand__text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__text em {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.topbar__nav { display: flex; align-items: center; gap: 4px; flex: none; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-2);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}

.pill-btn:hover { color: var(--text); background: var(--surface-2); }

.pill-btn__num {
  min-width: 14px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--text-2);
  background: var(--surface-2);
  border-radius: 999px;
}

/* ============================================================
   版面
   ============================================================ */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* ============================================================
   首屏
   ============================================================ */
.hero { padding: 44px 0 26px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.hero__kicker .dot {
  width: 5px; height: 5px;
  background: var(--hot);
  border-radius: 50%;
  animation: glow 3.6s var(--ease) infinite;
}

@keyframes glow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 7.6vw, 40px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__sub {
  margin: 0;
  max-width: 26em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}

.br-mobile { display: none; }

/* ============================================================
   一、输入区
   ============================================================ */
.ask {
  padding: 18px;
  margin-bottom: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}

.ask__field {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 18px;
  background: var(--surface-2);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.ask__field:focus-within {
  background: var(--surface);
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.ask__prefix {
  flex: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-3);
  user-select: none;
}

.ask__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 0;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  outline: none;
}

.ask__input::placeholder { color: var(--text-3); font-weight: 400; }
.ask__caret { display: none; }

.ask__hint {
  margin: 10px 4px 16px;
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.18s;
}

.ask__hint[data-state="ok"]   { color: var(--text-2); }
.ask__hint[data-state="long"] { color: var(--warn); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 22px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.008em;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background 0.16s, transform 0.14s var(--ease), box-shadow 0.16s, color 0.16s, opacity 0.16s;
}

.btn .icon { width: 17px; height: 17px; flex: none; }

/* 主按钮：深墨底。比饱和色按钮高级，也不抢正文的注意力 */
.btn--primary {
  color: #ffffff;
  background: var(--text);
  box-shadow: var(--shadow-1);
}

.btn--primary:hover { background: #2c2c29; }
.btn--primary:active { transform: scale(0.994); }

.btn--ghost {
  color: var(--text-2);
  background: var(--surface-2);
}

.btn--ghost:hover { color: var(--text); background: var(--surface-3); }

.btn--small { width: auto; padding: 11px 18px; font-size: 14.5px; border-radius: var(--r-sm); }
.btn--icon  { width: auto; flex: none; padding: 15px 16px; }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }

.link-btn {
  padding: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.16s;
}

.link-btn:hover { color: var(--text); }

/* ============================================================
   快速入口
   ============================================================ */
.quick { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }

.quick__label { display: block; margin: 0 4px 10px; font-size: 13px; color: var(--text-3); }
.quick__row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.quick__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-2);
  background: var(--surface-2);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}

.quick__chip svg { display: none; }
.quick__chip:hover { color: var(--text); background: var(--surface-3); }

/* ============================================================
   二、Nudge 卡片
   这是整个产品的主角，所以它最大、最干净、只有它有明显阴影。
   ============================================================ */
.stage { margin-bottom: 36px; }

.stage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.stage__tag { font-size: 13px; color: var(--text-3); }

.note {
  position: relative;
  padding: 30px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
  outline: none;
}

/* 左上角一小段暖色短线：卡片上唯一的颜色 */
.note::before {
  content: "";
  position: absolute;
  top: 30px; left: -2px;
  width: 2px; height: 24px;
  background: var(--hot);
  border-radius: 2px;
}

.note__pin { display: none; }

.note__head { margin-bottom: 16px; }

.note__from {
  font-size: 13px;
  color: var(--text-3);
}

.note__from::before { content: none; }

/* Nudge 正文：宋体。中文里最像"人写的"的字形 */
.note__text {
  margin: 0 0 24px;
  font-family: var(--font-quote);
  font-size: clamp(22px, 6.2vw, 27px);
  font-weight: 600;
  line-height: 1.52;
  letter-spacing: 0.005em;
  color: var(--text);
  text-wrap: balance;
}

.note__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tag {
  display: inline-block;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-2);
  border-radius: 999px;
}

.note__stats { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.note__stats:not(:empty) { margin-left: auto; }

.note.is-swapping { animation: swap 0.4s var(--ease); }

@keyframes swap {
  0%   { opacity: 1; transform: translateY(0); }
  40%  { opacity: 0; transform: translateY(-5px); }
  41%  { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}

.actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.actions__row { display: flex; gap: 8px; }
.actions__row .btn--ghost:not(.btn--icon) { flex: 1 1 auto; }
.actions__row .btn--icon { flex: none; }

.aftercare {
  margin: 14px 0 0;
  padding: 15px 18px;
  font-size: 14.5px;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: var(--r);
  animation: rise 0.32s var(--ease);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.footnote { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }

/* ============================================================
   三、温柔模式
   ============================================================ */
.gentle {
  margin-bottom: 36px;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  animation: rise 0.36s var(--ease);
}

.gentle__title {
  margin: 0 0 16px;
  font-size: clamp(19px, 5.2vw, 22px);
  font-weight: 600;
  line-height: 1.44;
  letter-spacing: -0.022em;
  color: var(--text);
}

.gentle__body { display: flex; flex-direction: column; gap: 10px; }
.gentle__body p { margin: 0; font-size: 15.5px; line-height: 1.74; color: var(--text-2); }

.gentle__light {
  margin: 22px 0 0;
  padding: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text);
  background: var(--surface-2);
  border-radius: var(--r-lg);
}

.gentle__light:empty { display: none; }
.gentle__light li { display: flex; gap: 10px; }
.gentle__light li::before {
  content: "";
  flex: none;
  width: 4px; height: 4px;
  margin-top: 0.7em;
  background: var(--text-3);
  border-radius: 50%;
}

.gentle__resources {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.gentle__resources li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  background: var(--surface-2);
}

.gentle__res-label { font-size: 13px; color: var(--text-2); }
.gentle__res-value { font-size: 16px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.gentle__note { margin: 20px 0 0; font-size: 14px; color: var(--text-3); }
.gentle__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }

/* ============================================================
   四、写一条给别人
   ============================================================ */
.write {
  margin-bottom: 36px;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  animation: rise 0.32s var(--ease);
}

.write__title { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.018em; }
.write__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.72; color: var(--text-2); }

.write__input {
  width: 100%;
  padding: 15px 18px;
  font: inherit;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-2);
  border: 1.5px solid transparent;
  border-radius: var(--r);
  resize: vertical;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.write__input:focus {
  background: var(--surface);
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}

.write__input::placeholder { color: var(--text-3); }

.write__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.write__count { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.write__count[data-state="ok"]   { color: var(--text-2); }
.write__count[data-state="long"] { color: var(--warn); }

.write__msg { margin: 14px 0 0; font-size: 14px; min-height: 1.4em; }
.write__msg[data-state="good"] { color: var(--mint); }
.write__msg[data-state="bad"]  { color: var(--hot); }
.write__msg[data-state="warn"] { color: var(--warn); }

.mine { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.mine__title { margin: 0 0 12px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.mine__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 1px; border-radius: var(--r); overflow: hidden; }

.mine__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text-2);
  background: var(--surface-2);
}

.mine__badge { flex: none; font-size: 12px; color: var(--text-3); }
.mine__badge.is-sent { color: var(--mint); }

/* ============================================================
   五、我的打卡
   ============================================================ */
.logbook {
  margin-bottom: 36px;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}

.logbook__title { margin: 0 0 12px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.logbook__today { margin: 0 0 18px; font-size: 15px; color: var(--text-2); }
.logbook__today b { color: var(--text); font-weight: 600; }
.logbook__today:empty { display: none; }

.logbook__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: var(--r);
  overflow-y: auto;
  max-height: 300px;
}

.logbook__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14px;
  background: var(--surface-2);
}

.logbook__time { flex: none; font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.logbook__content { flex: 1 1 auto; color: var(--text); }
.logbook__from { flex: none; font-size: 11.5px; color: var(--text-3); }

/* ============================================================
   六、这里是什么地方
   ============================================================ */
.about {
  margin-bottom: 36px;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}

.about__title { margin: 0 0 18px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.about p { margin: 0 0 14px; font-size: 15px; line-height: 1.76; color: var(--text-2); }
.about p b { color: var(--text); font-weight: 600; }

.about__lead { font-size: 17px !important; line-height: 1.66 !important; color: var(--text) !important; letter-spacing: -0.014em; }

.about__rules {
  margin: 22px 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.about__rules li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--text-2);
  background: var(--surface-2);
}

.about__rules b { color: var(--text); font-weight: 600; }

.about__icon {
  flex: none;
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-3);
}

.about__note { font-size: 13px !important; color: var(--text-3) !important; }

.about__warn {
  margin: 20px 0 0 !important;
  padding: 16px 18px;
  font-size: 14px !important;
  line-height: 1.72 !important;
  color: var(--warn) !important;
  background: var(--warn-soft);
  border-radius: var(--r-lg);
}

.about__warn b { color: var(--warn) !important; font-weight: 600; }
.nowrap { white-space: nowrap; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 36px 20px calc(44px + env(safe-area-inset-bottom));
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
}

.footer__dot { opacity: 0.4; }

/* ============================================================
   Toast
   ============================================================ */
.toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.toast {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(26, 26, 24, 0.94);
  border-radius: 999px;
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(12px);
  animation: toast-in 0.28s var(--ease);
}

.toast.is-out { animation: toast-out 0.26s var(--ease) forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

/* ============================================================
   分享卡片弹层
   ============================================================ */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(26, 26, 24, 0.42);
  backdrop-filter: blur(8px);
  animation: rise 0.26s var(--ease);
}

.sheet__panel {
  width: 100%;
  max-width: 380px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
}

.sheet__title { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.018em; }
.sheet__lead { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: var(--text-3); }

.sheet__canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}

.sheet__actions { display: flex; gap: 8px; margin-top: 18px; }
.sheet__actions .btn { flex: 1 1 auto; }

/* ============================================================
   无障碍
   ============================================================ */
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 8px; }
.ask__input:focus-visible, .write__input:focus-visible { outline: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 359px) {
  .brand__text em { display: none; }
  .pill-btn { padding: 7px 10px; font-size: 12.5px; }
}

@media (min-width: 640px) {
  .topbar { padding: calc(26px + env(safe-area-inset-top)) 24px 8px; }
  .page   { padding: 0 24px 48px; }

  .hero { padding: 64px 0 32px; }
  .br-mobile { display: inline; }

  .ask { padding: 20px; margin-bottom: 48px; }
  .ask__field { padding: 0 20px; }
  .ask__input, .ask__prefix { font-size: 17px; }
  .ask__input { padding: 17px 0; }
  .ask__form .btn--primary { width: auto; min-width: 190px; }

  .note { padding: 40px 36px 30px; }
  .note__text { font-size: 27px; }

  .actions { flex-direction: row; align-items: stretch; }
  .actions > .btn--primary { flex: 1 1 50%; width: auto; }
  .actions__row { flex: 1 1 50%; }

  .gentle, .write, .logbook, .about { padding: 34px 32px; }
  .gentle__actions { flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
