/* Workzenly home page: pieces that only the home page uses. Everything else comes from feature.css. */

/* Hero: the live app card sits in the feature-page stage */
.hm-hero { padding-top: clamp(24px, 3vw, 40px); }
.hm-hero .fp-hero__stage { display: grid; place-items: center; }
.hm-hero [data-ui].app { width: 100%; max-width: 560px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); border-radius: 16px; }
.hm-hero__hint { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }

/* Built-for strip links */
.fp-built a { text-decoration: none; transition: border-color var(--t-hover) ease, color var(--t-hover) ease; }
.fp-built a:hover { border-color: #3b4a22; color: var(--accent); }

/* Pillar tabs: the mini schedule grid */
.ui-grid { display: grid; grid-template-columns: 88px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 11.5px; }
.ui-grid > b { font-weight: 400; color: #8d8d89; padding: 4px 0; font-size: 11px; }
.ui-grid .ui-who { padding: 6px 0; display: grid; gap: 1px; align-content: center; }
.ui-grid .ui-who small { color: #7d7d79; font-size: 10.5px; }
.ui-shift { border-radius: 6px; padding: 5px 6px; background: #1b1b1b; border: 1px solid #262626; color: #d7d7d2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-shift--counter { background: #1c2412; border-color: #2f3f1a; color: var(--accent); }
.ui-shift--kitchen { background: #2a2110; border-color: #3f3318; color: var(--warn); }
.ui-shift--bar { background: #13202e; border-color: #1e3247; color: var(--info); }
.ui-shift--open { background: transparent; border: 1px dashed #ff9a85; color: var(--bad); text-align: center; }
.ui-shift--off { background: transparent; border-color: transparent; color: #4d4d4a; text-align: center; }

/* All-features list: 15 compact cards */
.hm-all { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hm-all a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-decoration: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color var(--t-hover) ease, background var(--t-hover) ease; }
.hm-all a:hover { border-color: #3b4a22; background: #121212; }
.hm-all .fp-icon { width: 40px; height: 40px; border-radius: 10px; }
.hm-all .fp-icon svg { width: 20px; height: 20px; }
.hm-all b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.hm-all small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* Pricing teaser */
.hm-plans { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-plan { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 26px; display: grid; gap: 6px; align-content: start; }
.hm-plan--pop { border-color: #4a5e25; background: linear-gradient(180deg, #172010 0%, var(--surface) 45%); }
.hm-plan__badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.hm-plan h3 { font-size: 22px; letter-spacing: -0.03em; }
.hm-plan__price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.hm-plan__price b { font-size: 38px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.hm-plan__price span { color: var(--muted); font-size: 14px; }
.hm-plan__per { color: #d7d7d2; font-size: 14px; }
.hm-plan__per b { color: var(--accent); }
.hm-plan p.hm-plan__for { margin-top: 12px; color: var(--muted); font-size: 15px; }
.hm-plan ul { margin-top: 14px; display: grid; gap: 7px; }
.hm-plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: #d7d7d2; font-size: 14.5px; }
.hm-plan li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 2px; }
.hm-plans__note { margin-top: 18px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* The scroll story and the demo form keep their own layouts from styles.css; give them the same outer width */
.how, .start { max-width: calc(var(--fp-wrap) + 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.how { padding-left: var(--pad); padding-right: var(--pad); }
.start { border-radius: 24px; margin-top: var(--section); }
.start__text h2 { font-size: clamp(44px, 5.6vw, 92px); }

@media (max-width: 1080px) {
  .hm-all, .hm-plans { grid-template-columns: 1fr 1fr; }
  .start { border-radius: 16px; }
}
@media (max-width: 760px) {
  .hm-all, .hm-plans { grid-template-columns: 1fr; }
  .hm-hero [data-ui].app { max-width: none; }
  .ui-grid { min-width: 480px; }
}
