/*
  HOME PAGE (launch, Oct 2026)
  Only the home page loads this file. Shared pieces (menu, footer, buttons,
  section labels, the sun stroke, the dark "problem" band) come from
  /site.css and /layout.css. Colours come from /settings.css.
*/

/* ── HERO: headline and buttons on the left, the example card on the right ── */
.hero.home-hero { min-height: 0; padding-top: 150px; }
.home-hero .hero-inner { width: 100%; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; }
.home-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; margin: 18px 0 20px; }
.home-hero .hero-desc { font-size: 21px; font-weight: 400; color: var(--ink-mid); line-height: 1.45; margin-bottom: 32px; max-width: 30ch; }
.home-hero .hero-cta { align-items: center; gap: 20px; }
.text-link-strong { color: var(--deep-sea); font-weight: 600; font-size: 15px; text-decoration: none; }
.text-link-strong:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── THREE TICKS under the hero ── */
section.home-trust { padding: 30px 40px; border-bottom: 1px solid var(--line); }
.home-trust ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-trust li { display: flex; align-items: center; gap: 14px; }
.home-trust strong { display: block; font-size: 16px; line-height: 1.3; }
.home-trust small { display: block; font-size: 14px; color: var(--ink-light); line-height: 1.4; }
.home-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--deep-sea-soft); display: grid; place-items: center; }
.home-icon svg { width: 22px; height: 22px; }

/* ── THE PROBLEM: shorter cards than the old home page ── */
.problem .section-intro { margin-bottom: 40px; }
.problem-item { padding: 28px 28px; }
.problem-item h3 { font-weight: 600; margin: 0 0 6px; }
.problem-item p { line-height: 1.55; font-size: 15px; }
.problem-item p a { color: #CFE3EE; text-decoration: underline; text-underline-offset: 3px; }
.problem-icon { margin-bottom: 14px; }

/* ── HOW IT WORKS: three steps in a row, then the example calendar (styles in /calendar-demo.css) ── */
.home-how h2 { margin-bottom: 32px; }
.vsteps { list-style: none; margin: 0; padding: 0; }
.vsteps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 30px; position: relative; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; border-left: 2px dashed var(--line); }
.vsteps li:last-child::before { display: none; }
.vsteps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.vsteps h3 { font-size: 20px; margin: 8px 0 4px; }
.vsteps p { margin: 0; color: var(--ink-mid); font-size: 16px; line-height: 1.55; }
.vsteps p a { color: var(--deep-sea); }

/* ── CLOSING: on mist (no landscape - the footer has its own whale) ── */
section.home-end {
  text-align: center;
  background: var(--mist);
  padding: 80px 40px;
}
.home-end h2 { margin-bottom: 12px; }
.home-end p { font-size: 18px; color: var(--ink-mid); margin: 0 0 26px; }
.home-end .text-link-strong { display: block; margin-top: 18px; }

/* Line icons on this page (22 Oct 2026) */
.ic { width: 22px; height: 22px; flex-shrink: 0; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 14px; height: 14px; }
.home-icon .ic { color: var(--deep-sea); }
.problem-icon .pi { width: 22px; height: 22px; color: var(--deep-sea); }
.fair-line { margin: 28px auto 0; max-width: 60ch; text-align: center; font-size: 17px; line-height: 1.55; color: var(--white); font-weight: 500; text-wrap: balance; }

/* ── KINDS OF HELP: one tile per role, three to a row; more rows as roles open ── */
section.home-roles { background: var(--mist); padding-top: 80px; padding-bottom: 80px; }
.rt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .rt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rt { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); min-width: 0; }
.rt h3 { font-size: 18px; margin: 0 0 2px; }
.rt p { margin: 0; font-size: 15px; color: var(--ink-mid); line-height: 1.45; }
.rt .rt-links { margin-top: 8px; font-weight: 600; font-size: 14px; }
.rt .rt-links a { color: var(--deep-sea); text-decoration: none; }
.rt .rt-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.role-badge { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--deep-sea-soft); color: var(--deep-sea); display: grid; place-items: center; }
.role-badge .ic { width: 26px; height: 26px; }
.more-line { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--ink-light); font-size: 15px; margin: 28px 0 0; }

/* How it works (continued) */
section.home-how { background: var(--white); }
.hsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 40px; }
.hsteps li { grid-template-columns: 1fr; gap: 12px; padding-bottom: 0; align-content: start; }
.hsteps li::before { display: none; }
.fee-line { max-width: fit-content; margin: 24px auto 0; padding: 10px 14px; border-radius: 10px; background: var(--mist); font-size: 15px; color: var(--ink); text-align: center; }
.fee-line a { color: var(--deep-sea); font-weight: 600; white-space: nowrap; }


