/* ==========================================================================
   Marshall for Washington — section + component styles
   ========================================================================== */

/* -------------------- NAV -------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px; }
.nav.is-solid { background: rgba(8,21,38,0.94); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); border-bottom-color: var(--line-onnavy); }

/* wordmark (official logo lockup) */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__logo { display: block; height: 56px; width: auto; }
.brand__mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--red); color: #fff; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1;
}
.brand__mark .star { width: 20px; height: 20px; color: #fff; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em;
  color: #fff; transition: color var(--dur) var(--ease); }
.brand__sub { font-family: var(--font-display); font-weight: 600; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 4px; white-space: nowrap;
  transition: color var(--dur) var(--ease); }
.nav.is-solid .brand__name { color: var(--ink); }
.nav.is-solid .brand__sub { color: var(--slate); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em;
  text-decoration: none; color: rgba(255,255,255,0.9); position: relative; padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
.nav__link::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background: var(--red); transition: right var(--dur) var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.nav.is-solid .nav__link { color: rgba(255,255,255,0.9); }
.nav__cta { margin-left: 4px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__toggle span { display:block; width: 26px; height: 2.5px; background: #fff; margin: 5px 0; transition: var(--dur); border-radius: 2px;}
.nav.is-solid .nav__toggle span { background: #fff; }

@media (max-width: 920px){
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--navy-900);
  display: flex; flex-direction: column; padding: 28px var(--gutter); overflow-y: auto;
  visibility: hidden; transform: translateY(-100%);
  transition: transform 360ms var(--ease), visibility 0s linear 360ms; }
.mobile-menu.is-open { transform: translateY(0); visibility: visible;
  transition: transform 360ms var(--ease); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { background:none;border:0;color:#fff;font-size:34px;line-height:1;cursor:pointer; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; }
.mobile-menu__links a { color:#fff; text-decoration:none; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 9vw, 46px); letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--line-onnavy); }
.mobile-menu__links a:hover { color: var(--red); }
.mobile-menu__cta { margin-top: 32px; }

/* -------------------- HERO -------------------- */
.hero { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100vh;
  display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden; background: var(--navy-900); }
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__media image-slot { width: 100%; height: 100%; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,26,48,0.92) 0%, rgba(7,26,48,0.72) 38%, rgba(7,26,48,0.30) 70%, rgba(7,26,48,0.15) 100%),
    linear-gradient(0deg, rgba(7,26,48,0.85) 0%, rgba(7,26,48,0.0) 46%);
}
.hero__inner { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter);
  padding-bottom: clamp(48px, 8vw, 96px); padding-top: calc(var(--nav-h) + 40px); }
.hero__content { max-width: 760px; }
.hero__logo { margin: 0; line-height: 0; }
.hero__logo img { display: block; width: clamp(300px, 44vw, 580px); height: auto; }
.hero__eyebrow { color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items:center; gap: 12px; }
.hero__eyebrow .star { width: 15px; height: 15px; color: var(--red); }
.hero__name { color: #fff; font-weight: 900; font-size: clamp(54px, 9.5vw, 132px); line-height: 0.92;
  letter-spacing: -0.03em; margin: 18px 0 0; text-transform: uppercase; text-wrap: balance; }
.hero__tag { color: rgba(255,255,255,0.92); font-size: clamp(18px, 2.1vw, 23px); line-height: 1.5;
  max-width: 56ch; margin: 22px 0 0; font-weight: 400; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__flag { position:absolute; top:0; left:0; bottom:0; width: 10px; z-index: 0;
  background: repeating-linear-gradient(180deg, var(--red) 0 14.28%, #fff 14.28% 28.57%); opacity: 0; }

/* Mobile + tablet: hide the hero logo lockup so it never covers the candidate's
   face. Desktop (>=1024px) keeps the logo. Give the hero a taller portrait frame. */
@media (max-width: 1023px){
  .hero__logo { display: none; }
  .hero { aspect-ratio: auto; min-height: 90vh; }
  .hero__photo { object-position: 72% center; }
}
/* Phones: a taller frame with the tagline + buttons anchored low, so Matt's
   face and neck stay clearly visible above the copy. */
@media (max-width: 760px){
  .hero { min-height: 94vh; }
  .hero__photo { object-position: 74% center; }
}

/* split variant */
.hero--split { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; min-height: 92vh; }
.hero--split .hero__scrim { display: none; }
.hero--split .hero__media { position: relative; inset: auto; z-index: 0; }
.hero--split .hero__photo { object-position: center top; }
.hero--split .hero__inner { display: flex; align-items: flex-end; background: var(--navy); }
.hero--split .hero__name { color: #fff; }
@media (max-width: 860px){
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero__media { min-height: 46vh; order: 2; }
}

/* -------------------- CREDS STRIP -------------------- */
.creds { background: var(--white); border-bottom: 1px solid var(--line); }
.creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.creds__item { padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.creds__item:first-child { border-left: 0; }
.creds__k { display:flex; align-items:center; gap: 9px; font-family: var(--font-display); font-weight: 800;
  font-size: 16px; letter-spacing: -0.01em; color: var(--navy); }
.creds__k .star { width: 14px; height: 14px; color: var(--red); }
.creds__v { font-size: 14px; color: var(--slate); margin-top: 6px; }
@media (max-width: 760px){ .creds__grid { grid-template-columns: 1fr 1fr; }
  .creds__item:nth-child(3){ border-left: 0; }
  .creds__item:nth-child(odd){ border-left: 0; }
  .creds__item:nth-child(3), .creds__item:nth-child(4){ border-top: 1px solid var(--line); } }

/* -------------------- ABOUT -------------------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.about__media { position: sticky; top: calc(var(--nav-h) + 24px); }
.about__media image-slot { width: 100%; aspect-ratio: 4/5; background: var(--navy-tint);
  border: 1px solid var(--line); border-radius: 6px; }
.about__photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center;
  display: block; border: 1px solid var(--line); border-radius: 6px; }
.about__media .frame-tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); margin-top: 14px; display:flex; align-items:center; gap:8px; }
.about__media .frame-tag .star { width: 12px;height:12px;color: var(--red); }
.about p { color: var(--slate); margin-bottom: 1.15em; }
.about p strong { color: var(--ink); }
.about__lead { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.42;
  color: var(--ink) !important; font-weight: 400; margin: 24px 0 36px; }
.about__degrees { margin-top: 30px; border-top: 2px solid var(--navy); padding-top: 22px; }
.about__degrees h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 800; }
.about__degrees ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.about__degrees li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; color: var(--ink); }
.about__degrees li .star { width: 12px; height: 12px; color: var(--navy); flex: none; position: relative; top: 1px; }
@media (max-width: 820px){ .about__grid { grid-template-columns: 1fr; } .about__media { position: static; max-width: 420px; } }

/* -------------------- PRIORITIES -------------------- */
.pri { background: var(--white); }
.pri__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.pri__list { border-top: 1px solid var(--line); }
.pri__item { border-bottom: 1px solid var(--line); }
.pri__btn { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 3vw, 40px); align-items: center; width: 100%; box-sizing: border-box;
  padding: clamp(22px, 2.6vw, 34px) 8px; }
.pri__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.pri__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2vw, 26px);
  color: var(--red); font-variant-numeric: tabular-nums; min-width: 1.6em; }
.pri__mid { min-width: 0; }
.pri__title { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2.6vw, 32px);
  letter-spacing: -0.02em; color: var(--navy); line-height: 1.08; }
.pri__short { display: block; color: var(--slate); font-size: 16px; line-height: 1.5; margin-top: 10px; max-width: 70ch; }
.pri__item.is-open .pri__short { display: none; }
.pri__plus { width: 44px; height: 44px; border: 2px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; flex: none; position: relative; transition: var(--dur) var(--ease); }
.pri__plus::before, .pri__plus::after { content:""; position:absolute; background: var(--navy); border-radius: 2px; transition: var(--dur) var(--ease); }
.pri__plus::before { width: 16px; height: 2.5px; }
.pri__plus::after { width: 2.5px; height: 16px; }
.pri__item.is-open .pri__plus { background: var(--red); border-color: var(--red); }
.pri__item.is-open .pri__plus::before, .pri__item.is-open .pri__plus::after { background: #fff; }
.pri__item.is-open .pri__plus::after { transform: rotate(90deg); opacity: 0; }
.pri__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease); }
.pri__item.is-open .pri__panel { grid-template-rows: 1fr; }
.pri__panel > .pri__panel-inner { overflow: hidden; min-height: 0; }
.pri__panel-inner { padding: 0 8px; display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,3vw,40px); transition: padding 360ms var(--ease); }
.pri__item.is-open .pri__panel-inner { padding-bottom: clamp(28px, 3vw, 40px); }
.pri__panel-inner .spacer { min-width: 1.6em; }
.pri__panel p { color: var(--slate); max-width: 74ch; margin-bottom: 1em; font-size: 16.5px; }
.pri__panel p:last-child { margin-bottom: 0; }
@media (max-width: 620px){
  .pri__btn { grid-template-columns: auto 1fr; grid-auto-rows: auto; }
  .pri__plus { grid-column: 2; justify-self: end; margin-top: 8px; }
  .pri__mid { grid-column: 2; }
  .pri__panel-inner { grid-template-columns: 1fr; }
  .pri__panel-inner .spacer { display: none; }
}

/* -------------------- NEWS -------------------- */
.news { background: var(--paper-2); }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(36px,4vw,56px); }
.news__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.news__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.news__meta { display:flex; align-items:center; gap: 10px; }
.news__outlet { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy); }
.news__kind { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); border: 1px solid var(--red); padding: 3px 8px; border-radius: 999px; }
.news__title { font-family: var(--font-serif); font-size: 20px; line-height: 1.34; color: var(--ink);
  margin: 18px 0 24px; font-weight: 400; flex: 1; }
