/* ---------- Subrobuddy homepage (Backyard) ---------- */
body.home { background: #F5F0E6; }
.home h1, .home h2, .home h3 { font-family: "Fraunces", Georgia, serif; font-weight: 700; }
.career-link { border: 2px solid var(--moss); color: var(--moss) !important; }
.career-link:hover { background: #E4EEDF; }

.h-label { font-weight: 700; font-size: 17px; color: var(--muted); margin-bottom: 12px; }
.h-lead { font-size: 21px; line-height: 1.55; color: #2E4A3C; max-width: 860px; margin-bottom: 40px; }
.h-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.h-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.h-btn { display: inline-block; text-align: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 18px; text-decoration: none; transition: transform .12s ease; }
.h-btn:hover { transform: translateY(-2px); }
.h-btn-main { background: var(--sun); color: var(--navy); }
.h-btn-main:hover { background: #EDB94F; }
.h-btn-line { border: 2px solid var(--navy); color: var(--navy); }
.h-btn-sun { background: var(--sun); color: var(--navy); }

/* Meet Subrobuddy (what it is, before any planning) */
.h-meet { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.h-meet .wrap { display: grid; gap: 20px; }
.h-meet .h-kicker { color: var(--moss); }
.h-meet-title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -1px; color: var(--navy); max-width: 1000px; }
.h-meet-body { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 760px; }
.h-meet-tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.h-meet-tiles li { background: #FFFDF8; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; display: grid; gap: 6px; }
.h-meet-tiles li:nth-child(1) { background: #D5E4CF; border-color: #D5E4CF; }
.h-meet-tiles li:nth-child(2) { background: #F7E3B5; border-color: #F7E3B5; }
.h-meet-tiles li:nth-child(3) { background: #DCEAF0; border-color: #DCEAF0; }
.h-meet-tiles b { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--navy); }
.h-meet-tiles span { font-size: 17px; line-height: 1.45; color: #2E4A3C; }
.h-meet-line { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: var(--moss); }
.h-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 28px; }
.h-door { display: grid; gap: 8px; padding: 26px 28px; border-radius: 22px; text-decoration: none; transition: transform .15s ease; }
.h-door:hover { transform: translateY(-2px); }
.h-door:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.h-door b { font-family: "Fraunces", Georgia, serif; font-size: 26px; line-height: 1.15; }
.h-door span { font-size: 18px; line-height: 1.45; }
.h-door em { font-style: normal; font-weight: 800; font-size: 17px; margin-top: 4px; }
.h-door-you { background: var(--moss); color: #fff; }
.h-door-you b, .h-door-you span { color: #fff; }
.h-door-you em { color: var(--sun); }
.h-door-pro { background: var(--navy); color: #F5F0E6; }
.h-door-pro b { color: #F5F0E6; }
.h-door-pro span { color: #D8E2DA; }
.h-door-pro em { color: var(--sun); }
.h-meet-sub { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; color: var(--navy); max-width: 900px; padding-top: 28px; border-top: 1px solid var(--line); }
.h-meet-down {justify-self: start; font-weight: 800; font-size: 18px; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.h-meet-down:hover { color: var(--moss); }
#pick-label { scroll-margin-top: 24px; }

/* Hero */
.h-hero { padding: 64px 0 96px; }
.h-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pick { min-height: 48px; padding: 10px 22px; border-radius: 999px; font: 700 17px "Figtree", system-ui, sans-serif; cursor: pointer; background: #FFFDF8; color: var(--navy); border: 2px solid #CFC4AF; transition: background .15s ease, color .15s ease; }
.pick:hover { border-color: var(--navy); }
.pick[aria-pressed="true"] { background: var(--navy); color: #F5F0E6; border-color: var(--navy); }
.pick:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.h-hero .h-big { font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -2px; margin-bottom: 14px; }
.h-sub { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; color: var(--moss); margin-bottom: 20px; }
.h-body { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 600px; margin-bottom: 30px; }

/* Toolkit stack */
.h-stack { position: relative; height: 640px; }
.h-card { position: absolute; border-radius: 24px; padding: 26px 28px; display: grid; gap: 10px; }
.h-card-label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #2E4A3C; }
.h-letter { left: 4%; top: 0; width: 82%; background: #FFFDF8; border: 1px solid var(--line); transform: rotate(-3deg); }
.h-letter h3 { font-size: 24px; }
.h-letter p { font-size: 15px; line-height: 1.55; }
.h-steps { left: 20%; top: 290px; width: 72%; background: #D5E4CF; transform: rotate(3deg); gap: 12px; }
.h-check { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.h-check .box { width: 26px; height: 26px; flex: none; border-radius: 8px; border: 2px solid var(--moss); }
.h-check .box.on { background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/16px no-repeat; }
.h-say { left: 0; top: 490px; width: 64%; background: #DCEAF0; transform: rotate(-2deg); }
.h-say p { font-weight: 700; font-size: 17px; line-height: 1.4; }

/* First hour */
.h-hour { background: #D5E4CF; }
.h-hour h2, .h-asn h2, .h-why h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -1.5px; margin-bottom: 16px; }
.h-hour .h-label { color: #2E4A3C; }
.h-tips { list-style: none; counter-reset: tip; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.h-tips li { counter-increment: tip; background: #FFFDF8; border-radius: 22px; padding: 28px 28px 28px 96px; position: relative; display: grid; gap: 6px; }
.h-tips li::before { content: counter(tip); position: absolute; left: 28px; top: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #F5F0E6; font: 700 22px "Fraunces", Georgia, serif; display: grid; place-items: center; }
.h-tips b { font-family: "Fraunces", Georgia, serif; font-size: 25px; line-height: 1.15; }
.h-tips span { color: var(--muted); font-size: 18px; line-height: 1.5; }
.h-record { background: var(--navy); color: #F5F0E6; border-radius: 22px; padding: 26px 32px; display: flex; gap: 20px; align-items: center; }
.h-record svg { flex: none; }
.h-record p { font-size: 19px; line-height: 1.5; }
.h-record b { color: var(--sun); }

/* The reflex */
.h-reflex { background: var(--navy); color: #F5F0E6; text-align: center; padding: 120px 0; }
.h-reflex .wrap { display: grid; justify-items: center; gap: 26px; }
.h-kicker { font-size: 15px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #B9CEC0; }
.h-reflex h2 { font-size: clamp(38px, 6vw, 80px); line-height: 1.03; letter-spacing: -1.5px; max-width: 1000px; }
.h-reflex p { font-size: 21px; line-height: 1.6; color: #D8E3DB; max-width: 780px; }
.h-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); }
.h-pills span { background: #2E4A3C; color: #F5F0E6; padding: 12px 24px; border-radius: 999px; }
.h-pills span.sun { background: transparent; color: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--sun-soft); }
.h-pills.small { font-size: clamp(18px, 2vw, 26px); font-weight: 600; }
.h-reflex .h-quiet { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; color: #F5F0E6; max-width: 880px; }
.h-fine { font-size: 15px !important; color: #B9CEC0 !important; max-width: 680px; }

/* Ask. Show. Negotiate. */
.h-asn { background: #FFFDF8; }
.h-asn h2 { text-align: center; }
.h-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.h-panel { border-radius: 26px; padding: 36px; display: grid; gap: 12px; align-content: start; }
.h-panel.sage { background: #D5E4CF; } .h-panel.mist { background: #DCEAF0; } .h-panel.honey { background: #F7E3B5; }
.h-panel .h-num { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 76px; line-height: 1; color: var(--moss); }
.h-panel h3 { font-size: 34px; }
.h-panel p { font-size: 18px; line-height: 1.5; color: #2E4A3C; }

/* Why skip */
.h-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.h-col { border-radius: 26px; padding: 36px; }
.h-col h3 { font-family: "Figtree", system-ui, sans-serif; font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.h-col ul { list-style: none; display: grid; gap: 12px; font-size: 20px; line-height: 1.4; }
.h-col.plain { background: #FFFDF8; border: 1px solid var(--line); }
.h-col.plain h3 { color: var(--muted); }
.h-col.moss { background: var(--moss); color: #fff; }
.h-why-note { font-size: 17px; color: var(--muted); max-width: 860px; margin-top: 22px; }
.h-why .h-col.plain h3 { color: var(--ink, #1F3A2E); }
.h-why .h-lead { margin-bottom: 8px; }
.h-col.moss ul { font-weight: 700; }

/* Close */
.h-close { background: var(--navy); color: #F5F0E6; text-align: center; }
.h-close .wrap { display: grid; justify-items: center; gap: 26px; }
.h-close h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -1.5px; }

/* Phones and tablets */
@media (max-width: 960px) {
  .h-hero { padding: 40px 0 64px; }
  .h-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .h-stack { height: auto; display: grid; gap: 16px; }
  .h-card { position: static; width: auto; transform: none; }
  .h-tips, .h-three, .h-two, .h-meet-tiles, .h-doors { grid-template-columns: 1fr; }
  .h-meet { padding: 44px 0 40px; }
  .h-meet-body { font-size: 19px; }
  .h-reflex { padding: 88px 0; }
}
@media (max-width: 520px) {
  .h-tips li { padding: 24px 22px 24px 84px; }
  .h-tips li::before { left: 20px; top: 22px; width: 44px; height: 44px; }
  .h-record { flex-direction: column; align-items: flex-start; padding: 24px; }
  .h-btn { width: 100%; }
}


.h-body .h-maybe { display: block; margin-top: 10px; font-size: 17px; font-weight: 600; }

/* Specialists first: four investigation calls */
.h-meet-tiles.h-meet-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h-meet-tiles li:nth-child(4) { background: #F2DCCB; border-color: #F2DCCB; }
.h-meet-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: baseline; margin-top: 6px; }
.h-meet-down.quiet { font-weight: 700; opacity: .85; }
@media (max-width: 700px) { .h-meet-tiles.h-meet-four { grid-template-columns: 1fr; } }

/* Three doors: specialists, adjusters, your own claim */
.h-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h-door-adj { background: #F7E3B5; color: var(--navy); }
.h-door-adj b { color: var(--navy); } .h-door-adj span { color: #2E4A3C; }
.h-door-adj em { color: var(--moss); }
@media (max-width: 900px) { .h-doors { grid-template-columns: 1fr; } }
/* Specialist homepage: the five file stages, and the small line under the buttons */
.h-meet-tiles.h-meet-five { grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: stage; }
.h-meet-five li { position: relative; align-content: start; }
.h-meet-five li:nth-child(4) { background: #E9DDF0; border-color: #E9DDF0; }
.h-meet-five li:nth-child(5) { background: #EFE7D8; border-color: #EFE7D8; }
.h-meet-five li::before { counter-increment: stage; content: counter(stage); font-weight: 800; font-size: 14px; color: var(--moss); }
.h-meet-fine { font-size: 16px; color: var(--muted); margin-top: -6px; }
@media (max-width: 1100px) { .h-meet-tiles.h-meet-five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .h-meet-tiles.h-meet-five { grid-template-columns: 1fr; } }

/* ---------- Hero with log in ---------- */
.h-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 440px); gap: 40px; align-items: center; }
.h-hero-text { display: grid; gap: 18px; }
.h-easy { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 4px; }
.h-easy li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy); }
.h-easy b { width: 40px; height: 40px; border-radius: 12px; background: #FFFDF8; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; flex: 0 0 auto; }
.h-login { background: #1E3B30; color: #F5F0E6; border-radius: 26px; padding: 30px 30px 24px; box-shadow: 0 18px 44px rgba(30, 59, 48, .22); scroll-margin-top: 90px; }
.h-login h2 { font-size: 32px; color: #F5F0E6; }
.h-login-sub { color: #D5E4CF; font-size: 17px; margin: 4px 0 18px; }
.h-login form { display: grid; gap: 10px; }
.h-login label { font-weight: 700; font-size: 15px; color: #D5E4CF; }
.h-login input { font: 600 18px "Figtree", system-ui, sans-serif; color: var(--navy); background: #FFFDF8; border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; min-height: 52px; width: 100%; }
.h-login input:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.h-login .h-btn { width: 100%; border: 0; cursor: pointer; font-family: "Figtree", system-ui, sans-serif; margin-top: 4px; }
.h-login .h-btn[disabled] { opacity: .6; cursor: wait; }
.h-login-msg { min-height: 1.2em; margin-top: 12px; font-size: 15px; color: #F5F0E6; line-height: 1.45; }
.h-login-msg.warn { color: #F7C9A8; }
.h-login-msg:empty { display: none; }
.h-login-fine { margin-top: 14px; font-size: 14px; color: #A9C2B0; }
.h-login-link { background: none; border: 0; color: #D5E4CF; font: 700 15px "Figtree", system-ui, sans-serif; text-decoration: underline; cursor: pointer; padding: 6px 0; justify-self: center; display: block; margin: 8px auto 0; }
#hl-in .h-btn { display: block; }
#hl-in h2 span { color: var(--sun); }
.h-doors-one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .h-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 520px) {
  .h-easy { grid-template-columns: minmax(0, 1fr); }
  .h-login { padding: 24px 20px 20px; }
}
.h-login [hidden] { display: none !important; }
