/* zimoma.com home — calm and plain: what Zimoma does, the real app, how it compares, and the prices.
   Nothing pins, types itself, plays or moves as you scroll (people found the motion page too busy,
   2026-11-27), and few boxes: the user found the first calm draft "too much of cards". Lists and
   columns sit on the page divided by hairlines; the only panels are the hero and the closing #get.
   Questions come from styles.css. Linked from the home page only. */

/* Sections arrive as they are: no fade-in on this page (the stamped #get panel carries .reveal). */
.js .reveal { opacity: 1; transform: none; transition: none; }

/* ── Hero: the words, four facts, then the real app (the web app in a window, the iPhone in front)
      running off the panel's foot ── */
/* flow-root: the app runs off the foot by a negative margin, which would otherwise collapse through the
   panel (overflow: clip makes no formatting context) and pull the next section up under it. */
.hm-hero { display: flow-root; padding: clamp(116px, 11vw, 150px) 20px 0; text-align: center; }
.hm-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hm-hero h1 { max-width: 15ch; font-size: clamp(42px, 5.8vw, 84px); line-height: 0.98; letter-spacing: -0.05em; }
.hm-hero h1 .h1-kicker { display: block; margin: 0 auto 18px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.hm-lede { max-width: 600px; margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; color: #36414f; text-wrap: pretty; }
.hm-hero .cta { margin-top: 30px; }
.hm-hero .cta-alt { margin-top: 14px; }
.hm-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; max-width: 760px; margin-top: 30px; font-size: 15px; font-weight: 500; color: #2c3440; }
.hm-proof li { display: flex; align-items: center; gap: 7px; }
.hm-proof .icon { width: 18px; height: 18px; stroke-width: 2.4; }

.hm-show { position: relative; z-index: 1; width: min(1120px, 100%); margin: clamp(44px, 5vw, 64px) auto calc(-1 * min(13vw, 150px)); }
.hm-win { margin: 0; overflow: hidden; border-radius: 18px; background: #f4f1ec; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 40px 80px -40px rgba(20, 30, 60, 0.45); }
.hm-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; }
.hm-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dcd6cc; }
.hm-bar b { position: absolute; left: 50%; translate: -50% 0; padding: 4px 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.85); font-size: 12.5px; line-height: 16px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.hm-win img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #fff; }
.hm-show .hm-phone { position: absolute; z-index: 2; right: -1%; bottom: 0; --w: clamp(150px, 17vw, 236px); margin: 0; }
@media (max-width: 860px) { .hm-show .hm-phone { --w: 140px; right: 1%; } }
/* A phone shows the iPhone alone: the web window's words would be too small to read. */
@media (max-width: 640px) {
  .hm-show { width: auto; margin-bottom: calc(-0.42 * var(--pw) * 2.17); --pw: min(64vw, 280px); }
  .hm-show .hm-win { display: none; }
  .hm-show .hm-phone { position: relative; right: auto; --w: var(--pw); margin: 0 auto; }
  .hm-proof { display: grid; justify-items: start; gap: 8px; font-size: 15px; }
}

/* ── What you get: an open list in three columns, a hairline over each row, a small colour chip ── */
.hm-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.hm-feats li { border-top: 1px solid var(--line); }
.hm-feats a { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; padding: 26px 0 34px; }
.hm-chip { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--c); }
.hm-chip .icon { width: 21px; height: 21px; stroke-width: 1.7; }
.hm-feats h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; align-self: center; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.hm-feats h3 .tag { font-size: 12px; }
/* Hover underlines the name (a hidden arrow would still take room and could wrap to a line of its own). */
.hm-feats a:hover h3, .hm-posts a:hover b { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.hm-feats p { grid-column: 2; margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 980px) { .hm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .hm-feats { grid-template-columns: minmax(0, 1fr); }
  .hm-feats a { padding: 20px 0 24px; }
  .hm-feats h3 { font-size: 19px; }
}

/* ── A closer look: the words beside a real picture, swapping sides; no panel behind ── */
.hm-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hm-row + .hm-row { margin-top: clamp(72px, 9vw, 120px); }
.hm-row.hm-flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.hm-row.hm-flip .hm-row-copy { order: 2; }
.hm-row-copy h2 { margin-top: 14px; }
.hm-row-copy > p:not(.kicker) { max-width: 440px; margin-top: 16px; color: var(--ink-2); }
/* The note window shows the middle of the page at a readable size: the picture is wider than the frame and centred. */
.hm-win-note { height: clamp(300px, 32vw, 440px); }
.hm-win-note img { width: 170%; max-width: none; margin-left: -35%; aspect-ratio: auto; }
.hm-widget { width: min(400px, 100%); margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 30px 60px -30px rgba(40, 40, 60, 0.35); }
.hm-widget img { width: 104%; max-width: none; margin: -2% -2%; }
@media (max-width: 860px) {
  .hm-row, .hm-row.hm-flip { grid-template-columns: minmax(0, 1fr); }
  .hm-row.hm-flip .hm-row-copy { order: 0; }
  .hm-win-note { height: 300px; }
  .hm-win-note img { width: 230%; margin-left: -60%; }
  .hm-widget { width: min(340px, 100%); }
}

/* ── How Zimoma compares: an open table (no box), Zimoma's column lightly tinted ── */
.hm-cmp { border: 0; border-radius: 0; background: none; }
.hm-cmp table { min-width: 680px; }
.hm-cmp thead th { border-bottom: 1px solid var(--ink); }
.hm-cmp tbody tr:last-child th, .hm-cmp tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.hm-cmp th:first-child { padding-left: 0; }
.hm-cmp thead th:nth-child(2), .hm-cmp td:nth-child(2) { background: rgba(205, 226, 203, 0.32); }
.hm-cmp td .icon { margin-right: 8px; }
.hm-cmp td b { font-weight: 600; color: var(--ink); }
.hm-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(28px, 4vw, 56px); margin-top: 28px; }
.hm-after p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hm-after b { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .hm-after { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .hm-cmp table { min-width: 0; }
  .hm-cmp thead th { border-bottom: 0; }
  .hm-cmp th:first-child { padding-left: 0; }
  .hm-cmp th, .hm-cmp td { padding-left: 0; padding-right: 12px; }
  .hm-cmp td:nth-child(2) { background: none; }
  .hm-cmp tbody tr:last-child td { border-bottom: 0; }
  .hm-cmp tbody tr:last-child { border-bottom: 1px solid var(--line); }
}

/* ── Pricing: the three plans as open columns divided by hairlines; Pro keeps its button dark ── */
.hm-plans { gap: 0; }
.hm-plans .plan { padding: 4px clamp(22px, 3vw, 40px) 0; background: none; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.hm-plans .plan:first-child { border-left: 0; padding-left: 0; }
.hm-plans .plan:last-child { padding-right: 0; }
.hm-plans .plan .btn.light { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 1000px) {
  .hm-plans.three { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .hm-plans.three > :last-child { justify-self: stretch; width: auto; }
  .hm-plans .plan, .hm-plans .plan:first-child, .hm-plans .plan:last-child { padding: 32px 0 36px; border-left: 0; border-top: 1px solid var(--line); }
  .hm-plans .plan:first-child { border-top: 0; padding-top: 0; }
}

/* ── From the blog: a plain list of guides, two columns, hairline over each ── */
.hm-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.hm-posts li { border-top: 1px solid var(--line); }
.hm-posts a { display: block; padding: 22px 0 26px; }
.hm-posts b { display: block; margin-top: 6px; font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.hm-posts span:not(.hm-post-meta) { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.hm-post-meta { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 760px) { .hm-posts { grid-template-columns: minmax(0, 1fr); } }
