/* WASH MORE landing page: the FIRST first-party stylesheet (spec-design-landing.md section 2);
   gate.css, plan.css and once.css are the other three (web/assets.py). */

@font-face {
  font-family: 'Uniform';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/landing/fonts/Uniform-Regular3.woff2) format('woff2');
}

@font-face {
  font-family: 'Uniform';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/landing/fonts/Uniform-Regular2.woff2) format('woff2');
}

@font-face {
  font-family: 'Uniform Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/landing/fonts/Uniform-Condensed3.woff2) format('woff2');
}

@font-face {
  font-family: 'Uniform Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/landing/fonts/Uniform-Condensed5.woff2) format('woff2');
}

:root {
  --navy: #021C4A;
  --red: #CF0C2E;
  --blue: #4097E2;
  --link: #0047BA;
  --text: #333333;
  --muted: #5B5B5B;
  --tint: #EDF5FC;
  --rule: #E3E6EA;
  --white: #FFFFFF;
  --body: 'Uniform', Arial, Helvetica, sans-serif;
  --display: 'Uniform Condensed', 'Arial Narrow', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--white);
  color: var(--text);
  font: 500 1rem/1.45 var(--body);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The layout: one column, mobile first (the mock at 393 px), centred up to 560 px. */
.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

header.top {
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}

.brand img {
  width: min(220px, 60vw);
}

.hero {
  margin: 4px 0 20px;
}

.hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

h1.headline {
  font: 800 clamp(2rem, 8.5vw, 2.75rem)/1.05 var(--display);
  color: var(--navy);
  text-align: center;
  margin: 0 0 14px;
}

.offer {
  color: var(--red);
}

p.lede {
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.lede strong {
  color: var(--text);
  font-weight: 700;
}

sup.mark {
  font-size: .8em;
  line-height: 0;
  vertical-align: super;
  color: var(--text);
  font-weight: 700;
}

/* The form: the number, the check (the managed widget, interaction-only), the press. */
form.claim {
  display: grid;
  gap: 8px;
}

#phone {
  display: block;
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--link);
  border-radius: 10px;
  padding: 0 16px 0 46px;
  font: 500 1rem var(--body);
  text-align: left;
  color: var(--text);
  background: var(--white);
}

#phone::placeholder {
  color: var(--muted);
}

#phone:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.field {
  position: relative;
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

.field svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  fill: var(--link);
  pointer-events: none;
}

.cf-turnstile {
  display: block;
  text-align: center;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  min-height: 0;
  line-height: 0;
}

button.cta {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  height: 50px;
  border: 0;
  border-radius: 10px;
  background: var(--link);
  color: var(--white);
  font: 700 .95rem/1 var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cta:hover,
.cta:focus-visible {
  background: var(--navy);
}

.cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

p.consent {
  margin: 8px 0 0;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--text);
  text-align: left;
}

.consent a {
  color: var(--link);
}

p.alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--red);
  font-weight: 700;
  text-align: center;
}

.result .state {
  margin: 8px 0;
  padding: 18px 16px;
  border: 1.5px solid var(--link);
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
}

/* The footer (no logo since D-159, the header's is the page's one): the connect heading, the
   social row, the three red columns, the navy copyright line. */
footer.foot {
  margin-top: 24px;
  text-align: center;
}

h2.connect {
  font: 700 1.6rem/1.1 var(--display);
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

ul.social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 0 0 24px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--link);
  border-radius: 50%;
}

.social svg {
  width: 22px;
  height: 22px;
  fill: var(--link);
}

.social a:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.columns-band {
  background: var(--red);
  color: var(--white);
}

nav.columns {
  max-width: 950px;
  margin: 0 auto;
  padding: 24px 16px 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  text-align: left;
}

.columns section:last-child {
  grid-column: 1 / -1;
}

.columns h3 {
  font: 700 1.25rem/1.1 var(--display);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.columns ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.columns li {
  margin: 0 0 9px;
}

.columns a {
  color: var(--white);
  text-decoration: none;
  font: 700 .8rem/1.2 var(--body);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.columns a:hover,
.columns a:focus-visible {
  text-decoration: underline;
}

p.copyright {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  padding: 14px 16px;
}

@media (min-width: 640px) {
  nav.columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px 32px;
  }

  .columns section:last-child {
    grid-column: auto;
  }
}

/* THE PLAN CARDS (spec-plan-pages 2(e)) */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}

.card {
  display: grid;
  gap: 8px;
  padding: 20px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--white);
  min-width: 0;
  overflow-wrap: anywhere;
}

