/* Cards With Benefits — mycardswithbenefits.com
   Shared styles. Plain static site, no build step. */

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #616b78;
  --line: #e7e4dd;
  --gold: #c8a24a;
  --gold-deep: #a8852f;
  --green: #2f9e63;
  --card-1: #1c2128;
  --card-2: #2a313b;
  --radius: 18px;
  --maxw: 980px;
  --shadow: 0 10px 40px rgba(20, 23, 28, 0.10);
  --shadow-sm: 0 4px 18px rgba(20, 23, 28, 0.08);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 243, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .name { font-size: 16px; letter-spacing: -0.01em; }
.navlinks { display: flex; gap: 22px; align-items: center; }
.navlinks a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.navlinks a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) {
  .navlinks { gap: 15px; }
  .navlinks a { font-size: 13px; }
  .brand .name { display: none; }
}

/* ---------- CWB monogram chip ---------- */
.chip {
  width: 34px; height: 26px; flex: 0 0 auto;
  border-radius: 6px;
  background: linear-gradient(135deg, #e9c878 0%, var(--gold) 45%, var(--gold-deep) 100%);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px;
  padding: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.chip span { background: rgba(20,23,28,0.22); border-radius: 1.5px; }
.chip.lg { width: 52px; height: 40px; border-radius: 9px; padding: 7px; gap: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn[disabled], .btn.coming { opacity: 0.55; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gold-deep);
  background: rgba(200,162,74,0.12); padding: 6px 13px; border-radius: 999px;
}
h1 {
  font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.025em;
  margin: 20px auto 14px; max-width: 14ch; font-weight: 700;
}
.lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 56ch; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* phone mock card */
.showcase { margin: 54px auto 0; max-width: 360px; }
.phonecard {
  aspect-ratio: 1.586; border-radius: 22px;
  background: linear-gradient(135deg, var(--card-1), var(--card-2));
  color: #fff; padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.phonecard::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 80% -10%, rgba(200,162,74,0.25), transparent 55%);
}
.phonecard .top { display: flex; justify-content: space-between; align-items: flex-start; }
.phonecard .label { font-size: 12px; letter-spacing: 0.08em; opacity: 0.7; text-transform: uppercase; }
.phonecard .bignum { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.progress { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.16); overflow: hidden; margin-top: 6px; }
.progress > i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--gold), #e9c878); }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; text-align: center; margin: 0 0 10px; }
.sub { text-align: center; color: var(--muted); max-width: 54ch; margin: 0 auto 40px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
section.alt .feature { background: var(--bg); }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(200,162,74,0.14); color: var(--gold-deep); font-size: 20px; margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Article / legal pages ---------- */
.article { padding: 56px 0 24px; max-width: 760px; }
.article h1 { text-align: left; font-size: clamp(30px, 5vw, 42px); margin: 0 0 6px; max-width: none; }
.article .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.article h2 { font-size: 22px; letter-spacing: -0.01em; margin: 38px 0 10px; }
.article h3 { font-size: 17px; margin: 24px 0 6px; }
.article p, .article li { color: #2b313b; font-size: 16.5px; }
.article ul { padding-left: 20px; }
.article li { margin: 6px 0; }
.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 16px 18px; margin: 22px 0; box-shadow: var(--shadow-sm);
}
.callout p { margin: 0; }

/* FAQ */
.faq { max-width: 760px; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; margin: 12px 0; box-shadow: var(--shadow-sm);
}
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--gold-deep); font-weight: 400; }
details[open] summary::after { content: "\2013"; }
details .body { padding: 0 0 18px; color: var(--muted); font-size: 16px; }

/* contact */
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); max-width: 560px; margin-top: 24px;
}
.contact-card .email { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 30px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--ink); text-decoration: none; }
.foot .links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot .legal { font-size: 13px; max-width: 60ch; }

.center { text-align: center; }
.mt { margin-top: 28px; }
