/* Focused homepage with a split product story and one primary action. */
.home-page { background: var(--bg); font-size: 1rem; }
.home-page::before { display: none; }
.home-page nav { gap: 16px; }
.home-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.home-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 11px; border-radius: 9px; font-size: .875rem; font-weight: 650; color: #475467; text-decoration: none; white-space: nowrap; }
.home-nav-link:hover { color: #172033; background: var(--s2); text-decoration: none; }
.nav-free-note { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; margin-left: 10px; padding-left: 16px; border-left: 1px solid var(--border); white-space: nowrap; }
.nav-free-note strong { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px; border-radius: 999px; background: #e9f8f5; color: #08796e; font-size: .68rem; font-weight: 900; letter-spacing: .45px; }
.nav-free-note span { color: #667085; font-size: .72rem; font-weight: 650; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: white; padding: 12px 18px; }
.skip-link:focus { top: 10px; }

.home-start { max-width: 1180px; margin: 0 auto; padding: 42px 30px 38px; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(430px,1.08fr); gap: clamp(42px,6vw,78px); align-items: start; }
.home-copy { min-width: 0; padding-top: 24px; }
.home-eyebrow { color: #08796e; font-weight: 800; font-size: .875rem; margin-bottom: 15px; letter-spacing: .01em; }
.home-start h1 { max-width: 610px; font-family: var(--display); font-size: clamp(2.8rem,5.1vw,4.5rem); line-height: 1.04; letter-spacing: -.035em; }
.home-start h1 span { color: #08796e; }
.home-description { max-width: 590px; margin: 22px 0 27px; color: #475467; line-height: 1.72; font-size: 1.02rem; }
.home-description a { color: #08796e; text-underline-offset: 3px; }
.home-primary { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 52px; padding: 13px 24px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), var(--coral)); color: #0b1220; font-size: 1rem; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(240,93,61,.22); transition: transform .16s ease, background .16s ease, box-shadow .16s ease; white-space: nowrap; }
.home-primary:hover { background: linear-gradient(135deg, #e78d08, #dc4f34); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(240,93,61,.26); }
.home-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.home-proof span { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.72); color: #475467; font-size: .75rem; font-weight: 700; }
.home-trust { margin-top: 14px; color: #475467; font-size: .82rem; line-height: 1.55; }

.home-visual { min-width: 0; }
.hero-action-callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; margin: 0 2px 14px; }
.hero-click-prompt { display: inline-block; margin: 0; max-width: 300px; font-family: var(--display); font-size: clamp(1.15rem,1.7vw,1.42rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: #273247; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(240,93,61,.28); text-underline-offset: 5px; transition: color .16s ease, text-decoration-color .16s ease; }
.hero-click-prompt span { color: var(--coral); }
.hero-click-prompt:hover { color: var(--coral); text-decoration-color: var(--coral); }
.visual-window { overflow: hidden; border: 1px solid #d8e0eb; border-radius: 22px; background: rgba(255,255,255,.95); box-shadow: 0 28px 70px rgba(31,42,68,.14); }
.visual-toolbar { min-height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--border); background: #fbfcfe; }
.visual-toolbar strong { font-size: .78rem; text-align: center; }
.visual-dots { display: flex; gap: 5px; }
.visual-dots span { width: 8px; height: 8px; border-radius: 999px; background: #d5dce7; }
.visual-free { justify-self: end; padding: 5px 8px; border-radius: 999px; background: #e9f8f5; color: #08796e; font-size: .65rem; font-weight: 850; text-transform: uppercase; letter-spacing: .5px; }
.visual-stage { display: grid; grid-template-columns: minmax(0,1fr) 88px minmax(0,.92fr); gap: 12px; align-items: center; padding: 24px; min-height: 310px; background: radial-gradient(circle at 50% 48%, rgba(15,159,143,.08), transparent 36%), linear-gradient(180deg,#fff,#f8fafc); }
.visual-sources { display: grid; gap: 13px; }
.mini-sheet { position: relative; overflow: hidden; border: 1px solid #dce3ee; border-radius: 14px; background: white; box-shadow: 0 8px 20px rgba(31,42,68,.07); }
.mini-sheet-head { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid #edf0f5; }
.mini-sheet-head > div { min-width: 0; }
.mini-sheet-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; }
.mini-sheet-head small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #667085; font-size: .61rem; }
.file-icon { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #e8f6ef; color: #157347; font-size: .7rem; font-weight: 900; }
.file-icon.csv { background: #eef4ff; color: #3659a2; }
.file-icon.done { background: #e9f8f5; color: #08796e; }
.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding: 10px; background: #edf0f5; }
.mini-grid i { display: block; height: 18px; background: #fff; }
.mini-grid i:nth-child(1), .mini-grid i:nth-child(2), .mini-grid i:nth-child(3) { background: #f3f7fb; }
.merge-motion { display: grid; justify-items: center; gap: 8px; color: #08796e; }
.flow-line { width: 56px; height: 2px; position: relative; overflow: hidden; background: #d8ece8; }
.flow-line::after { content: ""; position: absolute; inset: 0 auto 0 -26px; width: 24px; background: #0f9f8f; animation: flow 1.8s ease-in-out infinite; }
.merge-badge { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #0f9f8f; color: white; font-size: 1.35rem; font-weight: 900; box-shadow: 0 10px 24px rgba(15,159,143,.24); animation: mergePulse 2.8s ease-in-out infinite; }
.merge-motion small { color: #475467; font-size: .6rem; font-weight: 800; text-align: center; }
.result-sheet { transform-origin: center; animation: resultLift 4.5s ease-in-out infinite; }
.result-progress { height: 8px; margin: 14px 12px 9px; border-radius: 99px; overflow: hidden; background: #edf2f6; }
.result-progress span { display: block; width: 100%; height: 100%; transform-origin: left; border-radius: inherit; background: #0f9f8f; animation: fillResult 4.5s ease-in-out infinite; }
.result-stats { display: grid; gap: 6px; padding: 0 12px 14px; }
.result-stats span { display: flex; align-items: center; justify-content: space-between; padding: 7px 9px; border-radius: 8px; background: #f7f9fc; color: #475467; font-size: .63rem; font-weight: 700; }
.visual-status { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--border); background: #fbfcfe; color: #456; font-size: .67rem; font-weight: 750; }
.source-a { animation: sourceA 4.5s ease-in-out infinite; }
.source-b { animation: sourceB 4.5s ease-in-out infinite; }

@keyframes flow { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: 82px; opacity: 0; } }
@keyframes mergePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes sourceA { 0%,100% { transform: translateY(0); } 50% { transform: translate(4px,-3px); } }
@keyframes sourceB { 0%,100% { transform: translateY(0); } 50% { transform: translate(4px,3px); } }
@keyframes resultLift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes fillResult { 0%,16% { transform: scaleX(.18); } 48%,100% { transform: scaleX(1); } }

.home-steps { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; list-style: none; max-width: 880px; margin: 38px auto 0; padding-top: 25px; border-top: 1px solid var(--border); color: #475467; font-size: .875rem; }
.home-steps li { display: flex; align-items: center; gap: 8px; }
.home-steps span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #e7edf5; color: #344054; font-weight: 700; flex-shrink: 0; }
.home-help { max-width: 760px; margin: 0 auto; padding: 26px 24px 58px; scroll-margin-top: 116px; }
.home-help h2 { font-size: 1.125rem; margin-bottom: 18px; }
.home-help details { border-bottom: 1px solid var(--border); }
.home-help summary { padding: 18px 4px; cursor: pointer; font-weight: 600; line-height: 1.5; }
.home-answer { padding: 0 4px 20px; color: #475467; line-height: 1.7; }
.home-answer p { margin-bottom: 12px; }
.home-help a { color: #08796e; text-underline-offset: 3px; }
.home-guides { margin-top: 24px; font-size: .875rem; line-height: 2; color: #475467; }
.home-page a:focus-visible, .home-page summary:focus-visible { outline: 3px solid #167bba; outline-offset: 4px; box-shadow: none; }
.home-page footer { margin-top: auto; }

@media (max-width: 1320px) {
  .home-page .nav-free-note { display: none; }
}
@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-copy { max-width: 760px; margin: 0 auto; padding-top: 0; text-align: center; }
  .home-start h1, .home-description { margin-left: auto; margin-right: auto; }
  .home-proof { justify-content: center; }
  .home-visual { width: min(100%,760px); margin: 0 auto; }
  .hero-action-callout { justify-content: center; }
  .hero-click-prompt { max-width: none; }
  .home-nav-how { display: none; }
}
@media (max-width: 760px) {
  .home-nav-tool { display: none; }
  .home-nav { gap: 2px; }
  .home-nav-link { padding-inline: 8px; }
  .nav-free-note { margin-left: 5px; padding-left: 9px; }
  .visual-stage { grid-template-columns: 1fr 64px .9fr; padding: 18px; }
  .flow-line { width: 42px; }
}
@media (max-width: 620px) {
  .home-nav-link { display: none; }
  .nav-free-note { border-left: 0; margin-left: 0; padding-left: 0; }
  .home-start { padding: 30px 18px 26px; }
  .home-start h1 { font-size: clamp(2.45rem,11vw,3.45rem); }
  .home-description { margin: 17px auto 23px; font-size: .96rem; }
  .home-proof { gap: 6px; }
  .hero-action-callout { display: grid; justify-items: center; gap: 12px; margin-bottom: 16px; text-align: center; }
  .hero-click-prompt { font-size: 1.2rem; }
  .home-primary { width: 100%; max-width: 360px; }
  .visual-stage { grid-template-columns: 1fr; gap: 13px; min-height: auto; }
  .merge-motion { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .merge-motion small { display: none; }
  .merge-badge { width: 42px; height: 42px; border-radius: 13px; }
  .result-sheet { animation: none; }
  .home-steps { flex-direction: column; align-items: flex-start; gap: 12px; max-width: 310px; margin: 30px auto 0; }
  .home-help { padding: 18px 20px 38px; }
  .visual-status { display: grid; justify-content: start; }
}
@media (max-width: 420px) {
  .nav-name { display: none; }
  .visual-toolbar { grid-template-columns: auto 1fr; }
  .visual-toolbar strong { text-align: left; }
  .visual-free { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-line::after, .merge-badge, .source-a, .source-b, .result-sheet, .result-progress span { animation: none; }
}

/* "Control exactly what counts as a match" — the matching-rules feature. Secondary to the
   hero: the hero sells merging, this explains why the merge is trustworthy. */
.home-match { display: grid; grid-template-columns: 1.15fr .85fr; gap: 38px; align-items: center;
  max-width: 1060px; margin: 0 auto; padding: 58px 24px 12px; }
.home-match h2 { font-family: var(--display); font-size: clamp(24px, 3.2vw, 33px); line-height: 1.2; margin: 0 0 12px; }
.home-match-copy > p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.home-match-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 9px; }
.home-match-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.home-match-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.home-match-list strong { color: #1d2939; }
.home-match-list code, .home-match-row code { padding: 1px 6px; border-radius: 5px; background: #eef2f6;
  font-family: var(--mono); font-size: .86em; }
.home-match-note { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.home-match-cta { display: inline-block; font-weight: 700; font-size: 14.5px; color: #08796e; text-decoration: none; }
.home-match-cta:hover { text-decoration: underline; }
.home-match-demo { padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff;
  box-shadow: 0 18px 40px rgba(31, 42, 68, .07); }
.home-match-rows { display: grid; gap: 10px; }
.home-match-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 11px 13px;
  border: 1px solid #cfe9e2; border-radius: 10px; background: #f6fbfa; font-size: 13.5px; }
.home-match-row.is-off { border-color: var(--border); background: var(--s2); }
.home-match-eq { color: var(--muted); font-weight: 700; }
.home-match-yes { margin-left: auto; color: #08796e; font-size: 11.5px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; }
.home-match-opt { margin-left: auto; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.home-match-impact { margin-top: 16px; padding: 14px; border-radius: 11px; background: #0f3f3a; color: #fff; }
.home-match-impact strong { display: block; font-size: 13.5px; }
.home-match-impact span { display: block; margin-top: 4px; color: #9fd9cf; font-family: var(--mono); font-size: 12.5px; }
@media (max-width: 860px) {
  .home-match { grid-template-columns: 1fr; gap: 26px; padding: 42px 18px 8px; }
}
