/* /compare-internet NBN funnel (2026-11-04). Tokens from uch-pillar.css (--uc-*). */
.nf-wrap { background: var(--uc-cloud); padding: 0 0 70px; }
.nf-wrap > .container { position: relative; top: -36px; margin-bottom: -36px; }

.nf-card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--uc-radius); box-shadow: var(--uc-shadow); border: 1px solid var(--uc-line); padding: 0 34px 34px; overflow: visible; }
.nf-progress { height: 6px; background: var(--uc-line); border-radius: var(--uc-radius) var(--uc-radius) 0 0; margin: 0 -34px; overflow: hidden; }
.nf-progress span { display: block; height: 100%; width: 8%; background: linear-gradient(90deg, #19ce67, #1de575); transition: width .35s ease; }
.nf-top { display: flex; align-items: center; justify-content: space-between; min-height: 46px; margin-bottom: 6px; }
.nf-back { background: none; border: 0; color: var(--uc-slate); font-weight: 700; font-size: 14px; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; }
.nf-back:hover { color: var(--uc-ink); }
.nf-count { margin-left: auto; color: var(--uc-slate); font-size: 13px; font-weight: 600; }
.nf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.nf-step h2 { color: var(--uc-ink); font-size: clamp(1.3rem, 1.05rem + .9vw, 1.65rem); font-weight: 800; margin: 0 0 6px; line-height: 1.25; }
.nf-step .nf-h2-gap { margin-top: 26px; font-size: clamp(1.15rem, 1rem + .6vw, 1.35rem); }
.nf-sub { color: var(--uc-slate); margin: 0 0 18px; font-size: 15px; }
.nf-step > h2 + .nf-opts, .nf-step > h2 + .nf-select, .nf-step > h2 + .nf-stepper { margin-top: 16px; }
.nf-step { animation: nfIn .25s ease; }
@keyframes nfIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* address */
.nf-addr { position: relative; }
.nf-addr > i { position: absolute; left: 16px; top: 17px; font-size: 22px; color: var(--uc-green-dark); pointer-events: none; }
.nf-addr input { width: 100%; padding: 16px 16px 16px 48px; border: 2px solid var(--uc-line); border-radius: 14px; font-size: 17px; color: var(--uc-ink); background: var(--uc-cloud); }
.nf-addr input:focus { outline: none; border-color: var(--uc-green); background: #fff; }
.nf-sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--uc-line); border-radius: 14px; box-shadow: var(--uc-shadow); list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto; }
.nf-sugg li { padding: 11px 12px; border-radius: 10px; cursor: pointer; color: var(--uc-ink); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.nf-sugg li i { color: var(--uc-slate); }
.nf-sugg li:hover, .nf-sugg li.is-active { background: var(--uc-mint); }
.nf-sugg li.nf-sugg-msg { color: var(--uc-slate); cursor: default; background: none; }
.nf-sq { margin-top: 14px; border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; background: var(--uc-mint); color: var(--uc-green-ink); font-size: 15px; }
.nf-sq i { font-size: 24px; color: var(--uc-green-dark); flex: 0 0 auto; }
.nf-sq b { display: block; color: var(--uc-ink); }
.nf-sq--warn { background: #fff6e5; color: #5c4200; } .nf-sq--warn i { color: #d48a00; }
.nf-sq--load { background: var(--uc-cloud); color: var(--uc-slate); }
.nf-link { background: none; border: 0; padding: 0; margin-top: 12px; color: var(--uc-green-dark); font-weight: 700; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* options */
.nf-opts { display: grid; gap: 10px; }
.nf-opts--row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.nf-opts--grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.nf-opts--grid3 { grid-template-columns: repeat(3, 1fr); }
.nf-opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nf-opts label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 15px 16px; border: 2px solid var(--uc-line); border-radius: 14px; background: #fff; color: var(--uc-ink); font-weight: 700; font-size: 15.5px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; min-height: 58px; }
.nf-opts--row label { justify-content: center; text-align: center; flex-direction: column; gap: 6px; }
.nf-opts label i { font-size: 24px; color: var(--uc-green-dark); }
.nf-opts label:hover { border-color: #b9e9cd; }
.nf-opts label:active { transform: scale(.98); }
.nf-opts input:checked + label { border-color: var(--uc-green); background: var(--uc-mint); box-shadow: inset 0 0 0 1px var(--uc-green); }
.nf-opts input:focus-visible + label { outline: 2px solid var(--uc-navy); outline-offset: 2px; }
.nf-opts input:disabled + label { opacity: .45; cursor: not-allowed; }
.nf-opts input:disabled + label span::after { content: 'Not at your address'; display: block; font-size: 11px; font-weight: 600; color: var(--uc-slate); }

/* people */
.nf-stepper { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 22px 0 14px; }
.nf-stepper button { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--uc-line); background: #fff; font-size: 28px; font-weight: 700; color: var(--uc-ink); line-height: 1; cursor: pointer; }
.nf-stepper button:hover { border-color: var(--uc-green); }
.nf-stepper output { min-width: 70px; text-align: center; font-size: 46px; font-weight: 800; color: var(--uc-ink); }
.nf-quick { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nf-quick button { min-width: 48px; padding: 8px 12px; border-radius: 999px; border: 2px solid var(--uc-line); background: #fff; font-weight: 700; color: var(--uc-ink); cursor: pointer; }
.nf-quick button.is-on { border-color: var(--uc-green); background: var(--uc-mint); }

/* fields */
.nf-select, .nf-date input, .nf-fields input { width: 100%; padding: 14px; border: 2px solid var(--uc-line); border-radius: 12px; font-size: 16px; color: var(--uc-ink); background: var(--uc-cloud); }
.nf-select:focus, .nf-date input:focus, .nf-fields input:focus { outline: none; border-color: var(--uc-green); background: #fff; }
.nf-date { margin-top: 14px; }
.nf-date label { font-weight: 700; color: var(--uc-ink); font-size: 14px; display: block; margin-bottom: 6px; }
.nf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nf-fields label { font-weight: 700; color: var(--uc-ink); font-size: 14px; margin: 0; }
.nf-fields label input { margin-top: 6px; font-weight: 400; }
.nf-fields .nf-full { grid-column: 1 / -1; }
.nf-fields input.is-bad, .nf-addr input.is-bad { border-color: #e5484d; }
.nf-consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; padding: 14px; border-radius: 12px; background: var(--uc-cloud); font-size: 13px; color: var(--uc-slate); line-height: 1.55; font-weight: 400; cursor: pointer; }
.nf-consent input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--uc-green-dark); }
.nf-consent a { color: var(--uc-green-dark); font-weight: 700; }
.nf-err { margin: 14px 0 0; color: #b42318; font-weight: 600; font-size: 14px; }

/* buttons */
.nf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 22px; padding: 16px 22px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #19ce67, #1de575); color: var(--uc-green-ink); font-size: 17px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 26px rgba(25, 206, 103, .28); text-decoration: none; transition: transform .15s, box-shadow .15s, opacity .15s; }
.nf-btn:hover { transform: translateY(-1px); color: var(--uc-green-ink); }
.nf-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.nf-btn i { font-size: 22px; }
.nf-btn--sm { width: auto; margin: 0; padding: 11px 18px; font-size: 15px; white-space: nowrap; }
.nf-btn.is-loading { pointer-events: none; opacity: .7; }

/* results */
.nf-results { background: #fff; border-radius: var(--uc-radius); box-shadow: var(--uc-shadow); border: 1px solid var(--uc-line); padding: 30px; }
.nf-res-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.nf-res-head h2 { color: var(--uc-ink); font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: 0 0 4px; }
.nf-res-addr { color: var(--uc-slate); margin: 0; font-size: 15px; }
.nf-res-addr .nf-tech { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--uc-navy); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.nf-call { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 2px solid var(--uc-line); color: var(--uc-ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.nf-call i { color: var(--uc-green-dark); font-size: 20px; }
.nf-call:hover { border-color: var(--uc-green); color: var(--uc-ink); }
.nf-rec, .nf-chose { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.nf-rec { background: var(--uc-mint); color: var(--uc-green-ink); }
.nf-rec i, .nf-chose i { font-size: 24px; color: var(--uc-green-dark); flex: 0 0 auto; }
.nf-chose { background: var(--uc-navy); color: #e6f0f7; }
.nf-chose b { color: #fff; }
.nf-chose a { color: var(--uc-green); font-weight: 700; }
.nf-tiers { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.nf-tiers button { padding: 9px 16px; border-radius: 999px; border: 2px solid var(--uc-line); background: #fff; color: var(--uc-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.nf-tiers button:hover { border-color: var(--uc-green); }
.nf-tiers button[aria-selected="true"] { background: var(--uc-navy); border-color: var(--uc-navy); color: #fff; }
.nf-tiers button .nf-n { opacity: .65; font-weight: 600; margin-left: 4px; }

.nf-carousel { position: relative; }
.nf-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 10px 18px 2px; scrollbar-width: thin; }
.nf-track::-webkit-scrollbar { height: 6px; } .nf-track::-webkit-scrollbar-thumb { background: var(--uc-line); border-radius: 3px; }
.nf-arrow { position: absolute; top: 45%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--uc-line); background: #fff; box-shadow: var(--uc-shadow); color: var(--uc-ink); font-size: 26px; display: grid; place-items: center; cursor: pointer; }
.nf-arrow--l { left: -20px; } .nf-arrow--r { right: -20px; }
.nf-arrow[hidden] { display: none; }
.nf-plan { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; padding-top: 0; }
.nf-plan.has-tab, .nf-track:has(.has-tab) .nf-plan { padding-top: 0; }
.nf-tab { align-self: center; width: 84%; text-align: center; background: var(--uc-mint); color: var(--uc-green-ink); border: 2px solid var(--uc-navy); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 9px 12px 8px; font-size: 13px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; margin-bottom: -2px; position: relative; z-index: 1; }
.nf-plan:not(.has-tab) { padding-top: 37px; }
.nf-plan.is-best .nf-tab { background: var(--uc-green); }
.nf-body { flex: 1 1 auto; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--uc-navy); border-radius: 22px; padding: 24px 22px 24px; box-shadow: 7px 7px 0 var(--uc-navy); }
.nf-plan.is-best .nf-body { border-color: var(--uc-green-dark); box-shadow: 7px 7px 0 var(--uc-green-dark); }
.nf-plan.is-best .nf-tab { border-color: var(--uc-green-dark); }
.nf-logo { height: 40px; display: flex; align-items: center; margin-bottom: 14px; }
.nf-logo img { max-height: 36px; max-width: 120px; width: auto; height: auto; }
.nf-logo span { font-weight: 800; color: var(--uc-ink); font-size: 18px; }
.nf-plan h3 { font-size: 1.45rem; font-weight: 800; color: var(--uc-ink); margin: 0 0 6px; text-transform: uppercase; letter-spacing: -.2px; line-height: 1.15; }
.nf-speed { color: var(--uc-ink); font-size: 14px; font-weight: 600; margin: 0 0 18px; min-height: 42px; line-height: 1.5; }
.nf-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.nf-feats li { display: flex; gap: 10px; align-items: center; color: var(--uc-ink); font-size: 14px; font-weight: 600; }
.nf-feats li i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--uc-green-dark); color: var(--uc-green-dark); font-size: 16px; display: grid; place-items: center; }
.nf-feats--sm li { font-weight: 500; }
.nf-rule { border: 0; border-top: 2px solid var(--uc-navy); width: 82%; margin: 20px auto 14px; opacity: 1; }
.nf-great { font-size: 14px; font-weight: 700; color: var(--uc-ink); margin-bottom: 10px; }
.nf-plan .nf-spacer { flex: 1 1 auto; min-height: 22px; }
.nf-price { display: flex; align-items: flex-start; justify-content: center; color: var(--uc-ink); line-height: 1; margin-top: 6px; }
.nf-price .nf-cur { font-size: 1.6rem; font-weight: 800; margin-top: 6px; }
.nf-price b { font-size: 3.6rem; font-weight: 800; letter-spacing: -2px; }
.nf-price .nf-cents { display: flex; flex-direction: column; font-size: 1.25rem; font-weight: 800; margin: 8px 0 0 3px; }
.nf-price .nf-cents small { font-size: 13px; font-weight: 800; color: var(--uc-ink); margin-top: 2px; }
.nf-then { text-align: center; color: var(--uc-ink); font-size: 14px; font-weight: 600; margin: 12px 0 18px; }
.nf-pill { align-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: 190px; padding: 12px 26px; border-radius: 999px; background: var(--uc-green); color: var(--uc-green-ink); font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s; }
.nf-pill:hover { background: #1de575; color: var(--uc-green-ink); transform: translateY(-1px); }
.nf-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--uc-slate); border: 2px dashed var(--uc-line); border-radius: 16px; }
.nf-energy { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--uc-cloud); border: 1px solid var(--uc-line); color: var(--uc-ink); }
.nf-energy > i { font-size: 30px; color: #f5b301; }
.nf-energy > div { flex: 1 1 auto; font-size: 15px; }
.nf-fine { color: var(--uc-slate); font-size: 12.5px; margin: 18px 0 0; }

@media (max-width: 991px) {
    .nf-track { grid-auto-columns: calc((100% - 16px) / 2); }
    .nf-arrow { display: none !important; }
}
@media (max-width: 575px) {
    .nf-wrap > .container { top: -24px; margin-bottom: -24px; }
    .nf-card { padding: 0 18px 22px; }
    .nf-progress { margin: 0 -18px; }
    .nf-results { padding: 20px 16px; }
    .nf-track { grid-auto-columns: 84%; }
    .nf-fields { grid-template-columns: 1fr; }
    .nf-opts--grid3 { grid-template-columns: 1fr 1fr; }
    .nf-opts--row { grid-template-columns: 1fr 1fr; }
    .nf-energy { flex-wrap: wrap; }
}
/* the theme turns every <select> into a nice-select widget (custom.js): keep ours native */
.nf-card select.nf-select { display: block !important; appearance: auto; height: auto; }
.nf-card .nice-select { display: none !important; }
@media (max-width: 575px) {
    .nf-tiers { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
    .nf-tiers::-webkit-scrollbar { display: none; }
    .nf-tiers button { flex: 0 0 auto; }
    .nf-body { padding: 20px 18px; box-shadow: 5px 5px 0 var(--uc-navy); }
    .nf-plan.is-best .nf-body { box-shadow: 5px 5px 0 var(--uc-green-dark); }
    .nf-tab { font-size: 12px; }
}
/* progress bar: slim rounded bar inside the card padding (11-04: it poked out past the rounded corners at the top edge) */
.nf-card { padding-top: 26px; }
.nf-progress, .nf-card .nf-progress { position: static; margin: 0; height: 8px; border-radius: 999px; background: var(--uc-line); overflow: hidden; }
.nf-progress span { border-radius: 999px; }
.nf-top { min-height: 40px; }
@media (max-width: 575px) { .nf-card { padding-top: 20px; } .nf-card .nf-progress { margin: 0; } }

/* 2026-11-05: free fibre upgrade tag, CommBank offer */
.nf-upg { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--uc-green); color: #03200f; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; vertical-align: middle; }
.nf-tiers button[aria-selected="true"] .nf-upg { background: #fff; }
.nf-opts label .nf-upg { margin: 6px 0 0; display: block; width: max-content; }
.nf-upg-flag { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; background: var(--uc-navy); color: #fff; font-size: 12px; font-weight: 700; }
.nf-cba { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fff8e1; border: 1px solid #f3d36b; font-size: 13px; line-height: 1.4; color: var(--uc-ink); }
.nf-cba small { display: block; margin-top: 4px; font-size: 11px; color: #5d5d5d; }

/* 2026-11-05: SMS code step on the details screen */
.nf-otp { margin: 16px 0 0; padding: 14px; border-radius: 12px; background: var(--uc-mint); }
.nf-otp label { display: block; font-size: 14px; color: var(--uc-ink); margin: 0 0 8px; }
.nf-otp input { width: 100%; max-width: 220px; padding: 12px 14px; border: 2px solid var(--uc-line); border-radius: 12px; font-size: 20px; letter-spacing: 6px; background: #fff; }
.nf-otp input:focus { outline: none; border-color: var(--uc-green); }
.nf-otp .nf-link { display: block; }
