/* NY Permits — public design system (navy / steel / amber) */

:root {
  --navy: #0B1F33;
  --navy-mid: #122a42;
  --steel: #1E4D6B;
  --steel-light: #2a6a8f;
  --amber: #E8A317;
  --amber-dark: #c4890f;
  --amber-soft: rgba(232, 163, 23, 0.14);
  --off-white: #F5F7FA;
  --charcoal: #1a2330;
  --muted: #5a6b7d;
  --border: #d4dce6;
  --white: #ffffff;
  --success: #1a7a4c;
  --danger: #b42318;
  --warning: var(--amber);
  --warning-deep: var(--amber-dark);
  --warning-bright: #f6d36a;
  --test-banner-h: 30px;
  --radius: 6px;
  --shadow: 0 8px 28px rgba(11, 31, 51, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", sans-serif;
  --header-h: 72px;
  --max: 1180px;
}

/* Official UCR Plan palette (plan.ucr.gov) — colors only, same structure */
html[data-theme="official"] {
  --navy: #002d5c;
  --navy-mid: #003f70;
  --steel: #004990;
  --steel-light: #1863dc;
  --amber: #E31937;
  --amber-dark: #c0142e;
  --amber-soft: rgba(227, 25, 55, 0.14);
  --off-white: #F5F7FA;
  --charcoal: #1a2330;
  --muted: #5a6b7d;
  --border: #d4dce6;
  --warning: var(--amber);
  --warning-deep: var(--amber-dark);
  --warning-bright: #f07180;
  --shadow: 0 8px 28px rgba(0, 73, 144, 0.12);
}

html[data-theme="official"] body {
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(0, 73, 144, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(227, 25, 55, 0.08), transparent 50%),
    linear-gradient(165deg, #e8eef4 0%, var(--off-white) 40%, #eef2f6 100%);
}

html[data-theme="official"] .btn-primary {
  color: var(--white);
  box-shadow: 0 4px 14px rgba(227, 25, 55, 0.35);
}

html[data-theme="official"] .btn-primary:hover {
  color: var(--white);
}

/* Official theme: red accent stays for fills/borders; text accents become white (or steel on light bg) */
html[data-theme="official"] .nav-main a:hover,
html[data-theme="official"] .nav-main a.active,
html[data-theme="official"] .header-nav-link:hover,
html[data-theme="official"] .header-nav-link.is-active,
html[data-theme="official"] .nav-phone__label,
html[data-theme="official"] .header-phone__label,
html[data-theme="official"] .lang-switch__link:hover,
html[data-theme="official"] .hero-call a,
html[data-theme="official"] .hero-rates__fee,
html[data-theme="official"] .footer-subscribe-contact a,
html[data-theme="official"] .footer-subscribe .eyebrow,
html[data-theme="official"] .site-footer h3,
html[data-theme="official"] .site-footer a:hover,
html[data-theme="official"] .site-footer .eyebrow,
html[data-theme="official"] nav .pagination .active .page-link,
html[data-theme="official"] .lang-switch__link.is-active,
html[data-theme="official"] .lang-switch__link.is-active:hover,
html[data-theme="official"] .test-mode-banner__tag {
  color: #fff;
}

html[data-theme="official"] a:hover,
html[data-theme="official"] .eyebrow,
html[data-theme="official"] .btn-secondary:hover,
html[data-theme="official"] .badge-amber,
html[data-theme="official"] .dash-card:hover .dash-card__cta,
html[data-theme="official"] .brand-tag,
html[data-theme="official"] .brand-mark {
  color: #fff;
}

html[data-theme="official"] .page-main a:hover,
html[data-theme="official"] .page-main .eyebrow,
html[data-theme="official"] .page-main .btn-secondary:hover,
html[data-theme="official"] .page-main .badge-amber,
html[data-theme="official"] .page-main .dash-card:hover .dash-card__cta {
  color: var(--steel);
}

html[data-theme="official"] .page-main .hero-call a,
html[data-theme="official"] .page-main .hero-rates__fee {
  color: #fff;
}

html[data-theme="official"] .hero .eyebrow {
  color: #fff;
}

html[data-theme="official"] .callback-toggle {
  border-color: #fff;
}

html[data-theme="official"] .hero-rates {
  border-top-color: #fff;
}

html[data-theme="official"] .steps__item.is-active .steps__num {
  border-color: var(--steel);
  background: linear-gradient(180deg, var(--steel-light), var(--steel));
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 73, 144, 0.22);
}

html[data-theme="official"] a.steps__item:hover {
  background: rgba(0, 73, 144, 0.1);
}

/* Official theme: subscribe forms stack like label → input → full-width button */
html[data-theme="official"] .footer-subscribe-forms {
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
html[data-theme="official"] .footer-subscribe-form {
  grid-template-columns: 1fr;
  gap: .55rem;
  align-items: stretch;
}
html[data-theme="official"] .footer-subscribe-form .form-group {
  margin-bottom: 0;
}
html[data-theme="official"] .footer-subscribe .form-label {
  color: var(--amber);
  margin-bottom: .35rem;
}
html[data-theme="official"] .footer-subscribe-form .btn {
  width: 100%;
  justify-content: center;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--charcoal);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(30, 77, 107, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232, 163, 23, 0.08), transparent 50%),
    linear-gradient(165deg, #e8eef4 0%, var(--off-white) 40%, #eef2f6 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: var(--steel); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--amber-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(1.85rem, 7vw, 3.4rem); text-transform: uppercase; }
h1 .badge { vertical-align: middle; margin-left: .4rem; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; text-transform: uppercase; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(.85rem, 4vw, 1.25rem); }
.page-main { flex: 1; min-width: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 2px solid var(--amber);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  overflow: visible;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--white); flex-shrink: 0; padding-left: .6rem; }
.brand:hover { color: var(--white); }
.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  background: #fff;
}
.brand-mark {
  width: 42px; height: 42px; border: 2px solid var(--amber); border-radius: 4px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%);
  color: var(--amber); font-family: var(--font-display); font-weight: 700;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  position: relative;
  top: -7px;
  left: -15px;
}
.brand-text--with-logo {
  top: 0;
  left: 0;
}

