/* ==========================================================================
   My NTi — public (logged-out) pages: login (home.php), registration (accounts/register.php),
   new password (accounts/newpass.php), thank you (accounts/thankyou.php), activation (accounts/activate.php).
   Follows the nti-audio.com corporate style. All classes are prefixed "np-"
   so this file can be combined with nti.css / my-nti.css without collisions.
   Fonts are served by the nti-audio.com CDN (CORS enabled), same files as the website.
   ========================================================================== */

@font-face { font-family: "Helvetica Neu LT"; src: url("https://nti-audio.b-cdn.net/wp-content/uploads/HelveticaNeueLTPro-Lt.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvetica Neu LT"; src: url("https://nti-audio.b-cdn.net/wp-content/uploads/HelveticaNeueLTPro-Roman.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvetica Neu LT"; src: url("https://nti-audio.b-cdn.net/wp-content/uploads/HelveticaNeueLTPro-Md.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
    /* corporate tokens (measured on nti-audio.com) */
    --np-cyan: #1BB7CB;
    --np-cyan-btn: #3ECFE2;
    --np-green-btn: #89F456;
    --np-cyan-light: #BBEFF6;
    --np-cyan-ultra-light: #F0FDFF;
    --np-navy: #121F4D;
    --np-navy-dark: #182967;
    --np-navy-muted: #6A738F;
    --np-white: #FFFFFF;

    --np-line-header: #F3F3F3;
    --np-line-footer: #D0D2DB;
    --np-line-card: #E3EBF0;
    --np-field-border: #D9D9D9;
    --np-placeholder: #9AA1B5;
    --np-social-bg: #E5E5E5;

    --np-text-soft: rgba(18, 31, 77, 0.8);
    --np-danger: #B42318;
    --np-danger-bg: #FEF3F2;
    --np-danger-line: #F4C7C3;
    --np-warning-text: #7A4B00;
    --np-warning-bg: #FFF7E6;

    --np-radius-card: 1em;
    --np-radius-btn: 0.6667em;
    --np-radius-field: 0.45em;

    --np-font: "Helvetica Neu LT", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --np-container: 1200px;
    --np-gutter: clamp(16px, 4vw, 48px);
}

/* ---------- base (only on pages with body.np-page) ---------- */
.np-page, .np-page *, .np-page *::before, .np-page *::after { box-sizing: border-box; }
.np-page {
    margin: 0;
    background: var(--np-white);
    color: var(--np-navy);
    font-family: var(--np-font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}
.np-page img, .np-page svg { display: block; max-width: 100%; }
.np-page a { color: var(--np-navy); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.np-page a:hover { color: var(--np-navy-dark); text-decoration-thickness: 2px; }
.np-page :focus-visible { outline: 2px solid var(--np-navy); outline-offset: 3px; border-radius: 4px; }
.np-page p { margin: 0; }
.np-page h1, .np-page h2, .np-page h3 { margin: 0; font-family: var(--np-font); font-weight: 300; line-height: 1.2; color: var(--np-navy); text-wrap: balance; }
.np-page h2 { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.565rem); }
.np-page h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.3; }

.np-container { width: 100%; max-width: calc(var(--np-container) + 2 * var(--np-gutter)); margin: 0 auto; padding: 0 var(--np-gutter); }
.np-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.np-skip-link { position: absolute; left: 16px; top: -100px; background: var(--np-navy); padding: 0.6em 1em; border-radius: var(--np-radius-btn); z-index: 50; }
.np-page a.np-skip-link, .np-page a.np-skip-link:focus { color: var(--np-white); }
.np-skip-link:focus { top: 8px; }

/* section eyebrow (website style, with chevron) */
.np-eyebrow { display: inline-flex; align-items: center; gap: 0.6em; color: var(--np-cyan); font-weight: 600; font-size: 0.9em; letter-spacing: 0.08em; text-transform: uppercase; }
.np-eyebrow::before { content: ""; width: 0.4em; height: 0.7em; background: currentColor; clip-path: polygon(0% 20%, 20% 0%, 100% 50%, 20% 100%, 0% 80%, 60% 50%); }

/* ---------- buttons (website rule: gradient, navy text, hover crossfade) ---------- */
.np-btn {
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    font-family: var(--np-font); font-weight: 500; font-size: 1rem; line-height: 1;
    padding: 1em 1.6em; border: 0; border-radius: var(--np-radius-btn);
    cursor: pointer; white-space: nowrap;
}
.np-page a.np-btn { text-decoration: none; }
.np-btn-primary { background: linear-gradient(90deg, var(--np-green-btn) -20%, var(--np-cyan-btn) 100%); }
.np-page .np-btn-primary, .np-page a.np-btn-primary:hover { color: var(--np-navy); }
.np-btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, var(--np-cyan-btn) 20%, var(--np-green-btn) 150%); transition: opacity .35s ease; }
.np-btn-primary:hover::before { opacity: 0; }
.np-btn-primary:disabled { cursor: progress; opacity: .85; }
.np-btn-dark { background: var(--np-navy-dark); transition: background-color .2s ease; }
.np-page .np-btn-dark, .np-page a.np-btn-dark:hover { color: var(--np-white); }
.np-btn-dark:hover { background: var(--np-navy); }
.np-btn-block { width: 100%; }
.np-btn-sm { font-size: 0.9375rem; padding: 0.9em 1.3em; }

/* ---------- header (logged out: logo, back link, language, request a quote) ---------- */
.np-header { background: var(--np-white); border-bottom: 1px solid var(--np-line-header); position: relative; z-index: 20; }
.np-header .np-container { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.np-brand { flex: none; }
.np-brand img { height: 32px; width: auto; }
.np-header-tools { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.np-tool { display: inline-flex; align-items: center; gap: 8px; color: var(--np-navy); font-size: 0.9375rem; background: none; border: 0; padding: 6px 0; font-family: var(--np-font); cursor: pointer; }
.np-page a.np-tool { text-decoration: none; }
.np-tool svg { width: 20px; height: 20px; flex: none; }
.np-back-link svg { width: 12px; height: 12px; }
.np-back-link:hover span { text-decoration: underline; }
.np-dev-warn { font-size: 12px; font-weight: 500; color: var(--np-danger); background: var(--np-danger-bg); padding: 4px 8px; border-radius: 4px; }

.np-lang { position: relative; }
.np-lang summary { list-style: none; }
.np-lang summary::-webkit-details-marker { display: none; }
.np-lang .np-chev { width: 10px; height: 10px; transition: transform .15s ease; }
.np-lang[open] .np-chev { transform: rotate(180deg); }
.np-lang-menu {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px;
    margin: 0; padding: 6px; list-style: none; background: var(--np-white);
    border: 1px solid var(--np-line-card); border-radius: var(--np-radius-field);
    box-shadow: 0 12px 32px rgba(18, 31, 77, .10);
}
.np-page .np-lang-menu a { display: flex; justify-content: space-between; gap: 16px; padding: 8px 10px; border-radius: 4px; text-decoration: none; font-size: 0.9375rem; }
.np-lang-menu a:hover { background: var(--np-cyan-ultra-light); }
.np-lang-menu a[aria-current="true"] { font-weight: 500; }
.np-lang-menu a span { color: var(--np-navy-muted); }

/* ---------- welcome hero ---------- */
.np-hero { position: relative; overflow: hidden; background: linear-gradient(to bottom, #FFFFFF 0%, #F0FDFF 100%); text-align: center; padding: clamp(56px, 9vw, 120px) 0 clamp(120px, 14vw, 200px); }
.np-page .np-hero-wave { position: absolute; pointer-events: none; user-select: none; height: auto; max-width: none; }
.np-hero-wave--left { width: clamp(380px, 40vw, 660px); top: -30%; left: -10%; opacity: .8; transform: rotate(-8deg); }
.np-hero-wave--right { width: clamp(360px, 36vw, 600px); top: -40%; right: -9%; opacity: .65; transform: scaleX(-1) rotate(-14deg); }
.np-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.np-hero-eyebrow { display: block; color: var(--np-cyan); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.np-page .np-hero h1 { font-size: clamp(3rem, 1.8rem + 4.6vw, 5.5rem); line-height: 1.1; letter-spacing: -0.01em; }
.np-hero-sub { margin: 22px auto 0; max-width: 34em; font-size: 1.15rem; color: var(--np-text-soft); line-height: 1.5; }
.np-page .np-hero-sub { margin: 22px auto 0; } /* auto: centre the max-width box (beats the .np-page p reset) */

/* ---------- sign-in card ---------- */
.np-signin { position: relative; z-index: 2; margin-top: clamp(-150px, -10vw, -56px); }
.np-login-card {
    max-width: 960px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    background: var(--np-white); border: 1px solid var(--np-line-card); border-radius: var(--np-radius-card);
    box-shadow: 0 24px 60px rgba(18, 31, 77, .07); overflow: hidden;
}
.np-login-main { padding: clamp(24px, 4.5vw, 52px); }
.np-page .np-login-main h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); margin-bottom: 28px; }

.np-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 24px; border-radius: var(--np-radius-field); font-size: 0.9375rem; line-height: 1.45; }
.np-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.np-alert-error { background: var(--np-danger-bg); color: var(--np-danger); box-shadow: inset 3px 0 0 var(--np-danger), inset 0 0 0 1px var(--np-danger-line); }
.np-alert-info { background: var(--np-cyan-ultra-light); color: var(--np-navy); box-shadow: inset 3px 0 0 var(--np-cyan), inset 0 0 0 1px var(--np-cyan-light); }
.np-alert-info svg { color: var(--np-cyan); }
.np-alert-info a { font-weight: 500; }

.np-field { margin-bottom: 20px; }
.np-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.np-page .np-field label { display: block; color: var(--np-navy); font-weight: 500; font-size: 0.9375rem; }
.np-field-head a { font-size: 0.9375rem; }
.np-input-wrap { position: relative; }
.np-page .np-input {
    width: 100%; height: 50px; padding: 0 16px; margin: 0;
    font-family: var(--np-font); font-size: 1rem; color: var(--np-navy);
    background: var(--np-white); border: 1px solid var(--np-field-border); border-radius: var(--np-radius-field);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.np-input::placeholder { color: var(--np-placeholder); opacity: 1; }
.np-input:hover { border-color: #BFC4CF; }
.np-page .np-input:focus { outline: none; border-color: var(--np-cyan); box-shadow: 0 0 0 3px rgba(27, 183, 203, .2); }
.np-page .np-input.error { border-color: var(--np-danger); }
.np-has-toggle .np-input { padding-right: 54px; }
.np-pw-toggle { position: absolute; top: 3px; right: 3px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 6px; color: var(--np-navy-muted); cursor: pointer; }
.np-pw-toggle:hover { color: var(--np-navy); background: var(--np-cyan-ultra-light); }
.np-pw-toggle svg { width: 22px; height: 22px; }
.np-pw-toggle .np-icon-hide { display: none; }
.np-pw-toggle[aria-pressed="true"] .np-icon-show { display: none; }
.np-pw-toggle[aria-pressed="true"] .np-icon-hide { display: block; }
/* jquery.validate inserts <label class="error"> after the input */
.np-page .np-field label.error { margin-top: 6px; font-size: 0.875rem; font-weight: 400; color: var(--np-danger); }
.np-caps { display: none; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.875rem; color: var(--np-warning-text); background: var(--np-warning-bg); padding: 6px 10px; border-radius: 6px; width: fit-content; }
.np-caps svg { width: 16px; height: 16px; flex: none; }
.np-caps.is-visible { display: flex; }
.np-form-actions { margin-top: 28px; }
.np-form-actions .np-btn { padding-block: 1.15em; }
.np-help-line { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--np-line-header); font-size: 0.9375rem; color: var(--np-text-soft); }
.np-page .np-help-line { margin-top: 24px; }

/* feature card (website "Know How and Webinars" treatment) */
.np-feature { position: relative; overflow: hidden; background: var(--np-cyan-light); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(16px, 2.4vw, 24px); }
.np-page .np-feature-wave { position: absolute; width: 140%; max-width: none; top: -30%; right: -55%; opacity: .55; pointer-events: none; }
.np-feature-panel { position: relative; background: var(--np-white); border-radius: var(--np-radius-card); padding: clamp(22px, 3vw, 32px); }
.np-login-card .np-feature { min-height: 100%; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.np-page .np-feature-panel h2 { font-size: clamp(1.5rem, 1.25rem + 0.7vw, 1.875rem); margin-bottom: 0.4em; }
.np-page .np-feature-panel p { color: var(--np-text-soft); margin-bottom: 22px; }
.np-page .np-feature-panel .np-feature-links { margin: 16px 0 0; font-size: 0.9375rem; }

/* ---------- benefits ---------- */
.np-why { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.np-why-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.np-why-head .np-eyebrow { margin-bottom: 14px; }
.np-why-head p { color: var(--np-text-soft); font-size: 1.0625rem; }
.np-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.np-benefit { background: var(--np-cyan-ultra-light); border-radius: var(--np-radius-card); padding: 28px 24px 30px; }
.np-benefit-icon { width: 40px; height: 40px; color: var(--np-navy); margin-bottom: 22px; }
.np-benefit-icon .np-accent { stroke: var(--np-cyan); }
.np-page .np-benefit h3 { margin-bottom: 6px; display: flex; align-items: flex-start; gap: 6px; }
.np-benefit p { font-size: 0.9375rem; color: var(--np-text-soft); }
.np-benefit.np-feature { padding: 16px; justify-content: flex-end; }
.np-page .np-benefit.np-feature .np-feature-wave { width: 170%; top: -45%; right: -70%; }
.np-benefit.np-feature .np-feature-panel { padding: 20px; }
.np-page .np-benefit.np-feature .np-feature-panel p { margin-bottom: 10px; color: var(--np-navy); font-size: 1.0625rem; font-weight: 300; line-height: 1.35; }
.np-learn { font-weight: 500; display: inline-flex; align-items: center; gap: 0.4em; }
.np-learn svg { width: 14px; height: 14px; }

.np-tip { position: relative; display: inline-flex; }
.np-tip-btn { width: 24px; height: 24px; margin-top: -2px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--np-navy); cursor: help; border-radius: 50%; }
.np-tip-btn svg { width: 18px; height: 18px; }
.np-tip-bubble {
    position: absolute; z-index: 5; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    width: 260px; padding: 12px 14px; background: var(--np-navy); color: var(--np-white);
    font-size: 0.875rem; font-weight: 400; line-height: 1.45; border-radius: var(--np-radius-field);
    opacity: 0; visibility: hidden; transition: opacity .15s ease; pointer-events: none;
}
.np-tip-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--np-navy); }
.np-tip:hover .np-tip-bubble, .np-tip-btn:focus-visible + .np-tip-bubble, .np-tip.is-open .np-tip-bubble { opacity: 1; visibility: visible; }

/* ---------- footer ---------- */
.np-footer { background: var(--np-white); padding: 40px 0 32px; font-size: 0.875rem; color: var(--np-navy); border-top: 1px solid var(--np-line-header); }
.np-footer-top { padding-bottom: 24px; border-bottom: 1px solid var(--np-line-footer); }
.np-footer-top img { height: 28px; width: auto; }
.np-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 22px; }
.np-legal { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.np-legal li:not(:last-child)::after { content: "\00B7"; padding: 0 0.6em; color: var(--np-navy-muted); } /* after, so a wrapped line never starts with a dot */
.np-page .np-legal a { text-decoration: none; }
.np-page .np-legal a:hover { text-decoration: underline; }
.np-footer-meta { display: flex; align-items: center; gap: 24px; }
.np-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.np-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--np-social-bg); display: grid; place-items: center; transition: background-color .15s ease; }
.np-social a:hover { background: var(--np-cyan-light); }
.np-social svg { width: 16px; height: 16px; }

/* ---------- registration (accounts/register.php) ---------- */
.np-hero--compact { padding: clamp(48px, 7vw, 88px) 0 clamp(112px, 12vw, 168px); }
.np-page .np-hero--compact h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem); }
.np-hero-alt { margin-top: 14px; font-size: 0.9375rem; color: var(--np-text-soft); }
.np-page .np-hero-alt { margin-top: 14px; }
.np-hero-alt a { font-weight: 500; }

