/* Homepage only. Loaded after styles.css and features.css, and reuses the feature-page
   illustration vocabulary (.f-art, .win, .chip, .phone, .tag, .f-icon). Illustrations here are fluid
   (no fixed 540px canvas), so their labels never scale below 13px on a phone. */

:root {
  --dated: #eceef0;        /* the gray "before" website */
  --dated-line: #dcdfe3;
}

/* Labels inside homepage illustrations stay at 13px or larger. */
.ba-art .win-top span, .job-art .win-top span { font-size: 13px; height: 20px; line-height: 20px; border-radius: 10px; }
.job-art .win-hero em { font-size: 13px; }
.job-art .note, .job-art .note b { font-size: 13px; }
.job-chip i { font-size: 13px; }

/* ---------- Problem: before / after ---------- */
.ba-art { aspect-ratio: auto; padding: 36px 32px 32px; display: grid; }
.ba-art .solid { position: relative; }
.ba-before { background: var(--dated); padding-bottom: 8px; }
.ba-before .win-top { background: var(--dated-line); }
.ba-dated { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px dashed rgba(26, 46, 68, 0.2); }
.ba-dated-img { height: 62px; background: rgba(26, 46, 68, 0.14); }
.ba-dated-lines { display: grid; gap: 8px; }
.ba-eyebrow { padding: 20px 24px 4px; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--coral-ink); }
.ba-list li { border-top: 1px solid var(--dated-line); }
.ba-list li:first-child { border-top: 0; }
.ba-list .acc-title { padding: 24px; gap: 16px; font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 30px; color: var(--navy); }
.ba-list .ba-text { flex: 1; }
.ba-list .chev { width: 22px; height: 22px; color: var(--coral-ink); }
.ba-list .acc-title:hover .ba-text { color: var(--coral-ink); }
.ba-list .acc-body > p { padding: 0 24px; font-size: 17px; color: var(--navy); }
.ba-list li.open > .acc-body > p { padding-bottom: 22px; }
.ba-list .acc-title:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: -2px; border-radius: 6px; }
@media (max-width: 560px) {
  .ba-art { padding: 16px; }
  .ba-dated { grid-template-columns: 84px 1fr; padding: 12px 14px; }
  .ba-dated-img { height: 48px; }
  .ba-eyebrow { padding: 14px 14px 4px; }
  .ba-list .acc-title { padding: 18px 14px; font-size: 17px; line-height: 1.4; }
  .ba-list .acc-body > p { padding: 0 14px; }
}

/* ---------- Three Jobs: cards ---------- */
.job-cards { --cols: 3; margin-top: 56px; }
.job-card { display: flex; flex-direction: column; padding: 0 0 30px; overflow: hidden; }
.job-card > :not(.job-art) { padding-inline: 26px; }
.job-art { aspect-ratio: auto; height: 250px; border-radius: 0; flex: none; }
.job-card .job-num { margin-top: 26px; font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .2em; line-height: 1.4; color: var(--coral-ink); -webkit-text-stroke: 0; }
.job-card .job-name { margin: 6px 0 10px; font-size: 22px; }
.job-card .job-tag { margin-top: auto; padding-top: 16px; font-size: 13px; letter-spacing: .14em; line-height: 1.5; }
.job-card p:not(.job-num):not(.job-tag) { color: var(--navy-deep); }

.job-search { left: 22px; top: 24px; width: 70%; padding: 14px 16px; display: grid; gap: 4px; }
.job-search-q { padding: 7px 12px; margin-bottom: 8px; border-radius: 999px; background: var(--pool-soft); font-size: 13px; color: var(--navy); }
.job-search-url { font-size: 13px; color: var(--ok); }
.job-search-t { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.job-search .bar + .bar { margin-top: 4px; }
.job-gauge { right: 20px; bottom: 18px; width: 118px; height: 118px; }
.job-gauge::before { inset: 10px; }
.job-gauge strong { font-size: 32px; color: var(--ok); }
.job-gauge span { display: block; max-width: 80px; font-size: 13px; letter-spacing: .02em; line-height: 1.2; text-transform: none; }

.job-win { left: 22px; right: 22px; top: 24px; }
.job-win .win-hero { height: 164px; }
.job-win .win-hero div { width: 62%; top: 26px; }
.job-win .win-hero strong { font-size: 17px; }
.job-chip { right: 18px; bottom: 16px; }

.job-phone { left: 50%; top: 22px; width: 220px; height: 440px; margin-left: -110px; padding: 10px; }
.job-phone .phone-screen { padding-top: 32px; gap: 8px; }

@media (max-width: 1100px) and (min-width: 901px) { .job-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } .job-card > :not(.job-art) { padding-inline: 20px; } }

