.nw-warranty {
    --nw-ink: #173941;
    --nw-muted: #50686c;
    --nw-teal: #076e72;
    --nw-border: #dbe7e5;
    display: grid;
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
    margin: clamp(20px, 4vw, 55px) auto clamp(36px, 6vw, 72px);
    max-width: 1120px;
    border: 1px solid var(--nw-border);
    border-radius: 26px;
    overflow: hidden;
    color: var(--nw-ink);
    background: #fff;
    box-shadow: 0 18px 42px #193e4610;
}

.nw-warranty .nw-intro {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: space-between;
    gap: 42px;
    padding: clamp(28px, 4vw, 52px);
    color: #fff;
    background: radial-gradient(ellipse at 0% 100%, #146c6e 0%, transparent 64%), #10393f;
}

.nw-intro::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: '';
    pointer-events: none;
    background: repeating-radial-gradient(circle at 5% 95%, transparent 0 36px, #a8e6dc22 37px, transparent 38px 49px);
    mask-image: linear-gradient(transparent 32%, #000 90%);
}

.nw-warranty .nw-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: #b1e7df;
    font-size: .86rem;
    font-weight: 700;
}

.nw-warranty .nx-icon { flex: none; width: 20px; height: 20px; }
.nw-warranty .nw-intro h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(34px, 3.75vw, 52px);
    line-height: 1.42;
    font-weight: 800;
}
.nw-intro h1 span { display: block; }

.nw-warranty .nw-intro-text {
    max-width: 32ch;
    margin: 0;
    color: #dcefed;
    line-height: 1.95;
}

.nw-serial-guide {
    display: grid;
    grid-template-columns: minmax(78px, 100px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #0e333bd9;
    border: 1px solid #a6dacf5e;
    border-radius: 15px;
}

.nw-serial-guide p { display: grid; gap: 4px; margin: 0; color: #dcefed; font-size: .78rem; line-height: 1.65; }
.nw-serial-guide strong { color: #fff; font-size: .86rem; }
.nw-serial-guide bdi { white-space: nowrap; }
.nw-plate {
    display: grid;
    gap: 4px;
    padding: 7px 8px;
    color: #114249;
    background: #e0f0eb;
    border: 1px solid #9dc9c2;
    border-radius: 5px;
    font: 700 9px/1.2 system-ui, sans-serif;
}
.nw-plate-brand { letter-spacing: .12em; }
.nw-plate-serial { display: flex; gap: 5px; align-items: center; padding: 3px; border: 1px solid #518e86; border-radius: 3px; }
.nw-plate-serial i { height: 1px; flex: 1; background: #518e86; }
.nw-plate-barcode { height: 7px; background: repeating-linear-gradient(90deg, #42716e 0 1px, transparent 1px 3px, #42716e 3px 5px, transparent 5px 8px); }

.nw-panel { min-width: 0; padding: clamp(26px, 4vw, 52px); }
.nw-warranty .nw-panel h2 { margin: 0 0 8px; color: var(--nw-ink); font-size: clamp(23px, 2.4vw, 32px); line-height: 1.5; }
.nw-panel-caption { margin: 0 0 25px; color: var(--nw-muted); font-size: .86rem; }
.noab-warranty-form { display: grid; gap: 23px; }
.nw-warranty .nw-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.nw-warranty .nw-fieldset legend {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 9px;
    border-bottom: 1px solid var(--nw-border);
    color: var(--nw-teal);
    font-size: .9rem;
    font-weight: 800;
}
.nw-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nw-warranty .nw-fields label { display: grid; gap: 6px; min-width: 0; margin: 0; color: var(--nw-ink); font-size: .84rem; font-weight: 650; }
.nw-warranty .nw-fields input {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #b9cdca;
    border-radius: 9px;
    background: #f8fbfa;
    color: var(--nw-ink);
    font-size: 16px;
    font-weight: 500;
    text-align: start;
}
.nw-warranty .nw-fields input::placeholder { color: #607a7b; }
.nw-warranty .nw-fields input:focus { border-color: var(--nw-teal); outline: 2px solid #158388; outline-offset: 2px; background: #fff; }
.nw-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 22px; }
.nw-warranty .nw-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 9px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--nw-teal);
    color: #fff;
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}
.nw-warranty .nw-submit:hover { background: #0e555c; color: #fff; }
.nw-warranty a:focus-visible, .nw-warranty button:focus-visible { outline: 2px solid #158388; outline-offset: 3px; }
.nw-warranty .nw-support { padding: 8px 0; color: var(--nw-teal); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.nw-warranty .nw-error { margin: 0 0 20px; padding: 10px 13px; border: 1px solid #e4b8ac; border-radius: 9px; background: #fff3ee; color: #813424; }

.nw-receipt { display: grid; justify-items: start; align-content: center; min-height: 100%; }
.nw-receipt-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; background: #ddf3e9; color: #146048; }
.nw-warranty .nw-receipt p { margin: 0 0 19px; color: var(--nw-muted); }
.nw-reference { display: grid; gap: 4px; width: min(100%, 340px); margin: 0 0 20px; padding: 12px 15px; border: 1px solid var(--nw-border); border-radius: 11px; background: #f2f8f6; }
.nw-reference span { color: var(--nw-muted); font-size: .84rem; }
.nw-reference bdi { font: 700 clamp(15px, 2vw, 20px)/1.6 ui-monospace, monospace; text-align: right; overflow-wrap: anywhere; user-select: all; }

.nw-guide {
    max-width: 1120px;
    margin: clamp(-42px, -3vw, -16px) auto clamp(36px, 6vw, 72px);
    padding: clamp(20px, 3vw, 32px);
    scroll-margin-top: 24px;
    border: 1px solid #dbe7e5;
    border-radius: 18px;
    color: #173941;
    background: #f4f9f8;
}
.nw-guide h2 { margin: 0 0 16px; color: inherit; font-size: clamp(19px, 2.25vw, 25px); }
.nw-guide dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 0; }
.nw-guide dt { margin-bottom: 5px; font-weight: 750; }
.nw-guide dd { margin: 0; color: #50686c; }
.nw-guide a { color: #076e72; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 830px) {
    .nw-warranty { grid-template-columns: minmax(0, 1fr); max-width: 650px; }
    .nw-guide { max-width: 650px; }
    .nw-warranty .nw-intro { gap: 20px; }
    .nw-intro h1 span { display: inline; }
    .nw-warranty .nw-intro h1 { margin-bottom: 10px; }
    .nw-warranty .nw-eyebrow { margin-bottom: 10px; }
    .nw-serial-guide { max-width: 450px; }
}

@media (max-width: 480px) {
    .nw-warranty { margin-block-start: 12px; border-radius: 18px; }
    .nw-warranty .nw-intro, .nw-panel { padding: 22px; }
    .nw-warranty .nw-intro h1 { font-size: clamp(25px, 8vw, 34px); }
    .nw-warranty .nw-intro-text { max-width: none; }
    .nw-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .nw-guide dl { grid-template-columns: minmax(0, 1fr); }
    .nw-warranty .nw-submit { width: 100%; }
    .nw-form-footer { justify-content: center; }
}
