:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #444444;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

  --bg-dark: #000000;
  --fg-dark: #ffffff;
  --accent-dark: #ffff33;

  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.nowrap {
  white-space: nowrap;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  padding: 20px 0 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 18px;
  align-items: start;
}

.hero__author {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.hero__author-photo {
  width: 206px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__author-name {
  font-weight: 700;
}

.hero__author-email {
  color: var(--muted);
  text-decoration: none;
}

.hero__author-email:hover {
  text-decoration: underline;
}

.hero__center {
  text-align: center;
  padding-top: 6px;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.15;
}

.hero__subtitle {
  margin: 0 auto 16px;
  max-width: 55ch;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
}

.retail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.retail__stack {
  /* Keep Amazon aligned with the other retailer buttons even when
     we stack the counseling button underneath it. */
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  justify-content: center;
}

.retail__stack .pill {
  width: 100%;
}


.retail__below {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.retail__link {
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.retail__link:hover {
  box-shadow: var(--shadow);
}

.hero__preview {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.preview-card {
  display: grid;
  gap: 10px;
  text-decoration: none;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-card__img {
  width: 190px;
}

.preview-card__cta {
  font-weight: 700;
  color: var(--muted);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #5aa6ff;
  text-decoration: none;
  background: #eaf4ff;
  color: #111;
}

.pill:hover {
  box-shadow: var(--shadow);
  filter: brightness(0.98);
}

.pill--ghost {
  background: transparent;
}

.preview-lang {
  max-width: 260px;
  text-align: center;
}

.rule {
  border: none;
  border-top: 2px solid var(--border);
  margin: 18px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin: 0 0 16px;
}

.card h1,
.card h2 {
  margin-top: 0;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.site-footer {
  padding: 18px 0 24px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.footer-sep {
  opacity: 0.5;
}

.center {
  text-align: center;
}

/* Counseling (dark theme) */

.theme-dark {
  color: var(--fg-dark);
  background-color: var(--bg-dark);
  background-image: url("images/black.jpg");
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.counseling {
  padding-bottom: 10px;
}

.counseling-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 680px) 1fr;
  gap: 18px;
  align-items: start;
}

.counseling-aside {
  display: grid;
  gap: 14px;
}

.counseling-aside img {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card--dark {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.counseling-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.counseling-hero__icon {
  width: 90px;
}

.counseling-hero__welcome {
  width: min(420px, 100%);
  border-radius: var(--radius);
}

.h1-dark {
  text-align: center;
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.15;
}

.h2-dark {
  margin: 18px 0 10px;
  color: var(--accent-dark);
  font-size: 1.2rem;
}

.lead-dark {
  margin: 0;
  color: var(--accent-dark);
  font-size: 1.03rem;
}

.list-dark {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--accent-dark);
}

.rule--dark {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.contact-dark {
  text-align: center;
  margin: 12px 0 8px;
}

.contact-dark__name {
  font-weight: 800;
}

.contact-dark__email {
  text-decoration: none;
  color: var(--fg-dark);
}

.contact-dark__email:hover {
  text-decoration: underline;
}

.rates-dark {
  text-align: center;
  margin-top: 8px;
}

.rates-dark__row {
  margin: 0 0 10px;
}

.rates-dark__label {
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.btn:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.btn__img {
  width: min(260px, 100%);
}

.fineprint {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.mobile-images {
  display: none;
  margin-top: 12px;
}

.mobile-images summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
}

.mobile-images__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.mobile-images__grid img {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer--dark {
  color: rgba(255, 255, 255, 0.75);
}

/* Time zone notice */

.tz-images {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  justify-items: center;
}

.tz-images__shot,
.tz-images__cta {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.tz-images img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Responsive breakpoints */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__author {
    order: 2;
  }
  .hero__center {
    order: 1;
  }
  .hero__preview {
    order: 3;
  }
  .retail {
    grid-template-columns: 1fr;
  }

  .counseling-grid {
    grid-template-columns: 1fr;
  }
  .counseling-aside {
    display: none;
  }
  .mobile-images {
    display: block;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100% - 24px);
  }
  .preview-card__img {
    width: 170px;
  }
  .card {
    padding: 14px;
  }
  .mobile-images__grid {
    grid-template-columns: 1fr;
  }
}

/* === Button Visibility Update === */
.button, .btn, a.button, a.btn {
    background-color: #4da6ff !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.button:hover, .btn:hover, a.button:hover, a.btn:hover {
    background-color: #2d8cff !important;
}
