/* The public home page (/). The app's own tokens, so the page looks like the product it describes. */

.hm { --hm-muted: color-mix(in oklab, var(--color-base-content) 68%, transparent); --hm-edge: var(--color-base-300); line-height: 1.55; }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm h1, .hm h2, .hm h3, .hm p { margin: 0; }
.hm a { text-underline-offset: 3px; }

.hm-wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.75rem; }
.hm-muted { color: var(--hm-muted); }
.hm-mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.hm-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklab, var(--color-primary) 78%, var(--color-base-content)); }
.hm-h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.03; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.hm-h1 em { font-style: normal; color: var(--color-primary); }
.hm-h2 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.hm-lead { font-size: 1.15rem; color: var(--hm-muted); max-width: 40rem; }
.hm-card { background: var(--color-base-100); border: 1px solid var(--hm-edge); border-radius: 1.1rem; }
.hm-ico { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); background: color-mix(in oklab, var(--color-primary) 16%, transparent); }
.hm-ph { background: color-mix(in oklab, var(--color-warning) 22%, transparent); color: var(--color-warning); border-radius: 0.35rem; padding: 0 0.35rem; font-weight: 600; }

/* top bar */
.hm-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--color-base-200) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hm-edge); }
.hm-nav-in { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.hm-brand { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; text-decoration: none; color: var(--color-base-content); }
.hm-links { display: flex; gap: 1.5rem; margin-left: 0.5rem; flex: 1; }
.hm-links a { color: color-mix(in oklab, var(--color-base-content) 80%, transparent); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.hm-links a:hover { color: var(--color-base-content); }

/* hero */
.hm-hero { position: relative; isolation: isolate; overflow: hidden; padding: 5.25rem 0 4.5rem; }
.hm-hero::before { content: ""; position: absolute; inset: -30% -20% auto; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 78% 0%, color-mix(in oklab, var(--color-primary) 22%, transparent), transparent 70%),
              radial-gradient(ellipse 35% 45% at 10% 10%, color-mix(in oklab, var(--color-success) 8%, transparent), transparent 70%); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.hm-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.hm-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* the illustrated screen */
.hm-mock { overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); }
.hm-mock-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid var(--hm-edge); font-size: 0.9rem; }
.hm-mock-body { display: grid; grid-template-columns: minmax(0, 1fr) 11.5rem; }
.hm-mock-body svg { height: 100%; }
.hm-mock svg { display: block; background: var(--color-base-200); }
.hm-mock-side { border-left: 1px solid var(--hm-edge); padding: 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.82rem; }
.hm-fld { display: flex; justify-content: space-between; align-items: center; background: var(--color-base-200); border: 1px solid var(--hm-edge); border-radius: 0.5rem; padding: 0.5rem 0.65rem; }
.hm-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--color-base-200); border-radius: 0.5rem; padding: 0.2rem; font-size: 0.75rem; gap: 0.1rem; font-weight: 600; text-align: center; }
.hm-seg span { padding: 0.3rem 0; border-radius: 0.4rem; color: var(--hm-muted); }
.hm-seg .on { background: var(--color-primary); color: var(--color-primary-content); }

/* strip */
.hm-strip { border-top: 1px solid var(--hm-edge); border-bottom: 1px solid var(--hm-edge); background: var(--color-base-100); }
.hm-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; padding: 1.6rem 0; }
.hm-strip-i { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; font-size: 0.95rem; }

/* sections */
.hm-sec { padding: 6.5rem 0; }
.hm-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 3rem; }
.hm-feat { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hm-feat h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.hm-feat p { font-size: 0.97rem; color: var(--hm-muted); }
.hm-never { background: var(--color-base-100); border-top: 1px solid var(--hm-edge); border-bottom: 1px solid var(--hm-edge); }
.hm-never-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; margin-top: 2.75rem; }
.hm-never-i { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--hm-edge); }
.hm-never-i h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.hm-never-i p { font-size: 0.97rem; color: var(--hm-muted); }
.hm-x { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.15rem; color: var(--color-error); background: color-mix(in oklab, var(--color-error) 16%, transparent); }
.hm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.hm-step { padding: 1.75rem; }
.hm-num { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-content); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }

/* the story */
.hm-story { border-top: 1px solid var(--hm-edge); background: radial-gradient(ellipse 50% 60% at 10% 20%, color-mix(in oklab, var(--color-primary) 12%, transparent), transparent 70%); }
.hm-story-grid { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: 4rem; align-items: start; }
.hm-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1.4rem; border: 1px solid var(--hm-edge); display: block; }
.hm .hm-story-copy > * + * { margin-top: 1.15rem; }
.hm-story-copy p { font-size: 1.12rem; color: color-mix(in oklab, var(--color-base-content) 82%, transparent); }
.hm-need { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.hm-need li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; }
.hm-tick { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 0.2rem; color: var(--color-success); background: color-mix(in oklab, var(--color-success) 18%, transparent); }
.hm-sig { font-weight: 700; font-size: 1.15rem; }

/* pricing */
.hm-pricing { border-top: 1px solid var(--hm-edge); background: var(--color-base-100); }
.hm-tbl { margin-top: 2.75rem; overflow-x: auto; border: 1px solid var(--hm-edge); border-radius: 1.1rem; background: var(--color-base-200); }
.hm-price { width: 100%; min-width: 47rem; border-collapse: collapse; table-layout: fixed; }
.hm-price th, .hm-price td { padding: 1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--hm-edge); font-size: 0.97rem; vertical-align: middle; }
.hm-price thead th { vertical-align: top; padding: 1.75rem 1.4rem 1.5rem; }
.hm-price th:first-child { width: 31%; }
.hm-price tbody th { font-weight: 600; }
.hm-price tbody td { color: color-mix(in oklab, var(--color-base-content) 82%, transparent); }
.hm-price tr:last-child th, .hm-price tr:last-child td { border-bottom: 0; }
.hm-plan { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.hm-cost { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; margin: 0.6rem 0 0.1rem; }
.hm-cost small { font-size: 0.95rem; font-weight: 600; color: var(--hm-muted); letter-spacing: 0; }
.hm-yes { color: var(--color-success); }

/* the note under the pricing table */
.hm-note { margin-top: 1.25rem; padding: 1.25rem 1.5rem; }
.hm-note h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.hm-note p { font-size: 0.97rem; color: var(--hm-muted); max-width: 52rem; }

/* questions, closing call, footer */
.hm-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.75rem; }
.hm-faq .hm-card { padding: 1.6rem; }
.hm-faq h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.5rem; }
.hm-faq p { font-size: 0.97rem; color: var(--hm-muted); }
.hm-cta { padding: 0 1.75rem 1.5rem; }
.hm-cta-in { max-width: 74rem; margin: 0 auto; border-radius: 1.75rem; padding: 4.5rem 2rem; text-align: center; border: 1px solid color-mix(in oklab, var(--color-primary) 40%, var(--hm-edge));
  background: linear-gradient(135deg, color-mix(in oklab, var(--color-primary) 22%, var(--color-base-100)), var(--color-base-100) 60%, color-mix(in oklab, var(--color-success) 8%, var(--color-base-100))); }
.hm-foot { border-top: 1px solid var(--hm-edge); background: var(--color-base-100); padding: 3.25rem 0 3.5rem; font-size: 0.92rem; color: var(--hm-muted); }
.hm-risk { border: 1px solid color-mix(in oklab, var(--color-warning) 35%, var(--hm-edge)); border-radius: 0.9rem; background: color-mix(in oklab, var(--color-warning) 6%, transparent); padding: 1rem 1.25rem; color: color-mix(in oklab, var(--color-base-content) 80%, transparent); }

@media (max-width: 1020px) {
  .hm-hero-grid, .hm-story-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-steps, .hm-faq, .hm-never-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-links { display: none; }
  .hm-nav-in { justify-content: space-between; }
  .hm-story-grid { gap: 2.25rem; }
  .hm-photo { max-width: 26rem; }
}
@media (max-width: 620px) {
  .hm-grid4, .hm-strip-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-sec { padding: 4.5rem 0; }
  .hm-hero { padding: 3.25rem 0 3rem; }
  .hm-mock-body { grid-template-columns: minmax(0, 1fr); }
  .hm-mock-side { border-left: 0; border-top: 1px solid var(--hm-edge); }
  .hm-nav-in { gap: 0.5rem; }
  .hm-cta-in { padding: 3rem 1.25rem; }
  .hm-wrap { padding: 0 1.25rem; }
}