.card h2.name {
  margin: 0;
  font: 700 1.4rem/1.2 var(--display);
  color: var(--navy);
}

.card .desc, .card .uses {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.card .desc:empty, .card .uses:empty, .card .ladder:empty {
  display: none;
}

.price {
  display: grid;
  gap: 2px;
}

.price .lead {
  margin: 0;
}

.price .amount {
  font: 700 2.5rem/1.1 var(--display);
  color: var(--navy);
}

.price .when {
  font-size: 1rem;
  color: var(--text);
}

.price .renew {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.price .tax {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.price .annual {
  margin: 0;
  font-size: .95rem;
  color: var(--muted);
}

form.plan {
  display: grid;
  gap: 8px;
  margin: 0;
}

.card button.cta {
  min-height: 48px;
  height: auto;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  max-width: none;
  padding: 12px 16px;
}

.card button.cta:disabled {
  opacity: .55;
  cursor: wait;
}

.card .ladder {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.features li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.4;
  padding: 4px 0;
  border-top: 1px solid var(--rule);
}

.features .added {
  font-weight: 700;
}

.features .mark {
  flex: none;
  width: 1.2em;
}

.features .out {
  color: var(--text);
  display: none;
}

.card .not {
  margin: 0;
  font-size: .95rem;
  line-height: 1.4;
  color: var(--text);
}

.gloss summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gloss p {
  margin: 4px 0 0;
  font-size: .95rem;
  color: var(--muted);
}

p.terms {
  margin: 16px 0 0;
  font-size: .95rem;
  color: var(--text);
}

@media (min-width: 768px) {
  main.wide {
    max-width: 1232px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
  }

  .card {
    grid-template-rows: subgrid;
    grid-row: span 7;
  }

  .card .desc:empty, .card .uses:empty, .card .ladder:empty {
    display: block;
  }

  .features .out {
    display: flex;
  }

  .card .not {
    display: none;
  }
}

/* spec-uiux-look 2026-10-23: the membership pages' shell and fields (every rule above unchanged) */
main.page > :first-child:not(.hero) {
  margin-top: 16px;
}

.fld {
  display: grid;
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

.lab {
  display: block;
  margin: 0 0 4px;
  font: 700 .85rem/1.2 var(--body);
  color: var(--navy);
  text-align: left;
}

.field .in {
  display: block;
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--link);
  border-radius: 10px;
  padding: 0 16px 0 46px;
  font: 500 1rem var(--body);
  text-align: left;
  color: var(--text);
  background: var(--white);
}

.field .in::placeholder {
  color: var(--muted);
}

.field .in:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.field .in[readonly] {
  background: var(--tint);
  color: var(--muted);
}

.field .in.sel {
  padding-right: 32px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  justify-self: center;
}

.summary {
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  text-align: left;
}

.summary p {
  margin: 0 0 4px;
  font: 500 .95rem/1.4 var(--body);
  color: var(--text);
}

.summary.head p:first-child {
  font: 700 1.05rem/1.3 var(--body);
  color: var(--navy);
}

.summary a {
  color: var(--link);
  font-weight: 700;
}

p.note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--text);
  font: 500 .9rem/1.4 var(--body);
  text-align: left;
}

form.later {
  display: grid;
  margin: 16px 0 0;
}

.cta.secondary {
  background: var(--white);
  color: var(--link);
  border: 1.5px solid var(--link);
}

.cta.secondary:hover, .cta.secondary:focus-visible {
  background: var(--tint);
  color: var(--navy);
}

/* spec-email-mirror 5 (d) 2026-10-24: the mirror's ONE neutral warning (every rule above unchanged) */
section.warn p {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--link);
  border-radius: 8px;
  background: var(--tint);
  color: var(--text);
  font: 500 .9rem/1.4 var(--body);
  text-align: left;
}

/* spec-form-round 2026-10-24: the membership fields take the column (every rule above unchanged) */
.row2, .fld {
  max-width: none;
}

.fld .field {
  max-width: none;
}

.fld ~ button.cta, form.later button.cta {
  max-width: none;
}

/* spec-footer-warnings 2026-10-25: the warnings in the alert-danger look, the notes in the alert-info look, the mobile cue (every rule above unchanged) */
:root {
  --danger-text: #58151C;
  --danger-bg: #F8D7DA;
  --danger-border: #F1AEB5;
  --info-text: #055160;
  --info-bg: #CFF4FC;
  --info-border: #9EEAF9;
}

p.alert {
  border: 1px solid var(--danger-border);
  background: var(--danger-bg);
  color: var(--danger-text);
}

