/* USA Paycheck Calculator — Master Stylesheet
 * Modern Fintech Aesthetic: Fast, Trustworthy, Accessible
 * Color Palette: Deep Navy #0F2A55, Emerald #10B981, Teal Dark #0E7C6B, Cloud #F1F5F9, Slate #334155
 */

:root {
  --navy: #0F2A55;
  --navy-dark: #091a36;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --teal-dark: #0E7C6B;
  --cloud: #F1F5F9;
  --cloud-light: #F8FAFC;
  --slate: #334155;
  --slate-light: #64748B;
  --slate-dark: #1E293B;
  --border: #E2E8F0;
  --border-focus: #10B981;
  --white: #FFFFFF;
  --card-shadow: 0 4px 6px -1px rgba(15, 42, 85, 0.07), 0 2px 4px -2px rgba(15, 42, 85, 0.05);
  --card-shadow-lg: 0 10px 15px -3px rgba(15, 42, 85, 0.08), 0 4px 6px -4px rgba(15, 42, 85, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --content-max-tool: 1080px;
  --content-max-article: 740px;
}

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

html {
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background-color: var(--cloud-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.5);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--emerald-dark);
  text-decoration-color: var(--emerald-dark);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--content-max-tool);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: var(--content-max-article);
}

/* Header & Nav */
.site-header {
  background-color: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(15, 42, 85, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--emerald);
  color: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--emerald);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, var(--navy) 0%, #15386d 100%);
  color: var(--white);
  padding: 40px 0 36px;
  border-bottom: 3px solid var(--emerald);
}

.hero-breadcrumb {
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #94A3B8;
}

.hero-breadcrumb a {
  color: #CBD5E1;
  text-decoration: none;
}

.hero-breadcrumb a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #E2E8F0;
  max-width: 820px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #A7F3D0;
  margin-top: 14px;
}

/* Calculator Card & Layout */
.calc-wrapper {
  margin-top: -16px;
  margin-bottom: 40px;
}

.calc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
}

.calc-inputs-pane {
  padding: 32px 30px;
  border-right: 1px solid var(--border);
}

.calc-results-pane {
  padding: 32px 30px;
  background: var(--cloud-light);
  display: flex;
  flex-direction: column;
}

/* Form Controls */
.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-label-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--slate-light);
}

.input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.input-symbol {
  position: absolute;
  left: 14px;
  font-weight: 600;
  color: var(--slate-light);
  font-size: 1.1rem;
  pointer-events: none;
}

.form-input {
  width: 100%;
  height: 48px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-with-symbol .form-input {
  padding-left: 32px;
}

.form-input:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-select {
  width: 100%;
  height: 48px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-dark);
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Segmented Control Buttons */
.segmented-control {
  display: flex;
  background: var(--cloud);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  gap: 4px;
}

.seg-btn {
  flex: 1;
  min-height: 40px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.seg-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.seg-btn:hover:not(.active) {
  color: var(--navy);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Progressive Disclosure (Accordion for deductions) */
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--cloud);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease;
  margin-top: 6px;
}

.accordion-toggle:hover {
  background: #E2E8F0;
}

.accordion-icon {
  transition: transform 0.2s ease;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 18px 0 4px;
}

.accordion-content.open {
  display: block;
}

/* Primary Action Button (Lower third reachable) */
.calc-action-bar {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.btn-primary {
  flex: 1;
  min-height: 48px;
  background: var(--emerald);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
  transition: background 0.15s ease, transform 0.05s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-outline {
  min-height: 48px;
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline:hover {
  background: var(--cloud);
  color: var(--navy);
}

/* Results Display */
.results-hero-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 42, 85, 0.2);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.results-hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--emerald);
}

.results-hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  margin-bottom: 6px;
}

.results-hero-amount {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.results-hero-amount span.currency {
  font-size: 1.6rem;
  vertical-align: top;
  margin-right: 2px;
}

.results-hero-meta {
  font-size: 0.88rem;
  color: #CBD5E1;
}

.results-hero-meta strong {
  color: var(--emerald);
}

/* Breakdown Table */
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.breakdown-table th {
  text-align: right;
  padding: 8px 10px;
  font-weight: 600;
  color: var(--slate-light);
  border-bottom: 1.5px solid var(--border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.breakdown-table th:first-child {
  text-align: left;
}

.breakdown-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  text-align: right;
  font-feature-settings: "tnum";
}

.breakdown-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--slate-dark);
}