/* Official theme: seal hangs below header bottom edge */
html[data-theme="official"] .site-header {
  overflow: visible;
  border-bottom: 2px solid #fff;
}
html[data-theme="official"] .site-footer {
  border-top-color: #fff;
}
html[data-theme="official"] .header-inner {
  align-items: center;
}
html[data-theme="official"] .brand--official {
  align-self: flex-start;
  padding-left: .15rem;
  padding-top: .35rem;
  z-index: 120;
}
html[data-theme="official"] .brand-logo--official {
  width: 95px;
  height: 95px;
  margin-bottom: -48px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 6px 16px rgba(0, 45, 92, 0.28);
  position: relative;
  z-index: 120;
}
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: rgba(255,255,255,.88); }
.brand-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--amber); font-weight: 600; }

.nav-main { display: flex; align-items: center; gap: 0.2rem 1.15rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-main a {
  color: rgba(255,255,255,.88); font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 1rem;
}
.nav-main a:hover, .nav-main a.active { color: var(--amber); }
.nav-mobile-item { display: none; }
.header-nav-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.88);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav-link:hover,
.header-nav-link.is-active { color: var(--amber); }
.nav-phone-item { display: none; }
.nav-phone {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  padding: .65rem 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.nav-phone__label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--amber);
  font-weight: 700;
}
.nav-phone__number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.lang-switch {
  position: relative;
  flex-shrink: 0;
  margin-left: 0;
}
.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
  min-height: 2.35rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.lang-switch__toggle::-webkit-details-marker { display: none; }
.lang-switch__toggle::marker { content: ""; }
.lang-switch__toggle:hover,
.lang-switch[open] .lang-switch__toggle {
  border-color: var(--amber);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.lang-switch__globe,
.lang-switch__caret {
  display: block;
  flex-shrink: 0;
}
.lang-switch__caret {
  opacity: 0.9;
  transition: transform .2s ease;
}
.lang-switch[open] .lang-switch__caret {
  transform: rotate(180deg);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 120;
  min-width: 9.5rem;
  padding: 0.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.lang-switch__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}
.lang-switch__link:hover {
  color: var(--amber);
  background: rgba(255,255,255,.08);
}
.lang-switch__link.is-active {
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  color: var(--navy);
}
.lang-switch__link.is-active:hover {
  color: var(--navy);
}
.header-actions { display: flex; align-items: center; gap: 0.65rem; margin-left: auto; }
.header-actions .btn-primary { margin-left: 1rem; }
.header-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .08rem;
  min-height: 2.55rem;
  box-sizing: border-box;
  padding: 0.28rem 0.9rem;
  border: 2px solid rgba(232,163,23,.7);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(232,163,23,.22), rgba(232,163,23,.08));
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.05;
  transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.header-phone:hover {
  color: var(--white);
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(232,163,23,.34), rgba(232,163,23,.12));
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,163,23,.25);
}
.header-phone__label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 700;
  font-family: var(--font-display);
}
.header-phone__label::before { content: none; }
.header-phone__number {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
}
.nav-toggle { display: none; background: transparent; border: 2px solid rgba(255,255,255,.35); color: #fff; width: 42px; height: 42px; border-radius: 4px; cursor: pointer; margin-left: auto; }
.nav-cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2;
  white-space: normal; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.95rem; }