section.warn p {
  border: 1px solid var(--danger-border);
  background: var(--danger-bg);
  color: var(--danger-text);
}

p.note {
  border: 1px solid var(--info-border);
  background: var(--info-bg);
  color: var(--info-text);
}

#phone.over, .field .in.over {
  border-color: var(--danger-text);
}

/* spec-field-error-cue 2026-10-26: the field refusal line and the bad field, the warning block by the e-mail field, the cue's ring and tint (every rule above unchanged) */
.field .in.bad {
  border-color: var(--danger-text);
}

#phone.over, .field .in.over {
  background: var(--danger-bg);
}

#phone.over:focus-visible, .field .in.over:focus-visible, .field .in.bad:focus-visible {
  outline-color: var(--danger-text);
}

.fld .msg {
  margin: 8px 0 0;
}

/* spec-forms-standard 2026-10-26: the landing's refused field and its line, the warned e-mail's look, the payment row's cells (every rule above unchanged) */
#phone.bad {
  border-color: var(--danger-text);
}

.field .in.warn {
  border-color: var(--danger-text);
}

#phone.bad:focus-visible, .field .in.warn:focus-visible {
  outline-color: var(--danger-text);
}

form.claim > .msg {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  margin: 0;
}

.row2 {
  align-items: start;
}

/* spec-plan-details-box 2026-10-26: the details page's plan details box (every rule above unchanged) */
h2.headline {
  font: 800 clamp(2rem, 8.5vw, 2.75rem)/1.05 var(--display);
  color: var(--navy);
  text-align: center;
  margin: 0 0 14px;
}

.box dl {
  margin: 0;
}

.box dl div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin: 0 0 4px;
}

.box dt, .box dd {
  margin: 0;
  font: 500 1rem/1.4 var(--body);
  color: var(--text);
}

.box dt {
  font-weight: 700;
  color: var(--navy);
}

.box .today {
  display: block;
}

.box .today dt, .box .today dd {
  display: inline;
  font: 700 1.5rem/1.2 var(--body);
  color: var(--navy);
}

.box .tail {
  font: 500 1rem/1.4 var(--body);
  color: var(--text);
}

.box a.change {
  display: inline-block;
  padding: 3px 10px;
  border: 1.5px solid var(--link);
  border-radius: 8px;
  color: var(--link);
  font: 700 .8rem/1.2 var(--body);
  text-decoration: none;
}

.box a.change:hover, .box a.change:focus-visible {
  background: var(--tint);
  color: var(--navy);
}

.box a.change:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.box p.tax {
  margin: 6px 0 0;
  font: 500 1rem/1.4 var(--body);
  color: var(--text);
}

/* spec-pages-look 2026-10-27: the membership pages' headings and cards (every rule above unchanged) */
.mp h1.headline, .mp h2.headline {
  font: 700 2rem/1.05 var(--display);
}

.mp .pc {
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  text-align: left;
}

.mp .pc .summary {
  margin: 0;
  padding: 0;
  border: 0;
}

.mp .pc-h {
  margin: 0 0 10px;
  font: 700 1.25rem/1.2 var(--display);
  color: var(--navy);
  text-align: left;
}

.mp .box .today dt, .mp .box .today dd {
  font: 700 1rem/1.4 var(--body);
  color: var(--red);
}

.mp .box .tail {
  font: inherit;
  color: inherit;
}

.mp .wm {
  font: 700 1.5rem/1.2 var(--body);
  color: var(--navy);
  letter-spacing: .04em;
}

.mp a.go {
  color: var(--navy);
  font-weight: 700;
}

/* spec-pages-look-2 2026-10-28: the headings' phone floor, the labels at 1rem, the green state (every rule above unchanged) */
:root {
  --success-text: #0A3622;
  --success-bg: #D1E7DD;
  --success-border: #A3CFBB;
}

main .mp h1.headline, main .mp h2.headline {
  font-size: clamp(1.4rem, 6vw, 2rem);
}

.mp .lab {
  font-size: 1rem;
}

.mp .ok .state {
  border-color: var(--success-border);
  background: var(--success-bg);
  color: var(--success-text);
}

.mp .box dd {
  overflow-wrap: anywhere;
}

/* spec-headings 2026-10-28: the state words' scale, the id's size (every rule above unchanged) */
.mp .ok .state {
  font-size: clamp(.75rem, 3.4vw, 1rem);
}

.mp .wm {
  font-size: 1.25rem;
}

/* spec-qs-landing 5 (c) (D-190, headline-29: strike): the headline's amount struck; every rule above unchanged */
.offer .qs-was {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
  opacity: .85;
}
