/* NDA 2 Result 2026 — homepage band + result page. Builds on site.css tokens. */

/* ---------- Shared: roll checker ---------- */
.nr-checker { position: relative; padding: clamp(22px, 3.4vw, 34px); border: 1px solid rgba(201,162,39,.35); border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.35); color: #fff; }
.nr-checker__label { display: block; margin-bottom: 6px; font: 600 1.35rem/1.2 "Fraunces", Georgia, serif; color: #fff; }
.nr-checker__sub { margin-bottom: 18px; color: #c9ccd4; font-size: .86rem; }
.nr-checker__row { display: flex; gap: 10px; }
.nr-checker__row input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border: 1px solid rgba(201,162,39,.45); border-radius: 14px; color: var(--navy-deep); background: #fffdf6; font: 700 1.25rem/1 "Inter", system-ui, sans-serif; letter-spacing: .14em; outline: none; transition: .2s; }
.nr-checker__row input::placeholder { color: #a7a28f; font-weight: 500; letter-spacing: .04em; font-size: 1rem; }
.nr-checker__row input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.25); }
.nr-checker__row input[aria-invalid="true"] { border-color: #e06a78; box-shadow: 0 0 0 4px rgba(224,106,120,.2); }
.nr-checker__row .button { min-height: 56px; border-radius: 14px; white-space: nowrap; }
.nr-checker__foot { margin-top: 12px; color: #9aa0ac; font-size: .74rem; }
.nr-checker__foot a { color: var(--gold-soft); border-bottom: 1px solid rgba(201,162,39,.4); }

.nr-out { margin-top: 18px; border-radius: 16px; animation: nr-pop .35s ease both; }
.nr-out[hidden] { display: none; }
@keyframes nr-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nr-out--wait, .nr-out--err { padding: 14px 16px; background: rgba(255,255,255,.06); }
.nr-out--err { border-left: 3px solid #e06a78; }
.nr-out__msg { color: #e7e2d4; font-size: .9rem; }
.nr-out__msg a { color: var(--gold-soft); text-decoration: underline; }
.nr-out--yes, .nr-out--no { padding: 20px; color: var(--ink); background: #fffdf6; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.nr-out--yes { border-top: 4px solid var(--gold); background: linear-gradient(180deg, #fff8e2, #fffdf6 60%); }
.nr-out--no { border-top: 4px solid var(--steel); }
.nr-out__badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; color: #fff; background: #2f6b3a; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nr-out__badge--no { background: var(--navy); }
.nr-out__title { margin: 12px 0 8px; color: var(--navy); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.2; }
.nr-out p { color: #4a4f57; font-size: .9rem; }
.nr-out p a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); }
.nr-out__small { margin-top: 6px; font-size: .8rem !important; }
.nr-out__next { margin-top: 12px; padding: 12px 14px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; color: #4c4324; background: #fbf4dd; font-size: .86rem; }
.nr-out__next a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.nr-out__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.nr-out__actions .button { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.nr-btn-wa { color: #fff !important; background: #1f9d55 !important; box-shadow: 0 10px 22px rgba(31,157,85,.3) !important; }
.nr-btn-wa:hover { background: #188a49 !important; }

/* ---------- Homepage band ---------- */
.nr-band { position: relative; overflow: hidden; padding: 84px 0 132px; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(201,162,39,.18), transparent 60%), linear-gradient(180deg, #0b182c, var(--navy-deep)); border-top: 3px solid var(--gold); }
.nr-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(201,162,39,.6) 22px 23px); mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
.nr-band__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.nr-flag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border: 1px solid rgba(201,162,39,.45); border-radius: 999px; color: var(--gold-soft); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(201,162,39,.08); }
.nr-flag i { display: inline-block; padding: 3px 9px; border-radius: 999px; color: var(--navy-deep); background: var(--gold); font-style: normal; letter-spacing: .08em; }
.nr-flag i::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #b3261e; vertical-align: 1px; animation: nr-blink 1.6s ease-in-out infinite; }
@keyframes nr-blink { 50% { opacity: .25; } }
.nr-band h2 { margin: 22px 0 16px; color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.nr-band h2 em { color: var(--gold); font-style: normal; }
.nr-band__lead { max-width: 600px; color: #c9ccd4; font-size: 1.02rem; }
.nr-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 30px; overflow: hidden; border: 1px solid rgba(201,162,39,.28); border-radius: 18px; background: rgba(201,162,39,.28); }
.nr-fig { padding: 16px 18px; background: #0c1a2f; }
.nr-fig strong { display: block; color: var(--gold); font: 600 1.7rem/1.1 "Fraunces", Georgia, serif; }
.nr-fig span { display: block; margin-top: 4px; color: #b9bdc6; font-size: .76rem; line-height: 1.35; }
.nr-fig--wide { grid-column: span 3; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.nr-fig--wide div { min-width: 0; }
.nr-fig--wide strong { font-size: 1.12rem; color: #fff; }
.nr-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nr-band__actions .button--outline, .nr-hero .button--outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); box-shadow: none; }
.nr-band__actions .button--outline:hover, .nr-hero .button--outline:hover { color: var(--navy-deep); background: #fff; }
.nr-band__more { display: inline-block; margin-top: 16px; color: var(--gold-soft); font-size: .86rem; font-weight: 700; border-bottom: 1px solid rgba(201,162,39,.45); }

/* ---------- Result page hero ---------- */
.nr-hero { position: relative; padding: 186px 0 0; color: #fff; background: linear-gradient(100deg, rgba(6,12,23,.97) 0%, rgba(6,12,23,.86) 48%, rgba(6,12,23,.62) 100%), url("../img/nda2.jpg") center 30%/cover; }
.nr-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: start; padding-bottom: 64px; }
.nr-hero h1 { margin: 22px 0 18px; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.nr-hero h1 em { color: var(--gold); font-style: normal; }
.nr-hero .lead { color: #dfe1e6; }
.nr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nr-hero__source { margin-top: 18px; color: #9aa0ac; font-size: .78rem; }
.nr-hero__source a { color: var(--gold-soft); }
.nr-strip { position: relative; border-top: 1px solid rgba(201,162,39,.3); background: rgba(6,12,23,.85); }
.nr-strip__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nr-strip__item { padding: 22px 18px; border-right: 1px solid rgba(201,162,39,.18); }
.nr-strip__item:last-child { border-right: 0; }
.nr-strip__item strong { display: block; color: var(--gold); font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 "Fraunces", Georgia, serif; }
.nr-strip__item span { display: block; margin-top: 5px; color: #b9bdc6; font-size: .76rem; line-height: 1.35; }

/* ---------- Result page sections ---------- */
.nr-section-head { max-width: 760px; margin-bottom: 40px; }
.nr-section-head h2 { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.nr-section-head p { margin-top: 14px; }
.nr-pdf { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
.nr-pdf__card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 44px rgba(10,21,38,.06); }
.nr-pdf__icon { display: grid; place-items: center; width: 58px; height: 70px; margin-bottom: 18px; border-radius: 6px 18px 6px 6px; color: #fff; background: linear-gradient(160deg, var(--maroon), #5a1520); font: 800 .8rem "Inter", sans-serif; letter-spacing: .08em; box-shadow: 0 10px 24px rgba(122,31,43,.3); }
.nr-pdf__card h3 { font-size: 1.35rem; }
.nr-pdf__meta { display: grid; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.nr-pdf__meta li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: .86rem; }
.nr-pdf__meta li b { color: var(--ink); text-align: right; }
.nr-pdf__btns { display: grid; gap: 10px; }
.nr-pdf__frame { overflow: hidden; height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: #e9e5da; box-shadow: var(--shadow); }
.nr-pdf__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.nr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: nrstep; }
.nr-step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.nr-step::before { counter-increment: nrstep; content: "0" counter(nrstep); display: block; margin-bottom: 16px; color: var(--gold); font: 600 2.2rem/1 "Fraunces", Georgia, serif; }
.nr-step h3 { font-size: 1.2rem; line-height: 1.2; }
.nr-step p { margin-top: 10px; font-size: .9rem; }
.nr-step a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); }
.nr-help { margin-top: 34px; padding: clamp(24px, 4vw, 40px); border-radius: 22px; color: #fff; background: var(--navy); }
.nr-help h3 { color: #fff; font-size: 1.5rem; }
.nr-help > p { margin-top: 8px; color: #c9ccd4; font-size: .9rem; }
.nr-help__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.nr-help__card { padding: 20px; border: 1px solid rgba(201,162,39,.25); border-radius: 16px; background: rgba(255,255,255,.03); }
.nr-help__card small { display: block; margin-bottom: 10px; color: var(--gold-soft); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nr-help__card a, .nr-help__card span { display: block; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.5; word-break: break-word; }
.nr-help__card a:hover { color: var(--gold); }
.nr-help__card em { display: block; margin-top: 8px; color: #9aa0ac; font-style: normal; font-size: .78rem; }

.nr-letter { position: relative; max-width: 860px; margin-inline: auto; padding: clamp(30px, 6vw, 64px); border: 1px solid #e3d7b3; border-radius: 6px; background: linear-gradient(180deg, #fffdf7, #fbf6e8); box-shadow: 0 30px 70px rgba(10,21,38,.12), inset 0 0 0 10px #fffdf7, inset 0 0 0 11px #eadfbf; }
.nr-letter__seal { position: absolute; top: -34px; right: clamp(20px, 6vw, 60px); display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e6c75a, var(--gold) 55%, #9c7c14); box-shadow: 0 12px 26px rgba(156,124,20,.4); }
.nr-letter__seal img { width: 52px; height: 52px; object-fit: contain; }
.nr-letter__kicker { color: var(--maroon); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nr-letter h2 { margin: 14px 0 22px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.nr-letter p { margin-top: 14px; color: #3d4148; font: 400 1.08rem/1.75 "Fraunces", Georgia, serif; }
.nr-letter__sign { margin-top: 30px; padding-top: 18px; border-top: 1px solid #e3d7b3; color: var(--navy); font: 600 1.1rem "Fraunces", Georgia, serif; }
.nr-letter__sign span { display: block; margin-top: 4px; color: var(--muted); font: 500 .82rem "Inter", sans-serif; }

.nr-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.nr-day { position: relative; padding: 24px 20px 26px; border: 1px solid rgba(201,162,39,.22); border-radius: 18px; background: rgba(255,255,255,.03); }
.nr-day__no { display: inline-block; padding: 4px 11px; border-radius: 999px; color: var(--navy-deep); background: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nr-day h3 { margin: 16px 0 10px; color: #fff; font-size: 1.22rem; }
.nr-day p { color: #c9ccd4; font-size: .87rem; }
.nr-day ul { margin: 12px 0 0; padding-left: 18px; color: #c9ccd4; font-size: .82rem; }
.nr-afsb-note { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--gold); color: #e7e2d4; background: rgba(201,162,39,.08); font-size: .9rem; }
.nr-afsb-note a { color: var(--gold-soft); font-weight: 700; border-bottom: 1px solid rgba(201,162,39,.45); }

.nr-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nr-why .card__body { height: 100%; }
.nr-why__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; color: var(--gold); background: var(--navy); font-size: 1.3rem; }
.nr-why h3 { font-size: 1.2rem; line-height: 1.2; }
.nr-why--feature { grid-column: span 2; color: #fff; background: linear-gradient(135deg, var(--navy), #13294a); border-color: transparent; }
.nr-why--feature h3 { color: #fff; font-size: 1.5rem; }
.nr-why--feature p { color: #c9ccd4; }
.nr-why--feature .nr-why__ico { color: var(--navy-deep); background: var(--gold); }
.nr-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }

.nr-book { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: start; }
.nr-book__aside h2 { margin-top: 16px; font-size: clamp(2rem, 3.6vw, 3rem); }
.nr-book__aside > p { margin-top: 14px; }
.nr-book__alt { display: grid; gap: 12px; margin-top: 26px; }
.nr-alt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; }
.nr-alt:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10,21,38,.08); }
.nr-alt__ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--navy); }
.nr-alt__ico--wa { background: #25D366; }
.nr-alt small { display: block; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nr-alt strong { display: block; color: var(--ink); font-size: 1.02rem; }
.nr-book .form-card { border-top: 4px solid var(--gold); }
.nr-book .form-card h3 { font-size: 1.5rem; }
.nr-book .form-card > p { margin: 6px 0 22px; font-size: .88rem; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c4475a; box-shadow: 0 0 0 3px rgba(196,71,90,.14); }
.field input.is-autofilled { border-color: #2f6b3a; background: #f1f8f1; }
.field__err { color: #b23246; font-size: .76rem; font-weight: 600; }
.field__hint { color: #2f6b3a; font-size: .74rem; font-weight: 600; min-height: 1em; }
.nr-book__submit { width: 100%; margin-top: 20px; }
.nr-book__status { margin-top: 14px; padding: 0; font-size: .86rem; }
.nr-book__status:empty { display: none; }
.nr-book__status--ok { padding: 14px 16px; border-radius: 12px; color: #1f4d29; background: #eaf5ea; }
.nr-book__status--err { padding: 12px 16px; border-radius: 12px; color: #7a1f2b; background: #fff0f1; }
.nr-book__status a { font-weight: 700; text-decoration: underline; }

.nr-cta { position: relative; overflow: hidden; padding: 96px 0; color: #fff; text-align: center; background: linear-gradient(180deg, rgba(6,12,23,.9), rgba(6,12,23,.96)), url("../img/carousel-1.jpg") center/cover; }
.nr-cta h2 { max-width: 880px; margin: 18px auto 16px; color: #fff; }
.nr-cta p { max-width: 640px; margin-inline: auto; color: #c9ccd4; }
.nr-cta .hero__actions { justify-content: center; }


/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .nr-band__grid, .nr-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .nr-steps, .nr-help__grid, .nr-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nr-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nr-days .nr-day:last-child { grid-column: span 2; }
  .nr-pdf, .nr-book { grid-template-columns: 1fr; }
  .nr-strip__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nr-strip__item:nth-child(3) { border-right: 0; }
  .nr-strip__item:nth-child(n+4) { border-top: 1px solid rgba(201,162,39,.18); }
}
@media (max-width: 780px) {
  .nr-band { padding: 60px 0 90px; }
  .nr-hero { padding-top: 150px; }
  .nr-pdf__frame { display: none; }
  .nr-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nr-strip__item { border-right: 1px solid rgba(201,162,39,.18) !important; border-top: 1px solid rgba(201,162,39,.18); padding: 16px 14px; }
  .nr-strip__item:nth-child(-n+2) { border-top: 0; }
  .nr-strip__item:nth-child(2n) { border-right: 0 !important; }
  .nr-strip__item:last-child { grid-column: span 2; border-right: 0 !important; }
  .nr-why--feature { grid-column: auto; }
}
@media (max-width: 560px) {
  .nr-checker__row { flex-direction: column; }
  .nr-checker__row .button { width: 100%; }
  .nr-figs { grid-template-columns: 1fr 1fr; }
  .nr-figs .nr-fig:first-child { grid-column: span 2; }
  .nr-fig--wide { grid-column: span 2; }
  .nr-steps, .nr-help__grid, .nr-why, .nr-days { grid-template-columns: 1fr; }
  .nr-days .nr-day:last-child { grid-column: auto; }
  .nr-out__actions .button { width: 100%; }
  .nr-band__actions .button, .nr-hero__actions .button { width: 100%; }
  .nr-letter__seal { width: 68px; height: 68px; top: -26px; }
  .nr-letter__seal img { width: 40px; height: 40px; }
}

/* Anchor targets clear the fixed utility bar + header */
#nda-2-result-2026, #result-pdf, #what-next, #letter, #ssb-days, #why-cadets-academy, #book, #faq { scroll-margin-top: 110px; }
.nr-band__grid > *, .nr-hero__grid > *, .nr-pdf > *, .nr-book > * { min-width: 0; }
.nr-flag { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 1050px) { .nr-band__grid, .nr-hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .nr-checker__row input { flex: none; width: 100%; } }
/* Hero layout: headline, then checker, then intro on phones; checker in the right column on desktop */
.nr-hero__grid { grid-template-areas: "top checker" "body checker"; grid-template-rows: auto 1fr; row-gap: 0; }
.nr-hero__top { grid-area: top; }
.nr-hero__body { grid-area: body; }
.nr-hero__grid > .nr-checker { grid-area: checker; align-self: start; margin-top: 60px; }
@media (max-width: 1050px) {
  .nr-hero__grid { grid-template-areas: "top" "checker" "body"; grid-template-rows: auto; row-gap: 28px; }
  .nr-hero__grid > .nr-checker { margin-top: 0; }
}