.btn-primary { background: linear-gradient(180deg, var(--amber), var(--amber-dark)); color: var(--navy); border-color: var(--amber-dark); box-shadow: 0 4px 14px rgba(232,163,23,.35); }
.btn-primary:hover { color: var(--navy); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline { background: #fff; color: var(--steel); border-color: var(--steel); }
.btn-outline:hover { background: var(--steel); color: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

.hero {
  position: relative;
  padding: 2.75rem 0 2.5rem;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(232,163,23,.16), transparent 42%),
    linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent, transparent 12px, rgba(255,255,255,.08) 12px, rgba(255,255,255,.08) 13px);
}
.hero .container { position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
  width: 100%;
}
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  min-width: 0;
}
.hero-copy { min-width: 0; width: 100%; }
.hero-copy h1 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
}
.hero h1, .hero p, .hero li { color: #fff; }
.hero p { color: rgba(255,255,255,.86); max-width: none; font-size: 1.05rem; line-height: 1.55; }
.hero-call {
  margin: 0;
  max-width: 34rem;
  font-size: 0.98rem;
}
.hero-call a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hero-call a:hover { color: #fff; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.hero-actions .btn {
  width: auto;
  flex: 0 1 auto;
  justify-content: center;
  white-space: nowrap;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  font-size: 1rem;
}
.hero-rates {
  width: 100%;
  min-width: 0;
  padding: 1rem 1.1rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  border-top: 3px solid var(--amber);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.hero-rates__title {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.hero-rates__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-rates__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem 0.85rem;
  align-items: center;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-rates__row:first-child { border-top: 0; padding-top: 0.15rem; }
.hero-rates__info {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.hero-rates__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
}
.hero-rates__meta {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255,255,255,.68);
}
.hero-rates__fee {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--amber);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.eyebrow {
  font-family: var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: .55rem;
  font-size: 0.92rem;
}

.section { padding: 3.25rem 0; }
.section-alt { background: rgba(255,255,255,.45); }
.panel {
  background: rgba(255,255,255,.86); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1.6rem;
}
.panel-amber { border-top: 3px solid var(--amber); }
.draft-banner {
  margin-bottom: 1.25rem;
  border-top: 3px solid var(--amber);
  background: #fffaf0;
}
.draft-banner h2 { margin-bottom: .35rem; }
.draft-banner > p { margin: 0 0 .9rem; color: var(--muted); }
.draft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.draft-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}
.draft-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  align-items: baseline;
  color: var(--muted);
  font-size: .95rem;
}
.draft-list__meta strong { color: var(--navy); }
.draft-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}
.draft-list__actions form { margin: 0; }
@media (max-width: 700px) {
  .draft-list__item { align-items: stretch; }
  .draft-list__item .btn,
  .draft-list__actions { width: 100%; }
  .draft-list__actions .btn { flex: 1 1 auto; justify-content: center; }
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.contact-layout {
  align-items: stretch;
}
.contact-form-panel {
  height: 100%;
  box-sizing: border-box;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  min-height: 100%;
}
.contact-aside .panel {
  flex: 1 1 0;
  margin-top: 0;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.cta-row--pay { justify-content: space-between; align-items: center; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
table.data { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: .98rem; }
table.data th, table.data td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
table.data th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); background: #f0f5f9; }
table.data tr:hover td { background: rgba(30,77,107,.04); }
table.data th.data__actions,
table.data td.data__actions {
  text-align: right;
  white-space: nowrap;
  width: 1%;
  vertical-align: middle;
  overflow-wrap: normal;
}
table.data td.data__actions .row-actions {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
table.data td.data__actions .row-actions form {
  margin: 0;
  display: contents;
}
table.data td.data__actions .row-actions .btn {
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1;
}

.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--steel); margin-bottom: .35rem; }
.form-control, select.form-control, textarea.form-control {
  width: 100%; max-width: 100%; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 4px;
  background: #fff; font-family: var(--font-body); font-size: 16px; color: var(--charcoal);
}
.form-control:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(30,77,107,.15); }
.form-control.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}
.custom-select {
  position: relative;
}
.custom-select__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.custom-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
}
.custom-select__trigger:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(30,77,107,.15);
}
.custom-select:has(.custom-select__input.is-invalid) .custom-select__trigger,
.custom-select.is-invalid .custom-select__trigger {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}
.custom-select__label {
  min-width: 0;
  flex: 1;
}
.custom-select__chevron {
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-top: -.2rem;
  transition: transform .15s ease;
}
.custom-select.is-open .custom-select__chevron {
  transform: rotate(225deg);
  margin-top: .15rem;
}
.custom-select__menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + .3rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
  max-height: 14rem;
  overflow: auto;
}
.custom-select__option {
  padding: .55rem .65rem;
  border-radius: 3px;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.3;
}
.custom-select__option:hover,
.custom-select__option:focus {
  outline: none;
  background: rgba(30, 77, 107, .08);
}
.custom-select__option.is-selected {
  background: rgba(30, 77, 107, .12);
  font-weight: 600;
}
html[data-theme="official"] .custom-select__trigger:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(0, 73, 144, .15);
}
html[data-theme="official"] .custom-select__option:hover,
html[data-theme="official"] .custom-select__option:focus,
html[data-theme="official"] .custom-select__option.is-selected {
  background: rgba(0, 73, 144, .1);
}
.form-error { color: var(--danger); font-size: .88rem; margin-top: .25rem; }
.recaptcha-note { display: none; font-size: .75rem; color: var(--muted); line-height: 1.45; margin: 0 0 .85rem; }
.recaptcha-note a { text-decoration: underline; }
.grecaptcha-badge {
  visibility: visible !important;
  z-index: 90 !important;
  bottom: 8px !important;
  right: 8px !important;
  width: 70px !important;
  overflow: hidden !important;
  transition: width .25s ease !important;
  transform: scale(0.9);
  transform-origin: bottom right;
  opacity: .95;
  box-shadow: 0 0 4px rgba(0,0,0,.12) !important;
}
.grecaptcha-badge:hover,
.grecaptcha-badge.is-open {
  width: 256px !important;
}
.pay-legal { font-size: .82rem; line-height: 1.4; color: var(--muted); margin: 0 0 .75rem; }
.pay-legal a { text-decoration: underline; }
.form-hint { margin: .35rem 0 0; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.form-control.is-autofilling {
  background-image: linear-gradient(90deg, rgba(30,77,107,.06), rgba(232,163,23,.12), rgba(30,77,107,.06));
  background-size: 200% 100%;
  animation: ny-autofill-pulse 1s linear infinite;
}
@keyframes ny-autofill-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.address-block__title {
  margin: 1.15rem 0 .65rem;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: .02em;
}
.address-block__title:first-child { margin-top: 0; }
.check-row {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: .98rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
}
.check-row input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--steel);
}
.business-address-fields.is-disabled {
  opacity: .72;
}
.signature-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.signature-head .form-label { margin: 0; }
.signature-pad-wrap {
  border: 1px solid var(--border);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,249,252,.98)),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(11,31,51,.06) 28px);
  overflow: hidden;
}
#signature-pad {
  display: block;
  width: 100%;
  height: 160px;
  touch-action: none;
  cursor: crosshair;
}
.signature-preview {
  max-width: 22rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  padding: .5rem;
}
.signature-preview img { display: block; width: 100%; height: auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }

