
:root {
    --bg: #ffffff;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #2563eb;
    --brand2: #60a5fa;
    --accent: #0ea5e9;
    --card: #ffffff;
    --radius: 18px;
    --title-max: 600px; /* tune to taste */
    --right-max: 600px; /* tune to taste */
}

* {
    box-sizing: border-box
}

html, body {
    background: var(--bg);
    color: var(--ink);
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    line-height: 1.6;
    overflow-x: clip
}

a {
    color: inherit;
    text-decoration: none
}

#allGradeMetricsHeading .h2-sub {
    display: block;
    font-size: .95rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: 2px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 75px 20px
}

/* Make breadcrumbs full-bleed and left-aligned, independent of .container centering */
.breadcrumbs {
    display: flex;
    justify-content: flex-start; /* left align items */
    gap: .5rem;
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 10px;

    /* Full-bleed trick: stretch to viewport edges even inside a centered container */
    width: 100vw;
    position: relative;
    left: 55%;
    right: 55%;
    margin-left: calc(-50vw + 0px); /* pull to viewport left */
    margin-right: calc(-50vw + 0px); /* optional; keeps symmetry */
    padding: 0 0; /* same gutter as your container */
}

.breadcrumbs a {
    color: var(--muted)
}

.title-wrap {
    text-align: center !important;
    max-width: var(--title-max);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    margin: 0;
    font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
    letter-spacing: .2px
}

.sub {
    color: var(--muted);
    font-size: 16px;
}

.sub-sign-up {
    color: black;
    font-size: 16px;
    padding-bottom: 14px;
}

.story {
    width: 100%;
    max-width: none;
    margin: 0 auto 20px;
}

.storyline-card {
    background: var(--card);
    border-radius: var(--radius);
    width: 100%;
    /*padding: 2px;*/
}

#storyline-title {
    margin: 0 0 12px; /* space below the text */
    padding-bottom: 1px; /* space above the line */
    border-bottom: 1px solid #ccc; /* light gray line */
        font-size: 22px;
}


.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 10px 15px rgba(17, 24, 39, .03);
}

.card h2 {
    margin: 0 0 4px;
    font-size: 18px
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 22px
}

.issue-pill-wrap {
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.issue-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    border: 1px solid rgba(37, 99, 235, .25);
    box-shadow: 0 6px 18px rgba(37, 99, 235, .18);
}

.cover-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.cover {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #f8fafc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
}

.right {
    width: 100%;
    max-width: var(--right-max); /* visually narrower than the full grid track */
    justify-self: start; /* do not stretch to fill the 1fr column */
    /* optional: if children had their own max-widths, let them fill this area */
    min-width: 0;

}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

.btn-primary:hover {
    transform: translateY(-1px)
}

.btn-ghost {
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
}

.lock {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 3px;
    position: relative
}

.lock:before {
    content: "";
    position: absolute;
    top: -10px;
    left: 2px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-bottom: none;
    border-radius: 10px 10px 0 0
}

.value-grid {
    margin-top: 22px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr)
}

.benefits {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    background: #ffffff
}

.benefits h3 {
    margin: 0 0 6px;
    font-size: 1rem
}

.benefits p {
    margin: 0;
    color: var(--muted);
    font-size: .98rem;
    font-weight: normal;
}

.meta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 18px 0 0;
        margin-left: auto;           /* NEW */
    margin-right: auto;          /* NEW */
    clear: both;                 /* NEW */
    align-items: center;         /* NEW: vertical align for pills on wrap */
        /* --- force new row under flex/grid parents --- */
    flex: 0 0 100%;        /* NEW: take a full row in flex layouts */
    min-width: 100%;       /* NEW: prevents sharing a row in some flex setups */
    width: 100%;           /* NEW: full width baseline */
    grid-column: 1 / -1;   /* NEW: span entire grid width when parent is grid */
}

.pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--muted);
    background: #fff
}

.navbar-issues {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: fixed; /* Make the header fixed */
    width: 100%; /* Make the header span the entire width of the viewport */
    top: 0; /* Position the header at the top of the viewport */
    z-index: 1000; /* Ensure the header stays above other content */
    padding-bottom: 2px;
    padding-top: 2px;
    background-color: #004E98;
    border-bottom: 1px solid lightgray;
}