.breakdown-table tr.row-total td {
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  background: #E2E8F0;
}

.breakdown-table tr.row-highlight td {
  color: var(--emerald-dark);
  font-weight: 600;
}

.results-toggle-details {
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: auto;
  padding-top: 10px;
  line-height: 1.45;
}

.results-toggle-details summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
}

/* Mobile Sticky Bar */
.mobile-sticky-summary {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 99;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
  border-top: 2px solid var(--emerald);
  align-items: center;
  justify-content: space-between;
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-lbl {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 600;
}

.mobile-sticky-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.mobile-sticky-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* AdSense Reserved Slot (CLS Safe) */
.ad-slot-container {
  margin: 36px auto;
  text-align: center;
  width: 100%;
}

.ad-slot-reserved {
  min-height: 100px;
  background: #EDF2F7;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ad-slot-leaderboard {
  min-height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

.ad-slot-inarticle {
  min-height: 250px;
  max-width: 600px;
  margin: 0 auto;
}

.ad-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Main Content Typography */
.content-section {
  padding: 40px 0;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.content-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 22px 0 10px;
}

.content-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 16px;
}

.content-section ul, .content-section ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Data Tables */
.data-table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow-x: auto;
  margin: 24px 0 32px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.data-table th {
  background: var(--cloud);
  color: var(--navy);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
}

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

.data-table tr:hover td {
  background-color: #F8FAFC;
}

/* State Grid */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  list-style: none;
  margin-top: 20px;
  margin-left: 0;
}

.state-card-link {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  box-shadow: var(--card-shadow);
}

.state-card-link:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-lg);
}

.state-card-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.state-card-rate {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-top: 2px;
}

.state-card-rate.no-tax {
  color: var(--emerald-dark);
  font-weight: 600;
}

/* Related Calculators Link Cards */
.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0 32px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.15s ease;
}

.related-card:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-lg);
}

.related-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.related-card-desc {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.45;
  margin-bottom: 12px;
}

.related-card-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* FAQ Accordion Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 30px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: var(--cloud-light);
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--slate);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Trust Strip */
.trust-strip {
  background: var(--cloud);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 32px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--slate-light);
}

.trust-strip strong {
  color: var(--navy);
}

.trust-strip-links a {
  color: var(--navy);
  font-weight: 600;
  margin-left: 12px;
}

/* CTA Card (e.g. in blog posts) */
.blog-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, #15386d 100%);
  color: var(--white);
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  margin: 36px 0;
  border-left: 6px solid var(--emerald);
  box-shadow: var(--card-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.blog-cta-text h3 {
  color: var(--white);
  margin: 0 0 6px 0;
  font-size: 1.25rem;
}

.blog-cta-text p {
  color: #CBD5E1;
  margin: 0;
  font-size: 0.95rem;
}

.blog-cta-btn {
  white-space: nowrap;
  background: var(--emerald);
  color: var(--white);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.15s ease;
}

.blog-cta-btn:hover {
  background: var(--teal-dark);
}

/* Author Byline */
.author-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 20px 0 30px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.author-info-role {
  font-size: 0.82rem;
  color: var(--slate-light);
}

/* Site Footer */
.site-footer {
  background: var(--navy);
  color: #CBD5E1;
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 4px solid var(--emerald);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-disclaimer {
  margin-bottom: 16px;
}

.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #E2E8F0;
}

.cookie-text a {
  color: var(--emerald);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--emerald);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-cookie-decline {
  background: transparent;
  color: #CBD5E1;
  border: 1px solid #475569;
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .calc-inputs-pane {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
  }
  .calc-results-pane {
    padding: 24px 20px;
  }
  .mobile-sticky-summary {
    display: flex;
  }
  .blog-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .header-inner {
    height: 56px;
  }
  .site-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    gap: 14px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .segmented-control {
    flex-wrap: wrap;
  }
  .seg-btn {
    flex: 1 1 45%;
  }
  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}