.entity-type-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .55rem 1rem;
  margin-top: .15rem;
  overflow-x: auto;
  padding-bottom: .15rem;
}
.entity-type-option {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--charcoal);
}
.entity-type-option.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}
.entity-type-option input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--steel);
  border-radius: 3px;
}
.entity-type-option.is-disabled input {
  pointer-events: none;
}
.entity-type-option__label {
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #3a3f46;
}
@media (max-width: 900px) {
  .entity-type-list {
    flex-wrap: wrap;
  }
}
.filer-auth {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.order-section,
.carrier-record {
  margin: .35rem 0 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  box-shadow: 0 10px 28px rgba(11, 31, 51, .06);
}
.order-section__title,
.filer-auth__title {
  margin: 0 0 .35rem;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  line-height: 1.25;
}
.order-section__hint {
  margin: 0 0 1rem;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.4;
}
.usdot-gate {
  margin: 0 0 1.25rem;
}
.usdot-gate.is-complete .usdot-gate__card {
  padding: .85rem 1rem 1.1rem;
}
.usdot-gate.is-complete .usdot-gate__eyebrow,
.usdot-gate.is-complete .usdot-gate__copy {
  display: none;
}
.usdot-gate.is-complete .usdot-gate__title {
  font-size: 1.05rem;
  margin-bottom: .75rem;
}
.usdot-gate__card {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  box-shadow: 0 10px 28px rgba(11, 31, 51, .06);
}
.usdot-gate__eyebrow {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
}
.usdot-gate__title {
  margin: 0 0 .4rem;
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
}
.usdot-gate__copy {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.45;
}
.usdot-gate__field { margin: 0 0 1rem; }
.usdot-gate__row {
  display: flex;
  gap: .65rem;
  align-items: stretch;
}
.usdot-gate__input {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .85rem 1rem;
  flex: 1 1 auto;
  min-width: 0;
}
.usdot-gate__btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}
.usdot-gate__fixed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border-radius: 8px;
  background: rgba(30, 77, 107, .06);
}
.usdot-gate__fixed[hidden] {
  display: none !important;
}
.usdot-gate__fixed-main {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.usdot-gate__fixed-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.usdot-gate__fixed-value {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
}
.usdot-gate__refresh {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--steel);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.usdot-gate__refresh:hover,
.usdot-gate__refresh:focus-visible {
  color: var(--navy);
  border-color: var(--steel);
  background: #fff;
  outline: none;
}
.usdot-gate__refresh:active {
  transform: rotate(-45deg);
}
.usdot-gate__contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0 0 .25rem;
}
.usdot-gate__contacts .form-group {
  margin: 0;
}
.usdot-gate__contacts .form-control.is-autofilled {
  background: #eef5fb;
  border-color: #c5d7e8;
}
.usdot-gate.is-loading .usdot-gate__input,
.usdot-gate.is-loading .usdot-gate__btn {
  opacity: .72;
  pointer-events: none;
}
@media (max-width: 900px) {
  .usdot-gate__contacts { grid-template-columns: 1fr 1fr; }
  .usdot-gate__contacts .form-group:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .usdot-gate__row { flex-direction: column; }
  .usdot-gate__btn { width: 100%; }
  .usdot-gate__contacts { grid-template-columns: 1fr; }
  .usdot-gate__contacts .form-group:first-child { grid-column: auto; }
}
.usdot-loader {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1rem;
  padding: .75rem .9rem;
  border-radius: 8px;
  background: rgba(30, 77, 107, .06);
  color: var(--navy);
}
.usdot-loader[hidden],
.usdot-loader:not(.is-active) {
  display: none !important;
}
.usdot-loader.is-active {
  display: flex !important;
}
.usdot-loader__spinner {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(30, 77, 107, .2);
  border-top-color: var(--steel);
  border-radius: 50%;
  animation: usdot-spin .7s linear infinite;
  flex: 0 0 auto;
}
.usdot-loader__text {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
}
.usdot-gate__error { margin-top: .75rem; }
.order-form-rest {
  animation: usdot-fade-in .35s ease;
}
@keyframes usdot-spin {
  to { transform: rotate(360deg); }
}
@keyframes usdot-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
html[data-theme="official"] .usdot-loader {
  background: rgba(0, 73, 144, .07);
}
html[data-theme="official"] .usdot-loader__spinner {
  border-color: rgba(0, 73, 144, .2);
  border-top-color: var(--steel-light);
}
.carrier-record__title {
  margin: 0 0 .35rem;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  line-height: 1.25;
}
.carrier-record__hint {
  margin: 0 0 1rem;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.4;
}
.carrier-record__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.carrier-record__label {
  display: block;
  margin: 0 0 .25rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
}
.carrier-record__value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  word-break: break-word;
}
@media (max-width: 700px) {
  .carrier-record__grid { grid-template-columns: 1fr; }
}
.filer-auth__title {
  margin: 0 0 .4rem;
}
.filer-auth__hint {
  margin: 0 0 1.15rem;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.4;
}
.filer-auth__field {
  margin-bottom: 1.1rem;
  max-width: 36rem;
}
.filer-auth__field .form-label {
  font-weight: 500;
}
.filer-auth__cert {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: .82rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 42rem;
}
.filer-auth__cert input {
  width: 1.15rem;
  height: 1.15rem;
  margin: .12rem 0 0;
  flex: 0 0 auto;
  accent-color: #1863dc;
}
html[data-theme="official"] .filer-auth__cert input {
  accent-color: var(--steel-light);
}
.filer-auth__legal {
  margin: .85rem 0 0;
  max-width: 42rem;
}
.vehicle-section {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 163, 23, .12), transparent 55%),
    linear-gradient(165deg, #0f2740 0%, #163552 48%, #1a3f5c 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 40px rgba(11, 31, 51, .22);
}
html[data-theme="official"] .vehicle-section {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(24, 99, 220, .22), transparent 55%),
    linear-gradient(165deg, #002447 0%, #003566 48%, #00407a 100%);
}
.vehicle-section .order-section__title {
  color: #fff;
  margin-bottom: .2rem;
}
.vehicle-section__lede {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
  line-height: 1.45;
  max-width: 40rem;
}
.vehicle-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1.15rem;
}
.vehicle-mode__option {
  display: block;
  margin: 0;
  cursor: pointer;
}
.vehicle-mode__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vehicle-mode__card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 100%;
  padding: .85rem .95rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vehicle-mode__option:hover .vehicle-mode__card {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .1);
}
.vehicle-mode__option:has(input:checked) .vehicle-mode__card {
  border-color: var(--amber);
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(232, 163, 23, .35), 0 10px 24px rgba(0, 0, 0, .18);
}
html[data-theme="official"] .vehicle-mode__option:has(input:checked) .vehicle-mode__card {
  border-color: #7eb0ff;
  box-shadow: inset 0 0 0 1px rgba(126, 176, 255, .45), 0 10px 24px rgba(0, 0, 0, .18);
}
.vehicle-mode__option:has(input:disabled) {
  cursor: not-allowed;
  opacity: .55;
}
.vehicle-mode__option:has(input:disabled):hover .vehicle-mode__card {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}
.vehicle-mode__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: rgba(232, 163, 23, .18);
  color: #ffd37a;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html[data-theme="official"] .vehicle-mode__badge {
  background: rgba(126, 176, 255, .18);
  color: #b7d2ff;
}
.vehicle-mode__text {
  color: rgba(255, 255, 255, .84);
  font-size: .9rem;
  line-height: 1.4;
}
.vehicle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
  gap: 1rem 1.15rem;
  align-items: stretch;
}
.vehicle-board {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
  padding: .85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.vehicle-board__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 5.5rem 5.5rem;
  gap: .65rem;
  padding: 0 .35rem .35rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.vehicle-board__spacer {
  text-align: left;
}
.vehicle-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 5.5rem 5.5rem;
  gap: .65rem;
  align-items: center;
  padding: .7rem .75rem;
  border: 1px solid #e2e9f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.vehicle-row__label strong {
  display: block;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.25;
}
.vehicle-row__field {
  display: flex;
  justify-content: center;
}
.vehicle-row__field--empty {
  min-height: 1px;
}
.vehicle-table__input {
  width: 100%;
  max-width: 5.5rem;
  margin: 0;
  padding: .55rem .4rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  appearance: textfield;
  -moz-appearance: textfield;
}
.vehicle-table__input::-webkit-outer-spin-button,
.vehicle-table__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.vehicle-table__input.is-autofilled,
.vehicle-table__input[readonly] {
  background: #e8eef4;
  color: #516274;
  border-color: #cfd9e3;
  box-shadow: none;
  cursor: default;
}
.vehicle-order-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .15rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)),
    rgba(8, 22, 36, .55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
  backdrop-filter: blur(6px);
}
.vehicle-order-details__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
  color: #ffd37a;
}
html[data-theme="official"] .vehicle-order-details__head {
  color: #b7d2ff;
}
.vehicle-order-details__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}
.vehicle-order-details__head strong {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.vehicle-order-details__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .4rem 0;
  color: #fff;
}
.vehicle-order-details__row span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.vehicle-order-details__row strong {
  font-size: 1.15rem;
  font-weight: 700;
}
.vehicle-order-details__row--total {
  margin-top: .35rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.vehicle-order-details__row--total strong {
  font-size: 1.25rem;
  color: #ffd37a;
}
html[data-theme="official"] .vehicle-order-details__row--total strong {
  color: #fff;
}
@media (max-width: 900px) {
  .vehicle-mode {
    grid-template-columns: 1fr;
  }
  .vehicle-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .vehicle-board__head,
  .vehicle-row {
    grid-template-columns: 1fr 4.75rem 4.75rem;
    gap: .45rem;
  }
  .vehicle-row__label strong {
    font-size: .74rem;
  }
}
html[data-theme="official"] .entity-type-option input {
  accent-color: var(--steel);
}
.required { color: var(--danger); }
.auth-switch {
  display: inline-block;
  margin-top: .15rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--steel);
  font-size: .8rem;
  line-height: 1.2;
  text-decoration: underline;
  cursor: pointer;
}
.panel.is-hidden { display: none; }