.np-reg { padding-bottom: clamp(64px, 8vw, 112px); }
.np-reg-card {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: stretch;
    background: var(--np-white); border: 1px solid var(--np-line-card); border-radius: var(--np-radius-card);
    box-shadow: 0 24px 60px rgba(18, 31, 77, .07); overflow: hidden;
}
.np-reg-main { padding: clamp(24px, 4.5vw, 52px); min-width: 0; }

/* overflow: clip (not hidden) keeps the rounded corners without breaking the sticky side panel */
.np-reg-card, .np-reg-card .np-reg-aside { overflow: clip; }

.np-section + .np-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--np-line-header); }
.np-page h2.np-section-title { display: flex; margin-bottom: 20px; font-size: 0.875rem; font-weight: 600; line-height: 1.3; letter-spacing: 0.08em; color: var(--np-cyan); }
.np-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.np-req { color: var(--np-danger); font-weight: 500; margin-left: 2px; }
.np-field-note { margin-top: -8px; margin-bottom: 20px; font-size: 0.875rem; color: var(--np-text-soft); }
.np-page .np-field-note { margin-top: -8px; }

/* selects come from show_country_drop_down() with an inline width, style them like inputs */
.np-page .np-field select {
    width: 100% !important; height: 50px; padding: 0 44px 0 16px; margin: 0;
    font-family: var(--np-font); font-size: 1rem; color: var(--np-navy);
    background: var(--np-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5l3-3' fill='none' stroke='%23121F4D' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 12px;
    border: 1px solid var(--np-field-border); border-radius: var(--np-radius-field);
    -webkit-appearance: none; appearance: none; cursor: pointer;
}
.np-page .np-field select:focus { outline: none; border-color: var(--np-cyan); box-shadow: 0 0 0 3px rgba(27, 183, 203, .2); }
.np-page .np-field select.error { border-color: var(--np-danger); }

/* checkboxes (newsletter, areas of interest) */
.np-page input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--np-navy-dark); cursor: pointer; }
.np-page .np-field label.np-check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; font-size: 1rem; cursor: pointer; }
.np-section > .np-row-2:last-child .np-field, .np-section > .np-field:last-child { margin-bottom: 0; }

