/* ═══════════════════════════════════════════════
   Covey Homes — Fee Transparency
   Taste-skill driven: asymmetric layouts, proper
   spacing, motion on transform/opacity only
   ═══════════════════════════════════════════════ */

/* ── @font-face ── */
@font-face {
  font-family: "RhetorikSerif";
  src: url("fonts/RhetorikSerif-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RhetorikSerif";
  src: url("fonts/RhetorikSerif-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RhetorikSerif";
  src: url("fonts/RhetorikSerif-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CircularXX";
  src: url("fonts/CircularXX-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CircularXX";
  src: url("fonts/CircularXX-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CircularXX";
  src: url("fonts/CircularXX-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand tokens */
  --charcoal:    #262626;
  --black:       #1a1a1a;
  --white:       #ffffff;
  --green:       #536e5b;
  --gold:        #99855e;
  --orange:      #d76400;
  --amber:       #d4922a;
  --gray-100:    #f5f5f5;
  --gray-200:    #e8e8e8;
  --gray-400:    #abb8c3;
  --gray-700:    #262626;

  /* Surfaces */
  --surface-page:   #f7f6f3;
  --surface-card:   var(--white);
  --surface-dim:    #edece8;
  --surface-dark:   var(--charcoal);

  /* Radius */
  --r-sm:  0;
  --r-md:  0;
  --r-lg:  0;
  --r-xl:  0;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.5s;

  /* Type */
  --font-body:    "CircularXX", system-ui, sans-serif;
  --font-display: "RhetorikSerif", Georgia, serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  background: var(--surface-page);
  color: var(--charcoal);
  line-height: 1.55;
}

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

/* ── Heading Sizes (from coveyhomesbymore.com) ── */
h1 { font-size: 2.23125rem; line-height: 1.2; }
h2 { font-size: 1.7rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
h4 { font-size: 1.25rem; line-height: 1.4; }
h5 { font-size: 1rem; line-height: 1.4; }
h6 { font-size: 0.875rem; line-height: 1.4; }

@media (min-width: 960px) {
  h1 { font-size: 2.625rem; }
  h2 { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════
   HEADER + HERO
   ═══════════════════════════════════════════════ */

.site-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  background: url("images/hero-bg.webp") center / cover no-repeat fixed;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #26262699;
  z-index: 0;
}

.site-hero > * {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 1.25rem 2rem;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo img {
  height: 28px;
  width: auto;
}

.site-header__nav {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-btn:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-btn--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-hero__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem 4rem;
}

.site-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  text-align: center;
}

/* ── Shared: Section spacing ── */
.popup-preview,
.pricing-section,
.transparency-section {
  padding: 5rem 1.5rem;
}

/* ═══════════════════════════════════════════════
   SECTIONS 1 & 2 — Pop-up Previews
   ═══════════════════════════════════════════════ */

.popup-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.popup-preview__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* Backdrop simulation */
.popup-backdrop {
  position: relative;
  width: 100%;
  max-width: 1120px;
  min-height: 480px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem;
  overflow: hidden;
}

.popup-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("background.webp") center / cover no-repeat;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: 0;
}

.popup-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
  z-index: 0;
}

.popup-backdrop > * {
  position: relative;
  z-index: 1;
}

/* Dialog shell */
.popup-dialog {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.10),
    0 24px 48px rgba(0,0,0,0.08);
  width: 100%;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  animation: dialogIn var(--duration) var(--ease-out) both;
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface-dim);
  border-radius: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--charcoal);
  transition: transform var(--duration) var(--ease-spring), opacity 0.2s;
  z-index: 2;
}

.popup-close:hover {
  transform: scale(1.08);
  opacity: 0.7;
}

/* ── Pop-up 1: Calculator (side-by-side asymmetric) ── */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 420px;
}

.calc-left {
  background: var(--surface-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.calc-screenshot {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  background: var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
}

.calc-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calc-right {
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.calc-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.calc-headline {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-weight: 400;
}

.calc-body {
  font-size: 0.92rem;
  color: #6b6b6b;
  line-height: 1.6;
  max-width: 38ch;
}

.calc-cta {
  margin-top: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  align-self: flex-start;
  transition: transform var(--duration) var(--ease-spring), opacity 0.2s;
}

.calc-cta:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* ── Pop-up 2: Stacked (text top, image bottom) ── */
.popup-dialog--stacked {
  max-width: 560px;
}

.stacked-content {
  padding: 2.5rem 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stacked-headline {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-weight: 400;
}

.stacked-body {
  font-size: 0.92rem;
  color: #6b6b6b;
  line-height: 1.6;
  max-width: 46ch;
}

.stacked-screenshot {
  padding: 0 2.5rem 2.5rem;
}

.stacked-cta {
  margin-top: 0.25rem;
  padding: 0.8rem 2rem;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  align-self: flex-start;
  transition: transform var(--duration) var(--ease-spring), opacity 0.2s;
}

.stacked-cta:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.stacked-screenshot img {
  width: 100%;
  border-radius: var(--r-md);
  background: var(--gray-200);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════
   SECTIONS 3 & 4 — Fee Display (shared)
   ═══════════════════════════════════════════════ */

.fees-section {
  padding: 5rem 1.5rem;
}

.fees-section--light {
  background: var(--white);
}

.fees-section--dark {
  background: var(--charcoal);
  color: var(--white);
}

.fees-container {
  max-width: 1040px;
  margin: 0 auto;
}

.fees-header {
  margin-bottom: 3rem;
}

.fees-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.fees-headline {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--charcoal);
}

.fees-header--dark .fees-headline {
  color: var(--white);
}

.fees-subhead {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #6b6b6b;
}

.fees-header--dark .fees-subhead {
  color: rgba(255, 255, 255, 0.45);
}

/* ── Section 3: Stacked Cards ── */
.fees-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.fee-card {
  background: var(--surface-page);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out);
}

.fee-card:hover {
  transform: translateY(-2px);
}

.fee-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fee-card--accent {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.fee-card__header {
  padding: 1.25rem 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fee-card__header h3 {
  font-weight: 700;
  color: var(--charcoal);
}

.fee-card--accent .fee-card__header h3 {
  color: var(--white);
}

.fee-badge {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(153, 133, 94, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 0;
}

.fee-card--accent .fee-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.fee-card__desc {
  padding: 0.75rem 1.5rem 0;
  font-size: 0.82rem;
  color: #6b6b6b;
  line-height: 1.55;
}

.fee-card__body {
  padding: 0.75rem 0 0.5rem;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 1.5rem;
  font-size: 0.85rem;
  color: #6b6b6b;
  transition: background 0.15s;
}

.fee-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.fee-card--accent .fee-row {
  color: rgba(255, 255, 255, 0.75);
}

.fee-card--accent .fee-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.fee-val {
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
  white-space: nowrap;
}

.fee-val small {
  font-weight: 400;
  color: #999;
  font-size: 0.78em;
}

.fee-card--accent .fee-val {
  color: var(--white);
}

.fee-card--accent .fee-val small {
  color: rgba(255, 255, 255, 0.6);
}

.fee-row--total {
  font-weight: 600;
  color: var(--charcoal);
}

.fee-card--accent .fee-row--total {
  color: var(--white);
  font-size: 1rem;
}

.fee-row--note {
  padding-top: 0;
  padding-bottom: 0.35rem;
}

.fee-row--note span {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--gray-400);
}

.fee-card--accent .fee-row--note span {
  color: rgba(255, 255, 255, 0.5);
}

.fee-row--includes {
  color: var(--charcoal);
  font-weight: 500;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.fee-row--includes::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--green);
  margin-right: 0.6rem;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.fee-card--accent .fee-row--includes {
  color: var(--white);
}

.fee-card--accent .fee-row--includes::before {
  background: var(--white);
}

.fee-row--plain {
  display: block;
  padding: 0.55rem 1.5rem;
  font-size: 0.82rem;
  color: #6b6b6b;
  line-height: 1.55;
}

.fee-row--inline {
  font-size: 0.82rem;
  color: var(--charcoal);
  line-height: 1.55;
}

.fee-card--accent .fee-row--inline {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Section 4: Table Layout ── */
.fees-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.fee-table-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2rem;
}

.fee-table-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fee-table-group--accent {
  background: var(--green);
  margin: 0 -1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-md);
  border-bottom: none;
}

.fee-table-group__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.fee-table-badge {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: rgba(153, 133, 94, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 0;
}

.fee-table-group--accent .fee-table-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.fee-table-group__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  max-width: 60ch;
}

.fee-table-group--accent .fee-table-group__desc {
  color: rgba(255, 255, 255, 0.7);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table td {
  padding: 0.6rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: baseline;
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table td:first-child {
  padding-right: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.fee-table td:nth-child(2) {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  text-align: right;
  padding-right: 1rem;
}


.fee-table__note td {
  font-size: 0.75rem !important;
  font-style: italic;
  color: rgba(255, 255, 255, 0.35) !important;
  border-bottom: none !important;
  padding-top: 0 !important;
}

.fee-table__highlight td {
  font-size: 1rem !important;
  padding-bottom: 0.85rem;
}

.fee-table__highlight td:nth-child(2) {
  font-size: 1.15rem !important;
}

.fee-table__includes {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.75) !important;
  padding-top: 0.75rem !important;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   SECTION 5 — Accordion Layout
   ═══════════════════════════════════════════════ */

.fees-section--white {
  background: var(--white);
}

.fees-accordion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.fees-accordion-left {
  position: sticky;
  top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fees-accordion-right {
  display: flex;
  flex-direction: column;
}

/* Accordion item */
.fee-accordion {
  border-bottom: 1px solid var(--gray-200);
}

.fee-accordion:first-child {
  border-top: 1px solid var(--gray-200);
}

.fee-accordion--accent {
  background: var(--green);
  border-color: var(--green);
}

.fee-accordion--accent + .fee-accordion {
  border-top: none;
}

.fee-accordion__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  transition: color 0.2s;
}

.fee-accordion__trigger::-webkit-details-marker {
  display: none;
}

.fee-accordion__trigger::marker {
  display: none;
  content: "";
}

.fee-accordion--accent .fee-accordion__trigger {
  color: var(--white);
  padding: 1.15rem 1.5rem;
}

.fee-accordion__trigger:hover {
  color: var(--orange);
}

.fee-accordion--accent .fee-accordion__trigger:hover {
  color: var(--white);
  opacity: 0.85;
}

.fee-accordion__icon {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.fee-accordion[open] .fee-accordion__icon {
  transform: rotate(180deg);
}

/* Accordion content */
.fee-accordion__content {
  padding: 0 0 1.25rem;
  animation: accordionIn 0.3s var(--ease-out);
}

.fee-accordion--accent .fee-accordion__content {
  padding: 0 1.5rem 1.25rem;
}

@keyframes accordionIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fee-acc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: #6b6b6b;
}

.fee-acc-row span:last-child {
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
  white-space: nowrap;
}

.fee-accordion--accent .fee-acc-row {
  color: rgba(255, 255, 255, 0.7);
}

.fee-accordion--accent .fee-acc-row span:last-child {
  color: var(--white);
}

.fee-acc-note {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--gray-400);
  padding: 0.1rem 0 0.3rem;
}

.fee-acc-badge {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.fee-acc-desc {
  font-size: 0.82rem;
  color: #6b6b6b;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.fee-accordion--accent .fee-acc-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════
   SECTION 6 — Tabs + Panel Layout
   ═══════════════════════════════════════════════ */

#fees-tabs {
  border-top: 1px solid var(--gray-200);
}

.fees-tabs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.fees-tabs-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 3rem;
}

.fee-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.fee-tab {
  display: flex;
  align-items: center;
  padding: 0.9rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b6b6b;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
}

.fee-tab:hover {
  color: var(--charcoal);
}

.fee-tab--active {
  color: var(--charcoal);
  padding-left: 0.75rem;
  border-left: 3px solid var(--orange);
}

.fee-tab--accent {
  color: var(--green);
}

.fee-tab--accent.fee-tab--active {
  color: var(--green);
  border-left-color: var(--green);
}

/* Panels */
.fees-tabs-right {
  position: relative;
  min-height: 300px;
}

.fee-panel {
  display: none;
  animation: panelIn 0.35s var(--ease-out);
}

.fee-panel--active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fee-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.fee-panel--accent {
  background: var(--green);
  padding: 1.75rem;
}

.fee-panel--accent .fee-panel__title {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.fee-panel--accent .fee-acc-row {
  color: rgba(255, 255, 255, 0.7);
}

.fee-panel--accent .fee-acc-row span:last-child {
  color: var(--white);
}

.fee-panel--accent .fee-acc-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .site-header__logo img {
    height: 22px;
  }

  .nav-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }

  .site-hero {
    min-height: 240px;
  }


  .site-hero__content {
    padding: 2rem 1.25rem 3rem;
  }

  .popup-backdrop {
    padding: 1.25rem;
    min-height: auto;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }

  .calc-left {
    display: none;
  }

  .calc-right {
    padding: 2rem 1.5rem;
  }

  .fees-cards {
    grid-template-columns: 1fr;
  }

  .fee-table-group--accent {
    margin: 0 -1rem;
    padding: 1.25rem 1rem;
  }

  .fees-accordion-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .fees-accordion-left {
    position: static;
  }

  .fees-tabs-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .fees-tabs-left {
    position: static;
  }
}