/* ── THE HOUSEHOLD ACCOUNT: heading and four short points beside a made-up example screen ── */
section.mk-account { background: var(--mist); }
.acc-split { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.acc-text h2 { margin-bottom: 12px; }
.acc-intro { margin: 0 0 32px; font-size: 17px; color: var(--ink-mid); line-height: 1.6; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list strong { display: block; font-size: 17px; }
.feat-list small { display: block; font-size: 15px; color: var(--ink-mid); line-height: 1.45; margin-top: 1px; }
.acct { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(20,36,47,0.35); overflow: hidden; min-width: 0; }
.acct-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.acct-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.acct-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-light); background: var(--mist); padding: 3px 10px; border-radius: 6px; }
.acct-body { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.acct-menu { border-right: 1px solid var(--line); padding: 14px 6px; display: flex; flex-direction: column; gap: 2px; }
.acct-menu .m, .acct-menu .find { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1.2; color: var(--ink-mid); padding: 6px 7px; border-radius: 7px; }
.acct-menu .ic { width: 14px; height: 14px; }
.acct-menu em { font-style: normal; }
.acct-menu .m.on { background: var(--deep-sea-soft); color: var(--deep-sea); font-weight: 600; }
.acct-menu .find { white-space: nowrap; margin-top: 10px; background: var(--deep-sea); color: var(--white); font-weight: 600; }
.acct-main { background: #F7FAFB; padding: 18px; min-width: 0; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; }
.acct-grid .col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ap { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-width: 0; }
.ap-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; font-size: 14px; }
.ap-h .ic { color: var(--deep-sea); }
.ap-h .add { margin-left: auto; font-size: 12px; color: var(--deep-sea); font-weight: 600; }
.bk { display: flex; gap: 12px; align-items: flex-start; }
.dtile { flex-shrink: 0; width: 52px; border-radius: 10px; background: var(--deep-sea-soft); color: var(--deep-sea); text-align: center; padding: 5px 0; line-height: 1.1; }
.dtile b { display: block; font-size: 10px; letter-spacing: .06em; }
.dtile strong { display: block; font-size: 20px; }
.bk-txt { min-width: 0; }
.bk-txt p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink); }
.bk-txt .bk-what { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--deep-sea); font-weight: 600; margin-bottom: 2px; }
.bk-txt .bk-who { font-weight: 700; font-size: 15px; }
.bk-txt .bk-time { color: var(--ink-mid); }
.bk-icons { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ri { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--deep-sea); }
.ri .ic { width: 17px; height: 17px; }
.ri.wa { color: #25D366; }
/* Who's at home: the same emoji circles as the account's Household tab */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.tile .emo { width: 48px; height: 48px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: 24px; line-height: 1; margin-bottom: 6px; }
.tile b { font-size: 13px; }
.tile small { font-size: 11px; color: var(--ink-light); line-height: 1.3; }
.sc { display: grid; gap: 6px; margin-top: 12px; }
.sc-ends { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-mid); }
.dots { display: flex; justify-content: space-between; padding: 0 2px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line); }
.dots i.on { background: var(--deep-sea); border-color: var(--deep-sea); }
.hp { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.hp + .hp { border-top: 1px solid var(--line); padding-top: 10px; }
.hp img, .hp-ini { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hp img { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--sun); }
.hp-ini { background: var(--deep-sea-soft); color: var(--deep-sea); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.hp div { min-width: 0; }
.hp b { display: block; font-size: 13px; }
.hp small { display: block; font-size: 11px; color: var(--ink-light); }
.hp small.good { color: #3A6535; font-weight: 600; }
.hp .book { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--deep-sea); }

/* ── FREE GUIDES ── */
section.mk-guides { background: var(--white); }
.mk-guides .section-intro { margin-bottom: 36px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); background: var(--white); min-width: 0; }
.guide:hover { border-color: var(--deep-sea); }
.guide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.guide div { padding: 16px 18px 18px; }
.guide h3 { margin: 0 0 4px; font-size: 18px; }
.guide p { margin: 0; font-size: 15px; color: var(--ink-mid); line-height: 1.5; }

/* ── SMALLER SCREENS ── */
@media (max-width: 900px) {
  .hero.home-hero { padding-top: 112px; }
  .home-hero .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .home-hero .hero-visual { order: 0; }
  .home-trust ul { grid-template-columns: 1fr; gap: 16px; }
  section.home-trust { padding: 24px; }
  .rt-grid, .acc-split, .guide-grid { grid-template-columns: 1fr; }
  .acc-split { gap: 32px; }
  .rt { flex-direction: row; align-items: flex-start; }
  .hsteps { grid-template-columns: 1fr; gap: 24px; }
  .hsteps li { grid-template-columns: 44px 1fr; gap: 18px; }
  .acct-body { grid-template-columns: 1fr; }
  .acct-menu { display: none; }
}
@media (max-width: 600px) {
  /* Phones: skip the small label so the headline and card sit higher */
  .hero.home-hero { padding-top: 92px; }
  .home-hero .hero-tag { display: none; }
  .home-hero h1 { font-size: 38px; margin-top: 0; }
  .home-hero .hero-desc { font-size: 18px; margin-bottom: 24px; }
  .home-hero .hero-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .home-hero .hero-cta .btn-primary { text-align: center; }
  .problem-item { padding: 24px 22px; }
  .vsteps h3 { font-size: 18px; }
  section.home-end { padding: 56px 24px; }
  section.home-roles { padding-top: 64px; padding-bottom: 64px; }
  .acct-grid { grid-template-columns: 1fr; }
  .guide img { aspect-ratio: 5 / 2; }
}

/* Each kind of work has its own soft colour (29 Oct 2026). The colour belongs to
   the kind of work, never to a helper, so it only shows where households choose a role. */
.rt { border-top-width: 4px; }
.rt-nanny { border-top-color: #F5C6CC; }
.rt-aupair { border-top-color: #C9D3EA; }
.rt-sitter { border-top-color: #C8DDBF; }
.rt-clean { border-top-color: #B9DEDA; }
.rt-nanny .role-badge { background: #FBE9EA; color: #A84B5E; }
.rt-aupair .role-badge { background: #E6EBF4; color: #3D4F86; }
.rt-sitter .role-badge { background: #E8F1E3; color: #3A6535; }
.rt-clean .role-badge { background: #DFF0EE; color: #21706A; }
