/* ===== ACCOUNT CHOOSER: "How would you like to buy?" (GDL-239) ===== */

.account-chooser__hero {
  text-align: center;
  padding: 2.5rem 0 1rem;
}
.account-chooser__hero h1 {
  color: var(--gb-navy);
  margin: 0 0 0.75rem;
}
.account-chooser__intro {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  color: #444;
}

.account-chooser__options {
  padding: 1.5rem 0 3.5rem;
}

/* The grid owns the row tracks; each card is a subgrid spanning all six rows,
   so corresponding sections (the two sub-labels, the two lists, the buttons)
   line up across both columns. The shorter column simply gets whitespace in the
   taller row, which keeps everything aligned and looking intentional. */
.account-chooser__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto auto auto;
  gap: 10px;
  /* Widened from 940px so the longer Full-account benefit lines (e.g. "Receive
     goods by post or collect from our office" and "Sell precious metals and
     unwanted jewellery to us") sit on a single line and align tidily with the
     other column (GDL-291). */
  max-width: 1140px;
  margin: 0 auto;
}

.account-chooser__card {
  display: grid;
  grid-row: 1 / span 6;
  grid-template-rows: subgrid;
  background: var(--gb-white);
  border: 1px solid var(--gb-border);
  border-top: 4px solid var(--gb-gold);
  border-radius: 8px;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.account-chooser__card--full { border-top-color: var(--gb-gold); }
.account-chooser__card--limited { border-top-color: var(--gb-navy); }

/* Fallback for browsers without subgrid: behave as a normal flex column. */
@supports not (grid-template-rows: subgrid) {
  .account-chooser__grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .account-chooser__card { display: flex; flex-direction: column; flex: 1 1 360px; max-width: 460px; }
  .account-chooser__card .account-chooser__cta { margin-top: auto; }
}

.account-chooser__card-head {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gb-border);
}
.account-chooser__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
}
.account-chooser__title {
  margin: 0.3rem 0 0;
  font-size: 1.5rem;
}
.account-chooser__card--full .account-chooser__title { color: var(--gb-gold); }
.account-chooser__card--limited .account-chooser__title { color: var(--gb-navy); }

/* Sub-section labels */
.account-chooser__sublabel {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gb-navy);
  margin: 1.1rem 0 0.75rem;
}

/* Benefits list */
.account-chooser__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-chooser__benefits li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.75rem;
  line-height: 1.5;
}
.account-chooser__benefits li::before {
  content: "\2713"; /* check */
  position: absolute;
  left: 0;
  top: 0.4rem;
  font-weight: 700;
  color: #2e7d32;
}
.account-chooser__benefits li strong { color: var(--gb-navy); }

/* What you will need */
.account-chooser__needs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-chooser__needs li {
  padding: 0.5rem 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--gb-gray);
}
.account-chooser__needs li:first-child { border-top: 1px solid var(--gb-gray); }
.account-chooser__needs li strong { color: var(--gb-navy); }

/* CTA — sits in the last shared row, so both buttons align across columns. */
.account-chooser__cta {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 0.95rem 1.2rem;
  text-align: center;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
}
.account-chooser__cta--full {
  background: var(--gb-gold);
  color: var(--gb-navy);
}
.account-chooser__cta--full:hover { background: #b89534; color: var(--gb-navy); }
.account-chooser__cta--limited {
  background: var(--gb-navy);
  color: var(--gb-white);
}
.account-chooser__cta--limited:hover { background: var(--gb-navy-light); color: var(--gb-white); }

/* Mobile: single column, normal flow */
@media (max-width: 768px) {
  .account-chooser__grid {
    display: block;
    max-width: 460px;
  }
  .account-chooser__card { margin-bottom: 1.75rem; }
  .account-chooser__card .account-chooser__cta { margin-top: 1.5rem; }
}
