/* Base — minimal reset, system font stack for fast paint */
*,
*::before,
*::after { box-sizing: border-box; }

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

#exclusive-purchase {
  scroll-margin-top: 1rem;
}

.text-link {
  color: #4285f4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.text-link:hover {
  color: #3367d6;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* Header / footer */
.site-header {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 0.875rem 1rem;
}

.site-header__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.site-footer {
  background: #333;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 1rem;
  font-size: 0.8125rem;
}

.site-footer p { margin: 0; }

/* Layout */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e0e0e0;
}

.section-head {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #b3d9ff;
}

.section-head--center {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.section-head--center::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 320px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, #7eb8ea 20%, #7eb8ea 80%, transparent);
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #222;
}

.section-head--center h2 { font-size: 1.5rem; }

.section-head__meta {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #666;
}

/* Intro */
.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.intro__media {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.intro__img {
  max-width: 180px;
  height: auto;
  display: block;
}

.intro__text {
  flex: 1 1 280px;
  min-width: 0;
}

.intro__text h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #222;
}

.intro__text p {
  margin: 0 0 0.75rem;
  color: #555;
  font-size: 0.9375rem;
}

.intro__text p:last-child { margin-bottom: 0; }

@media (min-width: 640px) {
  .intro__media { width: auto; }
  .intro { flex-wrap: nowrap; }
}

/* Share grid */
.share-section { margin-bottom: 1.25rem; }

.account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .account-grid { grid-template-columns: repeat(2, 1fr); }
}

.account-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.account-card__title {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #444;
}

.account-card__rows { padding: 0.85rem 1rem 1rem; }

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin-bottom: 0.65rem;
}

.copy-row:last-child { margin-bottom: 0; }

.copy-row__label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.875rem;
  color: #444;
}

.copy-row__value {
  flex: 1 1 120px;
  min-width: 0;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #222;
  line-height: 1.5;
  word-break: break-all;
}

.btn-copy {
  flex: 0 0 auto;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: #28a745;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-copy:hover { background: #218838; }

.btn-copy:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.btn-copy.is-copied { background: #1e7e34; }

/* CTA */
.card--cta .card__lead {
  margin: 0 0 1rem;
  color: #555;
  font-size: 0.9375rem;
}

.check-list {
  margin: 0 0 1.25rem;
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  color: #444;
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #28a745;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.cta-wrap { text-align: center; margin: 0; }

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #4285f4;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary:hover { background: #3367d6; }

.btn-primary:focus-visible {
  outline: 2px solid #333;
  outline-offset: 3px;
}

/* Usage */
.usage-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #1565c0;
  font-size: 0.9375rem;
}

.usage-list li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.usage-list li:last-child { margin-bottom: 0; }

/* Warnings */
.warn-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.warn-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.9375rem;
  color: #555;
}

.warn-list li:last-child { margin-bottom: 0; }

.warn-list__icon {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  background: #ffc107;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.warn-list strong { color: #e65100; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #fff;
  background: rgba(40, 167, 69, 0.95);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 200;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