/* areas of interest, markup from GetIndustrySegmentList(..., 'div') */
.np-page .seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.np-page .seg-col { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--np-cyan-ultra-light); border-radius: var(--np-radius-card); }
.np-page .seg-col-title { font-weight: 500; font-size: 1rem; color: var(--np-navy); margin-bottom: 4px; }
.np-page .seg-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.45; color: var(--np-navy); cursor: pointer; }
.np-page .seg-other-wrap { padding-left: 28px; }
.np-page .seg-other-input {
    width: 100%; height: 42px; padding: 0 12px; margin: 0;
    font-family: var(--np-font); font-size: 0.9375rem; color: var(--np-navy);
    background: var(--np-white); border: 1px solid var(--np-field-border); border-radius: var(--np-radius-field);
}
.np-page .seg-other-input:focus { outline: none; border-color: var(--np-cyan); box-shadow: 0 0 0 3px rgba(27, 183, 203, .2); }

/* captcha */
.np-captcha { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.np-page .np-captcha .captcha-image { width: 200px; height: auto; border: 1px solid var(--np-field-border); border-radius: var(--np-radius-field); }
.np-captcha-refresh { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--np-field-border); border-radius: var(--np-radius-field); background: var(--np-white); color: var(--np-navy); cursor: pointer; }
.np-captcha-refresh:hover { background: var(--np-cyan-ultra-light); }
.np-captcha-refresh svg { width: 20px; height: 20px; }