/* make <details> look/behave like your pill and sit inline */
.meta .faq-pill {
  display: inline-block;                   /* flex item in .meta row */
  padding: 8px 12px;                       /* match .pill padding */
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

/* summary styled like text inside pill */
.meta .faq-pill > summary.faq-summary {
  list-style: none;                        /* hide default marker */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.meta .faq-pill > summary::-webkit-details-marker { display: none; }
.meta .faq-pill > summary.faq-summary::after {
  content: "▾";                            /* chevron */
  font-size: 12px;
  line-height: 1;
}
.meta .faq-pill[open] > summary.faq-summary::after { content: "▴"; }

/* when open, make the pill consume full row so panel drops below neatly */
.meta .faq-pill[open] {
  flex-basis: 100%;
}

/* panel styling: spans full width under the pills */
.meta .faq-pill > #grade-faq {
  width: 100%;
  margin-top: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
    margin-left: auto;            /* NEW */
  margin-right: auto;           /* NEW */
  max-width: 900px;             /* NEW (tweak or remove if you prefer full width) */
}

/* optional: compact typography inside the panel */
.meta .faq-pill h2 { font-size: 1rem; margin: 6px 0; }
.meta .faq-pill h3 { font-size: .95rem; margin: 8px 0 4px; }

/* sr-only (keep in your global CSS if you haven’t already) */
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.signup-cta {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
        /* ensure CTA also takes its own row under flex/grid parents */
    flex: 0 0 100%;      /* NEW */
    min-width: 100%;     /* NEW */
    width: 100%;         /* NEW */
    grid-column: 1 / -1; /* NEW */
}

.signup-button {
    display: inline-block;
    padding: 16px 140px;
    font-size: 18px;
    background-color: #004E98; /* Or your brand color */
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.signup-button:hover {
    background-color: #005ec2; /* Darker on hover */
}


.subheader-text {
    text-align: center;
    font-size: 18px;
    color: black;
    margin-top: 8px;
    margin-bottom: 30px;
}


/* Visible FAQ block */
.faq-visible {
  max-width: 900px;         /* match your panel width */
  margin: 18px auto 0;      /* centered under CTA/meta */
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.faq-visible .faq-title {
  text-align: center;
  margin: 6px 0 12px;
  font-size: 22px;
}
.faq-visible .faq-qa + .faq-qa { margin-top: 16px; font-size: 18px; }
.faq-visible h3 { font-size: 18px; margin: 8px 0 4px; }
.faq-visible p { margin: 0; font-size: 16px; }

.title-wrap-works {
    text-align: center !important;
    max-width: var(--title-max);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
}

.issue-range-row{
  display:flex; align-items:center;
  padding:8px 12px; margin:6px 0 12px;
}
.issue-range-row .range-label{font-weight:700; font-size:16px;}
.issue-range-row .range-value{font-weight:400; font-size:16px;}

#price-guide {
    margin: 0 0 12px; /* space below the text */
    padding-bottom: 1px; /* space above the line */
    font-size: 22px;
}

/* subtle blur for header values on locked rows */
.lp-blur {
  display:inline-block;
  filter: blur(6px);
  opacity: 0.7;
  user-select: none;
}

/* small lock next to the value in the header */
.lp-lock-chip {
  margin-left: 6px;
  font-size: 0.95em;
  vertical-align: middle;
}

.lp-lock-card{
  border:1px solid #e5e5e5;
  border-radius:12px;
  padding:16px;
  background:#fffdfa;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:center;
  justify-content:center;
  margin:8px 0;
}
.lp-lock-emoji{ font-size:28px; }
.lp-lock-title{ font-weight:700; font-size:18px; }
.lp-lock-sub{ color:#555; font-size:14px; line-height:1.35; }
.lp-lock-cta{
  display:inline-block;
  background:#004E98;
  color:#fff;
  padding:8px 14px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
}
.lp-lock-cta:hover{ filter:brightness(0.95); }
.lp-lock-footnote{ font-size:12px; color:#666; }
.lp-lock-footnote a{ color:#004E98; font-weight: bold; text-decoration:underline; }

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.benefit-column {
    flex: 0 0 32%;
    box-sizing: border-box;
}

/* Additional styling for headings and paragraphs */
.benefit-column h3 {
    font-size: 18px;
    margin-top: 10px;
}

.benefit-column p {
    font-size: 16px;
    text-align: left;
}

.benefit-item {
     display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    margin-left: 5px; /* Add margin to the left of the image */
    margin-right: 5px; /* Add margin to the left of the image */
    position: relative; /* Set position to relative for absolute positioning */
    max-width: 100%; /* Set maximum width of the image container */
    max-height: 100%; /* Set maximum height of the image container */
}

.feature-image {
    width: 100%; /* Set image width to 100% */
    height: 100%; /* Set image height to 100% */
    object-fit: contain; /* Fit entire image within container */
    border-radius: 5px;
}

.benefit-content {
    flex: 1; /* Allow the benefit content to take up remaining space */
}

.benefit-title {
    margin-left: 0; /* Reset margin */
    text-align: left;
    padding-top: 5px;
}

.site-title { margin: 0; }
.brand-link {
  color: #fff;
  text-decoration: none;
  display: inline-block;  /* makes the whole text area clickable */
  padding: 0 0;         /* optional */
}

.site-title-header {
    margin: 0;
    font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
    letter-spacing: .2px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns:1fr;
        margin-top: 15px
    }

    .issue-pill-wrap {
        top: -26px
    }

    .cover {
        max-width: 280px;
        margin: 0 auto
    }

    .value-grid {
        grid-template-columns:1fr 1fr
    }

    .breadcrumbs {
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .value-grid {
        grid-template-columns:1fr
    }

    .container {
        padding: 50px 14px
    }

    .breadcrumbs {
        justify-content: center;
        width: auto;
        position: static;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 0 14px; /* match mobile container padding */
        text-align: center;
    }

            .benefits-container {
        flex-direction: column;
        align-items: center;
    }

    .benefit-column {
        max-width: 100%;
    }


}