.alert { padding: .85rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; border-left: 4px solid; }
.alert-success { background: #e8f6ef; color: #0f5132; border-color: var(--success); }
.alert-error { background: #fcebea; color: #7a1c16; border-color: var(--danger); }
.legal-meta {
  margin: 1.5rem 0 0;
  padding: .65rem .85rem;
  background: #f0f5f9;
  border-radius: var(--radius);
  color: var(--steel);
  font-size: .92rem;
}
.panel h2 {
  margin: 1.5rem 0 .55rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.panel ul,
.panel ol { margin: .4rem 0 1rem 1.15rem; padding: 0; }
.panel li { margin: .35rem 0; }
.prose-guide h2:first-child { margin-top: 0; }
.prose-guide h2 { margin: 1.5rem 0 .75rem; color: var(--navy); font-size: 1.35rem; }
.prose-guide h3 { margin: 1.15rem 0 .55rem; color: var(--navy); font-size: 1.1rem; }
.prose-guide p { margin: 0 0 .85rem; line-height: 1.55; color: var(--muted); }
.prose-guide p strong { color: var(--navy); }
.prose-guide ul, .prose-guide ol { margin: .4rem 0 1rem 1.15rem; padding: 0; color: var(--muted); }
.prose-guide li { margin: .35rem 0; }
.prose-guide .table-wrap { margin: 1rem 0 1.25rem; }
.blog-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0 0; }
.badge { display: inline-block; padding: .2rem .55rem; border-radius: 4px; font-family: var(--font-display); letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.badge-amber { background: var(--amber-soft); color: var(--amber-dark); }
.badge-steel { background: rgba(30,77,107,.12); color: var(--steel); }

.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .6rem; }
.faq-item summary { cursor: pointer; padding: .9rem 1rem; font-weight: 700; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1rem 1rem; color: var(--muted); }

.site-footer {
  margin-top: auto; background: linear-gradient(180deg, var(--navy-mid), var(--navy));
  color: rgba(255,255,255,.8); border-top: 3px solid var(--amber); padding: 0 0 1.25rem;
}
.footer-subscribe {
  padding: 2.15rem 0 2rem;
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
  background:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(232,163,23,.16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-subscribe-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 36rem);
  gap: 1.5rem 2.25rem;
  align-items: end;
}
.footer-subscribe-copy p { margin-bottom: .7rem; max-width: 36rem; }
.footer-subscribe-title {
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  margin-bottom: .45rem;
}
.footer-subscribe-contact { margin-bottom: 0; color: rgba(255,255,255,.72); }
.footer-subscribe-contact a { color: var(--amber); font-weight: 600; }
.footer-subscribe-contact a:hover { color: #fff; }
.footer-subscribe-panel__eyebrow {
  margin: 0 0 .55rem;
}
.footer-subscribe-panel .alert { margin-bottom: .85rem; }
.footer-subscribe-panel .alert ul { margin: 0; padding-left: 1.1rem; }
.footer-subscribe .alert-success {
  background: rgba(26,122,76,.22);
  color: #d7f3e4;
  border-color: #3dba78;
}
.footer-subscribe .alert-error {
  background: rgba(180,35,24,.2);
  color: #ffd7d3;
  border-color: #e07068;
}
.footer-subscribe-forms {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
}
.footer-subscribe-card {
  min-width: 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.footer-subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: end;
}
.footer-subscribe-form .form-group { margin-bottom: 0; }
.footer-subscribe .form-label { color: var(--amber); }
.footer-subscribe .form-control {
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.18);
}
.footer-subscribe .form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,163,23,.22);
}
.footer-subscribe-form .btn {
  min-height: 2.85rem;
  padding: .65rem 1rem;
  white-space: nowrap;
}
.footer-subscribe-note,
.footer-subscribe .recaptcha-note {
  margin: .7rem 0 0;
  font-size: .78rem;
  color: rgba(255,255,255,.58);
  line-height: 1.45;
}
.footer-subscribe .recaptcha-note a { color: rgba(255,255,255,.78); text-decoration: underline; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-main {
  width: 100%;
  padding-top: .35rem;
  padding-bottom: .25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
  width: 100%;
}
.footer-brand {
  min-width: 0;
  padding-right: .5rem;
}
.footer-brand__name {
  display: inline-block;
  margin: 0 0 .55rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  text-decoration: none;
}
.footer-brand__name:hover { color: var(--amber); }
.footer-brand__contact {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: 0;
  font-size: .95rem;
  line-height: 1.35;
}
.footer-brand__contact a {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  word-break: break-word;
}
.footer-brand__contact a:hover { color: var(--amber); }
.footer-col {
  min-width: 0;
}
.footer-col__title,
.site-footer h3 {
  color: var(--amber);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  margin: 0 0 .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
}
.footer-col__list,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col__list li,
.site-footer li {
  margin: 0 0 .45rem;
  font-size: .95rem;
  line-height: 1.35;
}
.footer-col__list li:last-child,
.site-footer li:last-child {
  margin-bottom: 0;
}
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--amber); }
.footer-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin-bottom: .75rem;
  border: 0;
  background: none;
  mix-blend-mode: lighten;
}
.footer-disclaimer {
  margin: .75rem 0 0;
  width: 100%;
  max-width: none;
  font-size: .72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .55);
}
.footer-disclaimer a {
  color: rgba(255, 255, 255, .72);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
}

