/* Price Alerts pages. Loaded after /styles.css and reuses its tokens (--navy, --yellow, --green …). */

/* ---------- small additions to shared components ---------- */
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--block { width: 100%; text-align: center; padding: 15px 26px; font-size: 17px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; box-shadow: none; }
.req { color: #b3261e; font-weight: 800; }
.hint { font-size: 13px; color: var(--muted); }
.err { display: block; font-size: 13px; font-weight: 700; color: #b3261e; }
.err:empty { display: none; }
.form input[aria-invalid="true"], .form select[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.back { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 700; color: #cfd8ea; text-decoration: none; }
.back:hover { color: var(--yellow); }

/* ---------- hero ---------- */
.pa-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #0b1f4a 0%, #12306e 100%); color: #fff; padding: 56px 0 72px; }
.pa-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 196, 0, .22), rgba(245, 196, 0, 0) 68%); }
.pa-hero::after { content: ""; position: absolute; left: -160px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 160, 90, .32), rgba(22, 160, 90, 0) 70%); }
.pa-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pa-hero--center .pa-hero__in { grid-template-columns: 1fr; max-width: 760px; }
.pa-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; color: #fff; }
.pa-hl { background: linear-gradient(transparent 64%, rgba(245, 196, 0, .5) 64%); }
.pa-lead { font-size: 18.5px; color: #cfd8ea; max-width: 540px; margin-top: 20px; }
.pa-trust { list-style: none; display: grid; gap: 10px; padding: 0; margin: 30px 0 0; color: #fff; font-size: 15.5px; font-weight: 600; }
.pa-trust li { position: relative; padding-left: 28px; }
.pa-trust li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg); }

/* ---------- the form (hero and catalogue) ---------- */
.formcard { position: relative; }
.lean-form { padding: 26px 26px 22px; gap: 14px; }
.lean-form[hidden] { display: none; }
.stepno { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.stepno--done { color: var(--green-d); }
.opt { font-style: normal; font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.skip-link { justify-self: center; background: none; border: 0; padding: 6px 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; cursor: pointer; }
.skip-link:hover { color: var(--navy); }
.lean-form__head h2 { font-size: 22px; letter-spacing: -.01em; }
.lean-form__head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.lean-form .form__row { gap: 14px; }
.lean-form label > span:first-child { font-size: 13.5px; }
.lean-form input, .lean-form select, .lean-form textarea { padding: 11px 13px; }
.more { border: 1px dashed #cfd8ea; border-radius: 12px; }
.more summary { cursor: pointer; list-style: none; padding: 11px 14px; font-weight: 700; font-size: 14px; color: var(--navy); position: relative; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-52%); font-size: 20px; color: var(--green-d); }
.more[open] summary::after { content: "–"; }
.more__in { display: grid; gap: 14px; padding: 4px 14px 14px; }
.consent { display: grid; gap: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 600 !important; font-size: 14px !important; line-height: 1.5; cursor: pointer; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); padding: 0; border: 0; }
.form__note a { color: var(--navy); font-weight: 700; }
.lean-form .btn--block { margin-top: 2px; }

/* catalogue (hub page) */
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(22, 160, 90, .16); color: var(--green-d); margin-left: 8px; vertical-align: middle; }
.alertlist { display: grid; gap: 14px; }
.alertcard { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; }
.alertcard:hover { transform: translateY(-2px); border-color: var(--green); }
.alertcard__text { display: grid; gap: 6px; }
.alertcard__text strong { font-size: 21px; }
.alertcard__text > span { color: var(--muted); }
.alertcard__go { font-weight: 800; color: var(--green-d); white-space: nowrap; }

/* success */
.success { background: #fff; color: var(--ink); border-radius: 20px; padding: 40px 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); text-align: center; }
.success:focus { outline: none; }
.success[hidden] { display: none; }
.success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); margin-bottom: 18px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.success__icon svg { width: 32px; height: 32px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: 28px; margin-bottom: 10px; }
.success p { color: var(--muted); font-size: 16.5px; }
.success__next { list-style: none; text-align: left; margin: 22px auto 0; padding: 18px 20px; border-radius: 14px; background: var(--tint); display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.success__next a { color: var(--navy); font-weight: 700; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- content sections ---------- */
.what { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; font-weight: 600; font-size: 17px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(11, 31, 74, .88); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; margin: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step:nth-child(2) .step__n { background: var(--green); }
.step:nth-child(3) .step__n { background: var(--yellow); color: var(--navy); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

.faq { max-width: 860px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfd8ea; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-52%); font-size: 26px; font-weight: 500; color: var(--green-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 16.5px; }

.about-lite { display: grid; gap: 28px; }
.about-lite h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.about-lite p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 640px; }
.about-lite a { color: var(--navy); font-weight: 700; }
.about-lite .logos a { min-height: 100px; padding: 20px; }
.ctaband { background: var(--navy); color: #fff; padding: 56px 0; text-align: center; }
.ctaband h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
.ctaband p { color: #cfd8ea; margin: 12px auto 26px; max-width: 520px; }

.privacy { max-width: 820px; }
.privacy h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.privacy__lead { color: var(--muted); font-size: 17px; margin: 0 0 32px; }
.privacy dl { display: grid; grid-template-columns: 170px 1fr; gap: 14px 24px; margin: 0; }
.privacy dt { font-weight: 800; }
.privacy dd { margin: 0; color: var(--muted); font-size: 16px; }
.privacy a { color: var(--navy); font-weight: 700; }

.unsub { background: #fff7d6; border-bottom: 1px solid #ecd36a; padding: 36px 0; }
.unsub[hidden] { display: none; }
.unsub__title { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 8px; }
.unsub__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .pa-hero__in, .what { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .photo { max-height: 320px; aspect-ratio: 16 / 10; }
  .privacy dl { grid-template-columns: 1fr; gap: 4px; }
  .privacy dd { margin-bottom: 14px; }
}
@media (max-width: 640px) {
  .pa-hero { padding: 36px 0 48px; }
  .pa-lead { font-size: 17px; margin-top: 14px; }
  .pa-trust { margin-top: 20px; }
  .lean-form { padding: 22px 18px 18px; }
  .success { padding: 30px 20px; }
  .alertcard { flex-direction: column; align-items: flex-start; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .success__icon { animation: none; }
}
