/* Homepage and usage-guide presentation. Payment and account layouts stay separate. */
:is(#home,#guide){--home-space:88px;--home-title:40px;--home-tint:#ebf4fd}
:is(#home,#guide) h1,:is(#home,#guide) h2,:is(#home,#guide) h3{word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance;letter-spacing:-.035em}
:is(#home,#guide) p{word-break:keep-all;overflow-wrap:anywhere}
#home h1,#home h2,#home h3{letter-spacing:-.025em}
#home .home-hero{display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;background:var(--home-tint);margin:8px -28px 0;padding:52px 24px 48px 52px;min-height:480px;gap:8px}
#home .hero-copy{min-width:0;position:relative;z-index:1}
#home .hero-copy h1{font-size:2.5rem;line-height:1.4;font-weight:750}
#home .hero-copy h1 span{color:var(--blue)}
#home .hero-card-choice{white-space:nowrap}
#home .hero-copy>p{font-size:1.125rem;line-height:1.8;color:#405777;margin:24px 0 0}
#home .hero-copy .hero-tagline{width:fit-content;max-width:100%;font-size:2.15rem;line-height:1.03;font-weight:850;color:var(--ink);margin:0 0 24px;letter-spacing:-.03em;text-transform:uppercase;overflow-wrap:normal}
#home .hero-tagline>span{display:block}
#home .hero-tagline strong{display:block;color:var(--blue-dark);font-weight:850;font-size:1.45em;margin-top:3px}
#home .tagline-dot{color:var(--ink)}
#home .hero-mascot{display:block;width:100%;height:auto;max-width:none}
#home .hero-actions{display:flex;align-items:center;gap:24px;margin-top:32px;flex-wrap:wrap}
#home .landing-action{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:54px;padding:14px 24px;border-radius:10px;background:var(--blue);color:#fff;font-weight:700;font-size:1rem}
#home .landing-action:hover{background:var(--blue-dark)}
#home .landing-action:active{background:#123b9d}
#home .landing-action svg,:is(#home,#guide) .text-link svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:transform .2s ease-out}
#home .landing-action:hover svg{transform:translateX(3px)}
#home .hero-guide{display:inline-flex;align-items:center;min-height:48px;font-size:14px;font-weight:700;color:#405777;text-decoration:underline;text-underline-offset:6px}
#home .hero-guide:hover{color:var(--blue-dark)}
#home .hero-uses{display:flex;list-style:none;margin:28px 0 0;padding:0;gap:0;flex-wrap:wrap;font-size:13px;color:#476184}
#home .hero-uses li+li:before{content:'·';margin:0 12px}
:is(#home,#guide) .payment-flow{--flow-gap:64px;--flow-arrow-width:104px;--flow-arrow-height:34px;display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:var(--flow-gap);max-width:960px;margin:0 auto;padding:0;list-style:none}
:is(#home,#guide) .payment-flow-step{position:relative;min-width:0;text-align:center}
:is(#home,#guide) .payment-flow-visual{height:80px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
:is(#home,#guide) .payment-flow-visual>svg{display:block;width:88px;height:72px}
:is(#home,#guide) .payment-flow-mark{display:block;width:82px;height:74px;background:var(--blue);-webkit-mask:url('company-mark-transparent.png') 50% 63% / 174% auto no-repeat;mask:url('company-mark-transparent.png') 50% 63% / 174% auto no-repeat}
:is(#home,#guide) .payment-flow-step :is(h2,h3){font-size:1.5rem;font-weight:650;line-height:1.4;color:var(--ink)}
:is(#home,#guide) .payment-flow-step p{margin:10px 0 0;font-size:.875rem;line-height:1.6;color:var(--muted);word-break:keep-all}
:is(#home,#guide) .payment-flow-step:not(:last-child):before{content:'';position:absolute;top:90px;right:calc((var(--flow-gap) + var(--flow-arrow-width)) * -.5);width:var(--flow-arrow-width);height:var(--flow-arrow-height);transform:translateY(-50%);pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 32' preserveAspectRatio='none'%3E%3Cpath d='M4 10H74V4Q74 1 77 3L95 14Q98 16 95 18L77 29Q74 31 74 28V22H4Q1 22 1 19V13Q1 10 4 10Z' fill='%236683b7'/%3E%3C/svg%3E") center/100% 100% no-repeat}
#guide .payment-flow{margin-top:40px;padding:36px 0;border-block:1px solid var(--line)}
#guide .flow-note{font-size:13px;line-height:1.7;margin:14px 0 0;text-align:center}
#guide .benefit-pair{display:grid;grid-template-columns:1fr 1fr;gap:72px;padding:var(--home-space) 0}
#guide .benefit-detail{min-width:0}
#guide .benefit-detail+.benefit-detail{border-left:1px solid var(--line);padding-left:72px}
#guide .benefit-detail h3{font-size:30px;line-height:1.45;font-weight:800}
#guide .benefit-detail>p{font-size:16px;line-height:1.85;margin:20px 0 0;max-width:65ch}
#guide .reuse-explainer,#guide .price-explainer{margin-top:32px;padding:24px 0 0;border-top:1px solid var(--line)}
#guide .reuse-document{display:flex;align-items:center;gap:14px;margin-bottom:20px}
#guide .reuse-document svg{width:28px;height:32px;flex-shrink:0;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#guide .reuse-document strong{display:block;font-size:17px}
#guide .reuse-document span{display:block;font-size:13px;color:var(--muted);margin-top:2px}
#guide .reuse-explainer dl,#guide .price-explainer dl{margin:0}
#guide .reuse-explainer dl>div,#guide .price-explainer dl>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0}
#guide .reuse-explainer dt,#guide .price-explainer dt{font-size:14px;color:var(--muted)}
#guide .reuse-explainer dd,#guide .price-explainer dd{margin:0;font-size:15px;font-weight:750;text-align:right;word-break:keep-all}
#guide .price-explainer .price-total{padding-top:20px;margin-top:12px;border-top:1px solid var(--line)}
#guide .price-total dd{font-size:23px;color:var(--blue-dark)}
#guide .benefit-detail .benefit-note{font-size:13px;line-height:1.75;margin-top:20px}
:is(#home,#guide) .text-link{display:inline-flex;align-items:center;gap:18px;min-height:44px;color:var(--blue-dark);font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:6px;margin-top:14px}
:is(#home,#guide) .text-link:hover{color:var(--blue)}
#guide .landing-process{background:var(--ink);color:#fff;padding:48px 44px 52px;margin:0 -28px}
#guide .process-heading{display:flex;justify-content:space-between;align-items:end;gap:36px}
#guide .landing-process h2{font-size:34px;line-height:1.45;font-weight:750}
#guide .landing-process ol{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:32px}
#guide .landing-process li{display:flex;flex-direction:column;align-items:start;gap:18px;min-width:0}
#guide .process-number{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #8dadd7;border-radius:50%;color:#d1e2ff;font-size:14px;font-weight:700;flex-shrink:0}
#guide .landing-process h3{font-size:19px;line-height:1.5;margin-bottom:10px;font-weight:750}
#guide .landing-process p{color:#d1dce9;font-size:14px;line-height:1.85;margin:0}
#home .landing-availability{font-size:12px;line-height:1.85;margin:0 auto;text-align:center;max-width:760px}
@media(min-width:901px) and (max-width:1100px){
  #home{--home-title:34px;--home-space:72px}
  #home .home-hero{padding-left:40px;min-height:430px}
  #home .hero-copy h1{font-size:2.25rem}
  #home .hero-copy>p{font-size:1rem}
  #guide .benefit-pair{gap:40px}
  #guide .benefit-detail+.benefit-detail{padding-left:40px}
  #guide .benefit-detail h3{font-size:27px}
}
@media(max-width:900px){
  :is(#home,#guide){--home-space:64px;--home-title:34px}
  #home .home-hero{grid-template-columns:1fr;padding:40px 40px 0;gap:8px;min-height:0}
  #home .hero-copy h1{font-size:2.25rem}
  #home .hero-mascot{max-width:540px;justify-self:center}
  #home .hero-copy>p{font-size:1rem;margin-top:20px}
  #home .hero-actions{margin-top:24px}
  #home .hero-uses{margin-top:20px}
  :is(#home,#guide) .payment-flow{--flow-gap:36px;--flow-arrow-width:80px;--flow-arrow-height:30px}
  #guide .benefit-pair{gap:36px}
  #guide .benefit-detail+.benefit-detail{padding-left:36px}
  #guide .benefit-detail h3{font-size:26px}
  #guide .benefit-detail>p{font-size:15px}
  #guide .landing-process{padding:40px 32px}
  #guide .landing-process ol{gap:24px}
  #guide .landing-process h3{font-size:17px}
}
@media(max-width:600px){
  #guide .payment-flow{margin-top:24px;padding:26px 0}
  :is(#home,#guide){--home-space:52px;--home-title:28px}
  #home .home-hero{margin:16px -20px 0;padding:32px 24px 0;gap:12px}
  #home .hero-copy h1{font-size:1.75rem;line-height:1.45}
  #home .hero-copy .hero-tagline{font-size:1.75rem;margin-bottom:20px}
  #home .hero-copy>p{font-size:1rem;line-height:1.8;margin-top:18px}
  #home .hero-actions{gap:20px;margin-top:24px}
  #home .landing-action{font-size:1rem;padding:12px 20px;gap:20px;min-height:50px}
  #home .hero-guide{font-size:13px}
  #home .hero-uses{font-size:12px;margin-top:20px}
  #home .hero-uses li+li:before{margin:0 9px}
  #home .hero-mascot{width:100%;max-width:400px}
  :is(#home,#guide) .payment-flow{--flow-gap:20px;--flow-arrow-width:44px;--flow-arrow-height:22px;grid-template-columns:1fr 1fr 1fr}
  :is(#home,#guide) .payment-flow-visual{height:52px;margin-bottom:16px}
  :is(#home,#guide) .payment-flow-visual>svg{width:52px;height:44px}
  :is(#home,#guide) .payment-flow-mark{width:56px;height:50px}
  :is(#home,#guide) .payment-flow-step :is(h2,h3){font-size:1rem}
  :is(#home,#guide) .payment-flow-step p{font-size:.75rem;margin-top:8px;min-height:3.2em}
  :is(#home,#guide) .payment-flow-step:not(:last-child):before{top:60px}
  #guide .flow-note{font-size:12px;text-align:left}
  #guide .benefit-pair{grid-template-columns:1fr;gap:36px}
  #guide .benefit-detail+.benefit-detail{border-left:0;border-top:1px solid var(--line);padding:36px 0 0}
  #guide .benefit-detail h3{font-size:26px}
  #guide .benefit-detail>p{font-size:15px;margin-top:16px}
  #guide .reuse-explainer,#guide .price-explainer{margin-top:24px;padding-top:20px}
  #guide .benefit-detail .benefit-note{font-size:12px;line-height:1.8;margin-top:16px}
  #guide .price-total dd{font-size:21px}
  #guide .landing-process{margin:0 -20px;padding:36px 24px}
  #guide .process-heading{display:block}
  #guide .landing-process h2{font-size:28px}
  #guide .landing-process ol{grid-template-columns:1fr;gap:24px;margin-top:28px}
  #guide .landing-process li{flex-direction:row;gap:16px}
  #guide .landing-process h3{font-size:18px;margin-bottom:6px}
  #guide .landing-process p{font-size:14px}
  #home .landing-availability{text-align:left;font-size:12px}
}
@media(max-width:370px){
  #home .hero-copy h1{font-size:1.625rem}
  #home .home-hero{padding-inline:20px}
  #home .hero-actions{gap:12px}
  #home .landing-action{padding-inline:15px;gap:12px}
  #home .hero-guide{font-size:12px}
    :is(#home,#guide) .payment-flow{--flow-gap:16px;--flow-arrow-width:34px;--flow-arrow-height:20px}
  #guide .benefit-detail h3{font-size:24px}
}
@media(prefers-reduced-motion:reduce){#home .landing-action svg{transition:none}#home .landing-action:hover svg{transform:none}}

/* The document reserves the dock's height; footer markup and shared styles stay unchanged. */
body:has(#home:not([hidden])){padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}
html:has(#home:not([hidden])){scroll-padding-bottom:calc(6.75rem + env(safe-area-inset-bottom))}
#home{--home-space:64px}
#home .landing-payment-types{padding:var(--home-space) 0 36px}
#home .landing-payment-flow{padding:var(--home-space) 0 48px}
#home .payment-types-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#home .payment-type{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:360px;padding:20px 24px 24px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:16px;transition:background-color .18s ease-out,border-color .18s ease-out,color .18s ease-out}
#home .payment-type-icon{display:block;width:160px;height:160px;object-fit:contain;flex-shrink:0;align-self:center;margin:0 auto 12px}
#home .payment-type h3{font-size:1.375rem;line-height:1.45;font-weight:700;color:var(--ink)}
#home .payment-type p{font-size:1rem;line-height:1.8;color:#405777;margin:10px 0 24px}
#home .payment-type-link{display:flex;align-items:center;justify-content:space-between;gap:16px;align-self:stretch;padding-top:20px;border-top:1px solid var(--line);font-size:.9375rem;font-weight:650;color:var(--blue-dark);margin-top:auto}
#home .payment-type-link svg{width:24px;height:24px;flex-shrink:0;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease-out}
#home .payment-type:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-color:var(--blue)}
@media(hover:hover){
  #home .payment-type:hover{background:var(--home-tint);border-color:var(--blue)}
  #home .payment-type:hover .payment-type-link svg{transform:translateX(3px)}
}
#home .payment-type:active{background:#d1e2ff;border-color:var(--blue)}
#home .payment-type:active h3{color:var(--ink)}
#home .payment-type:active p{color:#405777}
#home .payment-type:active .payment-type-link{color:var(--blue-dark)}
@media(prefers-reduced-motion:reduce){#home .payment-type,#home .payment-type-link svg{transition:none}#home .payment-type:hover .payment-type-link svg{transform:none}}
#home .landing-dock{position:fixed;inset:auto 0 0;z-index:20;display:flex;justify-content:center;padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
#home .landing-dock .landing-action{width:100%;max-width:360px}
#guide .landing-process{margin-top:8px}
#guide .usage-details{padding-top:var(--home-space)}
#guide .usage-details-title{font-size:30px;line-height:1.45}
#guide .guide-detail-steps{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}
#guide .guide-detail-steps>summary{cursor:pointer;font-size:18px;font-weight:750;min-height:44px;align-content:center}
#guide .guide-detail-steps .guide-grid{margin:20px 0}
@media(max-width:900px){
    #home .payment-types-grid{gap:16px}
  #home .payment-type{padding:20px}
}
@media(max-width:800px){
  #home .payment-types-grid{grid-template-columns:1fr}
  #home .payment-type{min-height:320px;padding:16px clamp(24px,7vw,48px) 24px}
  #home .payment-type-icon{width:144px;height:144px;margin-bottom:8px}
  #home .payment-type p{font-size:1rem;margin:8px 0 24px}
  #home .payment-type-link{padding-top:16px}
}
@media(min-width:601px) and (max-width:800px){
  #home .payment-type{display:grid;grid-template-columns:144px minmax(0,1fr);column-gap:24px;min-height:220px;padding:24px 32px;text-align:left;align-items:start}
  #home .payment-type-icon{grid-row:1/4;width:144px;height:144px;margin:0;align-self:center}
  #home .payment-type p{margin:8px 0 16px}
  #home .payment-type-link{grid-column:2;margin-top:auto}
}
@media(max-width:700px){
  #home .home-hero,#home .landing-benefits,#guide .landing-process{margin-inline:-20px}
}
@media(max-width:600px){
  #home{--home-space:44px}
    #guide .usage-details-title{font-size:26px}
}
@media(max-width:370px){
  #home .payment-type h3{font-size:1.25rem}
  #home .payment-type{padding-inline:20px}
}
@media print{#home .landing-dock{display:none}body:has(#home:not([hidden])){padding-bottom:0}}

@media(max-width:370px){#home .hero-copy .hero-tagline{font-size:1.6rem}}

/* Recommendation title, reasons and mascot share the wide ribbon; narrow screens group the copy. */
#home .landing-benefits{container-type:inline-size;margin:0 -28px;background:var(--ink);color:#fff;border-radius:12px}
#home .recommendation-layout{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(360px,1.35fr) 208px;align-items:center;gap:32px;min-height:240px;padding:16px 52px}
#home .recommendation-copy{display:contents}
#home .recommendation-copy h2{font-size:24px;line-height:1.35;font-weight:550;letter-spacing:-.03em;margin:0;text-wrap:balance}
#home .recommendation-copy h2 strong{display:block;font-size:36px;line-height:1.2;font-weight:850;color:#b4ceff;margin-top:8px;white-space:nowrap}
#home .recommendation-list{display:grid;gap:8px;list-style:none;margin:0;padding:0;min-width:0}
#home .recommendation-list li{display:flex;align-items:center;gap:12px;min-width:0}
#home .recommendation-list p{margin:0;font-size:18px;line-height:1.5;letter-spacing:-.02em;color:#dce6f6;word-break:keep-all;text-wrap:pretty}
#home .recommendation-list strong{color:#fff;font-weight:700}
#home .recommendation-list svg{width:20px;height:20px;flex:0 0 20px;stroke:#9bbcf5;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#home .recommendation-mascot{position:relative;width:208px;aspect-ratio:1;margin:0;justify-self:center}
#home .recommendation-mascot img{display:block;width:100%;height:auto}
#home .recommendation-chest-ci{position:absolute;left:45.3%;top:67.4%;width:13.3%;height:11.3%;background:#fff1d6;mask:url('company-mark-transparent.png') 50% 63% / 174% auto no-repeat;-webkit-mask:url('company-mark-transparent.png') 50% 63% / 174% auto no-repeat;transform:rotate(-1deg);opacity:.96}
@container(max-width:1100px){
 #home .recommendation-layout{grid-template-columns:minmax(176px,.7fr) minmax(330px,1.3fr) 184px;padding:24px 32px;gap:24px}
 #home .recommendation-mascot{width:184px}
 #home .recommendation-copy h2 strong{font-size:32px}
 #home .recommendation-list p{font-size:17px}
}
@container(max-width:900px){
 #home .recommendation-layout{grid-template-columns:minmax(0,1fr) 184px;padding:24px 32px;gap:32px;max-width:720px;margin-inline:auto}
 #home .recommendation-copy{display:block;min-width:0}
 #home .recommendation-copy h2{font-size:22px;margin-bottom:16px}
 #home .recommendation-copy h2 strong{display:inline;font-size:28px;margin:0 0 0 8px}
 #home .recommendation-list{gap:6px}
}
@container(max-width:650px){
 #home .recommendation-layout{display:block;position:relative;padding:24px 28px}
 #home .recommendation-copy h2{font-size:22px;min-height:76px;margin:0 90px 20px 0}
 #home .recommendation-copy h2 strong{display:block;font-size:30px;margin:4px 0 0}
 #home .recommendation-mascot{position:absolute;width:90px;right:24px;top:16px}
 #home .recommendation-list{gap:12px}
 #home .recommendation-list li{align-items:flex-start}
 #home .recommendation-list p{font-size:16px}
 #home .recommendation-list strong{font-weight:750}
 #home .recommendation-list svg{width:23px;height:23px;flex-basis:23px;margin-top:2px}
}
@container(max-width:380px){
 #home .recommendation-layout{padding:22px 20px}
 #home .recommendation-copy h2{font-size:20px;min-height:72px;margin-right:80px}
 #home .recommendation-copy h2 strong{font-size:27px}
 #home .recommendation-mascot{width:78px;right:18px;top:20px}
 #home .recommendation-list li{gap:10px}
}
@media(max-width:700px){#home .landing-benefits{margin-inline:-20px}}