.order-wrap { width: 100%; max-width: var(--max); margin: 2rem auto 3rem; }
.steps {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.35rem;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  padding: .35rem .45rem;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.steps__item.is-locked {
  opacity: .5;
  cursor: not-allowed;
}
a.steps__item:hover {
  color: var(--navy);
  background: rgba(232, 163, 23, .12);
}
.steps__num {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}
.steps__label {
  font-family: var(--font-display);
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.steps__item.is-done {
  color: var(--navy);
}
.steps__item.is-done .steps__num {
  border-color: var(--success);
  background: rgba(26, 122, 76, .12);
  color: var(--success);
}
.steps__item.is-active {
  color: var(--navy);
}
.steps__item.is-active .steps__num {
  border-color: var(--amber-dark);
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(232, 163, 23, .22);
}
.steps__item.is-active .steps__label {
  color: var(--navy);
}
.steps__connector {
  flex: 1 1 .75rem;
  min-width: .5rem;
  height: 2px;
  border-radius: 999px;
  background: var(--border);
}
.steps__connector.is-done {
  background: linear-gradient(90deg, var(--success), rgba(26, 122, 76, .45));
}
.summary-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--border); }
.fleet-attach {
  display: flex; justify-content: space-between; gap: .75rem 1rem; align-items: center;
  flex-wrap: wrap; padding: .55rem 0; border-bottom: 1px solid var(--border);
}
.fleet-attach span { min-width: 0; overflow-wrap: anywhere; }

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.25rem 0 0;
}
.dash-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,.96), rgba(240,245,249,.92));
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.dash-card:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: var(--amber-dark);
  box-shadow: 0 14px 28px rgba(11, 31, 51, .12);
}
.dash-card:focus-visible {
  outline: 3px solid rgba(30, 77, 107, .28);
  outline-offset: 2px;
}
.dash-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(30, 77, 107, .1);
  color: var(--steel);
}
.dash-card:hover .dash-card__icon {
  background: rgba(232, 163, 23, .22);
  color: var(--navy);
}
.dash-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.dash-card__body {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.dash-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.dash-card__stat {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: .02em;
}
.dash-card__meta {
  color: var(--muted);
  font-size: .95rem;
}
.dash-card__cta {
  margin-top: .55rem;
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--steel);
}
.dash-card:hover .dash-card__cta {
  color: var(--amber-dark);
}
@media (max-width: 900px) {
  .dash-cards { grid-template-columns: 1fr; }
}
.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.account-nav__logout { margin: 0; }
.account-nav__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.35rem;
  padding: .45rem .7rem .45rem .55rem;
  border: 2px solid var(--steel);
  border-radius: 6px;
  background: #fff;
  color: var(--steel);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
