/*
 * The homepage, built from the owner's design (24 Oct 2026: "Finish up the
 * rest of the homepage exactly like the example"): navy hero with the photo,
 * six service tiles, the AI models strip, the Customer Value Calculator, the
 * overview video, "Not even close", and Kira's round button and chat look
 * (the chat look is in app.css, since the bubble is on every public page).
 * The scan form, the offer and the quick answers stay, restyled to match.
 */

@font-face { font-family: "Plus Jakarta Sans"; src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter var"; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

.home {
  --hm-navy: #0B2340; --hm-navy-2: #071A30; --hm-teal: #1AA3BC; --hm-teal-2: #148EA5; --hm-cyan: #3CD0E6;
  --hm-bg: #F3F7FB; --hm-card: #FFFFFF; --hm-ink: #13243A; --hm-ink-2: #2C3E54; --hm-ink-3: #4A5B70; --hm-line: #E3EAF2; --hm-line-2: #C9D6E4;
  background: var(--hm-bg);
}
:root[data-theme="dark"] .home { --hm-bg: #0A1626; --hm-card: #12233A; --hm-ink: #E8EFF7; --hm-ink-2: #C9D6E4; --hm-ink-3: #9FB3C8; --hm-line: #1E3350; --hm-line-2: #2C4566; }
.hm-display { font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; letter-spacing: -.02em; }

/* Header: the Free Scan pill shows on phones too, as in the design. */
.home .head-cta { display: inline-flex; gap: .35rem; border-radius: 999px; background: var(--hm-teal); border-color: var(--hm-teal); color: #fff; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 700; white-space: nowrap; }
.home .head-cta:hover { background: var(--hm-teal-2); border-color: var(--hm-teal-2); color: #fff; }
.home .site-head .wrap { gap: .5rem; }
@media (min-width: 48rem) { .home .site-head .wrap { gap: 1rem; } .home .site-nav { margin-left: auto; } .home .site-head .head-cta { margin-left: 0; } }
.home .site-head .head-cta { order: 2; margin-left: auto; }
.home .site-head .nav-toggle { order: 3; margin-left: 0; }
.home .site-head .brand { font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; white-space: nowrap; }

.hm-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: 0 1.5rem; border-radius: 999px; border: 0; cursor: pointer; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 700; font-size: clamp(14px, 4.4vw, 18px); text-decoration: none; background: var(--hm-teal); color: #fff; text-align: center; max-width: 100%; }
.hm-btn:hover, .hm-btn:focus-visible { background: var(--hm-teal-2); color: #fff; }
.hm-btn:focus-visible, .hm-step:focus-visible { outline: 3px solid #F2B84B; outline-offset: 2px; }
.hm-btn svg { flex: none; }
.hm-btn-wide { width: 100%; }

/* Hero */
.hm-hero { padding: 0; position: relative; background: var(--hm-navy); color: #fff; overflow: hidden; }
.hm-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; background: url(/assets/img/home/owner.jpg) no-repeat center top / cover; }
.hm-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hm-navy) 0%, rgba(11,35,64,.7) 12%, rgba(11,35,64,.3) 28%, rgba(11,35,64,0) 46%), linear-gradient(0deg, var(--hm-navy) 0%, rgba(11,35,64,.6) 22%, rgba(11,35,64,0) 42%); }
.hm-hero-in { position: relative; z-index: 1; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.hm-hero h1 { max-width: 6.2em; margin: 0; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; letter-spacing: -.02em; font-size: clamp(2.35rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.02; color: #fff; }
.hm-hero h1 span { display: block; }
.hm-hero h1 .hm-h1-b { color: var(--hm-cyan); }
.hm-hero-lede { margin: 1rem 0 0; font-size: 1.02rem; line-height: 1.4; color: #E4EEF7; max-width: 14.5rem; }
.hm-hero-tag { max-width: 15rem; margin: .8rem 0 0; font-size: 1.1rem; font-weight: 700; color: #fff; }
.hm-hero .hm-btn { margin-top: 1.25rem; width: 100%; max-width: 26rem; white-space: nowrap; font-size: clamp(14px, 4.4vw, 18px); padding: 0 1rem; }
.hm-hero-note { margin: .65rem 0 0; font-size: .88rem; color: #C3D6E6; max-width: 26rem; text-align: center; }
@media (min-width: 40rem) {
  .hm-hero h1 { max-width: 9em; }
  .hm-hero-lede { max-width: 24rem; }
  .hm-hero-photo { width: 52%; }
}
@media (min-width: 60rem) {
  .hm-hero-in { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .hm-hero-photo { width: 46%; }
  .hm-hero-photo::after { background: linear-gradient(90deg, var(--hm-navy) 0%, rgba(11,35,64,.6) 20%, rgba(11,35,64,0) 50%); }
  .hm-hero-lede { max-width: 32rem; font-size: 1.15rem; }
  .hm-hero .hm-btn { width: auto; }
  .hm-hero-tag { max-width: none; }
  .hm-hero-note { text-align: left; }
}

/* Six tiles and the AI models strip */
.hm-what { padding: 1rem 0 .5rem; }
.hm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hm-tile { background: var(--hm-card); border-radius: 16px; padding: .85rem .25rem; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; box-shadow: 0 1px 0 var(--hm-line); margin: 0; }
.hm-tile-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.hm-tile-name { white-space: nowrap; font-size: clamp(10px, 3.2vw, 15px); font-weight: 600; line-height: 1.25; color: var(--hm-ink); word-break: keep-all; overflow-wrap: normal; hyphens: none; }
.hm-i-green { background: #E3F6EC; color: #1F9D5C; } .hm-i-blue { background: #E4F0FD; color: #1F6FD1; } .hm-i-purple { background: #EEE8FC; color: #6B46D6; }
.hm-i-orange { background: #FDEEDF; color: #C2610C; } .hm-i-gold { background: #FDF4D9; color: #B7791F; } .hm-i-red { background: #FDE6E7; color: #D1343B; }
@media (min-width: 60rem) { .hm-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } .hm-tile-name { font-size: 15px; } }

.hm-models { margin: .75rem 0 0; background: #fff; border-radius: 16px; padding: 12px 10px; text-align: center; }
.hm-models-head { margin: 0; font-size: clamp(10px, 2.9vw, 13px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #4A5B70; }
.hm-models-list { margin: 8px 0 0; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: clamp(8px, 3.4vw, 28px); color: #13243A; }
.hm-logo { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; line-height: 1; }
.hm-logo img { display: block; height: clamp(14px, 4.6vw, 24px); width: auto; }
.hm-logo-claude { font-family: Georgia, "Times New Roman", serif; font-size: clamp(16px, 5.2vw, 28px); letter-spacing: -.01em; }
.hm-logo-openai { font-family: "Plus Jakarta Sans", var(--sans); font-weight: 700; font-size: clamp(14px, 4.6vw, 24px); letter-spacing: -.02em; }
.hm-logo-google img { height: clamp(20px, 6.6vw, 34px); }
.hm-stars { margin: 1.25rem 0 0; display: flex; justify-content: center; gap: clamp(4px, 1.6vw, 10px); color: #F5B400; line-height: 0; }
.hm-stars svg { width: clamp(28px, 8vw, 40px); height: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.hm-models-more { font-family: var(--sans); font-weight: 500; font-size: clamp(11px, 3.6vw, 16px); color: #4A5B70; white-space: nowrap; }

/* Customer Value Calculator */
.hm-calc { padding: 1rem 0; }
.hm-calc-card { background: var(--hm-navy); border-radius: 22px; padding: clamp(12px, 4vw, 18px); color: #fff; }
.hm-calc-top { display: flex; gap: .85rem; align-items: flex-start; }
.hm-calc-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--hm-teal); display: flex; align-items: center; justify-content: center; }
.hm-calc h2 { margin: 0; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; font-size: clamp(17px, 5.1vw, 28px); color: #fff; letter-spacing: -.01em; }
.hm-calc-sub { margin: .25rem 0 0; font-size: clamp(13px, 3.9vw, 17px); line-height: 1.45; color: #C3D6E6; }
.hm-calc-body { margin-top: 1rem; background: #fff; border-radius: 16px; padding: clamp(8px, 2.6vw, 14px); color: #13243A; }
.hm-calc-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(6px, 2vw, 10px); }
.hm-calc-field { background: #F3F7FB; border-radius: 12px; padding: 10px clamp(6px, 2vw, 10px); min-width: 0; }
.hm-calc-label { font-size: clamp(11px, 3.3vw, 14px); color: #4A5B70; line-height: 1.3; }
.hm-calc-row { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: nowrap; }
.hm-calc-num { font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; font-size: clamp(15px, 4.8vw, 24px); color: #13243A; flex: none; }
.hm-steps { display: flex; gap: 4px; flex: none; }
.hm-step { width: clamp(28px, 8.4vw, 40px); height: clamp(28px, 8.4vw, 40px); flex: none; border-radius: 50%; border: 1px solid #C9D6E4; background: #fff; color: #0B2340; font-size: 1.35rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; padding: 0; }
.hm-step:hover { border-color: var(--hm-teal); }
.hm-calc-result { margin-top: .75rem; background: #DDF6FA; border-radius: 14px; padding: 1rem; text-align: center; }
.hm-calc-result-label { font-size: .95rem; font-weight: 600; color: #13243A; }
.hm-calc-big { display: block; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; font-size: clamp(28px, 8.4vw, 44px); color: #0B2340; line-height: 1.15; }
.hm-calc-year { font-size: 1rem; font-weight: 600; color: #13243A; }
.hm-calc-result .hm-btn { margin-top: .85rem; }
.hm-calc-note { margin: .5rem 0 0; font-size: .82rem; color: #33465C; }
@media (min-width: 60rem) { .hm-calc-card { padding: 1.75rem; } }

/* Overview video */
.hm-video { padding: .5rem 0 1.5rem; }
.hm-video h2 { margin: .5rem 0 .75rem; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; font-size: 1.4rem; color: var(--hm-navy); letter-spacing: -.01em; }
:root[data-theme="dark"] .hm-video h2 { color: var(--hm-ink); }
.hm-video .overview-video { margin: 0; max-width: 720px; }
.hm-video .overview-video video { border-radius: 20px; }
.hm-video .overview-video figcaption { text-align: left; color: var(--hm-ink-3); }

/* The free scan, the offer and quick answers, in the same look */
.home #scan-section { padding: 2rem 0; background: var(--hm-bg); }
.home .hm-scan-head { margin: 0 0 1rem; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem); line-height: 1.1; color: var(--hm-navy); }
:root[data-theme="dark"] .home .hm-scan-head { color: var(--hm-ink); }
.home .hm-scan { max-width: 40rem; margin: 0 auto; }
.home .scan-form { border-radius: 20px; }
.home .scan-form button[type="submit"] { border-radius: 999px; background: var(--hm-teal); border-color: var(--hm-teal); font-family: "Plus Jakarta Sans", var(--sans); font-weight: 700; }
.home .scan-form h2, .home #ladder h2, .home .faq-head h2 { font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; letter-spacing: -.01em; }
.home #ladder .btn-primary { border-radius: 999px; background: var(--hm-teal); border-color: var(--hm-teal); }

/* The websites we build (9 Nov 2026): four of the eleven designs, then the gallery. */
.hm-sites { padding: 3.5rem 0; background: var(--paper); color: var(--ink); }
.hm-sites h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.15; margin: .4rem 0 .8rem; max-width: 40rem; }
.hm-sites-lede { max-width: 44rem; color: var(--ink-3); line-height: 1.5; margin: 0; }
.hm-sites-grid { margin-top: 1.5rem; }
/* Owner, 16 Nov 2026: the designs are starting points to build on, said plainly. */
.hm-sites-base { margin: 1.1rem 0 0; max-width: 44rem; padding: .85rem 1rem; border-left: 4px solid var(--hm-teal, #0E7C86); background: var(--paper-2, #fff); border-radius: 0 10px 10px 0; line-height: 1.5; color: var(--ink); }
.hm-sites-base strong { display: block; margin-bottom: .2rem; }
.hm-sites .template-card .template-body { padding: .8rem .9rem 1rem; }
.hm-sites .template-card .form-note { margin: .25rem 0 0; }
/* The five main designs, then the high-ticket row (owner, 16 Nov 2026): two wide cards over three on a laptop. */
@media (min-width: 900px) {
  .hm-sites-main { grid-template-columns: repeat(6, 1fr); }
  .hm-sites-main > li { grid-column: span 2; }
  .hm-sites-main > li:nth-child(-n+2) { grid-column: span 3; }
  .hm-sites-high { grid-template-columns: repeat(4, 1fr); }
}
.hm-sites-sub { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin: 2.25rem 0 .3rem; }
.hm-sites-sublede { margin: 0; color: var(--ink-3); line-height: 1.5; max-width: 44rem; }
.hm-sites-high { margin-top: 1rem; }
.hm-sites-actions { margin-top: 1.5rem; flex-wrap: wrap; gap: .6rem; }
.hm-sites-note { margin: 1rem 0 0; font-size: .9rem; color: var(--ink-3); max-width: 44rem; }

/* Two ways to start (12 Nov 2026): the free report for a business already online, /start for one starting from zero. */
.hm-hero-zero a { color: #fff; font-weight: 700; text-decoration: underline; }
.home .hm-paths { margin: 0 0 1.25rem; }
.home .hm-paths-lede { margin: 0 0 1rem; color: var(--hm-ink-2); line-height: 1.5; }
.home .hm-paths-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .home .hm-paths-grid { grid-template-columns: 1fr 1fr; } }
.home .hm-path { display: block; min-width: 0; padding: 1rem 1.1rem; border: 2px solid var(--hm-line-2); border-radius: 16px; background: var(--hm-card); color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.home .hm-path:hover, .home .hm-path:focus-visible { border-color: var(--hm-teal); }
.home .hm-path strong { display: block; font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; font-size: 1.1rem; color: var(--hm-navy); margin-bottom: .25rem; }
:root[data-theme="dark"] .home .hm-path strong { color: var(--hm-ink); }
.home .hm-path span { display: block; font-size: .95rem; line-height: 1.45; color: var(--hm-ink-3); }
.home .hm-path-zero { border-color: var(--hm-teal); }