/* ---------- What You Get ---------- */
.get > .container > h2 { margin-bottom: 60px; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-head .app-eyebrow { margin-bottom: 0; }
.app-head .f-icon { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.app-head .f-icon svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .get > .container > h2 { margin-bottom: 40px; }
}

/* ---------- How It Works: timeline ---------- */
.how .steps li { position: relative; grid-template-columns: 76px 1fr; align-items: start; padding: 0 0 48px; border-top: 0; }
.how .steps li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--salmon); }
.how .steps li:last-child { padding-bottom: 0; }
.how .steps li:last-child::before { display: none; }
.how .step-num {
  width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; font-weight: 700; color: var(--navy-deep); background: var(--salmon);
  box-shadow: 0 0 0 6px rgba(246, 169, 149, 0.16);
}
.how .steps h3 { margin: 9px 0 12px; }

@media (max-width: 900px) {
  .how .steps li { grid-template-columns: 58px 1fr; padding-bottom: 36px; }
  .how .steps li::before { left: 19px; top: 40px; }
  .how .step-num { width: 40px; height: 40px; font-size: 15px; }
  .how .steps h3 { margin-top: 7px; }
}

/* ---------- Pricing: column icons ---------- */
.plan-features h4.has-icon { display: flex; align-items: center; gap: 10px; }
.plan-features .f-icon { width: 34px; height: 34px; border-radius: 10px; flex: none; box-shadow: none; }
.plan-features .f-icon svg { width: 18px; height: 18px; }

/* ---------- Final CTA over a night pool photo ---------- */
.cta-photo { position: relative; isolation: isolate; overflow: hidden; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); opacity: .85; }
.cta-photo > .bg-img { z-index: -2; }

/* ---------- How We Build It: Inside the AI illustrations above each card ---------- */
.proof { padding: 120px 0 140px; background: var(--cream); }
.proof .eyebrow { margin-bottom: 14px; color: var(--coral-ink); }
.proof .accent { color: var(--coral-ink); }
.proof h2 { margin-bottom: 44px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
/* White-led art box with a hairline, so it stands off the cream section. */
.proof-card .f-art {
  margin-bottom: 26px; border-radius: 20px;
  background:
    radial-gradient(70% 60% at 15% 10%, #ffffff, transparent 60%),
    radial-gradient(60% 70% at 95% 95%, rgba(235, 95, 82, 0.30), transparent 70%),
    radial-gradient(60% 60% at 90% 10%, rgba(47, 143, 176, 0.22), transparent 70%),
    linear-gradient(160deg, #ffffff, #fde9df);
  box-shadow: 0 0 0 1px rgba(26, 46, 68, 0.07), 0 20px 40px -24px rgba(26, 46, 68, 0.35);
}
/* Crop the canvas's empty side margins so the panels read larger; 0.6 is the first-paint fallback. */
.proof .f-art > .canvas { transform: scale(var(--s, 0.6)) translate(-20px, -20px); }
.proof-card h3 { margin-bottom: 10px; color: var(--navy); font-size: 22px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.proof-card p { color: var(--ink); font-size: 17px; line-height: 1.55; }
@media (min-width: 701px) { .proof-card h3 { min-height: calc(2em * 1.3); } }
@media (max-width: 1100px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 28px; }
  .proof-card .f-art { border-radius: 24px; }
}
@media (max-width: 700px) {
  .proof { padding: 70px 0; }
  .proof h2 { margin-bottom: 28px; }
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Pricing: white, so it separates from the cream Fit section ---------- */
.pricing { background: var(--white); }

/* What You Get: the website card uses the same icon + INCLUDED + title pattern as the app cards */
.get > .container > h2 { margin-bottom: 12px; }
.get-sub { margin-bottom: 48px; font-size: 18px; color: var(--navy); }
.build-card .app-head .eyebrow { margin-bottom: 0; font-size: 14px; letter-spacing: .2em; }
.build-card .app-title { color: var(--white); }
.build-card > p.build-title { margin-bottom: 20px; }
@media (max-width: 900px) { .get-sub { margin-bottom: 32px; } }
