/* Warranty & claims page (/warranty/). Dark hero with a turning warranty seal, light content, a dark "not covered" band,
   the claim form on bone, then plain-words terms and FAQ. Same tokens as remco.css; error bits come from contact-form.css. */

/* ------------------------------------------------ hero */
.wr-hero { position: relative; overflow: hidden; background: radial-gradient(110% 90% at 82% 25%, #2a0c0b 0%, var(--ink) 58%); padding: clamp(8rem, 14vw, 11rem) 0 clamp(4.5rem, 8vw, 7rem); }
.wr-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.wr-crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; font-size: .82rem; color: var(--on-dark-50); }
.wr-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.wr-crumbs a:hover { color: #fff; }
.wr-h1 { margin: 1.1rem 0 1.4rem; font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
.wr-hero .lede { color: var(--on-dark-70); }
.wr-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.wr-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .85rem; font-weight: 600; color: var(--on-dark-50); }
.wr-trust li { display: inline-flex; align-items: center; gap: .55rem; }
.wr-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* the seal: a slowly turning ring of text around a shield, like a pressed foil stamp */
.wr-seal { position: relative; margin: 0; justify-self: center; width: min(400px, 100%); aspect-ratio: 1; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 28%, #2b2b2f 0%, #121214 48%, #0b0b0c 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 2px 0 rgba(255,255,255,.1), 0 60px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(225,6,0,.18), 0 0 90px -20px rgba(225,6,0,.35); overflow: hidden; }
.wr-seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: wrTurn 60s linear infinite; }
.wr-seal__ring text { font: 700 17px/1 var(--f-sans); letter-spacing: .34em; fill: rgba(255,255,255,.62); }
@keyframes wrTurn { to { transform: rotate(360deg); } }
.wr-seal__core { position: absolute; inset: 22%; display: grid; place-content: center; justify-items: center; text-align: center; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #1d1d20, #0d0d0e 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.wr-seal__shield { width: clamp(44px, 9vw, 58px); height: auto; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 6px 18px rgba(225,6,0,.5)); }
.wr-seal__shield .ck { stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.wr-seal__k { margin-top: .9rem; font: 600 clamp(.62rem, 1vw, .74rem)/1 var(--f-sans); letter-spacing: .38em; padding-left: .38em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.wr-seal__m { margin-top: .45rem; font: 800 clamp(1.5rem, 3vw, 2.2rem)/1 var(--f-disp); letter-spacing: -.01em; text-transform: uppercase; }
.wr-seal__brand { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font: 800 .72rem/1 var(--f-disp); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.wr-seal__brand img { width: 26px; height: auto; opacity: .8; }
.wr-seal__sheen { position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.09) 50%, transparent 58%); transform: translateX(-55%); animation: wrSheen 7s ease-in-out infinite; pointer-events: none; }
@keyframes wrSheen { 0%, 40% { transform: translateX(-55%); } 80%, 100% { transform: translateX(55%); } }

/* ------------------------------------------------ what it covers */
.wr-cover { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--paper); }
.wr-cover .h-2 { margin-top: 1rem; }
.wr-facts { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.wr-facts li { padding: 1.6rem 1.4rem 1.7rem; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -32px rgba(12,12,13,.35); }
.wr-facts small { display: block; margin-top: 1.2rem; font: 700 .68rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.wr-facts b { display: block; margin-top: .55rem; font-size: 1.12rem; line-height: 1.2; letter-spacing: -.015em; }
.wr-facts p { margin: .55rem 0 0; font-size: .92rem; line-height: 1.5; color: var(--mute); }
.wr-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(225,6,0,.08); color: var(--red); }
.wr-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------ keep it valid */
.wr-keep { padding: clamp(5rem, 9vw, 7rem) 0; background: #fff; border-top: 1px solid var(--line); }
.wr-keep__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 6rem); align-items: start; }
.wr-keep__head .h-2 { margin: 1rem 0 1.2rem; }
.wr-keep__head { grid-row: span 2; }
.wr-dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wr-dates li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 1.4rem 1.4rem 1.4rem 1.2rem; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.wr-dates b { display: grid; justify-items: center; min-width: 4.4rem; font: 700 clamp(2.4rem, 3.6vw, 3.2rem)/.9 var(--f-disp); letter-spacing: -.05em; color: var(--ink); }
.wr-dates b small { margin-top: .35rem; font: 700 .62rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.wr-dates p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--char-2); }
.wr-dates strong { color: var(--ink); }
.wr-dates .is-hi { background: var(--ink); box-shadow: 0 30px 50px -30px rgba(12,12,13,.6); }
.wr-dates .is-hi b { color: var(--red); }
.wr-dates .is-hi b small, .wr-dates .is-hi p { color: var(--on-dark-70); }
.wr-dates .is-hi strong { color: #fff; }
.wr-also { grid-column: 2; list-style: none; margin: 0; padding: 0; }
.wr-also li { position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); line-height: 1.5; color: var(--char-2); }
.wr-also li:first-child { border-top: 1px solid var(--line); }
.wr-also li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .9rem; height: 2px; background: var(--red); }
.wr-also b { color: var(--ink); }
.wr-also a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ------------------------------------------------ not covered */
.wr-not { padding: clamp(5rem, 9vw, 7rem) 0; background: var(--ink); }
.wr-not__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.wr-not .h-2 { margin: 1rem 0 1.2rem; }
.wr-not .lede { color: var(--on-dark-70); }
.wr-x { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.wr-x li { position: relative; break-inside: avoid; padding: .95rem 0 .95rem 2.1rem; border-bottom: 1px solid var(--line-dark); line-height: 1.45; color: rgba(255,255,255,.86); }
.wr-x li::before, .wr-x li::after { content: ""; position: absolute; left: .2rem; top: 1.55rem; width: .95rem; height: 1.6px; background: var(--red); transform: rotate(45deg); }
.wr-x li::after { transform: rotate(-45deg); }
.wr-storm { margin-top: 2.2rem; padding: 1.5rem 1.5rem 1.4rem; border-radius: 20px; background: #161618; box-shadow: inset 0 0 0 1px var(--line-dark); }
.wr-storm b { font-size: 1.1rem; }
.wr-storm p { margin: .45rem 0 0; color: var(--on-dark-70); line-height: 1.5; }
.wr-storm__a { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.1rem !important; }
.wr-storm .link-arrow { color: #fff; }

/* ------------------------------------------------ claim */
.wr-claim { padding: clamp(5rem, 9vw, 7rem) 0; background: var(--bone); scroll-margin-top: 70px; }
.wr-claim__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.wr-claim__side { position: sticky; top: calc(90px + 1rem); }
.wr-claim .h-2 { margin: 1rem 0 1.2rem; }
.wr-steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.wr-steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .6rem; padding: .95rem 0; border-top: 1px solid var(--line-2); }
.wr-steps li > span { font: 700 .74rem/1.9 var(--f-sans); letter-spacing: .1em; color: var(--red); }
.wr-steps b { font-size: 1rem; }
.wr-steps p { margin: .25rem 0 0; font-size: .92rem; line-height: 1.5; color: var(--mute); }
.wr-sos { margin-top: 1.8rem; padding: 1.4rem 1.4rem 1.5rem; border-radius: 20px; background: var(--ink); color: #fff; }
.wr-sos b { font-size: 1.05rem; }
.wr-sos p { margin: .45rem 0 1rem; font-size: .92rem; line-height: 1.5; color: var(--on-dark-70); }

.wr-card { position: relative; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(12,12,13,.45); }
.wr-form { display: grid; gap: 1.6rem; }
.wr-group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1rem; }
.wr-group > legend { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .7rem; padding: 0 0 .9rem; margin-bottom: .2rem; width: 100%; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.wr-group > legend b { font: 700 .7rem/1 var(--f-sans); letter-spacing: .1em; color: var(--red); }
.wr-group > legend small { font-weight: 500; font-size: .82rem; color: var(--mute); }
.wr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wr-f { min-width: 0; }
.wr-f > label, .wr-lbl { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .9rem; color: var(--char); }
.wr-f > label small, .wr-lbl small { font-weight: 500; color: var(--mute); }
.wr-f input:not([type=radio]):not([type=checkbox]):not([type=file]), .wr-f textarea {
  display: block; width: 100%; min-height: 54px; padding: .85rem 1rem; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper);
  font: 500 1rem/1.4 var(--f-sans); color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; -webkit-appearance: none; appearance: none; }
.wr-f input[type=date] { min-height: 54px; }
.wr-f textarea { min-height: 120px; resize: vertical; }
.wr-f input::placeholder, .wr-f textarea::placeholder { color: var(--mute-2); }
.wr-f input:focus, .wr-f textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(12,12,13,.07); }

.wr-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.wr-chips label, .wr-yn__o label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wr-chips input, .wr-yn__o input, .wr-file input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wr-chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.1rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .92rem; transition: background .3s, color .3s, box-shadow .3s; }
.wr-chips label:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.wr-chips input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.wr-chips input:focus-visible + span, .wr-yn__o input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.wr-yn { border: 0; margin: 0; padding: 0; }
.wr-yn legend { padding: 0; }
.wr-yn__o { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.wr-yn__o span { display: grid; place-items: center; min-height: 54px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 700; transition: background .3s, color .3s, box-shadow .3s; }
.wr-yn__o input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.wr-yn__o input[value=Yes]:checked + span { background: var(--red); }

.wr-alert { margin: -.2rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: var(--bone); font-size: .9rem; line-height: 1.45; color: var(--char-2); }
.wr-alert--red { background: var(--red-soft); color: var(--red-deep); font-weight: 600; }
.wr-alert a { text-decoration: underline; white-space: nowrap; }

.wr-files { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: .6rem; }
.wr-file { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; cursor: pointer; overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .3s; }
.wr-file--doc { aspect-ratio: auto; }
.wr-file:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.wr-file:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.wr-file__in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .25rem; padding: .4rem; text-align: center; }
.wr-file__in i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 1.3rem/1 var(--f-sans); font-style: normal; color: var(--red); }
.wr-file__in b { font-size: .8rem; }
.wr-file__in small { font-size: .7rem; color: var(--mute); }
.wr-file img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wr-file.has-file .wr-file__in { display: none; }
.wr-file__name { position: absolute; inset: auto 0 0; padding: .4rem .5rem; background: rgba(12,12,13,.72); color: #fff; font-size: .68rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-file--doc.has-file { background: var(--ink); }
.wr-file--doc .wr-file__doc { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .3rem; padding: .6rem; color: #fff; text-align: center; font-size: .78rem; font-weight: 700; }
.wr-file__x { position: absolute; top: .35rem; right: .35rem; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(12,12,13,.78); color: #fff; font: 600 1rem/1 var(--f-sans); cursor: pointer; }
.wr-hint { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--mute); }

.wr-ack label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .8rem; align-items: start; cursor: pointer; font-size: .9rem; line-height: 1.5; color: var(--char-2); }
.wr-ack input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--red); }
.wr-submit { margin: 0; }
.wr-send { width: 100%; justify-content: center; min-height: 58px; }

