/* cardpearl.site — structurally distinct from every other property in this
   network: no top nav bar, no header-tabs, no sticky-bar-plus-separate-nav.
   Navigation lives in one fixed bottom app-tray. Hero is a split panel,
   not a centered badge/headline/button stack. Light mode. */

:root{
  --cream:#fbf6ec;
  --shell:#ffffff;
  --shell-2:#fef1de;
  --ink:#20342f;
  --ink-dim:#5c6f6a;
  --teal:#0e8f7e;
  --teal-d:#086b5e;
  --coral:#e8613f;
  --gold:#d99b2b;
  --edge:#e7dcc4;
  --radius:22px;
  --serif:'Palatino Linotype','Iowan Old Style',Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  padding-bottom:76px; /* room for the bottom tray */
}
img{max-width:100%;display:block;border-radius:16px;}
a{color:var(--teal-d);}
.wrap{max-width:1000px;margin:0 auto;padding:0 22px;}

.topband{background:var(--ink);color:var(--shell-2);font-size:.78rem;text-align:center;padding:7px 12px;}

/* ---- identity strip: no nav here at all ---- */
.idstrip{padding:16px 0 10px;}
.idstrip .row{display:flex;align-items:center;gap:12px;}
.idstrip img{width:44px;height:44px;border-radius:11px;}
.idstrip .name{font-family:var(--serif);font-weight:700;font-size:1.15rem;color:var(--ink);}
.idstrip .sub{font-size:.72rem;color:var(--ink-dim);}

/* ---- split hero: image/panel one side, text the other ---- */
.split{padding:18px 0 40px;}
.split .frame{
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  background:var(--shell);border:1px solid var(--edge);border-radius:28px;overflow:hidden;
  box-shadow:0 10px 30px rgba(32,52,47,.08);
}
.split .art{
  background:linear-gradient(150deg,var(--shell-2),var(--cream));
  padding:26px;display:flex;align-items:center;justify-content:center;
}
.split .art img{border-radius:20px;box-shadow:0 12px 24px rgba(32,52,47,.14);}
.split .txt{padding:30px 30px 30px 6px;display:flex;flex-direction:column;justify-content:center;}
.split .tag{
  display:inline-block;color:var(--coral);font-size:.7rem;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;
}
.split h1{font-family:var(--serif);font-weight:700;font-size:clamp(1.35rem,2.6vw,1.9rem);line-height:1.3;margin:0 0 12px;}
.split p.lede{color:var(--ink-dim);font-size:.96rem;margin:0 0 18px;}

@media(max-width:820px){
  .split .frame{grid-template-columns:1fr;border-radius:20px;}
  .split .art{padding:20px 20px 0;}
  .split .txt{padding:20px;}
}

/* ---- primary action: a wide banded button, not a rounded pill ---- */
.band{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:var(--teal);color:#fff;font-weight:800;font-size:1.02rem;
  padding:16px 22px;border-radius:14px;text-decoration:none;
  box-shadow:0 8px 20px rgba(14,143,126,.28);
}
.band .n{
  background:rgba(255,255,255,.22);border-radius:8px;min-width:28px;height:28px;
  display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;font-size:.9rem;
}
.band[aria-disabled="true"]{opacity:.55;pointer-events:none;}
.fineprint{font-size:.76rem;color:var(--ink-dim);margin-top:10px;}

/* ---- stat strip: horizontal scroll of quick facts, no card grid ---- */
.stats{display:flex;gap:0;border:1px solid var(--edge);border-radius:18px;overflow:hidden;background:var(--shell);}
.stats .s{flex:1;padding:16px 14px;text-align:center;border-right:1px solid var(--edge);}
.stats .s:last-child{border-right:none;}
.stats .s .v{font-family:var(--serif);font-weight:700;font-size:1.15rem;color:var(--teal-d);}
.stats .s .k{font-size:.7rem;color:var(--ink-dim);margin-top:3px;}
@media(max-width:640px){
  .stats{overflow-x:auto;}
  .stats .s{min-width:110px;}
}

section{padding:34px 0;}
section h2{font-family:var(--serif);font-weight:700;font-size:1.4rem;margin:0 0 10px;color:var(--ink);}
section .kicker{color:var(--ink-dim);margin:0 0 20px;max-width:600px;}

/* ---- content list: alternating left/right accent list, not a card grid ---- */
.roll{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--edge);}
.roll .item{
  display:flex;gap:16px;align-items:flex-start;
  padding:16px 0;border-bottom:1px solid var(--edge);
}
.roll .item .badge{
  flex:0 0 auto;width:34px;height:34px;border-radius:10px;
  background:var(--shell-2);border:1px solid var(--edge);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--serif);font-weight:700;color:var(--teal-d);font-size:.92rem;
}
.roll .item h3{margin:0 0 4px;font-size:.98rem;color:var(--ink);}
.roll .item p{margin:0;color:var(--ink-dim);font-size:.9rem;}

