:root{
  --points-ink:#171512;
  --points-muted:#6f6a63;
  --points-paper:#f4f0e9;
  --points-line:#e4ddd3;
  --points-gold:#d7b98b;
}

*{box-sizing:border-box}

html,body{min-height:100%}

body{
  margin:0;
  color:var(--points-ink);
  background:var(--points-paper);
  font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}

button,input{font:inherit}
a{color:inherit}
:focus-visible{outline:3px solid #b58345;outline-offset:3px}

.eyebrow{
  display:inline-block;
  color:var(--points-gold);
  font-size:11px;
  font-weight:900;
  letter-spacing:.19em;
}
.eyebrow.dark{color:#856947}

.customer-brand{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:12px;
  width:max-content;
  color:#fff;
  text-decoration:none;
}
.customer-brand img{
  width:58px;
  height:58px;
  padding:5px;
  border-radius:17px;
  background:#fff;
  object-fit:contain;
}
.customer-brand span{font-size:17px;font-weight:900;line-height:1.1}
.customer-brand small{display:block;margin-top:4px;color:var(--points-gold);font-size:10px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}

.customer-auth-body{color:#111;background:#f4f4f4}
.customer-auth-body :focus-visible{outline-color:#111}
.access-shell{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);
}

.access-story{
  position:relative;
  overflow:hidden;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:56px 52px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(135deg,#050505 0%,#111 100%);
  background-size:48px 48px,48px 48px,auto;
}
.access-story::before,
.access-story::after{
  content:"";
  position:absolute;
  border:1px solid rgba(255,255,255,.08);
  border-radius:50%;
  pointer-events:none;
}
.access-story::before{width:430px;height:430px;top:-150px;left:-120px}
.access-story::after{width:330px;height:330px;right:-110px;bottom:-100px}
.access-story-content{position:relative;z-index:1;width:100%;max-width:620px;text-align:center}
.access-logo-wrap{
  width:280px;
  height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 36px;
  padding:18px;
  border-radius:42px;
  background:#fff;
  box-shadow:0 18px 38px rgba(0,0,0,.3);
}
.access-logo{display:block;width:100%;height:100%;object-fit:contain}
.access-story h1{
  margin:0;
  font-size:clamp(48px,5vw,64px);
  line-height:1.02;
  font-weight:800;
  letter-spacing:-.025em;
}
.access-story-content>p{max-width:560px;margin:22px auto 0;color:rgba(255,255,255,.78);font-size:16px;line-height:1.7}
.access-story-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}
.access-story-tags span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:12px;
  font-weight:700;
}

.access-form-side{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  background:radial-gradient(circle at 80% 0%,rgba(255,255,255,.95),transparent 32%),linear-gradient(135deg,#fafafa 0%,#ededed 100%);
}
.access-form-card{
  width:100%;
  max-width:470px;
  padding:42px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:28px;
  background:#fff;
  box-shadow:0 18px 45px rgba(0,0,0,.1);
}
.access-mobile-brand{display:none;justify-content:center;margin-bottom:20px}
.access-mobile-brand img{width:96px;height:96px;padding:8px;border:1px solid #e2e2e2;border-radius:22px;background:#fff;object-fit:contain}
.access-switch{display:flex;gap:5px;width:max-content;max-width:100%;margin:0 0 30px;padding:5px;border-radius:13px;background:#ededed}
.access-switch a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:9px;color:#555;font-size:13px;font-weight:800;text-decoration:none}
.access-switch a:hover{color:#111;background:#f8f8f8}
.access-switch a.active,.access-switch a.active:hover{color:#fff;background:#111}
.access-kicker{margin:0 0 8px;color:#5f5f5f;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.access-form-card h2{margin:0;font-size:32px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#000}
.access-intro{margin:10px 0 26px;color:#666;font-size:14px;line-height:1.55}
.access-error,.card-error{padding:13px 15px;border:1px solid #e8c3bc;border-radius:12px;color:#9a3428;background:#fff0ed;font-size:13px;font-weight:700;line-height:1.45}
.access-error{margin-bottom:18px}
.customer-auth-body .access-error{border-color:#f0caca;color:#a91f1f;background:#fff0f0}
.access-form{display:grid;gap:8px}
.access-form label{margin-top:8px;color:#111;font-size:13px;font-weight:700}
.access-form input{
  width:100%;
  height:50px;
  padding:0 14px;
  border:1px solid #d3d3d3;
  border-radius:14px;
  color:#111;
  background:#fbfbfb;
  font-size:16px;
  outline:none;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.access-form input::placeholder{color:#757575}
.access-form input:focus{border-color:#111;background:#fff;box-shadow:0 0 0 4px rgba(0,0,0,.06)}
.access-submit{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-height:52px;
  margin-top:16px;
  padding:0 16px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:#000;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.access-submit span{font-size:18px;font-weight:700}
.access-submit:hover:not(:disabled){background:#111;transform:translateY(-1px);box-shadow:0 14px 30px rgba(0,0,0,.15)}
.access-submit:disabled{opacity:.65;cursor:not-allowed;box-shadow:none}
.access-bottom-link{margin:22px 0 0;color:#5d5d5d;font-size:13px;line-height:1.5;text-align:center}
.access-bottom-link a{color:#111;font-weight:800;text-decoration:underline;text-underline-offset:3px}

.customer-card-body{background:#f5f1ea}
.customer-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  width:min(1240px,calc(100% - 48px));
  margin:auto;
  padding:22px 0;
  border-bottom:1px solid var(--points-line);
}
.dark-brand{color:var(--points-ink)}
.dark-brand small{color:#856947}
.customer-signout{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #d8d0c5;border-radius:999px;font-size:12px;font-weight:900;text-decoration:none}
.customer-signout:hover{background:#fff}
.card-page{width:min(1240px,calc(100% - 48px));margin:auto;padding:54px 0 90px}
.card-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.card-intro h1{margin:10px 0 12px;font-size:clamp(46px,5vw,70px);line-height:.98;letter-spacing:-.065em}
.card-intro p{margin:0;color:var(--points-muted);font-size:16px;line-height:1.5}
.card-rule-pill{flex:0 0 auto;padding:12px 18px;border:1px solid #d7cab9;border-radius:999px;color:#69502f;background:#eee2d2;font-size:13px;font-weight:900}
.card-error{margin-bottom:20px}
.card-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:20px}
.digital-card{
  position:relative;
  overflow:hidden;
  min-height:370px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:32px;
  border-radius:27px;
  color:#fff;
  background:
    radial-gradient(circle at 84% 18%,rgba(215,185,139,.24),transparent 32%),
    linear-gradient(140deg,#28231d,#0f0e0c 76%);
  box-shadow:0 22px 54px rgba(36,27,18,.2);
}
.digital-card::after{content:"";position:absolute;right:-95px;bottom:-175px;width:360px;height:360px;border:1px solid rgba(215,185,139,.25);border-radius:50%;box-shadow:0 0 0 65px rgba(215,185,139,.045);pointer-events:none}
.digital-card-top,.digital-card-bottom{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px}
.digital-card-brand{font-size:22px;font-weight:500;line-height:.85;letter-spacing:-.08em}
.digital-card-brand strong{font-size:38px;font-weight:900}
.digital-card-tag{align-self:start;padding:8px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#ead9bf;font-size:9px;font-weight:900;letter-spacing:.14em}
.digital-card-balance{position:relative;z-index:1}
.digital-card-balance span,.digital-card-bottom span{display:block;color:#c8bba8;font-size:10px;font-weight:900;letter-spacing:.16em}
.digital-card-balance strong{display:block;margin:4px 0 0;font-size:clamp(76px,9vw,118px);line-height:.95;letter-spacing:-.08em}
.digital-card-balance small{color:#e5d7c3;font-size:13px;font-weight:700}
.digital-card-bottom strong{display:block;max-width:240px;margin-top:5px;overflow-wrap:anywhere;font-size:15px;font-weight:900}
.digital-card-bottom div:last-child{text-align:right}
.card-details{padding:31px;border:1px solid var(--points-line);border-radius:27px;background:#fff}
.card-details h2{max-width:380px;margin:12px 0 17px;font-size:clamp(30px,3vw,42px);line-height:1.05;letter-spacing:-.055em}
.card-details p{margin:0;color:var(--points-muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.card-details p strong{color:var(--points-ink)}
.points-examples{display:grid;gap:9px;margin:24px 0}
.points-examples div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--points-line);font-size:13px;font-weight:700}
.points-examples strong{color:#7e5d35;font-weight:900}
.card-details .card-fine-print{font-size:11px}
.card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 54px}
.card-stats div{padding:22px 24px;border:1px solid var(--points-line);border-radius:18px;background:#fff}
.card-stats span{display:block;color:#81776c;font-size:10px;font-weight:900;letter-spacing:.14em}
.card-stats strong{display:block;margin-top:8px;font-size:23px;font-weight:900;letter-spacing:-.04em}
.activity-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}
.activity-heading h2{margin:8px 0 0;font-size:32px;letter-spacing:-.05em}
.activity-heading>span{color:var(--points-muted);font-size:12px;font-weight:700}
.activity-empty{padding:42px;border:1px dashed #cfc4b5;border-radius:18px;background:#fff;text-align:center}
.activity-empty strong{font-size:19px}
.activity-empty p{margin:10px 0 0;color:var(--points-muted);font-size:13px;line-height:1.5}
.activity-list{overflow:hidden;border:1px solid var(--points-line);border-radius:18px;background:#fff}
.activity-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 130px;align-items:center;gap:16px;min-height:74px;padding:14px 22px;border-bottom:1px solid var(--points-line)}
.activity-row:last-child{border-bottom:0}
.activity-row div strong,.activity-row div span{display:block}
.activity-row div strong{font-size:13px}
.activity-row div span{margin-top:4px;color:var(--points-muted);font-size:11px}
.activity-row>span{font-size:13px;font-weight:800;text-align:right}
.activity-row>strong{color:#78552d;font-size:13px;text-align:right}

@media(max-width:1100px){
  .access-shell{grid-template-columns:1fr}
  .access-story{display:none}
  .access-form-side{padding:24px}
  .access-form-card{padding:34px 28px}
  .access-mobile-brand{display:flex}
}

@media(max-width:960px){
  .card-grid{grid-template-columns:1fr}
}

@media(max-width:600px){
  .access-form-side{padding:14px}
  .access-form-card{padding:26px 20px;border-radius:20px}
  .access-form-card h2{font-size:28px}
  .access-switch{margin-bottom:26px}
  .customer-brand img{width:48px;height:48px}
  .customer-brand span{font-size:14px}
  .customer-topbar,.card-page{width:calc(100% - 32px)}
  .customer-topbar{padding:15px 0}
  .customer-signout{font-size:11px}
  .card-page{padding:34px 0 58px}
  .card-intro{display:block}
  .card-intro h1{font-size:46px}
  .card-rule-pill{display:inline-block;margin-top:18px}
  .digital-card{min-height:340px;padding:24px}
  .digital-card-bottom strong{font-size:12px}
  .card-details{padding:24px}
  .card-stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:42px}
  .card-stats div{padding:17px}
  .card-stats div:last-child{grid-column:1 / -1}
  .card-stats strong{font-size:19px}
  .activity-heading{align-items:start}
  .activity-heading>span{display:none}
  .activity-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:13px 16px}
  .activity-row>span{grid-column:2;grid-row:1}
  .activity-row>strong{grid-column:2;grid-row:2}
}
