:root {
  --gm-ink: #172033;
  --gm-muted: #64748b;
  --gm-line: #dbe3ee;
  --gm-soft: #f6f8fc;
  --gm-teal: #0f766e;
  --gm-teal-2: #14b8a6;
  --gm-indigo: #4f46e5;
  --gm-blue: #1d4ed8;
  --gm-amber: #f59e0b;
  --gm-footer: #101b34;
  --gm-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gm-ink);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f7fafc 100%);
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

.navbar {
  min-height: 86px;
  border-bottom: 1px solid var(--gm-line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}

.navbar-brand img { width: 246px; max-width: 66vw; height: auto; }

.nav-link {
  color: #22304d;
  font-weight: 600;
  font-size: .95rem;
}

.nav-link:hover, .nav-link.active { color: var(--gm-teal); }

.breadcrumb-wrap {
  padding-top: 1.1rem;
  color: var(--gm-muted);
  font-size: .92rem;
}

.breadcrumb a { color: var(--gm-blue); }

.page-hero {
  padding: 1.25rem 0 1.8rem;
}

.home-hero {
  padding: 2.4rem 0 2.8rem;
  background:
    radial-gradient(circle at 8% 20%, rgba(20, 184, 166, .10), transparent 25%),
    radial-gradient(circle at 88% 18%, rgba(79, 70, 229, .08), transparent 25%);
  border-bottom: 1px solid rgba(219, 227, 238, .72);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 850;
  color: #172554;
  margin-bottom: .75rem;
}

.hero-copy {
  color: #475569;
  max-width: 760px;
  line-height: 1.7;
}

.hero-art {
  max-width: 420px;
  width: 100%;
  display: block;
  margin-left: auto;
}

.home-hero-art {
  max-width: 520px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 35px rgba(15, 23, 42, .07);
}

.home-stats div {
  padding: .9rem 1rem;
  border-right: 1px solid var(--gm-line);
}

.home-stats div:last-child { border-right: 0; }
.home-stats strong {
  display: block;
  color: var(--gm-teal);
  font-size: 1.45rem;
  line-height: 1;
}
.home-stats span {
  color: #64748b;
  font-size: .84rem;
  font-weight: 700;
}

.blog-hero {
  padding: 3rem 0 2.4rem;
  background:
    radial-gradient(circle at 2rem 3rem, rgba(15, 159, 97, .14) 0 2px, transparent 3px) 0 0 / 20px 20px,
    linear-gradient(135deg, #fbfdff 0%, #eefaf6 100%);
  border-bottom: 1px solid var(--gm-line);
}

.blog-hero-art {
  max-width: 520px;
  width: 100%;
  display: block;
  margin-left: auto;
}

.blog-search {
  display: grid;
  grid-template-columns: 1fr 64px;
  max-width: 560px;
  margin-top: 2rem;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .1);
}

.blog-search .form-control,
.blog-search .btn {
  border: 0;
  border-radius: 0;
}

.gm-card {
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--gm-shadow);
}

.gm-card-flat {
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
}

.section-pad { padding: 1.35rem; }

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #172554;
}

.section-eyebrow {
  display: inline-flex;
  color: var(--gm-teal);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: .35rem;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: #eef2ff;
  color: var(--gm-indigo);
  flex: 0 0 auto;
}

