/* ---------------------------------------------------------------------------
   The join page.
   One card, one price, one list of what you get. Deliberately plain: a
   membership sells on the benefits being legible, not on decoration.
   --------------------------------------------------------------------------- */

.gms-join {
    display: flex;
    justify-content: center;
    margin: 0 0 clamp(24px, 5vw, 48px);
}

.gms-join__card {
    width: 100%;
    max-width: 460px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--gms-line, #e4e4e4);
    border-radius: 16px;
    background: var(--gms-surface, #fff);
    text-align: center;
}

.gms-join__eyebrow {
    margin: 0 0 10px;
    color: var(--gms-ink-soft, #6b6b6b);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gms-join__price {
    margin: 0 0 6px;
    color: var(--gms-ink, #1a1a1a);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gms-join__per {
    display: block;
    margin-top: 6px;
    color: var(--gms-ink-soft, #6b6b6b);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
}

.gms-join__lead {
    margin: 0 0 4px;
    color: var(--gms-ink-soft, #6b6b6b);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.gms-join__list {
    margin: 22px 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.gms-join__list li {
    position: relative;
    padding: 9px 0 9px 28px;
    border-bottom: 1px solid var(--gms-line, #e4e4e4);
    color: var(--gms-ink, #1a1a1a);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.gms-join__list li:last-child {
    border-bottom: 0;
}

/* A tick drawn from two borders, so there is no icon font or SVG to load for
   what is decoration. */
.gms-join__list li::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 4px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--gms-good, #059669);
    border-bottom: 2px solid var(--gms-good, #059669);
    transform: rotate(-45deg);
}

/* The class is doubled, and the colour restated, on purpose.
   
   This is an <a> wearing a button's clothes, and a theme's link colour is
   usually written as `.entry-content a` or similar — specificity (0,1,1),
   which beats the single class that gives .gms-btn-p its white text. The
   background still came from us, so the button rendered #111 on #14161a:
   contrast 1.04, a solid black slab with the words "Sign in to join"
   invisible inside it. Nothing looks broken, there is simply no label.
   
   Measured rather than guessed: (0,1,1) and (0,2,0) both still lost to it,
   and (0,2,1) was the first that won. The ancestor plus the doubled class
   gives (0,3,0), comfortably clear with a real parent rather than `body`. */
.gms-join .gms-join__cta.gms-join__cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    color: var(--gms-accent-ink, #fff);
}

.gms-join .gms-join__cta.gms-join__cta:hover,
.gms-join .gms-join__cta.gms-join__cta:focus {
    color: var(--gms-accent-ink, #fff);
}

.gms-join__note {
    margin: 10px 0 0;
    color: var(--gms-ink-soft, #6b6b6b);
    font-size: 0.8125rem;
    line-height: 1.45;
}

/* A way to pay, on the page that asks you to.
   The button adds to the basket; this is how you finish. Quiet, because most
   people arriving here will carry on shopping first. */
.gms-join__checkout {
  display: inline-block;
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gms-ink-2, #57524a);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gms-join__checkout:hover { color: var(--gms-ink, #14161a); }