.account-nav__link:hover {
  color: var(--navy);
  border-color: var(--amber-dark);
  background: rgba(232, 163, 23, .1);
}
.account-nav__link.is-active {
  background: linear-gradient(180deg, var(--amber), var(--amber-dark));
  border-color: var(--amber-dark);
  color: var(--navy);
}
.account-nav__link--button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}
.account-nav__icon {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}
.account-nav__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.account-nav__label { flex: 1 1 auto; }
.account-nav__count {
  min-width: 1.35rem;
  padding: .15rem .4rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.2;
}
.account-nav__link.is-active .account-nav__count {
  background: rgba(11, 31, 51, .16);
  color: var(--navy);
}
.account-nav__count.is-zero {
  background: rgba(30, 77, 107, .12);
  color: var(--muted);
}
.account-nav__link.is-active .account-nav__count.is-zero {
  background: rgba(11, 31, 51, .1);
  color: rgba(11, 31, 51, .65);
}
.order-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.order-heading h1 { margin-bottom: .45rem; }
.order-heading__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
body.modal-open { overflow: hidden; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}
.modal[hidden] { display: none !important; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 51, .62);
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.45rem 1.5rem 1.3rem;
}
.modal__dialog h2 { margin-bottom: .4rem; }
.modal__dialog p { margin: 0; color: var(--muted); }
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 1.15rem;
}
@media (max-width: 480px) {
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
}
.callback-widget {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 80;
}
.callback-toggle {
  background: linear-gradient(180deg, var(--navy), var(--steel)); color: #fff; border: 2px solid var(--amber);
  border-radius: 999px; padding: .7rem 1.1rem; font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.callback-panel {
  display: none; width: min(320px, calc(100vw - 24px)); background: #fff; border-radius: 8px; box-shadow: var(--shadow);
  padding: 1rem; margin-bottom: .6rem; border-top: 4px solid var(--amber); max-height: min(70dvh, 28rem); overflow: auto;
}
.callback-widget.open .callback-panel { display: block; }
.callback-msg {
  display: none;
  margin: .75rem 0 0;
  padding: .75rem .85rem;
  border-radius: var(--radius);
  border-left: 4px solid;
  font-size: .92rem;
  line-height: 1.35;
  font-weight: 600;
}
.callback-msg.is-visible { display: block; }
.callback-msg.is-success {
  background: #e8f6ef;
  color: #0f5132;
  border-color: var(--success);
}
.callback-msg.is-error {
  background: #fcebea;
  color: #7a1c16;
  border-color: var(--danger);
}

.note { background: #f8f4eb; border-left: 4px solid var(--amber); padding: .8rem 1rem; border-radius: 4px; }
.support-lang-note {
  margin: .65rem 0 0;
  padding: .55rem .75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--steel);
  background: #f0f5f9;
  color: var(--steel);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
}
.callback-panel .support-lang-note { margin: 0 0 .85rem; }
.test-mode-banner {
  --test-banner-offset: calc(var(--test-banner-h) + env(safe-area-inset-top, 0px));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  height: var(--test-banner-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: env(safe-area-inset-top, 0px) 2.4rem 0;
  overflow: hidden;
  color: var(--navy);
  background-color: var(--warning);
  background-image:
    repeating-linear-gradient(-55deg, var(--navy) 0 5px, var(--warning) 5px 10px),
    repeating-linear-gradient(-55deg, var(--navy) 0 5px, var(--warning) 5px 10px),
    linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 58%),
    linear-gradient(90deg, var(--warning-deep) 0%, var(--warning) 22%, var(--warning-bright) 50%, var(--warning) 78%, var(--warning-deep) 100%);
  background-size: 22px 100%, 22px 100%, 100% 100%, 100% 100%;
  background-position: left, right, center, center;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--navy);
  box-shadow: 0 8px 20px rgba(232, 163, 23, .38);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.test-mode-banner::before {
  content: "";
  position: absolute;
  inset: 0 22px;
  pointer-events: none;
  opacity: .14;
  background: repeating-linear-gradient(-55deg, transparent, transparent 8px, rgba(11, 31, 51, .45) 8px, rgba(11, 31, 51, .45) 9px);
}
.test-mode-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  animation: test-banner-shine 5s ease-in-out infinite;
}
.test-mode-banner__tag,
.test-mode-banner__copy,
.test-mode-banner__copy-short {
  position: relative;
  z-index: 1;
}
.test-mode-banner__tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  height: 18px;
  padding: 0 .5rem 0 .4rem;
  border-radius: 3px;
  background: var(--navy);
  color: var(--warning);
  font-size: .68rem;
  letter-spacing: .16em;
  box-shadow: 0 0 0 1px var(--warning-bright), 0 0 10px rgba(232, 163, 23, .45);
}
.test-mode-banner__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--warning);
  transform: rotate(45deg);
  box-shadow: 0 0 6px var(--warning-bright);
}
.test-mode-banner__copy,
.test-mode-banner__copy-short {
  font-size: clamp(.68rem, 1.6vw, .8rem);
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: min(920px, calc(100vw - 9rem));
  text-shadow: 0 1px 0 rgba(255, 255, 255, .28);
}
.test-mode-banner__copy-short { display: none; }
body.has-test-mode { padding-top: calc(var(--test-banner-h) + env(safe-area-inset-top, 0px)); }
body.has-test-mode .site-header { top: calc(var(--test-banner-h) + env(safe-area-inset-top, 0px)); }
body.has-test-mode .footer-subscribe,
body.has-test-mode .footer-subscribe-card {
  scroll-margin-top: calc(var(--header-h) + var(--test-banner-h) + env(safe-area-inset-top, 0px) + 12px);
}
@keyframes test-banner-shine {
  0%, 18% { transform: translateX(0); opacity: 0; }
  32% { opacity: 1; }
  72%, 100% { transform: translateX(420%); opacity: 0; }
}
#payment-element { min-height: 48px; }