.np-required-note { margin: 8px 0 24px; font-size: 0.875rem; color: var(--np-text-soft); }
.np-page .np-required-note { margin: 8px 0 24px; }
.np-secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 0.875rem; color: var(--np-text-soft); }
.np-page .np-secure-note { margin-top: 14px; }
.np-secure-note svg { width: 14px; height: 14px; flex: none; }

/* side panel: account benefits */
.np-reg-aside { justify-content: flex-start; padding-top: clamp(16px, 2.4vw, 24px); }
.np-reg-aside .np-feature-panel { position: sticky; top: 24px; }
.np-page .np-reg-aside .np-feature-wave { top: auto; bottom: -20%; right: -60%; transform: rotate(180deg); }
.np-reg-aside .np-eyebrow { margin-bottom: 12px; }
.np-page .np-reg-aside .np-feature-panel p { margin-bottom: 18px; }
.np-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.np-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.45; }
.np-check-list > li > svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--np-cyan); }
.np-check-list .np-tip { vertical-align: middle; }
.np-page .np-reg-aside .np-help-line { margin-top: 22px; }
/* the side panel clips overflow: anchor the bubble to the whole list item so it always fits the panel width */
.np-check-list li { position: relative; }
.np-reg-aside .np-tip { position: static; }
.np-reg-aside .np-tip-bubble { left: 0; right: 0; width: auto; transform: none; }
.np-reg-aside .np-tip-bubble::after { display: none; }