.wr-done { padding: clamp(1rem, 3vw, 2rem) 0; text-align: center; }
.wr-done:focus { outline: none; }
.wr-done__ic { width: 64px; height: 64px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wr-done .h-3 { margin: 1rem 0 .6rem; }
.wr-done p { margin: 0 auto; max-width: 34ch; line-height: 1.55; color: var(--char-2); }
.wr-done__sos { margin-top: 1.2rem !important; font-weight: 600; }
.wr-done__sos a { color: var(--red); text-decoration: underline; white-space: nowrap; }

/* ------------------------------------------------ terms + faq */
.wr-terms { padding: clamp(4.5rem, 8vw, 6rem) 0; background: #fff; }
.wr-terms__grid, .wr-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 1.5rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.wr-dl { margin: 0; }
.wr-dl > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.wr-dl > div:first-child { border-top: 1px solid var(--line); }
.wr-dl dt { font-weight: 700; }
.wr-dl dd { margin: 0; line-height: 1.55; color: var(--char-2); }
.wr-pdf { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin: .6rem 0 0; font-size: .92rem; color: var(--mute); }
.wr-faq { padding: 0 0 clamp(5rem, 9vw, 7rem); background: #fff; }
.wr-qs details { border-bottom: 1px solid var(--line); }
.wr-qs details:first-child { border-top: 1px solid var(--line); }
.wr-qs summary { position: relative; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.wr-qs summary::-webkit-details-marker { display: none; }
.wr-qs summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--f-sans); color: var(--red); transition: transform .3s var(--e-out); }
.wr-qs details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wr-qs p { margin: 0 0 1.3rem; max-width: 62ch; line-height: 1.6; color: var(--char-2); }

/* ------------------------------------------------ responsive */
@media (max-width: 1100px) { .wr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .wr-hero__grid, .wr-keep__grid, .wr-not__grid, .wr-claim__grid, .wr-terms__grid, .wr-faq__grid { grid-template-columns: 1fr; }
  .wr-seal { width: min(320px, 78vw); justify-self: start; }
  .wr-also, .wr-pdf { grid-column: auto; }
  .wr-keep__head { grid-row: auto; }
  .wr-claim__side { position: static; }
  /* phones/tablets: heading, then the "water coming in" box, then the form, then how a claim works */
  .wr-claim__grid { gap: 0; }
  .wr-claim__side { display: contents; }
  .wr-claim__side > .eyebrow { justify-self: start; }
  .wr-sos { order: 1; margin-top: .4rem; }
  .wr-card { order: 2; margin-top: 1.8rem; }
  .wr-steps { order: 3; margin-top: 2.6rem; }
}
@media (max-width: 640px) {
  .wr-facts, .wr-dates { grid-template-columns: 1fr; }
  .wr-x { columns: 1; }
  .wr-row { grid-template-columns: 1fr; }
  .wr-files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wr-file--doc { grid-column: 1 / -1; aspect-ratio: auto; min-height: 76px; }
  .wr-dl > div { grid-template-columns: 1fr; gap: .3rem; }
  .wr-card { border-radius: 22px; margin: 0 calc(var(--gut) * -.5); }
  .wr-seal { width: min(280px, 76vw); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .wr-seal__ring, .wr-seal__sheen { animation: none; } }
