.spn-nbn {
  --spn-ink: #12213a;
  --spn-muted: #5d6a7e;
  --spn-line: #dce3eb;
  --spn-soft: #f4f7fb;
  --spn-accent: #1769e0;
  --spn-accent-dark: #0d4fae;
  --spn-success: #08775b;
  color: var(--spn-ink);
  max-width: 980px;
  margin: 2rem auto;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid var(--spn-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(23, 105, 224, 0.1), transparent 35%),
    #fff;
  box-shadow: 0 20px 60px rgba(18, 33, 58, 0.1);
  font-family: inherit;
}

.spn-nbn * {
  box-sizing: border-box;
}

.spn-nbn__eyebrow,
.spn-nbn__network {
  color: var(--spn-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.spn-nbn h2 {
  max-width: 720px;
  margin: 0.45rem 0 0.7rem;
  color: var(--spn-ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.spn-nbn__intro {
  max-width: 680px;
  margin: 0 0 2rem;
  color: var(--spn-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.spn-nbn__form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 750;
}

.spn-nbn__search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.spn-nbn input[type="search"] {
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1rem;
  border: 1px solid #aeb9c8;
  border-radius: 12px;
  background: #fff;
  color: var(--spn-ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.spn-nbn input[type="text"],
.spn-nbn input[type="email"],
.spn-nbn input[type="tel"],
.spn-nbn textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid #aeb9c8;
  border-radius: 10px;
  background: #fff;
  color: var(--spn-ink);
  font: inherit;
  outline: none;
}

.spn-nbn textarea {
  min-height: 92px;
  resize: vertical;
}

.spn-nbn input[type="search"]:focus {
  border-color: var(--spn-accent);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.13);
}

.spn-nbn input[type="text"]:focus,
.spn-nbn input[type="email"]:focus,
.spn-nbn input[type="tel"]:focus,
.spn-nbn textarea:focus {
  border-color: var(--spn-accent);
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.13);
}

.spn-nbn button,
.spn-nbn__contact {
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 11px;
  background: var(--spn-accent);
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.spn-nbn button:hover,
.spn-nbn__contact:hover {
  background: var(--spn-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.spn-nbn button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.spn-nbn__help,
.spn-nbn__privacy,
.spn-nbn__disclaimer {
  color: var(--spn-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.spn-nbn__matches {
  margin-top: 0.55rem;
  overflow: hidden;
  border: 1px solid var(--spn-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(18, 33, 58, 0.12);
}

.spn-nbn__match {
  display: flex;
  width: 100%;
  min-height: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0;
  border-bottom: 1px solid var(--spn-line);
  background: #fff;
  color: var(--spn-ink);
  text-align: left;
}

.spn-nbn__match:last-child {
  border-bottom: 0;
}

.spn-nbn__match:hover,
.spn-nbn__match:focus {
  background: var(--spn-soft);
  color: var(--spn-ink);
  transform: none;
}

.spn-nbn__match small {
  color: var(--spn-accent);
  font-weight: 750;
}

.spn-nbn__status {
  min-height: 1.5rem;
  margin: 1rem 0;
  color: var(--spn-muted);
}

.spn-nbn__status.is-error {
  color: #a12424;
}

.spn-nbn__status.is-success {
  color: var(--spn-success);
}

.spn-nbn__result-card,
.spn-nbn__manual {
  margin-top: 1.3rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--spn-line);
  border-radius: 18px;
  background: #fff;
}

.spn-nbn__result-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.spn-nbn__result-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--spn-success);
  color: #fff;
  font-weight: 900;
}

.spn-nbn h3 {
  margin: 0.3rem 0;
  color: var(--spn-ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
}

.spn-nbn__address {
  margin: 0.4rem 0 0;
  color: var(--spn-muted);
}

.spn-nbn__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.spn-nbn__facts section {
  padding: 1rem;
  border: 1px solid var(--spn-line);
  border-radius: 13px;
  background: #fff;
}

.spn-nbn__facts span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--spn-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.spn-nbn__facts strong {
  display: block;
  line-height: 1.35;
}

.spn-nbn__facts p,
.spn-nbn__next p {
  margin: 0.45rem 0 0;
  color: var(--spn-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.spn-nbn__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--spn-line);
}

.spn-nbn__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.spn-nbn__privacy {
  margin: 1.3rem 0 0;
}

.spn-nbn__lead-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--spn-line);
}

.spn-nbn__plans {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--spn-line);
}

.spn-nbn__plans-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spn-nbn__plans-heading p,
.spn-nbn__plans--contact p {
  margin: 0.35rem 0 0;
  color: var(--spn-muted);
}

.spn-nbn__plans-heading small {
  color: var(--spn-muted);
  text-align: right;
}

.spn-nbn__plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.spn-nbn__plan {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--spn-line);
  border-radius: 14px;
  background: #fff;
}

.spn-nbn__plan > strong {
  font-size: 1.25rem;
}

.spn-nbn__plan-name,
.spn-nbn__plan small {
  color: var(--spn-muted);
}

.spn-nbn__plan-badge {
  align-self: flex-start;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--spn-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.spn-nbn__price {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.spn-nbn__price b {
  font-size: 1.7rem;
}

.spn-nbn__price span {
  color: var(--spn-muted);
  font-size: 0.75rem;
  line-height: 1.15;
}

.spn-nbn__plan button {
  width: 100%;
  margin-top: auto;
}

.spn-nbn__selected-plan {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: #e8f1ff;
  color: var(--spn-accent-dark) !important;
  font-weight: 750;
}

.spn-nbn__lead-form h3 {
  font-size: 1.35rem;
}

.spn-nbn__lead-form p {
  margin: 0.35rem 0 0;
  color: var(--spn-muted);
}

.spn-nbn__lead-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.spn-nbn__lead-fields label {
  color: var(--spn-ink);
  font-weight: 750;
}

.spn-nbn__lead-fields label span {
  color: var(--spn-muted);
  font-weight: 400;
}

.spn-nbn__lead-message {
  grid-column: 1 / -1;
}

.spn-nbn__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--spn-muted);
  font-size: 0.9rem;
}

.spn-nbn__consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.1rem;
}

.spn-nbn__lead-submit {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.spn-nbn__lead-status {
  color: var(--spn-muted);
}

.spn-nbn__lead-status.is-success {
  color: var(--spn-success);
}

.spn-nbn__lead-status.is-error {
  color: #a12424;
}

.spn-nbn__trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .spn-nbn__search-row,
  .spn-nbn__facts,
  .spn-nbn__lead-fields,
  .spn-nbn__plan-grid {
    grid-template-columns: 1fr;
  }

  .spn-nbn__next {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spn-nbn *,
  .spn-nbn *::before,
  .spn-nbn *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Theme armour for the suggestion list.
   ==========================================================================
   The suggestions are <button> elements, and on spnco.com.au the theme styles
   every button: solid blue, all-caps, heavy weight, letter-spaced, with notched
   corners. Those rules beat a single class, so the white dropdown defined above
   never appeared and the list rendered as five large blue slabs.

   Two deliberate choices here.

   Specificity first: every rule is scoped .spn-nbn .spn-nbn__matches
   .spn-nbn__match, three classes deep, which outranks the theme's own
   selectors. Where that is enough, no !important is used.

   !important second, and only on the properties the theme is visibly winning.
   This is a third-party theme that can change under us at any time, and a
   dropdown that silently reverts to blue slabs after a theme update is a real
   outcome -- so the handful of properties that decide "is this a list or a row
   of buttons" are pinned. That is a considered exception, not a habit.

   An address list should look like a list. It is something to read and choose
   from, not five equally weighted calls to action. */

.spn-nbn .spn-nbn__matches {
  max-height: 22rem;
  overflow-y: auto;
}

.spn-nbn .spn-nbn__matches .spn-nbn__match {
  /* Layout. Two lines on a narrow screen, one on a wide one. */
  display: flex !important;
  width: 100%;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;

  /* The theme's button skin, undone. */
  background: #fff !important;
  background-image: none !important;
  color: var(--spn-ink) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--spn-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  transform: none !important;

  /* An address is a name, not a slogan. ALL CAPS makes a long address harder
     to read, not more emphatic, and it hides the capitalisation Google sends. */
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
  font-size: 0.98rem !important;
  line-height: 1.4;
  text-align: left !important;

  padding: 0.75rem 1rem !important;
  min-height: 0 !important;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

/* Some themes hang a fill, a chevron or a corner notch off a pseudo-element. */
.spn-nbn .spn-nbn__matches .spn-nbn__match::before,
.spn-nbn .spn-nbn__matches .spn-nbn__match::after {
  content: none !important;
  display: none !important;
}

.spn-nbn .spn-nbn__matches .spn-nbn__match:last-child {
  border-bottom: 0 !important;
}

.spn-nbn .spn-nbn__matches .spn-nbn__match:hover,
.spn-nbn .spn-nbn__matches .spn-nbn__match:focus,
.spn-nbn .spn-nbn__matches .spn-nbn__match:focus-visible {
  background: var(--spn-soft) !important;
  color: var(--spn-ink) !important;
}

/* Keyboard focus must stay obvious. The theme's outline goes with its button
   skin, so the ring is re-stated rather than left to chance. */
.spn-nbn .spn-nbn__matches .spn-nbn__match:focus-visible {
  outline: 2px solid var(--spn-accent) !important;
  outline-offset: -2px;
}

/* The first line of an address -- the number and street -- is what people scan
   for, so it carries the weight. */
.spn-nbn .spn-nbn__matches .spn-nbn__match > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* The network badge, shown only when a building has several connection points
   and the visitor is choosing between them. Never on a plain address
   suggestion: which network serves an address is not known until it has been
   checked, and a label there would be a claim rather than a heading. */
.spn-nbn .spn-nbn__matches .spn-nbn__match small {
  flex: 0 0 auto;
  color: var(--spn-accent) !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* ==========================================================================
   Plans: one scrolling row, three recommendations, and buttons that stay
   inside their cards.
   ==========================================================================
   Twelve plan cards in a grid pushed the enquiry form off the screen and gave
   a customer twelve variations on one decision. This is a single horizontal
   row: best value at entry, mid and top speed leads it, everything else
   follows cheapest first.

   The button overflow was the theme again. "ENQUIRE ABOUT THIS PLAN" in the
   theme's uppercase, letter-spaced button style is wider than the card, so it
   spilled over its neighbours -- which is why hovering one card showed a stray
   letter from the next. The label is now one word and the button is pinned to
   the card width, so neither the text nor the theme can push it out. */

.spn-nbn .spn-nbn__plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0.2rem;
}

.spn-nbn .spn-nbn__plan-tabs .spn-nbn__plan-tab {
  background: #fff !important;
  background-image: none !important;
  color: var(--spn-muted) !important;
  border: 1px solid var(--spn-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  clip-path: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  padding: 0.4rem 0.9rem !important;
  min-height: 0 !important;
  cursor: pointer;
}

.spn-nbn .spn-nbn__plan-tabs .spn-nbn__plan-tab.is-active {
  background: var(--spn-accent) !important;
  color: #fff !important;
  border-color: var(--spn-accent) !important;
}

.spn-nbn .spn-nbn__plan-panel { display: none; }
.spn-nbn .spn-nbn__plan-panel.is-active { display: block; }

.spn-nbn .spn-nbn__plan-row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  /* Room for the card shadow and the focus ring, which a tight overflow box
     would otherwise clip. */
  padding: 0.75rem 0.25rem 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.spn-nbn .spn-nbn__plan-row .spn-nbn__plan {
  flex: 0 0 15rem;
  max-width: 15rem;
  min-width: 0;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--spn-line);
  border-radius: 14px;
  background: #fff;
}

.spn-nbn .spn-nbn__plan-row .spn-nbn__plan.is-recommended {
  border-color: var(--spn-accent);
  box-shadow: 0 8px 22px rgba(23, 105, 224, 0.14);
}

.spn-nbn .spn-nbn__plan-flag {
  align-self: flex-start;
  background: var(--spn-accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* The button, pinned inside its card whatever the theme wants to do to it. */
.spn-nbn .spn-nbn__plan-row .spn-nbn__plan button {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: auto;
  box-sizing: border-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.6rem 0.8rem !important;
  font-size: 0.85rem !important;
  letter-spacing: normal !important;
  border-radius: 10px !important;
  clip-path: none !important;
  min-height: 0 !important;
}

.spn-nbn .spn-nbn__plan-hint {
  margin: 0;
  color: var(--spn-muted);
  font-size: 0.78rem;
}

.spn-nbn .spn-nbn__plan-enquiry {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--spn-line);
  border-radius: 12px;
  color: var(--spn-ink);
}

@media (max-width: 640px) {
  /* Near-full-width cards so the next one peeks in and the row reads as
     scrollable rather than as a cut-off card. */
  .spn-nbn .spn-nbn__plan-row .spn-nbn__plan {
    flex-basis: 78vw;
    max-width: 78vw;
  }
}

/* ==========================================================================
   Spinner, wrapping, and the inclusions list.
   ==========================================================================
   THE SPINNER IS ONLY EVER ON WHILE A REQUEST IS IN FLIGHT. setBusy(false) runs
   in the `finally` of every request, including the failures, so it stops on the
   answer and on the error alike. A wheel still turning after the result has
   arrived says "still working" when nothing is, which is worse than no wheel. */

.spn-nbn .spn-nbn__status.is-working {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.spn-nbn .spn-nbn__status.is-working::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  border: 2px solid var(--spn-line);
  border-top-color: var(--spn-accent);
  border-radius: 50%;
  animation: spn-nbn-spin 0.7s linear infinite;
}

@keyframes spn-nbn-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  /* Still a visible indicator, just not a moving one. */
  .spn-nbn .spn-nbn__status.is-working::before {
    animation: none;
    border-top-color: var(--spn-line);
    background: var(--spn-accent);
  }
}

/* The theme hyphenates, which broke "fibre-upgrade" across a line as
   "fibre-up-grade". An automatic hyphen inside a word a customer is reading as
   a product name looks like a typo. */
.spn-nbn,
.spn-nbn * {
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* "Plans at this address" was wrapping to three lines because the heading and
   the GST notice were sharing a row and neither would give. Below 900px they
   stack; above it the heading gets the room it needs and the notice takes
   what's left. */
.spn-nbn .spn-nbn__plans-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
}

.spn-nbn .spn-nbn__plans-heading > div { flex: 1 1 20rem; min-width: 0; }
.spn-nbn .spn-nbn__plans-heading h3 { margin: 0; text-wrap: balance; }
.spn-nbn .spn-nbn__plans-heading small {
  flex: 1 1 16rem;
  min-width: 0;
  text-align: right;
  color: var(--spn-muted);
}

@media (max-width: 900px) {
  .spn-nbn .spn-nbn__plans-heading small { text-align: left; }
}

/* Plan names like "100/20 Business Unlimited" should break between words, not
   mid-word, and the card is wide enough for two lines. */
.spn-nbn .spn-nbn__plan-name { overflow-wrap: normal; word-break: normal; }

/* What every plan includes. SPN Co's own offer, so it sits under the plans
   rather than inside a card -- it is true of all of them. */
.spn-nbn .spn-nbn__inclusions {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.7rem 1.4rem;
  border: 1px solid var(--spn-line);
  border-radius: 12px;
  background: var(--spn-soft);
}

.spn-nbn .spn-nbn__inclusions li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.spn-nbn .spn-nbn__inclusions strong {
  font-size: 0.9rem;
  color: var(--spn-ink);
}

.spn-nbn .spn-nbn__inclusions span {
  font-size: 0.79rem;
  color: var(--spn-muted);
}

/* ==========================================================================
   Current service, the upgrade, plan groups, and the two real choices.
   ==========================================================================
   Four equal boxes across the top wrapped 3 + 1, and the orphan was the fibre
   upgrade -- the most commercially interesting thing on the page sitting alone
   on its own row looking like an afterthought. The three that describe the
   CURRENT service now share a row; the upgrade is a separate decision and gets
   its own block. */

.spn-nbn .spn-nbn__section-title {
  margin: 1.4rem 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spn-muted);
}

.spn-nbn .spn-nbn__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.spn-nbn .spn-nbn__upgrade {
  margin-top: 0.85rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--spn-line);
  border-radius: 14px;
  background: #fff;
}

/* Only when nbn has actually said yes. The softer states -- "we'll check" and
   "no upgrade yet" -- must not look like an offer.
   A full green panel plus a green heading plus a green tick made the whole card
   read as a status banner rather than a fact about the address. The green is now
   an accent: a rule down the left and the label, on white. */
.spn-nbn .spn-nbn__upgrade.is-available {
  border-color: var(--spn-line);
  border-left: 3px solid var(--spn-accent);
  background: #fff;
}

.spn-nbn .spn-nbn__upgrade span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--spn-muted);
}

.spn-nbn .spn-nbn__upgrade.is-available span { color: var(--spn-accent-dark); }
.spn-nbn .spn-nbn__upgrade.is-available strong { color: var(--spn-ink); }
.spn-nbn .spn-nbn__upgrade strong { display: block; margin: 0.15rem 0 0.3rem; font-size: 1.05rem; }
.spn-nbn .spn-nbn__upgrade p { margin: 0; color: var(--spn-muted); font-size: 0.85rem; }

/* Plans available now, and plans that need the upgrade first. */
.spn-nbn .spn-nbn__plan-group + .spn-nbn__plan-group { margin-top: 1.1rem; }

.spn-nbn .spn-nbn__plan-group h4 {
  margin: 0 0 0.1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.spn-nbn .spn-nbn__plan-group--upgrade {
  padding-top: 1rem;
  border-top: 1px dashed var(--spn-line);
}

.spn-nbn .spn-nbn__plan-group--upgrade h4 { color: var(--spn-ink); }

/* Inclusions: what comes with every plan, then what they can choose.
   The four were an auto-fit grid that wrapped 3 + 1 for the same reason the
   facts did. Two and two, on their own rows, reads as two different kinds of
   thing -- which they are. */
.spn-nbn .spn-nbn__inclusions {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--spn-line);
  border-radius: 12px;
  background: var(--spn-soft);
  display: grid;
  gap: 0.9rem;
}

.spn-nbn .spn-nbn__included {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.5rem 1.4rem;
}

.spn-nbn .spn-nbn__included li { display: flex; flex-direction: column; min-width: 0; }
.spn-nbn .spn-nbn__included strong { font-size: 0.88rem; color: var(--spn-ink); }
.spn-nbn .spn-nbn__included span { font-size: 0.78rem; color: var(--spn-muted); }

.spn-nbn .spn-nbn__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.6rem;
}

.spn-nbn .spn-nbn__option {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--spn-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  min-width: 0;
}

.spn-nbn .spn-nbn__option:has(input:checked) {
  border-color: var(--spn-accent);
  box-shadow: 0 0 0 1px var(--spn-accent) inset;
}

.spn-nbn .spn-nbn__option input {
  margin: 0.15rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  accent-color: var(--spn-accent);
}

.spn-nbn .spn-nbn__option span { display: flex; flex-direction: column; min-width: 0; }
.spn-nbn .spn-nbn__option strong { font-size: 0.88rem; }
.spn-nbn .spn-nbn__option small { font-size: 0.76rem; color: var(--spn-muted); }


/* ==========================================================================
   Choosing a plan, and the either/or controls.
   ========================================================================== */

/* The chosen plan says so on the card. Previously the only feedback was a line
   prepended to the form at the bottom of the page, after a scroll that took the
   customer away from the row they were comparing. */
.spn-nbn .spn-nbn__plan-row .spn-nbn__plan.is-selected {
  border-color: var(--spn-accent);
  box-shadow: 0 0 0 2px var(--spn-accent) inset;
}

/* The chosen card's button inverts instead of changing hue: white with the
   accent outline and accent text. "SELECT" stays the only solid blue button in
   the row, so the thing still to do is the thing that looks clickable, and the
   selected state reads as a state rather than a second call to action. */
.spn-nbn .spn-nbn__plan-row .spn-nbn__plan.is-selected button {
  border: 2px solid var(--spn-accent) !important;
  background: #fff !important;
  color: var(--spn-accent-dark) !important;
}

.spn-nbn .spn-nbn__plan-row .spn-nbn__plan.is-selected button:hover {
  background: var(--spn-soft) !important;
  color: var(--spn-accent-dark) !important;
  transform: none;
}

.spn-nbn .spn-nbn__selected-echo {
  margin: 0.6rem 0 0;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: var(--spn-soft);
  color: var(--spn-ink);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Modem and router: two answers, not a tick box. */
.spn-nbn .spn-nbn__option--either {
  display: block;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--spn-line);
  border-radius: 10px;
  background: #fff;
}

.spn-nbn .spn-nbn__option--either legend {
  padding: 0;
  margin-bottom: 0.5rem;
}

.spn-nbn .spn-nbn__option--either legend strong { display: block; font-size: 0.88rem; }
.spn-nbn .spn-nbn__option--either legend small { color: var(--spn-muted); font-size: 0.78rem; }

.spn-nbn .spn-nbn__either {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  min-width: 0;
}

.spn-nbn .spn-nbn__either:has(input:checked) {
  border-color: var(--spn-accent);
  background: var(--spn-soft);
}

.spn-nbn .spn-nbn__either input {
  margin: 0.15rem 0 0;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  accent-color: var(--spn-accent);
}

.spn-nbn .spn-nbn__either span { display: flex; flex-direction: column; min-width: 0; }
.spn-nbn .spn-nbn__either strong { font-size: 0.85rem; }
.spn-nbn .spn-nbn__either small { font-size: 0.76rem; color: var(--spn-muted); line-height: 1.45; }
