/* ===== Homepage components =====
   Ported from Marissa's approved "Home Page Design" (claude.ai/artifact/EdqwEixeXagsDZ4R5fiYay,
   shared 2026-11-04; rules: docs/website/design-guide.md). Loaded after brand.css by
   index.html. Changes from the design's own stylesheet:
   - .pill -> .cta and .eyebrow -> .overline (brand.css already owns .pill and .eyebrow);
   - small green/blue text uses --green-ink / --blue-ink (the guide's #45823D / #1F7AA6
     fall to ~4.3:1 on the Paper and Mist bands); buttons keep the guide's exact shades;
   - the "Best value" badge sits on the accessible green (white on #63A55B is 2.97:1);
   - the pop-up (#919) and the design's own header rules are left out. */

/* Page wrapper: the design's root <div> (Open Sans 18px / 1.65, charcoal on white), and
   the defaults brand.css changes put back to the design's. overflow-x:clip, not hidden,
   so the sticky site header keeps working. */
.mk{font-family:var(--body);color:#3F403C;background:#FFFFFF;font-size:18px;line-height:1.65;position:relative;overflow-x:clip}
/* :where() keeps these resets at element weight, so the design's own class rules (.h3big,
   .hero-photo, ...) still win, as they do in the design. */
:where(.mk) h3{letter-spacing:normal;line-height:inherit}
:where(.mk) img{display:inline}
.mk h1,.mk h2,.mk h3{text-wrap:balance}.mk p,.mk li,.mk blockquote{text-wrap:pretty}
/* Links are small text: the blue ink (the guide's #1F7AA6 is 4.4:1 on the Paper/Mist bands). */
.mk a{color:var(--blue-ink)}.mk a:hover{color:#165C7E}
.mk p a,.mk li a{text-decoration:underline}
.mk .cta:hover{color:#FFFFFF;filter:brightness(.92)}
/* The hero's ‡ links to the card note at the bottom of the page. */
.mk a.card-mark{color:#3F403C;text-decoration:none}
/* The design footer's fine print (‡ * † and savings), above the shared footer. */
.page-notes{border-top:1px solid #ECEBE6;background:#FFFFFF}
.page-notes .wrap{max-width:1180px;padding-top:28px;padding-bottom:12px;display:grid;gap:8px;justify-items:center;text-align:center}
.page-notes .fine{max-width:900px}

.tw{font-family:'Special Elite',monospace;color:#3F403C}
section{position:relative}
.wrap{max-width:1120px;margin:0 auto;padding-left:32px;padding-right:32px}
.narrow{max-width:820px}
.wrap h2,.hs h2{margin:0 0 20px;font-family:'Open Sans',sans-serif;font-weight:800;letter-spacing:-0.5px;font-size:clamp(32px,3.4vw,44px);line-height:1.08;color:#3F403C}
.overline{margin:0 0 12px;font-family:'Open Sans',sans-serif;font-weight:600;font-size:13px;letter-spacing:3px;color:var(--green-ink)}.overline.blue{color:var(--blue-ink)}
.cta{display:inline-block;color:#FFFFFF!important;text-decoration:none;font-family:'Open Sans',sans-serif;font-weight:700;font-size:16px;padding:15px 26px;border-radius:999px}
.micro{font-size:15.5px;color:#4A4B47;margin:18px 0 0}
.lanes{background:#FFFFFF;padding:56px 0 40px}
.lane-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.lane-card{background:#F7F6F2;border-radius:24px;padding:28px 30px 32px;display:flex;flex-direction:column}
.lane-card .cta{align-self:flex-start;margin-top:auto}
.lane-card .cta-pair{margin-top:auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px}.lane-card .cta-pair .cta{margin-top:0}
.lane-card .learn{display:inline-flex;align-items:center;min-height:44px;font-family:'Open Sans',sans-serif;font-weight:700;color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px}
.lane-card h3{text-align:center;margin:14px 0 4px;font-family:'Open Sans',sans-serif;font-size:24px;color:#3F403C}
.lane-card .price{text-align:center;margin:0 0 16px;font-weight:700;color:#3F403C}
.lane-card ul{list-style:none;margin:0 0 12px;padding:0}.lane-card li{position:relative;margin:0 0 8px;padding-left:30px}
.lane-card li::before{content:"";position:absolute;left:2px;top:7px;width:14px;height:8px;border-left:2.5px solid #45823D;border-bottom:2.5px solid #45823D;transform:rotate(-45deg)}
.lane-card .micro{margin:0 0 20px}
.proof{margin:22px 0 0;padding-top:16px;border-top:1px solid #ECEBE6;font-family:'Open Sans',sans-serif;font-weight:600;font-size:14px;color:#3F403C}
.hs{background:#EEF7FB;padding:96px 0}
.hs-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:56px;align-items:start}
.hs-grid > div:last-child{margin-top:150px}
@media (max-width:860px){.hs-grid > div:last-child{margin-top:0}}
.hs-quote{position:relative;margin:0;background:#1F7AA6;color:#FFFFFF;border-radius:24px;padding:40px 30px 26px;box-shadow:0 14px 34px rgba(31,122,166,.22)}
.hs-quote .qmark{position:absolute;top:-8px;left:22px;font:800 90px/1 'Open Sans',sans-serif;color:#FFFFFF;opacity:.35}
.hs-quote blockquote{margin:0 0 14px;font:600 21px/1.5 'Open Sans',sans-serif;color:#FFFFFF}
.hs-quote figcaption{font:700 26px/1.1 'Caveat',cursive;color:#FFFFFF}
.hs-row{margin-top:56px;display:flex;flex-direction:column;gap:20px}
.hs-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hs-checks > div{position:relative;background:#FFFFFF;border-radius:18px;padding:20px 18px 20px 48px;font-size:16px;line-height:1.5}
.hs-checks > div::before{content:"";position:absolute;left:18px;top:26px;width:14px;height:8px;border-left:2.5px solid #45823D;border-bottom:2.5px solid #45823D;transform:rotate(-45deg)}
.hs-checks strong{display:block;color:#3F403C}
.hs-pex{display:flex;gap:28px;align-items:center;background:#FFFFFF;border-radius:18px;padding:22px 28px;font-size:16px;line-height:1.5}
.hs-pex img{flex:0 0 170px;width:170px;transform:rotate(-6deg);filter:drop-shadow(0 8px 10px rgba(31,122,166,.25))}
@media (max-width:640px){.hs-pex{flex-direction:column;align-items:flex-start}}@media (max-width:640px){.hs-checks{grid-template-columns:1fr}}
.steps{margin:0;padding-left:22px}.steps li{margin:0 0 14px}
.receipt{background:#FFFFFF;border-radius:20px;padding:28px;box-shadow:0 14px 34px rgba(31,122,166,.12);font-family:'Open Sans',sans-serif}
.receipt-title{margin:0 0 14px;font-weight:700;color:#3F403C;letter-spacing:1px}
.receipt .row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #DCDCDA}.receipt .total{color:var(--blue-ink)}
.receipt p{font-family:'Open Sans',sans-serif;font-size:15px;margin:14px 0 0}
.head-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.rl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;grid-auto-flow:dense}
.rl-card{position:relative;overflow:hidden;background:#FFFFFF;border-radius:22px;padding:30px 26px 24px;box-shadow:0 10px 28px rgba(63,64,60,.08);transition:transform .2s ease,box-shadow .2s ease}
.rl-card::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:#63A55B}
.rl-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(63,64,60,.12)}
.rl-card.hs::before{background:#359BC8}.rl-card.all::before{background:linear-gradient(90deg,#359BC8,#63A55B)}
.rl-motif{position:absolute;right:-14px;bottom:-16px;opacity:.09;pointer-events:none;z-index:0;transform:rotate(-8deg)}
.rl-motif svg{width:150px;height:auto;display:block}
.rl-card > *:not(.rl-motif){position:relative;z-index:1}
.rl-card h3{margin:0 0 10px;font:700 20px/1.3 'Open Sans',sans-serif;color:#3F403C}.rl-card p{margin:0 0 14px;font-size:17px}

.rl-feature{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:center;background:linear-gradient(135deg,#FFFFFF 55%,#EEF7FB)}
.expense-card{width:100%;transform:rotate(-4deg);filter:drop-shadow(0 18px 22px rgba(31,122,166,.28))}
.tag{display:inline-block;font-size:12px;font-weight:700;font-family:'Open Sans',sans-serif;border-radius:999px;padding:5px 12px;color:var(--green-ink);background:#F0F7EE}
.rl-card.hs .tag{color:var(--blue-ink);background:#EEF7FB}.rl-card.all .tag{color:#2F6F6A;background:linear-gradient(90deg,#EEF7FB,#F0F7EE)}
@media (max-width:999px){.rl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.rl-grid{grid-template-columns:1fr}.rl-wide,.rl-feature{grid-column:auto}.rl-feature{grid-template-columns:1fr}}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.tabs{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.tabs button{font:700 15px 'Open Sans',sans-serif;border:2px solid #1F7AA6;background:#FFFFFF;color:var(--blue-ink);border-radius:999px;padding:10px 20px;cursor:pointer}
.tabs button[aria-selected="true"]{background:#1F7AA6;color:#FFFFFF}
.tpanel{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}.tpanel[hidden]{display:none}
.tcard{position:relative;margin:0;background:#FFFFFF;border-radius:24px;padding:30px 26px 22px;display:flex;flex-direction:column;gap:16px;box-shadow:0 10px 28px rgba(31,122,166,.10);transition:transform .2s ease}
.tcard:hover{transform:translateY(-3px)}
.tcard:nth-child(even){background:linear-gradient(180deg,#FFFFFF 70%,#F0F7EE)}
.qmark{position:absolute;top:-6px;left:20px;font:700 84px/1 'Open Sans',sans-serif;color:#359BC8;opacity:.35}
.tcard:nth-child(even) .qmark{color:#63A55B}
.tcard blockquote{position:relative;margin:14px 0 0;font-size:18px;line-height:1.55;color:#3F403C;flex:1}
.tcard figcaption{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;color:#3F403C;padding-top:14px;border-top:1px dashed #DCDCDA}
.av{flex:0 0 36px;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1F7AA6;color:#FFFFFF;font:700 16px 'Open Sans',sans-serif;overflow:hidden}
.tcard:nth-child(even) .av{background:#45823D}.av img{width:26px;height:26px;object-fit:contain;background:#FFFFFF;border-radius:50%;padding:3px}
.faq{border-bottom:1px solid #ECEBE6;padding:18px 0}
.faq summary{font:700 18px 'Open Sans',sans-serif;color:#3F403C;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::after{content:"+";color:#1F7AA6;font-size:24px;line-height:1}.faq[open] summary::after{content:"\2212"}
.faq summary::-webkit-details-marker{display:none}.faq p{margin:12px 0 0}
.fine{margin:0;font-size:14.5px;color:#4A4B47;max-width:900px}
.sticky-bar{display:none}

.qcard{margin:0;border-radius:20px;padding:22px 24px}
.qcard blockquote{margin:0 0 10px;font-size:17px;line-height:1.55;color:#3F403C}
.qcard figcaption{font-weight:700;font-size:15px;color:#3F403C}
.h3big{margin:0 0 12px;font-family:'Open Sans',sans-serif;font-weight:700;font-size:30px;line-height:1.1;color:#3F403C}
.h3sm{margin:0 0 12px;font-family:'Open Sans',sans-serif;font-weight:700;font-size:20px;color:#3F403C}
.aud-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px 40px;margin:0 0 56px;max-width:980px}
.aud-grid p{margin:0;padding-left:16px;border-left:3px solid #63A55B}
.er-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;align-items:center}
.checks{list-style:none;padding:0;margin:22px 0 0}.checks li{position:relative;padding-left:30px;margin:0 0 12px}
.checks li::before{content:"";position:absolute;left:2px;top:6px;width:14px;height:8px;border-left:2.5px solid #45823D;border-bottom:2.5px solid #45823D;transform:rotate(-45deg)}
.kicker{margin:0 0 10px;font-family:'Caveat',cursive;font-weight:600;font-size:clamp(28px,2.6vw,36px);color:#45823D}
.ways{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.way-card{position:relative;background:#F7F6F2;border-radius:24px;padding:30px 28px;display:flex;flex-direction:column}
.way-card .way-name{margin:0 0 6px;font:600 13px 'Open Sans',sans-serif;letter-spacing:2px;text-transform:uppercase;color:var(--green-ink)}
.way-card h3{margin:0 0 12px;font:700 26px/1.15 'Open Sans',sans-serif;color:#3F403C}
.way-card p{margin:0 0 12px}.way-card .where{font-size:15px}
.way-card .way-price{font:700 17px/1.4 'Open Sans',sans-serif;color:#3F403C;margin:auto 0 16px;padding-top:14px;border-top:1px solid #E4E3DE}
.way-card a{font-weight:700;color:var(--blue-ink)}
.way-card.dark{background:#3F403C;color:#E6E6E2}.way-card.dark h3,.way-card.dark .way-price{color:#FFFFFF}.way-card.dark .way-name{color:#9FD08F}
.way-card.dark .way-price{border-color:rgba(255,255,255,.2)}.way-card.dark a{color:#8CCBE8}
.badge{position:absolute;top:-12px;right:22px;background:#45823D;color:#FFFFFF;font:700 12px 'Open Sans',sans-serif;letter-spacing:1px;padding:6px 12px;border-radius:999px}
.hero-art{flex:1 1 440px;min-width:0;padding:10px 20px 30px 60px}
.hero-frame{position:relative;width:420px;max-width:100%;margin-left:auto;background:#FFFFFF;padding:14px 14px 56px;box-shadow:0 18px 40px rgba(63,64,60,.22);transform:rotate(2deg)}
.h1-plus{display:block;margin:14px 0 0;font-size:.6em;line-height:1.18;letter-spacing:-0.6px;color:#45823D}
.hero-art{display:flex;flex-direction:column}
.hero-frame .hero-card{position:absolute;right:-40px;bottom:-34px;width:180px;transform:rotate(-8deg);z-index:2;filter:drop-shadow(0 16px 20px rgba(31,122,166,.3))}
@media (max-width:760px){.hero-frame .hero-card{right:-10px;bottom:-24px;width:110px}.card-mark{right:-14px!important;bottom:-34px!important}}
.card-mark{position:absolute;right:-52px;bottom:-46px;z-index:3;font:700 16px 'Open Sans',sans-serif;color:#3F403C}
.hero-checks{list-style:none;margin:20px 0 32px;padding:0;display:flex;flex-wrap:nowrap;gap:10px 24px;white-space:nowrap}
@media (max-width:420px){.hero-checks{flex-direction:column}}
.hero-checks li{position:relative;padding-left:30px;font:400 18px 'Special Elite',monospace;color:#3F403C}
.hero-checks li::before{content:"";position:absolute;left:0;top:-3px;width:24px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6.2 C3.2 4.6 4.3 3.9 6 4 C10 4.3 14.5 3.6 17.6 4.1 C19.2 4.4 19.6 5.3 19.5 7 C19.3 11 19.9 15 19.4 18.4 C19.2 19.8 18.2 20.2 16.6 20.1 C12.4 19.8 8.4 20.5 5.4 20 C3.9 19.8 3.6 18.9 3.7 17.3 C3.9 13.4 3.3 9.6 3.5 6.2 Z' stroke='%237A7B76' stroke-width='1.4'/%3E%3Cpath d='M6.8 12.4 C8.2 13.6 9.4 15 10.4 16.6 C13 11.2 17.4 6 24 1.8' stroke='%2345823D' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat center/contain}
.photo-ph{height:470px;display:flex;align-items:center;justify-content:center;text-align:center;border:2px dashed #B9C9D3;background:#EEF7FB;color:#1F7AA6;font:700 18px/1.4 'Open Sans',sans-serif}
.hero-photo{display:block;width:100%;height:470px;object-fit:cover;object-position:62% 20%;background:#FFFFFF}
@media (max-width:760px){.hero-photo{height:300px}}
.photo-ph small{font-weight:600;font-size:14px;color:#3F403C}
.hero-frame .hero-bag{position:absolute;left:-90px;bottom:-30px;width:250px;filter:drop-shadow(0 14px 16px rgba(63,64,60,.25))}
.mail-ic{flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#1F7AA6;display:flex;align-items:center;justify-content:center}
.rl-span2{grid-column:span 2}
.rl-mind{grid-column:span 2;background:#F0F7EE}
.rl-mind h3{font-size:26px}.rl-mind p{font-size:18px;max-width:560px}
.rl-mind .rl-motif{opacity:.16}.rl-mind .rl-motif svg{width:190px}
.mind-kicker{margin:0 0 10px!important;font:700 13px 'Open Sans',sans-serif!important;letter-spacing:2px;text-transform:uppercase;color:var(--green-ink)}
@media (max-width:760px){.photo-ph{height:300px}.hero-frame .hero-bag{left:-20px;width:150px}}
@media (max-width:640px){.rl-span2,.rl-mind{grid-column:auto}}

.sig{margin:0;font:700 32px/1.1 'Caveat',cursive;color:#45823D}
.feature-q{margin:0 0 20px;font:600 clamp(20px,2vw,26px)/1.5 'Open Sans',sans-serif;color:#3F403C}
.receipt-title{font-family:'Open Sans',sans-serif;font-size:17px}
.phone-wrap{margin-bottom:150px!important}
.steth-back,.steth-front{position:absolute;width:460px;max-width:none;left:-78px;top:516px;transform:rotate(22deg);transform-origin:30% 13%;pointer-events:none;filter:drop-shadow(0 8px 10px rgba(63,64,60,.25))}
.steth-back{z-index:0}
/* The real photo in the old phone mockup's slot (Marissa, 2026-11-13): the phone's own
   footprint, 344 by 692, so the layout around it does not move. */
.dpc-photo{position:relative;z-index:1;display:block;width:344px;max-width:100%;height:692px;object-fit:cover;object-position:38% 30%;border-radius:52px;box-shadow:0 30px 60px rgba(30,31,29,.28)}
.steth-front{z-index:2;clip-path:circle(37px at 138px 36px)}
@media (max-width:760px){.phone-wrap{margin-bottom:0!important}}
@media (max-width:860px){.er-grid{grid-template-columns:1fr}}
.squig{position:relative;white-space:nowrap;display:inline-block}
.squig svg{position:absolute;left:0;right:0;bottom:-10px;width:100%;height:16px}
.er-btns{display:flex;flex-direction:column;gap:12px;max-width:440px}.er-btns .cta{text-align:center}
/* Marissa, 2026-11-13: the cost-claim testimonial and its cast sketch left this section, so
   the text and buttons stand alone at a readable width. */
.er-solo{grid-template-columns:minmax(0,760px)}
.xcard{background:#F7F6F2;padding:104px 0}
.xcard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px;align-items:center}
.xcard .overline{color:var(--blue-ink)}
.xcard-art{position:relative;padding:118px 10px 10px}
.xcard-art .expense-card{display:block;width:100%;transform:rotate(-5deg);filter:drop-shadow(0 22px 26px rgba(31,122,166,.28))}
.card-note{position:absolute;top:0;left:-6px;margin:0;font:600 30px/1 'Caveat',cursive;color:#45823D;transform:rotate(-4deg)}
.card-arrow{position:absolute;top:38px;left:34px;width:150px;height:104px;z-index:2}
.wavy{margin-top:72px}
.scen{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.scen-item{background:#FFFFFF;border-radius:18px;padding:18px 20px;box-shadow:0 8px 22px rgba(31,122,166,.08);font-size:16px;line-height:1.5}
.scen-item strong{display:block;font-size:17px;color:#3F403C}
@media (max-width:860px){.scen{grid-template-columns:1fr 1fr}}@media (max-width:560px){.scen{grid-template-columns:1fr}}
.faq-head{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.faq-loop{width:130px;height:58px;flex:0 0 auto}
.rl-wide{grid-column:1/-1}
@media (max-width:860px){.xcard-grid{grid-template-columns:1fr}.card-arrow{display:none}.card-note{position:static;margin:0 0 6px}.xcard-art{padding-top:10px}}

@media (min-width:980px){.oneline{white-space:nowrap}}
.statement{background:#F0F7EE;color:#3F403C}.statement h2,.statement h3{color:#3F403C}
.hero-plus{margin:0 0 32px;max-width:580px;font-size:20px}
.er-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.receipt-wrap{position:relative}.receipt-wrap .receipt{position:relative;z-index:1}
.env{position:absolute;z-index:0;width:310px;height:auto;max-width:none;right:-48px;top:-200px;transform:rotate(7deg);filter:drop-shadow(0 10px 12px rgba(63,64,60,.18))}
@media (max-width:860px){.env{position:relative;display:block;width:230px;height:auto;right:auto;top:auto;margin:0 auto -8px}}
@media (max-width:860px){.hs-grid{grid-template-columns:1fr}}
@media (max-width:760px){
  .cutout{display:none!important}
  .sticky-bar{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#FFFFFF;box-shadow:0 -6px 18px rgba(63,64,60,.15);z-index:900}
  .sticky-bar a{flex:1;text-align:center;color:#FFFFFF;text-decoration:none;font:700 15px 'Open Sans',sans-serif;padding:13px 10px;border-radius:999px}
  body.has-sticky-bar{padding-bottom:72px}
  .mk h1{font-size:36px!important}
}