.news__read { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.news__read .arr { transition: transform var(--dur) var(--ease); }
.news__card:hover .arr { transform: translateX(5px); }
@media (max-width: 860px){ .news__grid { grid-template-columns: 1fr; } }

/* -------------------- GET INVOLVED -------------------- */
.involve { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.involve__head { max-width: 680px; }
.involve .section-title { color: #fff; }
.involve__lead { color: rgba(255,255,255,0.82); }
.involve__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: clamp(40px,5vw,60px) 0; }
.act { background: var(--navy-700); border: 1px solid var(--line-onnavy); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: var(--dur) var(--ease); }
.act:hover { background: #1b3f68; transform: translateY(-4px); }
.act__icon { width: 46px; height: 46px; border-radius: var(--radius); background: var(--red); color: #fff;
  display: grid; place-items: center; }
.act__icon svg { width: 24px; height: 24px; }
.act h4 { color: #fff; font-size: 23px; font-weight: 800; }
.act p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.5; flex: 1; margin: 0; }
.act .btn { margin-top: 6px; }
@media (max-width: 860px){ .involve__cards { grid-template-columns: 1fr; } }

/* signup */
.signup { background: var(--navy-900); border: 1px solid var(--line-onnavy); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.signup__copy h3 { color:#fff; font-size: clamp(26px,3vw,38px); font-weight: 800; letter-spacing: -0.02em; }
.signup__copy p { color: rgba(255,255,255,0.74); margin: 12px 0 0; font-size: 16px; }
.signup__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.66); }
.field input { background: rgba(255,255,255,0.06); border: 1px solid var(--line-onnavy); border-radius: var(--radius);
  padding: 13px 15px; color: #fff; font-family: var(--font-body); font-size: 15px; transition: var(--dur) var(--ease); }
.field input::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus { outline: none; border-color: var(--red); background: rgba(255,255,255,0.1); }
.field input.invalid { border-color: #ff6b6b; }
.field__err { font-size: 12px; color: #ff9a9a; min-height: 0; }
.req { display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #ff4d4d; vertical-align: middle; margin-left: 6px; position: relative; top: -1px; }
.form-legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.58); margin: 0; }
.form-legend .req { margin-left: 0; }
.signup__success { grid-column:1/-1; display:flex; align-items:center; gap: 14px; color: #fff;
  background: rgba(192,20,43,0.16); border: 1px solid var(--red); border-radius: var(--radius); padding: 18px 20px; }
.signup__success .star { width: 22px; height: 22px; color: var(--red); flex:none; }
@media (max-width: 820px){ .signup { grid-template-columns: 1fr; } }
@media (max-width: 460px){ .signup__form { grid-template-columns: 1fr; } }

/* -------------------- FOOTER -------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding-top: clamp(56px,7vw,88px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid var(--line-onnavy); }
.footer__brand .brand__logo { height: 132px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255,255,255,0.6); }
.footer__brand p { margin-top: 18px; max-width: 38ch; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.66); }
.footer__col h5 { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 15px; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 4px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid var(--line-onnavy); border-radius: var(--radius);
  display: grid; place-items: center; color: #fff; }
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  padding: 26px 0 40px; font-size: 13px; }
.footer__paid { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; font-size: 12.5px; }
@media (max-width: 760px){ .footer__top { grid-template-columns: 1fr; gap: 32px; } }

/* -------------------- MODALS -------------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5,13,26,0.74);
  backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(14px, 3vh, 56px) 18px; overflow-y: auto;
  animation: modalFade 180ms var(--ease); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: 100%; max-width: 520px; margin: auto;
  display: flex; flex-direction: column; max-height: calc(100dvh - clamp(28px, 6vh, 112px));
  background: var(--navy-900); color: #fff; border: 1px solid var(--line-onnavy);
  border-radius: var(--radius-lg); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
  padding: clamp(26px, 4vw, 44px); animation: modalRise 240ms var(--ease); }
.modal--wide { max-width: 640px; }
@keyframes modalRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px;
  display: grid; place-items: center; background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid var(--line-onnavy); border-radius: 50%; font-size: 24px; line-height: 1;
  cursor: pointer; transition: var(--dur) var(--ease); }
.modal__close:hover { background: var(--red); border-color: var(--red); }
.modal__head { margin-bottom: 22px; padding-right: 34px; flex: none; }
.modal__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; }
.modal__eyebrow .star { width: 13px; height: 13px; color: var(--red); }
.modal__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(26px, 3.4vw, 34px); color: #fff; margin: 12px 0 0; line-height: 1.04; }
.modal__sub { color: rgba(255,255,255,0.74); font-size: 15px; line-height: 1.5; margin: 12px 0 0; }
.modal__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  overflow-y: auto; overflow-x: hidden; margin: -4px -6px -4px 0; padding: 4px 8px 4px 0;
  align-content: start; }
.modal__row3 { display: grid; grid-template-columns: 1.5fr 0.7fr 0.9fr; gap: 14px; min-width: 0; }
/* Let grid tracks shrink below inputs' intrinsic width so the form never
   overflows the modal on narrow screens (fixes the yard-sign City/State/ZIP row). */
.modal__form .field { min-width: 0; }
.modal__form .field input { width: 100%; min-width: 0; }
.modal__legend { display: block; font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.66); margin-bottom: 12px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.check { display: flex; align-items: center; gap: 11px; cursor: pointer; font-size: 14.5px;
  color: rgba(255,255,255,0.82); padding: 11px 13px; border: 1px solid var(--line-onnavy);
  border-radius: var(--radius); background: rgba(255,255,255,0.04); transition: var(--dur) var(--ease); }
.check:hover { border-color: rgba(255,255,255,0.34); }
.check.is-on { border-color: var(--red); background: rgba(192,20,43,0.14); color: #fff; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--red); cursor: pointer; }
.modal__note { grid-column: 1/-1; display: flex; align-items: flex-start; gap: 11px; margin: 2px 0 0;
  font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-onnavy);
  border-radius: var(--radius); padding: 14px 16px; }
.modal__note .star { width: 15px; height: 15px; color: var(--red); flex: none; margin-top: 2px; }
.modal__success { grid-column: 1/-1; align-items: flex-start; }
.modal__success span { line-height: 1.5; }
.modal__actions { margin-top: 22px; }
@media (max-width: 540px){
  .modal__form { grid-template-columns: 1fr; }
  .modal__row3 { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
}