.icon-badge.teal { background: #ccfbf1; color: var(--gm-teal); }
.icon-badge.amber { background: #fffbeb; color: #b45309; }

.blog-listing {
  margin-top: -1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-empty-feature {
  min-height: 210px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px dashed #9bdcc4;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fdf4, #fff 62%, #eef2ff);
}

.blog-empty-feature h3 {
  margin: 0 0 .35rem;
  color: #172554;
  font-size: 1.35rem;
  font-weight: 850;
}

.blog-empty-feature p {
  margin: 0;
  color: #64748b;
}

.blog-empty-card,
.blog-guide-placeholder {
  min-height: 180px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  padding: 1.1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  text-align: center;
}

.blog-empty-card svg,
.blog-guide-placeholder svg {
  width: 34px;
  height: 34px;
  margin: 0 auto .25rem;
  color: var(--gm-teal);
}

.blog-empty-card strong,
.blog-guide-placeholder strong {
  color: #172554;
}

.blog-empty-card span,
.blog-guide-placeholder span {
  font-size: .9rem;
  line-height: 1.5;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .12);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  background: #f8fafc;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.blog-category {
  color: var(--gm-teal);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-category.finance { color: var(--gm-blue); }
.blog-category.daily { color: #7c3aed; }

.blog-card h3 {
  margin: .65rem 0 .55rem;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 850;
}

.blog-card p {
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
  color: #64748b;
  font-size: .86rem;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.blog-meta svg {
  width: 16px;
  height: 16px;
}

.section-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.section-icon.tool {
  background: linear-gradient(135deg, #ecfeff, #eef2ff);
  color: var(--gm-indigo);
}

.section-icon.result {
  background: linear-gradient(135deg, #dcfce7, #ecfeff);
  color: var(--gm-teal);
}

.btn-gm {
  --bs-btn-bg: var(--gm-teal);
  --bs-btn-border-color: var(--gm-teal);
  --bs-btn-hover-bg: #115e59;
  --bs-btn-hover-border-color: #115e59;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  min-height: 56px;
  font-weight: 800;
  border-radius: 8px;
}

.form-control, .form-select {
  min-height: 54px;
  border-radius: 8px;
  border-color: var(--gm-line);
}

.result-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .6rem .3rem;
  border-right: 1px solid var(--gm-line);
}

.result-big:last-child { border-right: 0; }

.result-number {
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--gm-teal);
  font-weight: 850;
}

.metric {
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  padding: 1rem;
  height: 100%;
  background: #fff;
}

.metric small {
  color: #475569;
  font-weight: 700;
}

.metric strong {
  display: block;
  color: #172554;
  font-size: 1.35rem;
}

.notice {
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: linear-gradient(90deg, #eff6ff, #ecfeff);
  color: #172554;
}

.lifespan {
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: linear-gradient(90deg, #fffbeb, #f0fdfa);
}

.tool-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  min-height: 76px;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}

.home-section {
  margin-bottom: 1.6rem;
}

.home-tool-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 142px;
  height: 100%;
  padding: 1.1rem 3.25rem 1.1rem 1.1rem;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-tool-card:hover {
  transform: translateY(-3px);
  border-color: #bbf7d0;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .11);
}

.home-tool-card strong {
  display: block;
  color: #172554;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.home-tool-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.home-tool-arrow {
  position: absolute;
  right: 1rem;
  top: 1.1rem;
  width: 20px;
  height: 20px;
  color: var(--gm-teal);
}

.home-workflow {
  background:
    linear-gradient(135deg, rgba(240,253,244,.88), rgba(255,255,255,.94) 55%, rgba(238,242,255,.72));
}

.workflow-step {
  min-height: 172px;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
}

.workflow-step strong {
  display: block;
  color: #172554;
  margin: .85rem 0 .35rem;
}

.workflow-step p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.step-card {
  position: relative;
  min-height: 132px;
  padding: 1.1rem 1.1rem 1.1rem 4rem;
}

.step-number {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--gm-indigo);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: .86rem;
  margin: .25rem;
}

.footer {
  margin-top: 2rem;
  background: radial-gradient(circle at top left, #123d72, var(--gm-footer) 55%);
  color: #e2e8f0;
}

.footer a { color: #e2e8f0; display: block; margin: .42rem 0; }
.footer a:hover { color: #99f6e4; }
.footer .footer-inline-link {
  display: inline;
  margin: 0;
}
.footer-logo { width: 220px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }

.mini-page {
  min-height: 46vh;
  padding: 3rem 0;
}

.legal-content {
  max-width: 980px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: #172554;
  font-size: 1.25rem;
  font-weight: 850;
}

.legal-content h3 {
  margin-top: 1.25rem;
  margin-bottom: .55rem;
  color: #172554;
  font-size: 1.05rem;
  font-weight: 850;
}

.legal-content p,
.legal-content li {
  color: #475569;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.3rem;
}

.calc-output {
  background: #f8fafc;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  padding: 1rem;
  min-height: 86px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 34px;
  padding: .35rem .85rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: var(--gm-teal);
  font-weight: 800;
  font-size: .86rem;
  margin-bottom: .9rem;
}

.age-hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(20, 184, 166, .09), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(79, 70, 229, .08), transparent 24%);
}

.age-calc-shell {
  align-items: stretch;
}

.calculator-workspace > [class*="col-"] > .gm-card {
  position: relative;
  overflow: hidden;
}

.calculator-workspace > [class*="col-"] > .gm-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gm-teal), var(--gm-indigo), var(--gm-amber));
}

.age-input-card,
.age-result-card {
  position: relative;
  overflow: hidden;
}

.age-input-card::before,
.age-result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gm-teal), var(--gm-indigo), var(--gm-amber));
}

