/* Homepage #software only. Content grows naturally; viewport height affects spacing, not art. */
.hm-modes {
  --mode-blue:#0866ed;
  --mode-ink:#111a35;
  --mode-muted:#56688e;
  padding-block:clamp(36px,5.5svh,72px);
  background:#f9fcff url('/static/images/home/modes-background-v2.webp') center top / cover no-repeat;
  color:var(--mode-ink);
  font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  scroll-margin-top:80px;
}
.hm-modes *, .hm-modes *::before, .hm-modes *::after { box-sizing:border-box; }
.hm-modes h2, .hm-modes h3, .hm-modes h4, .hm-modes p, .hm-modes figure, .hm-modes ul { margin:0; }
.hm-modes>.hm-wrap { width:calc(100% - 48px); max-width:1400px; margin-inline:auto; }
.hm-modes .hm-heading { margin:0 auto 28px; text-align:center; }
.hm-modes h2 { font-size:34px; font-weight:700; line-height:1.3; letter-spacing:-.5px; text-wrap:balance; }
.hm-modes .hm-heading>p { margin-top:12px; color:var(--mode-muted); font-size:16px; line-height:1.65; }
.hm-modes .hm-mode-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:stretch; }
.hm-modes .hm-mode {
  --mode-accent:var(--mode-blue);
  min-width:0;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:14px;
  padding:24px;
  border:1px solid #d9eaff;
  border-radius:14px;
  background:rgba(235,246,255,.78);
}
.hm-modes .hm-mode--private { --mode-accent:#6552c4; border-color:#e4ddff; background:rgba(243,240,255,.82); }
.hm-modes .hm-mode__copy, .hm-modes .mode-offer { min-width:0; }
.hm-modes h3 { font-size:24px; font-weight:700; line-height:1.35; letter-spacing:-.3px; }
.hm-modes .hm-mode__copy p { margin-top:6px; color:var(--mode-muted); font-size:16px; line-height:1.65; text-wrap:pretty; }
.hm-modes .mode-main { min-width:0; display:grid; grid-template-columns:minmax(0,.4fr) minmax(0,.6fr); gap:16px; align-items:center; }
.hm-modes .mode-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px; color:var(--mode-blue); }
.hm-modes .mode-price>span:first-child { font-size:24px; font-weight:600; }
.hm-modes .mode-price strong { font-size:48px; font-weight:500; line-height:1.1; letter-spacing:-2px; }
.hm-modes .mode-price__unit { margin-left:4px; font-size:16px; }
.hm-modes .mode-emphasis { font-size:20px; line-height:1.5; font-weight:600; }
.hm-modes .mode-benefits { display:grid; gap:6px; margin-top:12px; padding:0; list-style:none; }
.hm-modes .mode-benefits li { position:relative; padding-left:19px; font-size:16px; line-height:1.5; }
/* A CSS check has no external mask dependency or empty icon placeholder. */
.hm-modes .mode-benefits li::before { content:""; position:absolute; left:2px; top:7px; width:7px; height:10px; border:solid var(--mode-accent); border-width:0 2px 2px 0; transform:rotate(45deg); }
.hm-modes .mode-note { margin-top:12px; color:var(--mode-muted); font-size:16px; line-height:1.5; text-wrap:pretty; }
.hm-modes .mode-canvas { min-width:0; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.hm-modes .mode-art { display:block; width:auto; max-width:100%; height:auto; max-height:230px; object-fit:contain; }
/* Fill the SaaS illustration's spare space without increasing the card height. */
@media (min-width:1200px) {
  .hm-modes .mode-canvas--cloud .mode-art { max-width:80%; transform:scale(1.25); }
}
.hm-modes .mode-actions { display:flex; align-items:flex-start; }
.hm-modes .mode-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; max-width:100%; min-height:46px; padding:10px 20px; border:1px solid #aca0e7; border-radius:8px; color:#305eae; font-size:16px; font-weight:600; line-height:1.5; text-align:center; text-decoration:none; }
.hm-modes .mode-button--primary { color:#fff; border-color:#0866ed; background:#0866ed; }
.hm-modes .mode-button--primary:hover { background:#0759ce; }
.hm-modes .mode-button--outline:hover { background:rgba(255,255,255,.7); border-color:#7b67ca; }
.hm-modes .mode-arrow { display:block; flex:0 0 20px; width:20px; height:20px; }
.hm-modes a:focus-visible { outline:3px solid #d88b16; outline-offset:4px; }
.hm-modes .hm-mode.is-presented { animation:fecify-mode-card-in .55s ease-out both; }
.hm-modes .hm-mode--private.is-presented { animation-delay:.1s; }
@keyframes fecify-mode-card-in { from { opacity:.45; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (min-width:1024px) and (max-height:720px) {
  .hm-modes { padding-block:32px; }
  .hm-modes .hm-heading { margin-bottom:24px; }
}
@media (min-width:1024px) and (max-width:1199px) {
  .hm-modes .hm-mode-grid { gap:20px; }
  .hm-modes .hm-mode { padding:20px; gap:14px; }
  .hm-modes .mode-main { grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:12px; }
  .hm-modes .mode-art { max-height:170px; }
}
@media (max-width:1023px) {
  .hm-modes .hm-mode-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
}
@media (max-width:767px) {
  .hm-modes { padding-block:32px; }
  .hm-modes>.hm-wrap { width:calc(100% - 36px); }
  .hm-modes .hm-heading { margin-bottom:24px; text-align:left; }
  .hm-modes h2 { font-size:26px; line-height:1.4; }
  .hm-modes h2>span { display:block; }
  .hm-modes .hm-heading>p { margin-top:10px; }
  .hm-modes .hm-mode { padding:20px; gap:16px; }
  .hm-modes h3 { font-size:22px; }
  .hm-modes .mode-art { max-height:150px; }
  .hm-modes .mode-button { width:100%; min-height:48px; }
}
@media (max-width:479px) {
  .hm-modes .mode-main { grid-template-columns:minmax(0,1fr); gap:12px; }
}
@media (prefers-reduced-motion:reduce) {
  .hm-modes *, .hm-modes *::before, .hm-modes *::after { animation:none !important; transition:none !important; }
}