nav .pagination { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; }
nav .pagination .page-link { display: inline-block; padding: .35rem .7rem; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
nav .pagination .active .page-link { background: var(--navy); color: var(--amber); }

@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-subscribe-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: .35rem;
    margin-bottom: .15rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-toggle { display: grid; place-items: center; margin-left: .45rem; }
  .nav-main, .header-phone { display: none; }
  .header-actions {
    display: flex;
    margin-left: auto;
    gap: 0;
  }
  .header-actions .btn,
  .header-actions .header-nav-link { display: none; }
  .nav-cta { display: list-item; }
  .nav-mobile-item { display: list-item; }
  .lang-switch { margin-left: 0; }
  .site-header.open .nav-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--navy);
    padding: .5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 120;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.open .nav-main a {
    display: block;
    padding: .75rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .header-inner { flex-wrap: nowrap; }
  body.has-test-mode .site-header.open .nav-main {
    max-height: calc(100dvh - var(--header-h) - var(--test-banner-h) - env(safe-area-inset-top, 0px));
  }
}
@media (max-width: 900px) {
  .grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  .recaptcha-note { display: block; }
  .hero { padding: 2.15rem 0 1.9rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-main { gap: 1rem; }
  .hero-call { max-width: none; }
  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 11rem);
  }
  .hero p { font-size: 1rem; }
  .section { padding: 2.25rem 0; }
  .test-mode-banner {
    justify-content: flex-start;
    gap: .4rem;
    padding: env(safe-area-inset-top, 0px) 1.7rem 0;
    background-size: 16px 100%, 16px 100%, 100% 100%, 100% 100%;
  }
  .test-mode-banner::before { inset: 0 16px; }
  .test-mode-banner__copy { display: none; }
  .test-mode-banner__copy-short {
    display: inline;
    max-width: calc(100vw - 7rem);
  }
}
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid,
  .form-grid--3 { grid-template-columns: 1fr; }
  .order-wrap { margin: 1.25rem auto 2.25rem; }
  .panel { padding: 1.2rem 1.15rem; }
  .account-nav__link { flex: 1 1 9rem; }
}
@media (max-width: 600px) {
  h3 { font-size: 1.15rem; }
  .brand-name { font-size: 1.28rem; }
  .brand-tag { letter-spacing: .12em; }
  html[data-theme="official"] .brand-logo--official {
    width: 82px;
    height: 82px;
    margin-bottom: -41px;
  }
  .cta-row { display: grid; grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .cta-row--pay { display: flex; }
  .cta-row--pay .btn { width: auto; }
  .cta-row--pay .btn-primary { flex: 1 1 auto; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .footer-brand {
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding-bottom: .85rem;
    margin-bottom: .15rem;
  }
  .footer-subscribe { padding: 1.6rem 0 1.5rem; margin-bottom: 1.5rem; }
  .footer-subscribe-forms { grid-template-columns: 1fr; }
  .footer-subscribe-form { grid-template-columns: 1fr; }
  .footer-subscribe-form .btn { width: 100%; }
  .site-footer { padding: 0 0 5.5rem; }
  .callback-widget {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
  }
  .callback-panel, .callback-toggle { width: 100%; }
  .steps {
    flex-wrap: wrap;
    gap: .55rem .35rem;
    padding: .75rem;
  }
  .steps__connector { display: none; }
  .steps__item {
    flex: 1 1 calc(50% - .35rem);
    justify-content: flex-start;
  }
  .steps__label { font-size: .82rem; }
  table.data { font-size: .9rem; }
  table.data th, table.data td { padding: .55rem .6rem; }
}
@media (max-width: 480px) {
  .test-mode-banner {
    gap: .32rem;
    padding: env(safe-area-inset-top, 0px) 1.15rem 0;
    background-size: 12px 100%, 12px 100%, 100% 100%, 100% 100%;
    letter-spacing: .05em;
  }
  .test-mode-banner::before { inset: 0 12px; }
  .test-mode-banner__tag {
    height: 16px;
    padding: 0 .4rem 0 .32rem;
    font-size: .6rem;
    letter-spacing: .1em;
  }
  .test-mode-banner__tag::before { width: 5px; height: 5px; }
  .test-mode-banner__copy-short {
    font-size: .64rem;
    letter-spacing: .04em;
    max-width: calc(100vw - 5.75rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .test-mode-banner::after { animation: none; }
}