/* ---- staircase: rebate tiers as ascending bars, not a table ---- */
.stair{display:flex;flex-direction:column;gap:10px;}
.stair .step{
  display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:14px;
  background:var(--shell);border:1px solid var(--edge);border-radius:12px;padding:12px 16px;
}
.stair .step .pct{font-family:var(--serif);font-weight:700;font-size:1.3rem;color:var(--teal-d);}
.stair .step .bar{height:10px;border-radius:6px;background:var(--shell-2);position:relative;overflow:hidden;}
.stair .step .bar i{position:absolute;left:0;top:0;bottom:0;background:var(--coral);border-radius:6px;}
.stair .step .meta{font-size:.78rem;color:var(--ink-dim);text-align:right;white-space:nowrap;}
.stair .step .meta b{color:var(--ink);display:block;font-size:.86rem;}

figure.plate{margin:0;background:var(--shell);border:1px solid var(--edge);border-radius:20px;padding:12px;box-shadow:0 2px 8px rgba(32,52,47,.05);}
figure.plate img{border-radius:12px;}
figure.plate figcaption{font-size:.78rem;color:var(--ink-dim);padding:10px 4px 2px;}

.note{border:1.5px solid var(--gold);background:var(--shell-2);padding:15px 18px;border-radius:14px;font-size:.9rem;}
.note.alert{border-color:var(--coral);background:#fdece6;}

ol.walk{counter-reset:w;list-style:none;padding:0;margin:0;}
ol.walk li{counter-increment:w;position:relative;padding:11px 0 11px 44px;border-bottom:1px solid var(--edge);}
ol.walk li:last-child{border-bottom:none;}
ol.walk li::before{
  content:counter(w);position:absolute;left:0;top:9px;width:28px;height:28px;
  background:var(--coral);color:#fff;border-radius:8px;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.82rem;
}

.qa details{border-bottom:1px solid var(--edge);padding:14px 0;}
.qa summary{cursor:pointer;font-weight:700;color:var(--ink);}
.qa summary::-webkit-details-marker{color:var(--coral);}
.qa p{color:var(--ink-dim);margin:10px 0 0;}

/* generic grid still used sparingly for the "other offers named" section */
.grid{display:grid;gap:14px;}
.g3{grid-template-columns:repeat(3,1fr);}
@media(max-width:760px){.g3{grid-template-columns:1fr 1fr;}}
@media(max-width:480px){.g3{grid-template-columns:1fr;}}
.tile{background:var(--shell);border:1px solid var(--edge);border-radius:14px;padding:15px;}
.tile h3{margin:0 0 5px;font-size:.92rem;color:var(--teal-d);}
.tile p{margin:0;color:var(--ink-dim);font-size:.86rem;}

footer{border-top:1px solid var(--edge);padding:26px 0 20px;color:var(--ink-dim);font-size:.8rem;background:var(--shell-2);}
footer a{color:var(--ink-dim);text-decoration:underline;}
footer .legal{margin-top:12px;font-size:.74rem;opacity:.85;}

/* ==========================================================
   Bottom app-tray — this IS the navigation. No top nav bar
   anywhere on the site, no separate sticky download strip.
   ========================================================== */
.tray{
  position:fixed;left:0;right:0;bottom:0;z-index:999;
  display:flex;
  background:var(--shell);
  border-top:1px solid var(--edge);
  box-shadow:0 -6px 18px rgba(32,52,47,.08);
  padding-bottom:env(safe-area-inset-bottom);
}
.tray a{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:9px 2px 8px;text-decoration:none;color:var(--ink-dim);font-size:.66rem;font-weight:600;
  border-top:2px solid transparent;
}
.tray a .ic{font-size:1.05rem;line-height:1;}
.tray a.on{color:var(--teal-d);border-top-color:var(--teal-d);}
.tray a.cta{color:#fff;background:var(--coral);border-top-color:var(--coral);margin:6px 6px 6px 0;border-radius:12px;}
.tray a.cta .ic{font-size:1.1rem;}

@media(max-width:640px){
  .wrap{padding:0 16px;}
  .topband{font-size:.7rem;padding:6px 12px;line-height:1.4;}
  .idstrip{padding:12px 0 6px;}
  .idstrip img{width:38px;height:38px;}
  .idstrip .name{font-size:1.05rem;}

  .split{padding:14px 0 28px;}
  .split h1{font-size:1.32rem;}
  .split p.lede{font-size:.9rem;}

  section{padding:24px 0;}
  section h2{font-size:1.2rem;}
  section .kicker{font-size:.88rem;}

  .stair .step{grid-template-columns:54px 1fr;row-gap:6px;}
  .stair .step .meta{grid-column:1 / -1;text-align:left;}

  figure.plate{padding:8px;}
}
