:root{--blue:#982e42;--navy:#3d1a23;--text:#332129;--muted:#67525a;--surface:#fcf4f5;--line:#e6cdd2;--red:#a4162a;--white:#fff;font-family:"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--white);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:17px;line-height:1.6}h1,h2,h3{color:var(--navy);line-height:1.18;text-wrap:balance}h1{font-size:clamp(2.1rem,5vw,4rem);letter-spacing:-.035em;max-width:20ch}h2{font-size:clamp(1.6rem,3vw,2.45rem);letter-spacing:-.025em}h3{font-size:1.15rem}p{max-width:68ch}a{color:var(--blue);text-underline-offset:.22em;overflow-wrap:anywhere}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;min-height:48px;border-radius:8px;padding:11px 19px;font-weight:650;line-height:1.4;border:1px solid var(--blue);display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);color:white;text-decoration:none}button:hover,.button:hover{background:#752133}.secondary{color:var(--blue);background:white}.secondary:hover{background:#faeef0}.danger{background:var(--red);border-color:var(--red)}:focus-visible{outline:3px solid #007d94;outline-offset:4px}button:disabled{opacity:.6;cursor:wait}.skip{position:fixed;top:-90px;left:8px;z-index:99;background:white;padding:12px}.skip:focus{top:8px}.container{width:min(1160px,100% - 32px);margin:auto}header{border-bottom:1px solid var(--line);background:white}header .container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px;flex-wrap:wrap}.brand{text-decoration:none;color:var(--navy);font-size:24px;font-weight:750;line-height:1.1;letter-spacing:-.04em;white-space:nowrap}.brand small{display:block;font-size:12px;font-weight:500;letter-spacing:0;margin-top:6px;color:var(--muted)}nav{display:none;width:100%;padding-bottom:18px}nav.open{display:flex;flex-direction:column;gap:6px}nav a{min-height:44px;display:flex;align-items:center;text-decoration:none;padding:9px 12px;font-weight:600}#menu{min-width:48px}.hero{padding:48px 0 64px;background:linear-gradient(180deg,#fcf4f5 0%,white 100%)}.hero h1{margin-top:8px}.lead{font-size:1.2rem;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 16px}.price{font-weight:650;color:var(--navy)}.price small{display:block;font-weight:400;color:var(--muted)}.card-pair{display:grid;gap:18px;margin-top:32px}.physical-card{background:white;border-radius:14px;box-shadow:0 12px 30px #3d1a2321;border:1px solid var(--line);overflow:hidden;aspect-ratio:85.6/53.98}.physical-card svg{width:100%;height:100%;display:block}.card-caption{font-size:14px;color:var(--muted);margin:8px 0}.section{padding:54px 0;border-top:1px solid #eddce0}.section.tinted{background:var(--surface)}.grid{display:grid;gap:24px}.benefit{padding:16px 0;border-top:2px solid var(--blue)}.benefit h3{margin:8px 0}.benefit p{margin:10px 0;color:var(--muted)}.topics a{display:block;min-height:60px;padding:16px;border-bottom:1px solid var(--line);font-weight:650;text-decoration:none}.steps{counter-reset:steps}.steps>div{position:relative;padding-left:48px}.steps>div:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:0;width:34px;height:34px;display:grid;place-items:center;background:var(--blue);color:white;border-radius:50%;font-weight:650}details{border-bottom:1px solid var(--line);padding:8px 0}summary{cursor:pointer;min-height:52px;display:flex;align-items:center;font-weight:650;color:var(--navy)}summary:after{content:'+';margin-left:auto;font-size:24px;padding-left:12px}details[open] summary:after{content:'−'}details p{padding-left:0}.notice{padding:16px 20px;border-left:4px solid var(--blue);background:#faeef0;border-radius:0 8px 8px 0}.warning,.error{border-left-color:var(--red);background:#fff0f1;color:#731526}.status{margin:16px 0;padding:14px 18px;border:1px solid var(--line);border-radius:8px}.error:empty,.status:empty{display:none}footer{background:var(--navy);color:white;padding:40px 0}footer a{color:white;display:inline-flex;min-height:44px;align-items:center;margin-right:20px}footer .brand{color:white}footer p{font-size:14px;color:#f6dfe5}.prose{padding:40px 0 60px;max-width:780px}.prose h1{font-size:clamp(2rem,5vw,3rem)}.prose li{margin-bottom:8px}.app-main{padding:30px 0 70px;max-width:1020px}.app-main h1{font-size:clamp(1.8rem,4vw,2.7rem);max-width:100%;margin:12px 0 24px}.panel{padding:20px;border:1px solid var(--line);background:white;border-radius:12px;margin:20px 0}.panel h2{margin-top:0;font-size:1.45rem}form label,.field{display:block;margin:16px 0 8px;font-weight:600}input,select,textarea{width:100%;min-height:48px;border:1px solid #829bb1;border-radius:6px;padding:10px 12px;background:white;color:var(--text)}textarea{min-height:100px;resize:vertical}input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:none;margin:2px 8px 2px 0;accent-color:var(--blue)}.check{display:flex;align-items:flex-start;min-height:44px;gap:4px;margin:14px 0;font-weight:400}.check span{flex:1}.hint{color:var(--muted);font-size:14px}.row-fields{display:grid;gap:12px}.row-fields label{margin-top:8px}.entry{border-left:3px solid var(--line);padding:12px 16px;margin:16px 0;background:var(--surface)}.entry .actions{margin:10px 0}.entry button{font-size:15px}.wizard-progress{display:flex;gap:8px;padding:0;list-style:none;flex-wrap:wrap}.wizard-progress li{font-size:14px;background:var(--surface);padding:8px 12px;border-radius:6px}.wizard-progress .current{background:var(--blue);color:white;font-weight:650}.preview{display:grid;gap:24px}.preview .physical-card{max-width:590px}.profile-meta{display:grid;gap:8px;margin:20px 0}.profile-meta strong{display:block}.token{font-family:ui-monospace,monospace;font-size:14px;overflow-wrap:anywhere}.auth{max-width:480px}.hidden,[hidden]{display:none!important}.emergency{max-width:760px;padding:24px 0 60px}.emergency h1{font-size:2.3rem;margin-bottom:8px}.emergency h2{font-size:1.5rem}.emergency .panel{padding:18px}.emergency .record{padding:12px 0;border-bottom:1px solid var(--line);font-size:20px;overflow-wrap:anywhere}.emergency .critical{border-left:4px solid var(--red);background:#fff0f1;padding:14px;margin:12px 0}.emergency .record p{margin:4px 0}.empty{color:var(--muted)}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.toolbar a{min-height:44px}.order{border-top:1px solid var(--line);padding:16px 0}.order h3{overflow-wrap:anywhere}.review-needed{font-weight:600;color:#731526}.offline{position:sticky;top:0;z-index:10;background:#fff0f1;padding:12px;text-align:center}.footerlinks{display:flex;gap:4px 10px;flex-wrap:wrap}.footerlinks a{padding:6px 8px;margin:0}.page-links{display:grid;gap:8px}.page-links a{min-height:44px}.muted{color:var(--muted)}
@media(min-width:600px){.grid.two,.row-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{padding:28px}.preview{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-meta{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:900px){#menu{display:none}header .container{flex-wrap:nowrap}nav,nav.open{width:auto;display:flex;flex-direction:row;padding:0;align-items:center;gap:2px}.hero .container{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}.hero{padding:70px 0 82px}.hero .card-pair{margin:0}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.topics{grid-template-columns:repeat(2,minmax(0,1fr))}.card-pair .physical-card{max-width:450px}.card-pair>div:nth-child(2){margin-left:32px}.section{padding:70px 0}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s ease,color .15s ease}}
@media print{header,footer,button,.toolbar,.actions{display:none}body{font-size:12pt}.panel{break-inside:avoid}}
.field-error{display:block;color:var(--red);font-size:14px;margin-top:6px}[aria-invalid=true]{border-color:var(--red)}button,a,input,select,textarea{touch-action:manipulation}.profile-meta{font-variant-numeric:tabular-nums}h1,h2,h3,[id]{scroll-margin-top:16px}.skip:focus:not(:focus-visible){top:-90px}.entry,.order{content-visibility:auto;contain-intrinsic-size:auto 280px}
.preview-banner{background:#faeef0;padding:10px 16px;text-align:center;font-size:14px;border-bottom:1px solid var(--line)}

:root{font-family:Arial,Helvetica,sans-serif}.hero{background:#fcf4f5}.hero h1{font-size:clamp(2.7rem,6vw,5.3rem);line-height:1.06;letter-spacing:-.045em;max-width:12ch}.hero .lead{max-width:42ch;font-size:1.18rem;line-height:1.6}.card-showcase{min-width:0;margin-top:30px}.card-scene{width:100%;aspect-ratio:85.6/53.98}.card-turn{position:relative;width:100%;height:100%}.card-face{position:absolute;inset:0;width:100%;height:100%;backface-visibility:visible;box-shadow:0 22px 38px #58213126;border:0}.card-back{opacity:0;visibility:hidden;pointer-events:none}.card-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.card-controls span{font-size:14px;color:var(--muted)}.card-showcase .hint{margin:14px 0 0}.product-detail{padding:32px;background:var(--surface);border-radius:16px}.product-detail .amount{font-size:4rem;font-weight:700;margin:8px 0;letter-spacing:-.04em}.portrait{width:97px;height:133px;object-fit:cover;border-radius:6px}h1,h2,h3{text-wrap:balance}p{max-width:75ch}button:active,.button:active{transform:translateY(1px)}
@media(min-width:900px){.hero .container{grid-template-columns:1fr 1.1fr;gap:60px}.card-showcase{margin-top:0}.split{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;align-items:center}}

@media(prefers-reduced-motion:reduce){.card-turn{transition:none}}
.password-toggle{margin-top:8px;min-height:48px;max-width:100%;font-size:14px}.password-field{min-width:0}
.ops-checks{display:grid;gap:12px}.ops-check{margin:0;min-width:0}.ops-check p{overflow-wrap:anywhere}.ops-config{margin:16px 0}.ops-config dt{font-weight:600}.ops-config dd{margin:4px 0 14px;overflow-wrap:anywhere}.audit-action{font-size:1rem!important;overflow-wrap:anywhere}#ops-results{margin-top:32px}@media(min-width:600px){.ops-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}

.card-face{transform:none;transition:opacity .24s ease,visibility .24s ease}.card-turn.flipped #sample-front{opacity:0;visibility:hidden;pointer-events:none}.card-turn.flipped #sample-back{opacity:1;visibility:visible;pointer-events:auto}.card-controls{flex-wrap:wrap}.card-controls button{min-height:48px}#sample-front svg a:focus-visible{outline:3px solid #007d94;outline-offset:3px}@media(max-width:899px),(prefers-reduced-motion:reduce){.card-face{transition:none}}

.expired-card{position:relative;max-width:480px;aspect-ratio:85.6/53.98;background:#edf0f2;border:1px solid #c4cbd0;border-radius:14px;margin-top:28px;padding:24px;overflow:hidden}.expired-card-bar{height:35px;background:#c4cbd0;margin:-24px -24px 28px}.expired-card-line{height:14px;width:45%;background:#d1d6da;border-radius:4px;margin:16px 0}.expired-card-line.wide{width:60%}.expired-card-line.short{width:30%}.expired-card-square{position:absolute;right:24px;bottom:32px;width:24%;aspect-ratio:1;background:#d1d6da;border-radius:6px}


/* Shared spacing and type corrections, applied to public pages and account screens. */
:root{--space-section:48px;--space-heading:20px;--space-control:12px}
body{font-size:16px;line-height:1.65}
h1,h2,h3{line-height:1.28;letter-spacing:-.015em;margin-top:0;margin-bottom:var(--space-heading);overflow-wrap:break-word}
h2{line-height:1.3}h3{line-height:1.4}
p{margin-top:0;margin-bottom:20px}
.hero{padding:32px 0 48px}
.hero h1{font-size:clamp(2.15rem,8.7vw,2.9rem);line-height:1.25;letter-spacing:-.02em;max-width:100%;margin:0 0 24px}
.hero .lead{font-size:1.0625rem;line-height:1.7;margin-bottom:24px}
.hero .actions{margin:0 0 24px}
.price{margin:0 0 28px}.price small{margin-top:6px;font-size:14px;line-height:1.6}
.section{padding:var(--space-section) 0}.section h2{margin-bottom:28px}
.benefit h3,.steps h3{margin:0 0 12px}.benefit p,.steps p{margin:0}
.steps{gap:28px}.steps>div{padding-left:48px}
.prose{padding:32px 0 48px}.prose h1{line-height:1.28;margin-bottom:24px}.prose h2{margin-top:36px;margin-bottom:16px}.prose h3{margin-top:28px;margin-bottom:12px}.prose li{margin-bottom:12px}.prose ul,.prose ol{padding-left:24px}
.app-main h1{line-height:1.28;letter-spacing:-.015em;margin:0 0 24px}
.panel{margin:24px 0;padding:20px;min-width:0}.panel h2{line-height:1.35;margin-bottom:16px}
.row-fields{gap:20px}.row-fields label{margin-top:0}
.profile-meta{gap:20px}
form label{margin-top:20px;margin-bottom:8px;line-height:1.5}
label>input:not([type=checkbox]),label>select,label>textarea{display:block;margin-top:8px}
.check{gap:10px;line-height:1.6;margin:18px 0;min-height:48px}.check input{margin-right:0}.check span{min-width:0}
.hint{line-height:1.65}.hint:empty{display:none}
.auth>p{margin-bottom:24px}.actions,.toolbar{gap:12px}.toolbar{margin-bottom:24px}
summary{line-height:1.5;padding:12px 0;gap:12px}summary:after{flex:none;padding-left:0}
details>p{margin:8px 0 20px}.notice,.status{overflow-wrap:break-word;line-height:1.65}
.product-detail{padding:24px}.card-controls{gap:12px 16px;margin-top:20px}.card-controls button{font-size:15px}.card-showcase .hint{margin-top:18px}
.footerlinks{gap:8px 16px}
.emergency h1{line-height:1.28;margin-bottom:20px}
.card-dialog{width:min(960px,calc(100% - 24px));max-width:none;max-height:calc(100svh - 32px);padding:20px;margin:auto;border:1px solid var(--line);border-radius:12px;color:var(--text);background:white;overflow:auto}
.card-dialog::backdrop{background:#3d1a2380}
.card-dialog h2{font-size:1.35rem;margin-bottom:16px;line-height:1.35}
.card-dialog .toolbar{margin-bottom:16px}
.card-dialog-view{overflow:auto;max-height:65svh;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);overscroll-behavior:contain}
.card-dialog-view svg{display:block;width:856px;max-width:none;height:auto}
.card-dialog .hint{margin:12px 0 0}
@media(max-width:599px){
 header .container{gap:12px}.brand{font-size:22px;line-height:1.2;letter-spacing:-.02em}.brand small{white-space:normal;max-width:140px;line-height:1.45}#app-header .button{font-size:14px;padding-inline:12px}
 .hero .actions{flex-direction:column;align-items:stretch}.hero .actions>.button{width:100%}
 .auth .actions>button,.auth .actions>.button{width:100%}
 .product-detail .button{width:100%}.card-controls span{flex-basis:100%}.card-controls button{padding-inline:12px}
 .wizard-progress{display:grid;grid-template-columns:1fr;gap:8px}.wizard-progress li{line-height:1.5}
 .panel .row-fields{grid-template-columns:1fr}.order .actions>button{max-width:100%}
 .card-dialog{padding:16px}.card-dialog .toolbar{gap:10px}.card-dialog .toolbar button{font-size:14px}
}
@media(min-width:600px){.panel{padding:28px}.hero h1{max-width:18ch}}
@media(min-width:900px){
 :root{--space-section:64px}.hero{padding:64px 0 72px}.hero h1{font-size:clamp(2.7rem,5vw,4.8rem);line-height:1.18;max-width:12ch}.hero .lead{font-size:1.125rem}
 header nav{font-size:15px}header nav a{padding:9px 8px}.hero .actions{margin-top:28px}
}

.renewal-options{display:grid;gap:24px;margin:24px 0}.renewal-options h2{line-height:1.3}@media(min-width:900px){.renewal-options{grid-template-columns:1fr 1fr}}
