/* CrewBuddy home pages (/ and /es/). Builds on styles.css (home-v1); everything is scoped to body.cb-home. */
.cb-home { --cb-accent: #a34e29; --cb-paper: #f8f7ef; }
.cb-home .brand { display: flex; align-items: center; gap: 13px; }
.cb-home .brand b { font: 400 32px/1.1 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.cb-home .brand span { margin-left: 0; font: 400 13px var(--sans); color: var(--muted); padding-left: 13px; border-left: 1px solid #a9afa5; white-space: nowrap; }
.cb-home .hero .content-header { border-bottom: 0; }
.cb-home .hero-copy h1 { max-width: 800px; }
.hero-copy > .cb-trades { max-width: 520px; margin: 18px auto 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cb-home .gateways .quiet-link { margin-top: 4px; }
.cb-home .contact-avatar { background: var(--cb-accent); box-shadow: inset 0 1px 1px #d58c66; font: 500 19px/44px var(--sans); letter-spacing: -.02em; }
.cb-home .receipt-status::before { background: var(--cb-accent); }

/* Hero demo: picker, phone, result sheet */
.cb-picker { align-self: center; justify-self: end; width: 100%; max-width: 260px; padding: 22px; background: #f8f7efeb; box-shadow: 0 12px 30px #2538291c; border-radius: 4px; }
.cb-picker h2 { font-size: 30px; letter-spacing: -.025em; }
.cb-picker > p { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cb-picker-list { display: grid; gap: 8px; margin-top: 18px; }
.cb-picker-list button { display: grid; gap: 2px; width: 100%; min-height: 48px; padding: 9px 13px; border: 0; border-radius: 11px; background: #fbfaf6; box-shadow: inset 0 0 0 1px #bfc1b6; color: var(--ink); font: 500 14px/1.3 var(--sans); text-align: left; cursor: pointer; transition: background .18s, box-shadow .18s; }
.cb-picker-list button:hover { background: #fff; box-shadow: inset 0 0 0 1px #8e9784; }
.cb-picker-list small { font-size: 12px; font-weight: 400; color: var(--muted); }
.cb-picker-list button[aria-pressed="true"] { background: linear-gradient(#444640, #252824); color: #fff; box-shadow: inset 0 1px 0 #62665e, 0 3px 7px #25282426; }
.cb-picker-list button[aria-pressed="true"] small { color: #d9dbd2; }
.cb-pause { display: inline-flex; align-items: center; min-height: 40px; margin-top: 10px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: 13px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cb-pause[hidden] { display: none; }
.cb-home .result-sheet.cb-flash { animation: cb-settle .4s cubic-bezier(.16, 1, .3, 1); }
@keyframes cb-settle { from { opacity: .55; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.cb-shot { width: 232px; max-width: 86%; margin: 0 0 6px auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #d6d6db; font-size: 13px; line-height: 1.4; color: #1c1c1e; }
.cb-shot b { display: block; padding: 6px 11px; background: #f2f2f4; font-size: 11px; font-weight: 600; color: #59595f; }
.cb-shot span { display: block; padding: 8px 11px 10px; }
.cb-shot strong { display: block; margin-bottom: 2px; font-weight: 600; }
.cb-shot.new { animation: bubble-in .25s cubic-bezier(.16, 1, .3, 1); }
.cb-home .bubble.cb-draft { background: #e9e9eb; color: #000; }
.cb-home .bubble.cb-draft::before, .cb-home .bubble.cb-draft::after { display: none; }
.cb-draft-label { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--cb-accent); }

/* The week */
.cb-week > p, .cb-small > p { max-width: 660px; margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.cb-orders { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 40px; }
.cb-orders li { display: flex; flex-direction: column; min-width: 0; padding-top: 18px; border-top: 1px solid #a9afa5; }
.cb-when { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cb-plus { padding: 1px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--cb-accent); color: var(--cb-accent); letter-spacing: .02em; text-transform: none; }
.cb-orders h3 { margin: 14px 0 10px; font: 400 25px/1.2 var(--serif); letter-spacing: -.02em; }
.cb-orders p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.cb-orders .cb-uses { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink); }
.cb-uses::before { content: ''; display: block; width: 30px; margin-bottom: 10px; border-top: 1px dashed #8e9784; }

/* What to ask (same rhythm as the real-estate home) */
.cb-home .business-examples { padding-block: 88px; border-top: 1px solid #d1d4c8; }
.cb-home .business-examples h2 { max-width: 700px; margin: 0 0 20px; font: 400 clamp(32px, 4vw, 48px)/1.15 var(--serif); }
.cb-home .business-examples > p { max-width: 700px; font-size: 14px; line-height: 1.7; }
.cb-home .business-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; margin-top: 48px; }
.cb-home .business-categories h3 { margin: 0 0 20px; padding-top: 20px; border-top: 1px solid #a9afa5; font: 400 24px/1.2 var(--serif); }
.cb-home .business-categories ul { list-style: none; margin: 0; padding: 0; }
.cb-home .business-categories li { margin-bottom: 14px; font-size: 14px; line-height: 1.7; }
.cb-home .business-examples .business-note { max-width: none; margin: 40px 0 0; font-size: 13px; color: var(--muted); }

/* Small jobs examples */
.cb-small { border-top: 1px solid #d1d4c8; }
.cb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.cb-tabs button { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 12px; background: #f8f6f1; box-shadow: inset 0 0 0 1px #bfc1b6; color: var(--ink); font: 500 14px/1.3 var(--sans); cursor: pointer; transition: background .18s, box-shadow .18s; }
.cb-tabs button:hover { background: #fffdf8; }
.cb-tabs button[aria-selected="true"] { background: linear-gradient(#444640, #252824); color: #fff; box-shadow: inset 0 1px 0 #62665e, 0 3px 7px #25282426; }
.cb-small-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: start; margin-top: 24px; }
.cb-small-panel .text-example { margin: 0; min-height: 260px; }
.cb-small-panel .text-bubble { white-space: pre-line; font-size: 15px; }
.cb-voice { display: flex; align-items: center; gap: 10px; }
.cb-play { flex-shrink: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-block: 6px solid transparent; }
.cb-wave { display: inline-block; width: 92px; height: 18px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); -webkit-mask: radial-gradient(50% 50% at 50% 50%, #000 45%, transparent 100%); mask: radial-gradient(50% 50% at 50% 50%, #000 45%, transparent 100%); opacity: .9; }
.cb-photo { display: flex; align-items: flex-end; width: 170px; height: 112px; padding: 9px 11px; border-radius: 16px; background: linear-gradient(135deg, #d9cdb7, #a49278 62%, #7c6c58); color: #fff; font-size: 13px; font-weight: 500; }
.cb-sheet { padding: 24px 26px; background: var(--cb-paper); box-shadow: 0 12px 30px #2538291c; transform: rotate(1.2deg); }
.cb-sheet.cb-flash { animation: cb-settle .4s cubic-bezier(.16, 1, .3, 1); }
.cb-sheet h3 { margin: 12px 0 16px; font: 400 27px/1.15 var(--serif); letter-spacing: -.02em; }
.cb-sheet dl { margin: 0; font-size: 14px; line-height: 1.5; }
.cb-sheet dt { margin-top: 14px; font-size: 13px; color: var(--muted); }
.cb-sheet dd { margin: 4px 0 0; }
.cb-rows { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cb-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; border-top: 1px solid #d3d8c8; }
.cb-rows span:nth-child(2) { grid-column: 1; color: var(--muted); font-size: 13px; }
.cb-rows em { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 3px 10px; border-radius: 99px; background: #eceee6; color: var(--muted); font-size: 12px; font-style: normal; }
.cb-rows em.cb-due { background: #f4e3d6; color: #7d3a1d; }
.cb-rows em.cb-ok { background: #dfe8d3; color: #33452a; }
.cb-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 16px; font-weight: 600; }
.cb-doc dt { display: flex; justify-content: space-between; gap: 12px; color: var(--ink); font-size: 14px; }
.cb-calc-out { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #f4e3d6; color: #6f321a; font: 400 22px/1.2 var(--serif); }

/* Other assistants */
.cb-home .other-assistants > p { margin: 16px 0 34px; max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* Tools */
.cb-home .featured-apps a { display: block; border-top: 1px solid #b7bfaf; padding-top: 18px; }
.cb-home .featured-apps a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.cb-tool-list { padding-top: 6px; }

/* Pricing */
.cb-pricing { border-top: 1px solid #d1d4c8; }
.cb-pricing .section-intro > p a, .cb-price-note a { text-decoration: underline; text-underline-offset: 3px; }
.cb-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.cb-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 32px; border-radius: 18px; background: #f8f6f1; box-shadow: inset 0 0 0 1px #c9cebf; }
.cb-plan.cb-featured { background: #fffdf8; box-shadow: inset 0 0 0 1px #8e9784, 0 18px 40px #25382914; }
.cb-badge { position: absolute; top: -12px; left: 28px; padding: 4px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; }
.cb-plan h3 { font: 400 28px/1.15 var(--serif); letter-spacing: -.02em; }
.cb-price { margin-top: 14px; font: 400 60px/1 var(--serif); letter-spacing: -.04em; }
.cb-price small { margin-left: 4px; font: 400 15px var(--sans); letter-spacing: 0; color: var(--muted); }
.cb-setup { margin-top: 10px; font-size: 14px; color: var(--muted); }
.cb-plan ul { flex: 1; display: grid; align-content: start; gap: 10px; list-style: none; margin: 24px 0 28px; padding: 0; font-size: 14px; line-height: 1.55; }
.cb-plan li { position: relative; padding-left: 26px; }
.cb-plan li::before { content: ''; position: absolute; left: 3px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }
.cb-plan .button { align-self: flex-start; }
.cb-price-note { max-width: 780px; margin-top: 26px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.cb-plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cb-plan li a, .cb-modules a { text-decoration: underline; text-underline-offset: 3px; }
.cb-modules { max-width: 860px; margin-top: 36px; padding-top: 24px; border-top: 1px solid #d1d4c8; }
.cb-modules h3 { font: 400 26px/1.2 var(--serif); letter-spacing: -.02em; }
.cb-modules p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.cb-modules ul { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
@media (max-width: 1100px) { .cb-plans-3 { grid-template-columns: minmax(0, 1fr); max-width: 620px; } }
.cb-home .closing .cb-closing-note { margin: 16px 0 0; font-size: 13px; }

@media (max-width: 1100px) {
  .cb-picker { max-width: 230px; padding: 18px; }
  .cb-picker h2 { font-size: 26px; }
}
@media (max-width: 900px) {
  .cb-home .demo-stage .phone-wrap { grid-row: 1; }
  .cb-picker { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 550px; }
  .cb-picker-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cb-home .result-sheet { grid-row: 3; }
  .cb-orders, .cb-home .business-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-small-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cb-sheet { max-width: 520px; transform: none; }
}
@media (max-width: 760px) {
  .cb-orders, .cb-home .business-categories, .cb-plans { grid-template-columns: minmax(0, 1fr); }
  .cb-orders { gap: 34px; }
  .cb-home .business-examples { padding-block: 56px; }
  .cb-home .business-categories { gap: 32px; }
  .cb-plan { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .cb-home .brand b { font-size: 20px; }
  .cb-home .brand span { display: none; }
  .cb-home .site-header { gap: 12px; }
  .cb-home .site-header .nav-cta { white-space: nowrap; flex-shrink: 0; }
  .cb-picker { max-width: 350px; padding: 18px; }
  .cb-picker-list { grid-template-columns: minmax(0, 1fr); }
  .cb-home .result-sheet { grid-row: 3; }
  .cb-small-panel .text-example { padding: 20px; min-height: 0; }
  .cb-price { font-size: 52px; }
  .cb-home .hero-actions { flex-wrap: wrap; }
  .cb-home .hero-actions .button { white-space: nowrap; }
}
.cb-home .content-footer .lang-note { max-width: 180px; font-size: 13px; line-height: 1.5; color: var(--muted); }
