/* All About The Points - marketing site styles.
   Brand: warm ivory/pearl surfaces + premium metallic accents. Light-mode,
   Apple-premium aesthetic. No external fonts or assets. */

:root {
  --ivory: #f8f3e8;
  --pearl: #e7ddcb;
  --ink: #1c1b18;
  --ink-soft: #57534a;
  --line: rgba(28, 27, 24, 0.10);
  --gold: #c9a44c;
  --gold-deep: #9c7a2e;
  --navy: #1a2a44;
  --card-radius: 22px;
  --max: 1080px;
  --shadow-sm: 0 1px 3px rgba(28, 27, 24, 0.06), 0 6px 18px rgba(28, 27, 24, 0.06);
  --shadow-lg: 0 10px 40px rgba(28, 27, 24, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, var(--ivory) 0%, var(--pearl) 100%) fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
a { color: inherit; }

/* ---- Nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(248, 243, 232, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 210deg, #e8d9a8, #c9a44c, #e8e8ea, #2a4a7a, #1a2a44, #e8d9a8);
  box-shadow: var(--shadow-sm);
}
.nav nav { display: flex; gap: 26px; align-items: center; }
.nav nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav nav a.hide-sm { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,0.5); border-color: var(--line); color: var(--ink); }
.btn[aria-disabled="true"] { opacity: 0.62; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn .apple { width: 17px; height: 17px; fill: currentColor; }
.badge-sub { font-size: 0.72rem; color: var(--ink-soft); display: block; margin-top: 6px; }

/* ---- Hero ---- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gold-deep);
  background: rgba(201, 164, 76, 0.12); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero p.lede { font-size: 1.18rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 30ch; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row { justify-content: center; }
}

/* ---- Card rosette (CSS mock of the app icon) ---- */
.rosette { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; margin: 0 auto; }
.rosette .gap {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.7), rgba(231,221,203,0.2)); z-index: 20;
}
.rcard {
  position: absolute; top: 50%; left: 50%;
  width: 38%; aspect-ratio: 1.586;            /* ID-1 credit card proportion */
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(28,27,24,0.20);
  transform-origin: 50% 50%;
  border: 1px solid rgba(255,255,255,0.18);
}
.rcard .chip {
  position: absolute; top: 22%; left: 14%; width: 18%; height: 26%; border-radius: 4px;
  background: linear-gradient(135deg, #f4e3a8, #c9a44c 60%, #8a6a22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
/* metallic finishes */
.m-platinum { background: linear-gradient(135deg,#f2f2f4,#b8bcc4 55%,#e8e8ea); }
.m-champagne{ background: linear-gradient(135deg,#f3e6b8,#c9a44c 55%,#e8d9a8); }
.m-rose     { background: linear-gradient(135deg,#f3d8cc,#c98a78 55%,#e8c4b8); }
.m-sapphire { background: linear-gradient(135deg,#3a5f9a,#16284a 55%,#2a4a7a); }
.m-cobalt   { background: linear-gradient(135deg,#3a7fd0,#0f3a70 55%,#1e5fa8); }
.m-navy     { background: linear-gradient(135deg,#27406a,#0b1730 55%,#1a2a44); }
.m-black    { background: linear-gradient(135deg,#3a3a3e,#141416 55%,#2a2a2c); }
.m-charcoal { background: linear-gradient(135deg,#4c5057,#222428 55%,#3a3d42); }
.m-gunmetal { background: linear-gradient(135deg,#5e636b,#2c2f34 55%,#4a4e54); }
.m-sapphire .chip, .m-cobalt .chip, .m-navy .chip,
.m-black .chip, .m-charcoal .chip, .m-gunmetal .chip {
  background: linear-gradient(135deg,#cfd2d6,#8d9298 60%,#5c6066);
}

/* ---- Sections ---- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { text-align: center; max-width: 36ch; margin: 0 auto 48px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: rgba(255,255,255,0.55); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.feature .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #f3e6b8, #c9a44c); color: #3a2c08; margin-bottom: 16px;
}
.feature .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---- Pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 720px; margin: 0 auto; }
@media (max-width: 640px) { .pricing { grid-template-columns: 1fr; } }
.price {
  background: rgba(255,255,255,0.65); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: 34px; text-align: center; box-shadow: var(--shadow-sm);
  position: relative;
}
.price.featured { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.price .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #f3e6b8, #c9a44c); color: #3a2c08;
  font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 0.03em;
}
.price .amt { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price .was { color: var(--ink-soft); text-decoration: line-through; font-size: 1.1rem; font-weight: 600; margin-left: 6px; opacity: 0.7; }
.price .per { color: var(--ink-soft); font-size: 0.95rem; }
.price .note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 12px; }
.promo-eyebrow {
  display: inline-block; text-align: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--gold-deep);
  background: rgba(201, 164, 76, 0.14); padding: 7px 16px; border-radius: 999px; margin: 0 auto 22px;
}
.compare { text-align: center; color: var(--ink-soft); font-size: 0.95rem; margin-top: 28px; }

/* ---- Privacy band ---- */
.band {
  background: linear-gradient(135deg, var(--navy), #0b1730);
  color: #f3efe6; border-radius: 28px; padding: clamp(36px, 6vw, 64px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.band h2 { color: #fff; }
.band p { color: rgba(243, 239, 230, 0.78); max-width: 52ch; margin: 16px auto 0; }
.band .chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.band .chip-pill {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 9px 16px; border-radius: 999px; font-size: 0.9rem;
}

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; gap: 22px; }

/* ---- Legal / privacy page ---- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) 24px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold-deep); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
