.safepay-hero{display:grid;grid-template-columns:1.6fr .8fr;gap:28px;align-items:stretch;margin-bottom:24px}
.safepay-hero>div:first-child{padding:36px;border-radius:22px;background:linear-gradient(135deg,#f4fbf7,#fff);border:1px solid var(--line)}
.safepay-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.04em;margin:8px 0 18px;color:var(--ink)}
.safepay-hero h1 span{color:var(--green)}.safepay-hero p{font-size:17px;color:var(--muted);max-width:760px}
.safe-card{border-radius:22px;padding:32px;background:#073d35;color:#fff;display:flex;flex-direction:column;justify-content:center}
.safe-card h2{font-size:30px;line-height:1.08;margin:14px 0}.safe-card p{color:#d6eee8}.shield{width:58px;height:58px;border-radius:18px;background:#fff;color:#087a55;display:grid;place-items:center;font-size:30px;font-weight:900}
.trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.trust-row span{background:#fff;border:1px solid var(--line);padding:8px 11px;border-radius:999px;font-size:13px;font-weight:700}
.market-toolbar{display:flex;align-items:center;justify-content:space-between;margin:34px 0 18px}.market-actions{display:flex;gap:10px}.listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}
.listing{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}.listing .category{font-size:12px;font-weight:800;color:var(--green);text-transform:uppercase}.listing h3{margin:8px 0}.listing .price{font-size:25px;font-weight:900;color:var(--ink);margin:14px 0}.listing p{color:var(--muted);min-height:44px}
.safe-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:20px}.safe-steps div{display:flex;flex-direction:column;gap:8px}.safe-steps b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff}.safe-steps span{font-size:13px;color:var(--muted)}
.market-search{max-width:440px;margin-bottom:18px}.market-search input{width:100%;min-height:48px;font-size:16px}
#sellerPanel .listing-grid{margin-top:14px}#sellerPanel .listing{overflow-wrap:anywhere}
@media(max-width:900px){.safepay-hero{grid-template-columns:1fr}.listing-grid{grid-template-columns:1fr 1fr}.safe-steps{grid-template-columns:1fr 1fr}}
@media(max-width:600px){
  .safepay-hero{gap:12px;margin-bottom:18px}
  .safepay-hero>div:first-child,.safe-card{padding:22px 18px;border-radius:16px}
  .safepay-hero h1{font-size:clamp(30px,9vw,40px);overflow-wrap:anywhere}
  .safepay-hero p{font-size:15px}
  .safepay-hero .trust-row{gap:8px}
  .safepay-hero .trust-row span{font-size:12px}
  .listing-grid,.safe-steps{grid-template-columns:1fr}
  .market-toolbar{align-items:stretch;gap:12px;flex-direction:column;margin:28px 0 16px}
  .market-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .market-actions #btnRefresh{grid-column:1/-1}
  .market-actions .btn{min-width:0;padding-inline:10px;text-align:center}
  .listing{padding:18px}
  #sellerPanel .field[style]{grid-column:auto!important}
  #sellerPanel .btn-primary{width:100%;min-height:48px}
  .listing h3,.listing p{overflow-wrap:anywhere}
  .listing p{min-height:0}
  .safe-steps{gap:20px}
  .safe-steps div{display:grid;grid-template-columns:36px 1fr;align-items:start;column-gap:10px}
  .safe-steps b{grid-row:span 2}
  .safe-steps strong,.safe-steps span{grid-column:2}
}

/* Obit Market storefront. Scoped so legal pages retain their shared layout. */
.market-page{--market-ink:#102e2a;--market-green:#17624c;--market-orange:#f18b40;background:#fff;color:var(--market-ink)}
.market-page .container{max-width:1200px}
.market-page .btn{background:var(--market-green);color:#fff;min-height:46px;gap:14px;justify-content:center}
.market-page .btn-secondary{background:white;color:var(--market-ink);border:1px solid #d7e4de}
.market-page a:focus-visible,.market-page button:focus-visible{outline:3px solid #e8a86c;outline-offset:4px}
.market-page button,.market-page input,.market-page select{font:inherit}
.market-page input,.market-page select,.market-page textarea{font-size:16px}
.market-page .eyebrow{color:var(--market-green);font-size:11px;letter-spacing:.15em;font-weight:800}
.market-page h2{font-size:clamp(27px,3.4vw,38px);line-height:1.15;letter-spacing:-.03em;margin:10px 0 14px}
.market-page h3{font-size:18px;letter-spacing:-.02em}
.market-page p{line-height:1.65}
.market-page main{padding-top:30px}
.market-topline{background:#113e32;color:#f2f7f4;text-align:center;font-size:12px;padding:9px 15px}
.market-topline span{margin-left:10px;color:#c7e2d6}
.market-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);border-bottom:1px solid #e8eee9}
.market-nav{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:91px}
.market-brand{display:flex;align-items:center;gap:10px;color:var(--market-ink);font-size:22px;font-weight:800;letter-spacing:-.04em;text-decoration:none}
.market-brand img{height:53px;width:53px;object-fit:contain}.market-brand b{font-weight:500}.market-brand small{display:block;font-size:10px;font-weight:500;letter-spacing:.06em;color:#71817b}
.market-nav nav{display:flex;gap:29px;font-size:14px;font-weight:600}.market-nav nav a{color:#4c6157;text-decoration:none}
.market-page section[id]{scroll-margin-top:115px}
.market-hero{display:grid;grid-template-columns:1.04fr 1fr;gap:30px;align-items:center;padding:42px 0 30px}
.hero-copy{padding:10px 0 30px}.hero-copy h1{font-size:clamp(38px,4.7vw,61px);line-height:1.09;letter-spacing:-.055em;margin:18px 0 22px;color:var(--market-ink)}.hero-copy h1 span{color:var(--market-green)}.hero-copy p{font-size:16px;color:#63746b;max-width:475px}
.hero-buttons{display:flex;gap:24px;align-items:center;margin-top:27px}.hero-plan-link{color:var(--market-green);font-size:13px;font-weight:700;text-underline-offset:4px}
.hero-tags{display:flex;gap:8px;margin-top:26px}.hero-tags span{border:1px solid #dfe8e2;border-radius:99px;padding:7px 13px;font-size:11px;font-weight:600;color:#53675b}
.hero-display{position:relative;border-radius:28px;background:linear-gradient(140deg,#edf5ed,#e2ece3);min-height:388px;padding:30px 24px 32px;overflow:hidden}.hero-display:before{content:'';position:absolute;width:280px;height:280px;border-radius:50%;background:#f7fbf5;top:48px;right:20px;opacity:.8}.display-label{font-size:10px;letter-spacing:.16em;font-weight:700;color:#5e7866;position:relative}.hero-products{position:relative;width:100%;height:265px}.hero-mini-card{position:relative;background:rgba(255,255,255,.95);border:1px solid #fff;border-radius:12px;padding:13px;display:flex;gap:12px;align-items:center;max-width:340px;box-shadow:0 10px 30px #193b2410}.hero-mini-card strong{font-size:13px}.hero-mini-card small{display:block;color:#6f7e74;font-size:10px;margin-top:3px}.mini-check{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e3f0e7;color:#17624c}.illustration-note{position:absolute;right:20px;bottom:12px;font-size:9px;color:#647767}
.market-benefits{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:25px 0;border-top:1px solid #e9eee8;border-bottom:1px solid #e9eee8;font-size:12px;color:#63726a}.market-benefits b{color:#218461;margin-right:7px}
.market-section{margin:58px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.section-heading h2{margin-bottom:0}.text-button{border:0;background:none;color:#17624c;font-size:12px;font-weight:700;min-height:44px;cursor:pointer;padding:4px 0}
.shop-controls{display:flex;gap:14px;margin:25px 0 21px}.market-page .market-search{display:flex;align-items:center;gap:12px;margin:0;background:#f6f8f5;border:1px solid #dde5dd;border-radius:10px;padding:0 18px;flex:1;max-width:none}.market-search>span[aria-hidden]{font-size:29px;color:#677869}.market-page .market-search input{border:0;background:transparent;outline:none;width:100%;min-height:53px;color:#163d2e}.market-page .market-search:focus-within{outline:2px solid #17624c}.market-sort select{min-height:55px;padding:0 14px;border:1px solid #dde5dd;border-radius:10px;background:#fff;color:#48604e;max-width:100%}
.category-filters{display:flex;gap:8px;overflow:auto;padding:3px 3px 12px;scrollbar-width:thin}.category-filters button{border:1px solid #e1e8e0;background:#fff;border-radius:99px;white-space:nowrap;padding:10px 18px;color:#61705e;cursor:pointer;font-size:12px;min-height:43px}.category-filters button.selected{background:#17624c;color:#fff;border-color:#17624c}.catalog-heading{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.catalog-heading h3{margin:0}.catalog-heading>span{font-size:12px;color:#758074}
.market-page .listing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.market-page .listing{padding:0;border-radius:15px;overflow:hidden;border:1px solid #e4eae3;display:flex;flex-direction:column;min-width:0;box-shadow:none}.product-media{width:100%;aspect-ratio:1.23;object-fit:contain;background:#f2f5ef;display:grid;place-items:center;position:relative}.product-media img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.product-placeholder svg{width:54%;max-height:130px}.product-placeholder small{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:9px;color:#7b8877}.product-body{padding:17px;display:flex;flex-direction:column;flex:1}.market-page .listing .category{font-size:9px;color:#74846f;letter-spacing:.08em}.market-page .listing h3{font-size:16px;line-height:1.4;margin:8px 0;overflow-wrap:anywhere}.market-page .listing .price{font-size:21px;margin:7px 0 0}.full-price-label{font-size:10px;color:#74816f}.product-body .product-estimate{margin:14px 0 16px;font-size:11px;color:#5e6f57;background:#f3f7ef;padding:9px;border-radius:7px;min-height:0}.product-estimate b{color:#24633c}.product-body .text-button{margin-top:auto;align-self:start}.seller-marker{font-size:10px;color:#416b4c;margin-bottom:8px}.empty-catalog{grid-column:1/-1;border:1px dashed #cfdccb;border-radius:15px;padding:34px;background:#fafcf8;text-align:center}.empty-catalog p{font-size:14px;color:#6d7d65;margin:10px auto;max-width:510px}.empty-catalog a{color:#17624c;font-weight:600}.market-notice{display:flex;gap:16px;flex-wrap:wrap;background:#fff7ee;border:1px solid #f2dfc8;border-radius:10px;padding:16px 20px;font-size:12px;color:#8a6740}.market-notice strong{color:#805125}
.payment-planner{display:grid;grid-template-columns:1fr .9fr 1fr;gap:28px;padding:35px;border-radius:22px;background:#f4f7ef;border:1px solid #e3e8dc;align-items:center}.planner-intro p{font-size:14px;color:#6b7a5f;margin:16px 0}.estimate-label{display:inline-block;background:#e6ebdc;border-radius:99px;padding:7px 10px;font-size:10px;font-weight:600;color:#637457}.planner-controls .field{font-size:12px;margin-bottom:15px}.rhythm-field{border:0;padding:0;margin:0 0 15px}.rhythm-field legend{font-size:12px;font-weight:600;margin-bottom:8px}.rhythm-buttons{display:flex;border:1px solid #d9e2d2;border-radius:9px;padding:4px;background:#fff}.rhythm-buttons button{flex:1;border:0;background:none;border-radius:6px;min-height:40px;cursor:pointer;font-size:12px;color:#70806a}.rhythm-buttons button.selected{background:#17624c;color:#fff}.planner-result{background:#fff;border:1px solid #e1e8da;border-radius:16px;padding:25px;box-shadow:0 10px 28px #25481b08}.planner-result>span{font-size:10px;letter-spacing:.12em;color:#7b8b6f}.planner-result>strong{display:block;font-size:36px;font-weight:800;color:#17624c;letter-spacing:-.05em;margin-top:18px}.planner-result>p{font-size:12px;color:#75846c}.plan-breakdown{border-top:1px solid #e9eee4;margin-top:20px;padding-top:15px;display:grid;gap:12px}.plan-breakdown>span{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#839276}.plan-breakdown b{color:#455b36;font-weight:600;text-align:right}.planner-result .plan-disclaimer{font-size:10px;line-height:1.6;margin:20px 0 0}.purchase-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin-top:32px}.purchase-steps article{border-top:1px solid #dce6d7;padding-top:24px}.purchase-steps article>span{font-size:11px;font-weight:700;color:#89a278}.purchase-steps h3{margin:16px 0 10px}.purchase-steps p{font-size:13px;color:#798472}
.seller-invite{border-radius:20px;padding:32px 36px;background:#153f33;display:flex;align-items:center;justify-content:space-between;gap:30px;color:white}.seller-invite .eyebrow{color:#b3ceb1}.seller-invite h2{color:#fff;font-size:29px}.seller-invite p{color:#c2d4c3;max-width:565px;font-size:13px}.seller-invite .btn{background:#f2a461;color:#18382b;white-space:normal}.seller-login{display:block;text-align:center;color:#c9dfcd;font-size:11px;margin-top:14px;text-underline-offset:4px}.market-page #sellerPanel[hidden]{display:none}.market-page #sellerPanel h2{font-size:30px}.description-field{grid-column:1/-1}.market-page #sellerPanel .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.market-page #sellerPanel .listing{padding:18px}.safepay-note{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;padding:26px 0;border-top:1px solid #e8eee2}.safepay-note h2{font-size:29px}.safepay-note p{font-size:13px;color:#798573}.market-footer{border-top:1px solid #e9eee5;background:#fafcf8;padding:38px 0;margin-top:30px}.market-footer>.container{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.market-footer .market-brand{font-size:16px}.market-footer .market-brand img{width:36px;height:36px}.market-footer p,.market-footer small{font-size:11px;color:#809174}.market-footer .container>div{display:flex;gap:15px}.market-footer a{font-size:12px;color:#547047}.mobile-market-nav{display:none}.product-dialog{border:1px solid #dbe5d9;border-radius:20px;padding:35px;width:min(800px,calc(100% - 28px));max-height:90dvh;overflow:auto;color:#163c2c}.product-dialog::backdrop{background:#082017aa}.dialog-close{position:absolute;right:14px;top:8px;background:white;border:0;width:44px;height:44px;border-radius:50%;font-size:28px;cursor:pointer;z-index:2}.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.product-detail-grid .product-media{border-radius:15px;overflow:hidden}.product-detail-grid h2{font-size:27px}.product-detail-grid p{font-size:13px;color:#6e8064;white-space:pre-line;overflow-wrap:anywhere}.detail-price{font-size:30px;font-weight:800;margin:16px 0;color:#17624c}.detail-actions{display:grid;gap:12px;margin-top:20px}.detail-notice{background:#fff6e8;padding:12px;border-radius:10px;font-size:11px;color:#8e6b35}.market-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){.market-nav nav{gap:16px}.hero-copy h1{font-size:43px}.hero-display{min-height:350px;padding:24px 20px}.hero-products{height:240px}.market-page .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.payment-planner{grid-template-columns:1fr 1fr}.planner-intro{grid-column:1/-1}.planner-intro h2 br{display:none}.purchase-steps{grid-template-columns:1fr 1fr}.hero-plan-link{font-size:12px}.hero-buttons{gap:14px}}
@media(max-width:640px){.market-page .container{width:calc(100% - 32px)}.market-topline{font-size:10px;padding:8px}.market-topline span{display:none}.market-nav{min-height:73px;gap:10px}.market-brand{font-size:19px}.market-brand img{width:43px;height:43px}.market-brand small{font-size:8px}.market-nav nav{display:none}.market-page .account-link{font-size:11px;padding:9px 12px;min-height:40px}.market-page main{padding-top:8px}.market-page section[id]{scroll-margin-top:90px}.market-hero{grid-template-columns:1fr;gap:10px;padding:24px 0 20px}.hero-copy{padding:0}.hero-copy h1{font-size:40px;margin:14px 0 17px}.hero-copy p{font-size:14px}.market-page .eyebrow{font-size:9px}.hero-buttons{margin-top:22px;gap:17px}.hero-buttons .btn{font-size:12px;padding:12px 16px}.hero-plan-link{font-size:11px}.hero-tags{margin:18px 0 12px}.hero-tags span{font-size:10px}.hero-display{min-height:270px;padding:20px 18px 25px;border-radius:18px}.hero-products{height:190px}.display-label{font-size:8px}.hero-mini-card{padding:9px;max-width:265px}.hero-mini-card strong{font-size:11px}.hero-mini-card small{font-size:8px}.mini-check{width:25px;height:25px;font-size:11px}.market-benefits{display:grid;grid-template-columns:1fr 1fr;padding:18px 0;gap:14px 6px;font-size:10px}.market-section{margin:35px 0}.market-page h2{font-size:28px}.section-heading{align-items:start;gap:8px}.section-heading .text-button{font-size:10px;white-space:nowrap}.shop-controls{flex-direction:column;gap:10px;margin-top:20px}.market-page .market-search{padding:0 12px}.market-page .market-search input{font-size:14px;min-height:49px}.market-sort{align-self:end}.market-sort select{min-height:40px;font-size:12px}.category-filters{gap:6px}.category-filters button{font-size:11px;padding:8px 13px}.catalog-heading h3{font-size:16px}.market-page .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-body{padding:12px}.market-page .listing h3{font-size:13px}.market-page .listing .price{font-size:18px}.product-body .product-estimate{padding:8px 6px;font-size:10px}.seller-marker{font-size:9px}.product-body .text-button{font-size:11px}.empty-catalog{padding:27px 18px}.empty-catalog h3{font-size:18px}.market-notice{padding:14px;gap:5px;font-size:11px}.payment-planner{display:block;padding:23px 18px;border-radius:18px}.planner-intro p{font-size:13px}.planner-controls{margin:24px 0}.planner-result{padding:23px}.purchase-steps{gap:22px 18px}.purchase-steps h3{font-size:15px}.purchase-steps p{font-size:12px}.seller-invite{display:block;padding:25px 21px}.seller-invite>div+div{margin-top:23px}.seller-invite .btn{width:100%;font-size:12px}.seller-invite h2{font-size:25px}.market-page #sellerPanel{padding:22px 18px}.market-page #sellerPanel .listing-grid{grid-template-columns:1fr}.market-page #sellerPanel .btn{width:100%}.description-field{grid-column:auto}.safepay-note{display:block;padding:25px 0}.safepay-note h2{font-size:27px}.market-footer{padding:25px 0 95px}.market-footer>.container{flex-direction:column;align-items:start;gap:12px}.mobile-market-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #dae5d7;z-index:25;padding:9px 0 calc(9px + env(safe-area-inset-bottom))}.mobile-market-nav a{display:flex;flex-direction:column;gap:3px;align-items:center;font-size:21px;line-height:1.1;color:#17624c;text-decoration:none}.mobile-market-nav span{font-size:9px;font-weight:600}.product-dialog{padding:45px 20px 23px;max-height:85dvh}.product-detail-grid{grid-template-columns:1fr;gap:20px}.product-detail-grid .product-media{max-height:240px}.product-dialog .btn{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.market-page{scroll-behavior:smooth}.market-page .listing{transition:transform .2s,box-shadow .2s}.market-page .listing:hover{transform:translateY(-3px);box-shadow:0 12px 25px #1a3e1e0a}}