.age-date-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.age-date-actions .btn {
  min-height: 48px;
  font-weight: 800;
  white-space: normal;
}

.age-primary-result {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: .85rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 58%, #eef2ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 30px rgba(15,23,42,.06);
}

.age-primary-result .result-big {
  min-height: 92px;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  flex-direction: column;
  gap: .15rem;
}

.age-primary-result .result-big strong {
  color: #172554;
  font-size: .95rem;
}

.age-metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}

.age-metric {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.age-metric .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.age-metric strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.age-share-strip {
  box-shadow: 0 12px 26px rgba(245, 158, 11, .11);
}

.date-mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--gm-shadow);
}

.date-mode-tab {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border: 0;
  border-right: 1px solid var(--gm-line);
  background: #fff;
  color: #172554;
  font-weight: 800;
}

.date-mode-tab:last-child { border-right: 0; }
.date-mode-tab.active { background: var(--gm-teal); color: #fff; }
.date-mode-tab.disabled { color: #475569; cursor: not-allowed; opacity: .78; }
.date-mode-tab.active .pro-pill {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.pro-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 .55rem;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #15803d;
  font-size: .7rem;
  font-weight: 850;
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}

.preset-btn {
  border: 1px solid var(--gm-line);
  border-radius: 999px;
  background: #f8fafc;
  color: #172554;
  min-height: 42px;
  font-weight: 800;
}

.preset-btn.active,
.preset-btn:hover {
  background: var(--gm-teal);
  border-color: var(--gm-teal);
  color: #fff;
}

.option-check {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #334155;
}

.option-check .form-check-input {
  margin: 0;
  width: 1.1rem;
  height: 1.1rem;
}

.option-check .form-check-input:checked {
  background-color: var(--gm-teal);
  border-color: var(--gm-teal);
}

.date-result-panel {
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 62%, #ecfeff 100%);
  padding: 1.35rem;
}

.date-result-full {
  display: block;
  color: var(--gm-teal);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.date-metric-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.date-metric-strip div {
  padding: 1rem;
  border-right: 1px solid var(--gm-line);
}

.date-metric-strip div:last-child { border-right: 0; }
.date-metric-strip svg { color: var(--gm-teal); margin-bottom: .45rem; }
.date-metric-strip small { display: block; color: #475569; font-weight: 700; }
.date-metric-strip strong { display: block; color: #172554; font-size: 1.25rem; }

.date-summary dl { margin: 0; }
.date-summary dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  position: relative;
  padding: .28rem 0 .28rem 1rem;
}

.date-summary dl div::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gm-teal);
}

.date-summary dt { color: #172554; font-weight: 800; }
.date-summary dd { margin: 0; color: #0f172a; text-align: right; }

.feature-tile {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
}

.feature-tile strong { color: #172554; }
.feature-tile p { margin: .25rem 0 0; color: #64748b; font-size: .85rem; }

.repeat-options {
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  padding: 1rem;
}

.repeat-results {
  border: 1px solid var(--gm-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.repeat-results h3 {
  margin: 0;
  padding: .9rem 1rem;
  color: #172554;
  font-size: 1rem;
  font-weight: 850;
  border-bottom: 1px solid var(--gm-line);
}

.repeat-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--gm-line);
}

.repeat-result-row:last-child { border-bottom: 0; }
.repeat-result-row span { color: #475569; font-weight: 700; }
.repeat-result-row strong { color: var(--gm-teal); text-align: right; }

.holiday-data-note {
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  padding: .65rem .8rem;
}

.show-holidays-btn {
  color: var(--gm-teal);
  text-decoration: none;
}

.show-holidays-btn:hover,
.show-holidays-btn:focus {
  color: var(--gm-teal-2);
  text-decoration: underline;
}

.holiday-popup {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.holiday-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(4px);
}

.holiday-popup-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  overflow: hidden;
  border: 1px solid var(--gm-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.holiday-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--gm-line);
  background: linear-gradient(135deg, #f8fffb, #eef8ff);
}

.holiday-popup-head h2 {
  margin: 0;
  color: #172554;
  font-size: 1.35rem;
  font-weight: 850;
}

.holiday-popup-content {
  max-height: calc(min(82vh, 760px) - 96px);
  overflow: auto;
  padding: 1rem 1.25rem 1.25rem;
}

.holiday-year-group {
  margin-bottom: 1rem;
  border: 1px solid var(--gm-line);
  border-radius: 10px;
  overflow: hidden;
}

.holiday-year-group:last-child { margin-bottom: 0; }

.holiday-year-group h3 {
  margin: 0;
  padding: .75rem .95rem;
  color: #172554;
  font-size: 1rem;
  font-weight: 850;
  background: #f8fafc;
}

.holiday-list-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: .72rem .95rem;
  border-top: 1px solid var(--gm-line);
}

.holiday-list-row span {
  color: #64748b;
  font-weight: 700;
}

.holiday-list-row strong {
  color: #0f172a;
}

.holiday-popup-open {
  overflow: hidden;
}

.feedback-frame-card {
  overflow: hidden;
}

.feedback-frame {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

@media (max-width: 991.98px) {
  .navbar { min-height: 74px; }
  .navbar-brand img { width: 210px; }
  .hero-art { margin: 1rem auto 0; }
  .home-hero-art { margin: 1rem auto 0; }
  .blog-hero-art { margin: 1rem auto 0; }
  .result-big { border-right: 0; border-bottom: 1px solid var(--gm-line); }
  .result-big:last-child { border-bottom: 0; }
  .date-mode-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .date-mode-tab:nth-child(2),
  .date-metric-strip div:nth-child(2) {
    border-right: 0;
  }
  .date-mode-tab:nth-child(-n+2),
  .date-metric-strip div:nth-child(-n+2) {
    border-bottom: 1px solid var(--gm-line);
  }
}

@media (min-width: 576px) {
  .age-date-actions {
    grid-template-columns: 1fr 1fr;
  }
  .age-primary-result,
  .age-metric-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 1rem; }
  .home-hero { padding: 1.5rem 0 1.7rem; }
  .home-stats { grid-template-columns: 1fr; }
  .home-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--gm-line);
  }
  .home-stats div:last-child { border-bottom: 0; }
  .home-tool-card { min-height: 118px; }
  .tool-card { min-height: 68px; }
  .hero-title { font-size: 2rem; }
  .hero-copy { line-height: 1.55; }
  .age-primary-result .result-big {
    min-height: 82px;
  }
  .age-share-strip .btn {
    min-width: 42px;
    min-height: 38px;
  }
  .date-mode-tabs,
  .date-metric-strip,
  .preset-row {
    grid-template-columns: 1fr;
  }
  .blog-search {
    grid-template-columns: 1fr 54px;
  }
  .blog-empty-feature {
    align-items: flex-start;
    flex-direction: column;
    min-height: 180px;
  }
  .date-mode-tab,
  .date-metric-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--gm-line);
  }
  .date-mode-tab:last-child,
  .date-metric-strip div:last-child {
    border-bottom: 0;
  }
  .date-summary dl div {
    grid-template-columns: 1fr;
    gap: .1rem;
  }
  .date-summary dd { text-align: left; }
  .holiday-popup-head {
    align-items: stretch;
    flex-direction: column;
  }
  .holiday-list-row {
    grid-template-columns: 1fr;
    gap: .15rem;
  }
  .feedback-frame {
    min-height: 680px;
  }
}
