:root{
  /* Practical, accessible light palette (neutral base + blue accent). */
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface2: #f1f5ff;

  --text: #0f172a;   /* slate-900 */
  --muted: #475569;  /* slate-600 */
  --muted2: #64748b; /* slate-500 */

  --border: rgba(15, 23, 42, .12);
  --border2: rgba(37, 99, 235, .18);
  --shadow: 0 18px 45px rgba(15, 23, 42, .10);
  --radius: 18px;
  --blue: #2563eb;   /* blue-600 */
  --blue2: #1d4ed8;  /* blue-700 */
  --cyan: #06b6d4;   /* cyan-500 */
  --focus: rgba(37, 99, 235, .22);
  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(6,182,212,.16), transparent 58%),
    radial-gradient(900px 520px at 92% 6%, rgba(37,99,235,.14), transparent 58%),
    linear-gradient(to bottom, rgba(255,255,255,.92), rgba(247,248,251,.92)),
    var(--bg);
  line-height:1.5;
}

a{ color: inherit; text-decoration: none; }

.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(15,23,42,.05), transparent 24%),
    radial-gradient(1px 1px at 20px 20px, rgba(15,23,42,.10) 0, transparent 1px);
  background-size: auto, 34px 34px;
  opacity:.20;
  mix-blend-mode: multiply;
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header{
  padding: 28px 0 10px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
}
.logo{
  width: 64px;
  height: auto;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  padding: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
}
.brandText{ display:flex; flex-direction:column; }
.brandName{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 18px;
}
.brandTag{
  font-size: 13px;
  color: var(--muted2);
}

.hero{
  padding: 30px 0 18px;
}
h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.3px;
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.chip{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(15,23,42,.86);
  font-size: 14px;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.purchase{
  padding: 18px 0 48px;
}
h2{
  margin: 0 0 14px;
  font-size: 18px;
  color: rgba(15,23,42,.92);
  letter-spacing: .2px;
}

.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset: -1px;
  background:
    radial-gradient(560px 240px at 10% 0%, rgba(6,182,212,.14), transparent 62%),
    radial-gradient(560px 240px at 100% 10%, rgba(37,99,235,.12), transparent 60%);
  opacity:.95;
  pointer-events:none;
}
.card > *{ position: relative; }

.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(241,245,255,.85);
  border: 1px solid var(--border2);
  color: rgba(15,23,42,.78);
  font-size: 12px;
  width: fit-content;
}

h3{
  margin: 10px 0 6px;
  font-size: 18px;
  letter-spacing: .1px;
}
.muted{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cardTop{
  margin-bottom: 14px;
}

.actions{
  display:flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.copy{
  display:flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.copyLabel{
  font-size: 12px;
  letter-spacing: .25px;
  color: var(--muted2);
}
.copyRow{
  display:flex;
  gap: 10px;
  align-items: stretch;
}
.copyInput{
  width: 100%;
  min-width: 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  color: rgba(15,23,42,.92);
  font-weight: 600;
  letter-spacing: .1px;
  outline: none;
}
.copyInput:focus-visible{
  box-shadow: 0 0 0 4px var(--focus);
}
.copyBtn{
  white-space: nowrap;
}

.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  color: rgba(15,23,42,.92);
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .08s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  user-select:none;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
  border-color: rgba(15,23,42,.22);
}
.btn:active{ transform: translateY(0px); }
.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus), 0 14px 28px rgba(15, 23, 42, .12);
}

.btn.primary{
  background: linear-gradient(135deg, rgba(6,182,212,.95), rgba(37,99,235,.95));
  border-color: rgba(37,99,235,.22);
  color: #071022;
}
.btn.primary:hover{ box-shadow: 0 16px 36px rgba(37,99,235,.16), 0 16px 36px rgba(6,182,212,.12); }

.btn.secondary{
  background: linear-gradient(135deg, rgba(241,245,255,.95), rgba(255,255,255,.92));
}

.btn.ghost{
  background: rgba(241,245,255,.78);
  border-color: rgba(15,23,42,.14);
  font-weight: 650;
}

.note{
  margin-top: 14px;
  padding: 12px 12px;
  background: rgba(241,245,255,.70);
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 14px;
}
.noteTitle{
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 8px;
}
.steps{
  margin: 0;
  padding-left: 18px;
  color: rgba(15,23,42,.84);
  font-size: 13px;
}
.steps li{ margin: 4px 0; }

.fineprint{
  font-size: 12px;
  color: var(--muted2);
  text-align:center;
}

.footer{
  border-top: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footerInner{
  padding: 18px 0;
  color: rgba(71,85,105,.92);
  font-size: 13px;
}

@media (min-width: 880px){
  .hero{ padding: 44px 0 18px; }
  .cards{
    grid-template-columns: 1.12fr .88fr;
    gap: 16px;
  }
  .actions{
    flex-direction: row;
    align-items: center;
  }
  .actions .btn{
    flex: 1;
  }
  .actions .btn.ghost{
    flex: 1;
  }
  .fineprint{
    text-align:left;
  }
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
  .btn:hover{ transform:none; }
}