/* ---------- single-card pages (accounts/newpass.php, thankyou.php, activate.php) ---------- */
.np-narrow { padding-bottom: clamp(64px, 8vw, 112px); }
.np-narrow-card {
    max-width: 560px; margin: 0 auto; padding: clamp(24px, 4.5vw, 48px);
    background: var(--np-white); border: 1px solid var(--np-line-card); border-radius: var(--np-radius-card);
    box-shadow: 0 24px 60px rgba(18, 31, 77, .07);
}
.np-alert-success { background: #ECFBEA; color: #1B5410; box-shadow: inset 3px 0 0 var(--np-green-btn), inset 0 0 0 1px #C7F3BF; }
.np-alert-success svg { color: #236B14; }
.np-alert-success a { font-weight: 500; color: inherit; }
.np-page .np-narrow-card > .np-lead { margin-bottom: 24px; color: var(--np-text-soft); }
.np-page .np-narrow-card h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-bottom: 16px; }
.np-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* numbered next steps (accounts/thankyou.php) */
.np-steps { list-style: none; margin: 0; padding: 0; counter-reset: np-step; display: flex; flex-direction: column; gap: 14px; }
.np-steps li { counter-increment: np-step; display: flex; align-items: flex-start; gap: 14px; line-height: 1.45; }
.np-steps li::before {
    content: counter(np-step); flex: none; width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center; background: var(--np-cyan-ultra-light); box-shadow: inset 0 0 0 1px var(--np-cyan-light);
    color: var(--np-navy); font-weight: 500; font-size: 0.875rem; font-variant-numeric: tabular-nums;
}
.np-steps li span { padding-top: 3px; }
.np-divider { margin: 28px 0; border: 0; border-top: 1px solid var(--np-line-header); }

.np-card-back { margin-top: 20px; text-align: center; font-size: 0.9375rem; }
.np-page .np-card-back { margin-top: 20px; }
.np-card-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.np-card-back svg { width: 12px; height: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .np-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
    .np-reg-card { grid-template-columns: 1fr; }
    .np-reg-aside .np-feature-panel { position: relative; top: 0; }
}
@media (max-width: 820px) {
    .np-login-card { grid-template-columns: 1fr; }
    .np-login-card .np-feature { padding: 40px 16px; }
    .np-why-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .np-row-2, .np-page .seg-grid { grid-template-columns: 1fr; }
    .np-page .np-captcha .captcha-image { width: 170px; }
}
@media (max-width: 640px) {
    /* phones: row 1 = logo, language, quote; row 2 = back link */
    .np-header .np-container { min-height: 0; flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; }
    .np-header-tools { display: contents; }
    .np-brand img { height: 24px; }
    .np-lang { margin-left: auto; }
    .np-header-tools .np-btn-sm { font-size: 0.875rem; padding: 0.8em 1em; }
    .np-back-link { order: 3; flex-basis: 100%; font-size: 0.8125rem; white-space: nowrap; padding: 8px 0 10px; border-top: 1px solid var(--np-line-header); }
    .np-dev-warn { order: 4; }
    .np-hero { padding: 48px 0 96px; }
    .np-hero-wave--left { width: 260px; top: -70px; left: -130px; opacity: .45; }
    .np-hero-wave--right { display: none; }
    .np-hero-sub { font-size: 1.0625rem; }
    .np-benefits { grid-template-columns: 1fr; gap: 12px; }
    .np-benefit { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
    .np-benefit-icon { grid-row: span 2; width: 36px; height: 36px; margin: 0; }
    .np-benefit.np-feature { display: flex; padding: 12px; padding-top: 72px; }
    .np-tip-bubble { left: auto; right: -8px; transform: none; width: min(260px, calc(100vw - 64px)); }
    .np-tip-bubble::after { left: auto; right: 14px; }
    .np-footer-bottom { flex-direction: column; align-items: flex-start; }
    .np-footer-meta { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .np-page *, .np-page *::before, .np-page *::after { transition: none !important; } }
