/*
 * FaturaCerta 2.0 — homepage, local dashboard and financial tools directory.
 * Builds on the shared NB Invicta Group design system.
 */

.fc-home-v2 {
  background:
    radial-gradient(circle at 92% 10%, rgba(18, 162, 139, 0.09), transparent 25rem),
    linear-gradient(180deg, #f7faf9 0, #f2f7f6 42rem, var(--nb-canvas) 100%);
}

.fc-home-v2 main {
  overflow: clip;
}

.fc-hero-v2,
.fc-section-v2,
.fc-dashboard-section-v2,
.fc-free-banner-v2,
.fc-home-v2 .source-note {
  width: var(--nb-page);
  margin-inline: auto;
}

.fc-hero-v2 {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, 0.78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: 690px;
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4.8rem);
  border: 1px solid rgba(8, 123, 96, 0.15);
  border-radius: 42px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 255, 252, 0.94) 56%, rgba(225, 248, 241, 0.92) 100%);
  box-shadow: 0 28px 80px rgba(7, 81, 68, 0.12);
}

.fc-hero-v2::before,
.fc-hero-v2::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.fc-hero-v2::before {
  width: 520px;
  height: 520px;
  right: -210px;
  top: -220px;
  border: 1px solid rgba(8, 123, 96, 0.14);
  box-shadow:
    0 0 0 70px rgba(8, 123, 96, 0.025),
    0 0 0 145px rgba(8, 123, 96, 0.018);
}

.fc-hero-v2::after {
  width: 210px;
  height: 210px;
  left: -100px;
  bottom: -110px;
  background: rgba(18, 162, 139, 0.08);
  filter: blur(2px);
}

.fc-hero-copy-v2 {
  position: relative;
  z-index: 1;
}

.fc-hero-copy-v2 h1 {
  max-width: 780px;
  margin: 1rem 0 1.25rem;
  color: #062e28;
  font-size: clamp(3.45rem, 7vw, 6.7rem);
  line-height: 0.91;
  letter-spacing: -0.075em;
}

.fc-hero-copy-v2 h1 span {
  color: #0a8d71;
}

.fc-hero-copy-v2 > p {
  max-width: 710px;
  margin: 0;
  color: #45635e;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.fc-trust-list-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
  margin: 1.45rem 0 0;
  padding: 0;
  color: #315b53;
  list-style: none;
}

.fc-trust-list-v2 li {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 750;
}

.fc-trust-list-v2 li::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-radius: 50%;
  background: #11a186;
  box-shadow: 0 0 0 5px rgba(17, 161, 134, 0.11);
}

.fc-hero-summary-v2 {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(8, 123, 96, 0.16);
  border-radius: 30px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 56px rgba(7, 81, 68, 0.14);
}

.fc-summary-head-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(8, 123, 96, 0.12);
}

.fc-summary-logo-v2 {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(8, 123, 96, 0.13);
  border-radius: 19px;
  background: #f4fbf8;
}

.fc-summary-logo-v2 img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.fc-summary-head-v2 small,
.fc-panel-heading-v2 small,
.fc-goal-copy-v2 small {
  display: block;
  color: #628079;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fc-summary-head-v2 h2 {
  margin: 0.14rem 0 0;
  color: #0b3c34;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.fc-status-chip-v2,
.fc-plan-state-v2 {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: #67736f;
  background: #eff3f2;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.fc-status-chip-v2.is-ready,
.fc-plan-state-v2.is-positive {
  color: #075144;
  background: #e1f6ef;
}

.fc-plan-state-v2.is-warning {
  color: #894b0b;
  background: #fff0d8;
}

.fc-plan-state-v2.is-danger {
  color: #9b2637;
  background: #ffe8eb;
}

.fc-summary-balance-v2 {
  padding: 1.55rem 0 1.3rem;
}

.fc-summary-balance-v2 > span,
.fc-overview-main-v2 > span {
  display: block;
  color: #57716b;
  font-size: 0.82rem;
  font-weight: 800;
}

.fc-summary-balance-v2 > strong {
  display: block;
  margin-top: 0.2rem;
  color: #075144;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.fc-summary-balance-v2 > small {
  display: block;
  margin-top: 0.55rem;
  color: #71847f;
}

.fc-summary-metrics-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.fc-summary-metrics-v2 > div {
  min-width: 0;
  border: 1px solid rgba(8, 123, 96, 0.11);
  border-radius: 16px;
  padding: 0.8rem;
  background: #f7fbfa;
}

.fc-summary-metrics-v2 span {
  display: block;
  color: #6a817c;
  font-size: 0.72rem;
}

.fc-summary-metrics-v2 strong {
  display: block;
  margin-top: 0.2rem;
  overflow: hidden;
  color: #173f38;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-summary-link-v2 {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.1rem;
  color: #087b60;
  font-weight: 850;
  text-decoration: none;
}

.fc-section-v2 {
  padding-block: var(--nb-space-8);
}

.fc-section-heading-v2 {
  max-width: 860px;
  margin-bottom: 1.8rem;
}

.fc-section-heading-v2 h2 {
  margin: 0.75rem 0 0.55rem;
  color: #082c29;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.fc-section-heading-v2 > p,
.fc-heading-row-v2 p {
  margin: 0;
  color: #5d706d;
  font-size: 1.02rem;
}

.fc-intent-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fc-intent-card-v2,
.fc-tool-card-v2,
.fc-guide-grid-v2 > a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(7, 81, 68, 0.12);
  color: #102f2a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(7, 81, 68, 0.07);
  text-decoration: none;
  transition: transform var(--nb-transition), border-color var(--nb-transition), box-shadow var(--nb-transition);
}

.fc-intent-card-v2 {
  min-height: 325px;
  overflow: hidden;
  border-radius: 25px;
  padding: 1.25rem;
}

.fc-intent-card-v2::after {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -45px;
  bottom: -48px;
  content: "";
  border-radius: 50%;
  background: rgba(18, 162, 139, 0.08);
}

.fc-intent-card-v2:hover,
.fc-tool-card-v2:hover,
.fc-guide-grid-v2 > a:hover {
  z-index: 2;
  border-color: rgba(8, 123, 96, 0.3);
  box-shadow: 0 22px 52px rgba(7, 81, 68, 0.12);
  transform: translateY(-5px);
}

.fc-intent-icon-v2,
.fc-tool-icon-v2 {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 2.3rem;
  border-radius: 15px;
  color: #087b60;
  background: #e8f7f2;
  font-weight: 950;
}

.fc-intent-card-v2 small,
.fc-tool-card-v2 small,
.fc-guide-grid-v2 small {
  color: #16705c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fc-intent-card-v2 h3,
.fc-tool-card-v2 h3,
.fc-guide-grid-v2 h3 {
  margin: 0.65rem 0;
  color: #0a332d;
  font-size: 1.25rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.fc-intent-card-v2 p,
.fc-tool-card-v2 p,
.fc-guide-grid-v2 p {
  margin: 0;
  color: #64746f;
  line-height: 1.55;
}

.fc-intent-card-v2 > strong,
.fc-tool-card-v2 > strong,
.fc-guide-grid-v2 > a > strong {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.2rem;
  color: #087b60;
}

.fc-dashboard-section-v2 {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 40px;
  color: #effff9;
  background:
    radial-gradient(circle at 88% 4%, rgba(77, 220, 183, 0.18), transparent 24rem),
    linear-gradient(145deg, #052f2a, #075144 48%, #063b34);
  box-shadow: 0 30px 80px rgba(5, 47, 42, 0.2);
}

.fc-dashboard-section-v2::before {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.fc-section-heading-light-v2 {
  max-width: none;
}

.fc-section-heading-light-v2 h2 {
  color: #fff;
}

.fc-section-heading-light-v2 > p,
.fc-section-heading-light-v2 .fc-heading-row-v2 p {
  color: #bcd4cd;
}

.fc-section-heading-light-v2 .nb-eyebrow-v2 {
  color: #c9f7e8;
  border-color: rgba(175, 242, 220, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.fc-heading-row-v2 {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}

.fc-heading-row-v2 > div:first-child {
  max-width: 800px;
}

.fc-data-actions-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.fc-data-actions-v2 button,
.fc-import-label-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: #e8fff7;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.fc-data-actions-v2 button:hover,
.fc-import-label-v2:hover {
  background: rgba(255, 255, 255, 0.13);
}

.fc-import-label-v2 input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.fc-dashboard-grid-v2,
.fc-tracker-grid-v2 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
  gap: 1rem;
}

.fc-tracker-grid-v2 {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  margin-top: 1rem;
}

.fc-panel-v2 {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 27px;
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  color: #173b35;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 55px rgba(2, 30, 26, 0.18);
}

.fc-panel-heading-v2 {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.fc-panel-heading-v2 > div {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.fc-panel-heading-v2 h3 {
  margin: 0;
  color: #0a332d;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.fc-panel-number-v2 {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #087b60;
  background: #e8f7f2;
  font-size: 0.8rem;
  font-weight: 950;
}

.fc-form-v2 {
  display: grid;
  gap: 1rem;
}

.fc-form-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.fc-form-v2 label,
.fc-expense-form-v2 label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  color: #36534d;
  font-size: 0.82rem;
  font-weight: 800;
}

.fc-form-v2 input,
.fc-form-v2 select,
.fc-expense-form-v2 input,
.fc-expense-form-v2 select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 81, 68, 0.14);
  border-radius: 13px;
  padding: 0.75rem 0.85rem;
  color: #143b34;
  background: #f8fbfa;
  font: inherit;
}

.fc-form-v2 input:focus,
.fc-form-v2 select:focus,
.fc-expense-form-v2 input:focus,
.fc-expense-form-v2 select:focus {
  border-color: #12a28b;
  outline: 3px solid rgba(18, 162, 139, 0.14);
}

.fc-money-input-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(7, 81, 68, 0.14);
  border-radius: 13px;
  color: #087b60;
  background: #f8fbfa;
}

.fc-money-input-v2:focus-within {
  border-color: #12a28b;
  outline: 3px solid rgba(18, 162, 139, 0.14);
}

.fc-money-input-v2 > span {
  padding-left: 0.8rem;
  font-weight: 950;
}

.fc-money-input-v2 input {
  border: 0 !important;
  background: transparent !important;
  outline: 0 !important;
}

.fc-primary-action-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #087b60, #0aa181);
  box-shadow: 0 10px 24px rgba(8, 123, 96, 0.2);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.fc-primary-action-v2:hover {
  background: linear-gradient(135deg, #075b4b, #087b60);
}

.fc-form-status-v2 {
  min-height: 1.25rem;
  margin: 0;
  color: #6e817c;
  font-size: 0.82rem;
}

.fc-form-status-v2.is-success {
  color: #087b60;
}

.fc-form-status-v2.is-error {
  color: #b42336;
}

.fc-overview-main-v2 {
  border-radius: 20px;
  padding: 1.2rem;
  background: linear-gradient(135deg, #eaf9f4, #f6fcfa);
}

.fc-overview-main-v2 > strong {
  display: block;
  margin: 0.25rem 0;
  color: #075144;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.fc-overview-main-v2 > strong.is-negative,
.fc-summary-balance-v2 > strong.is-negative {
  color: #b42336;
}

.fc-overview-main-v2 > p {
  margin: 0.55rem 0 0;
  color: #61756f;
}

.fc-allocation-list-v2 {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.fc-allocation-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem 0.8rem;
  align-items: center;
}

.fc-allocation-v2 > div:first-child {
  display: flex;
  gap: 0.5rem;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  color: #49635d;
  font-size: 0.82rem;
}

.fc-allocation-v2 > div:first-child strong {
  color: #173d35;
}

.fc-progress-track-v2 {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7efed;
}

.fc-progress-track-v2 > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #087b60, #28b99a);
  transition: width 420ms ease;
}

.fc-allocation-v2 small {
  min-width: 44px;
  color: #6b7e79;
  text-align: right;
}

.fc-next-step-v2 {
  margin-top: 1.2rem;
  border: 1px solid rgba(8, 123, 96, 0.12);
  border-radius: 17px;
  padding: 0.9rem;
  background: #fbfdfc;
}

.fc-next-step-v2 span {
  color: #087b60;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.fc-next-step-v2 p {
  margin: 0.35rem 0 0;
  color: #425e57;
}

.fc-expense-form-v2 {
  display: grid;
  grid-template-columns: minmax(130px, 0.85fr) minmax(170px, 1.4fr) minmax(120px, 0.75fr) minmax(135px, 0.8fr);
  gap: 0.7rem;
  align-items: end;
}

.fc-expense-form-v2 .fc-primary-action-v2 {
  grid-column: 1 / -1;
}

.fc-expense-list-v2 {
  display: grid;
  gap: 0.55rem;
  max-height: 360px;
  margin-top: 1rem;
  overflow: auto;
  scrollbar-width: thin;
}

.fc-expense-row-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(7, 81, 68, 0.1);
  border-radius: 15px;
  padding: 0.75rem;
  background: #fbfdfc;
}

.fc-expense-category-v2 {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #087b60;
  background: #e9f7f3;
  font-size: 0.72rem;
  font-weight: 950;
}

.fc-expense-row-v2 h4 {
  margin: 0;
  color: #173d35;
  font-size: 0.92rem;
}

.fc-expense-row-v2 small {
  color: #71827d;
}

.fc-expense-row-v2 > strong {
  color: #173d35;
  white-space: nowrap;
}

.fc-expense-delete-v2 {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #9b2637;
  background: #fff0f2;
  cursor: pointer;
}

.fc-empty-v2 {
  border: 1px dashed rgba(7, 81, 68, 0.17);
  border-radius: 15px;
  padding: 1rem;
  color: #71827d;
  background: #fafcfc;
}

.fc-goal-visual-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(7, 81, 68, 0.1);
  padding-top: 1.25rem;
}

.fc-goal-ring-v2 {
  --fc-goal-angle: 0deg;
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#0aa181 var(--fc-goal-angle), #e6efec 0);
}

.fc-goal-ring-v2::before {
  position: absolute;
  width: 102px;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: #fff;
}

.fc-goal-ring-v2 > div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fc-goal-ring-v2 strong {
  display: block;
  color: #075144;
  font-size: 1.35rem;
}

.fc-goal-ring-v2 span {
  color: #72837f;
  font-size: 0.7rem;
}

.fc-goal-copy-v2 h4 {
  margin: 0.3rem 0;
  color: #173d35;
  font-size: 1.15rem;
}

.fc-goal-copy-v2 p {
  margin: 0;
  color: #6b7e79;
}

.fc-goal-copy-v2 > strong {
  display: block;
  margin-top: 0.65rem;
  color: #087b60;
}

.fc-tool-search-v2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  max-width: 820px;
  border: 1px solid rgba(7, 81, 68, 0.14);
  border-radius: 999px;
  padding: 0.38rem;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 81, 68, 0.08);
}

.fc-tool-search-v2 > span {
  padding-left: 0.75rem;
  color: #087b60;
  font-weight: 900;
}

.fc-tool-search-v2 input {
  min-height: 46px;
  border: 0 !important;
  padding: 0.4rem 0.2rem !important;
  color: #173d35 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit;
}

.fc-tool-search-v2 button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: #fff;
  background: #087b60;
  font-weight: 900;
  cursor: pointer;
}

.fc-filter-row-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.fc-filter-row-v2 button {
  min-height: 39px;
  border: 1px solid rgba(7, 81, 68, 0.13);
  border-radius: 999px;
  padding: 0.55rem 0.78rem;
  color: #31574f;
  background: #fff;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 850;
  cursor: pointer;
}

.fc-filter-row-v2 button.is-active {
  border-color: #087b60;
  color: #fff;
  background: #087b60;
}

.fc-search-status-v2 {
  margin: 0.9rem 0 0;
  color: #697a76;
  font-size: 0.88rem;
}

.fc-tools-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.fc-tool-card-v2 {
  min-height: 300px;
  border-radius: 23px;
  padding: 1.15rem;
}

.fc-tool-icon-v2 {
  width: 44px;
  height: 44px;
  margin-bottom: 1.6rem;
}

.fc-tool-card-v2[hidden] {
  display: none;
}

.fc-guide-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fc-guide-grid-v2 > a {
  min-height: 260px;
  border-radius: 23px;
  padding: 1.25rem;
}

.fc-free-banner-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-block: var(--nb-space-7);
  border: 1px solid rgba(8, 123, 96, 0.16);
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: linear-gradient(120deg, #e9f8f4, #f4fbf9 55%, #e5f6f2);
}

.fc-free-banner-v2 h2 {
  margin: 0.75rem 0 0.45rem;
  color: #083b33;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.fc-free-banner-v2 p {
  max-width: 860px;
  margin: 0;
  color: #55736c;
}

.fc-home-v2 .source-note {
  margin-block: 1.5rem 4rem;
}

html[data-nb-theme="dark"] .fc-home-v2 {
  background:
    radial-gradient(circle at 92% 10%, rgba(18, 162, 139, 0.08), transparent 25rem),
    #071513;
}

html[data-nb-theme="dark"] .fc-hero-v2 {
  border-color: rgba(94, 211, 176, 0.15);
  background: linear-gradient(115deg, #0b1d1a, #0a2823 58%, #0b342c);
}

html[data-nb-theme="dark"] .fc-hero-copy-v2 h1,
html[data-nb-theme="dark"] .fc-section-heading-v2 h2 {
  color: #f4fff9;
}

html[data-nb-theme="dark"] .fc-hero-copy-v2 > p,
html[data-nb-theme="dark"] .fc-section-heading-v2 > p {
  color: #afc7c0;
}

html[data-nb-theme="dark"] .fc-hero-summary-v2,
html[data-nb-theme="dark"] .fc-intent-card-v2,
html[data-nb-theme="dark"] .fc-tool-card-v2,
html[data-nb-theme="dark"] .fc-guide-grid-v2 > a {
  border-color: rgba(122, 216, 188, 0.14);
  background: #10231f;
}

html[data-nb-theme="dark"] .fc-summary-head-v2 h2,
html[data-nb-theme="dark"] .fc-intent-card-v2 h3,
html[data-nb-theme="dark"] .fc-tool-card-v2 h3,
html[data-nb-theme="dark"] .fc-guide-grid-v2 h3 {
  color: #eafff7;
}

html[data-nb-theme="dark"] .fc-summary-balance-v2 > span,
html[data-nb-theme="dark"] .fc-summary-balance-v2 > small,
html[data-nb-theme="dark"] .fc-intent-card-v2 p,
html[data-nb-theme="dark"] .fc-tool-card-v2 p,
html[data-nb-theme="dark"] .fc-guide-grid-v2 p {
  color: #a9c0ba;
}

html[data-nb-theme="dark"] .fc-summary-metrics-v2 > div {
  border-color: rgba(122, 216, 188, 0.12);
  background: #0b1c19;
}

html[data-nb-theme="dark"] .fc-summary-metrics-v2 strong {
  color: #eafff7;
}

html[data-nb-theme="dark"] .fc-tool-search-v2 {
  border-color: rgba(122, 216, 188, 0.15);
  background: #10231f;
}

html[data-nb-theme="dark"] .fc-tool-search-v2 input {
  color: #effff9 !important;
}

html[data-nb-theme="dark"] .fc-filter-row-v2 button {
  border-color: rgba(122, 216, 188, 0.16);
  color: #c0d6d0;
  background: #10231f;
}

html[data-nb-theme="dark"] .fc-filter-row-v2 button.is-active {
  color: #fff;
  background: #087b60;
}

html[data-nb-theme="dark"] .fc-free-banner-v2 {
  border-color: rgba(122, 216, 188, 0.14);
  background: linear-gradient(120deg, #0b2923, #0d1f1c);
}

html[data-nb-theme="dark"] .fc-free-banner-v2 h2 {
  color: #effff9;
}

html[data-nb-theme="dark"] .fc-free-banner-v2 p {
  color: #afc7c0;
}

@media (max-width: 1050px) {
  .fc-hero-v2 {
    grid-template-columns: 1fr;
  }

  .fc-hero-summary-v2 {
    max-width: 680px;
  }

  .fc-intent-grid-v2,
  .fc-tools-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-dashboard-grid-v2,
  .fc-tracker-grid-v2 {
    grid-template-columns: 1fr;
  }

  .fc-heading-row-v2 {
    align-items: flex-start;
    flex-direction: column;
  }

  .fc-data-actions-v2 {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .fc-hero-v2,
  .fc-dashboard-section-v2 {
    border-radius: 30px;
  }

  .fc-hero-v2 {
    min-height: auto;
    margin-top: 0.8rem;
  }

  .fc-guide-grid-v2 {
    grid-template-columns: 1fr;
  }

  .fc-free-banner-v2 {
    grid-template-columns: 1fr;
  }

  .fc-free-banner-v2 .nb-button-secondary-v2 {
    width: fit-content;
  }

  .fc-expense-form-v2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .fc-hero-v2,
  .fc-dashboard-section-v2 {
    padding: 1.35rem;
  }

  .fc-hero-copy-v2 h1 {
    font-size: clamp(2.85rem, 15vw, 4.2rem);
  }

  .fc-summary-head-v2 {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .fc-status-chip-v2 {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .fc-summary-metrics-v2 {
    grid-template-columns: 1fr;
  }

  .fc-intent-grid-v2,
  .fc-tools-grid-v2,
  .fc-form-grid-v2,
  .fc-expense-form-v2 {
    grid-template-columns: 1fr;
  }

  .fc-intent-card-v2,
  .fc-tool-card-v2 {
    min-height: auto;
  }

  .fc-tool-search-v2 {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 20px;
  }

  .fc-tool-search-v2 button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .fc-data-actions-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .fc-data-actions-v2 button:first-child {
    grid-column: 1 / -1;
  }

  .fc-expense-row-v2 {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .fc-expense-row-v2 > strong {
    grid-column: 2;
  }

  .fc-expense-delete-v2 {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .fc-goal-visual-v2 {
    grid-template-columns: 1fr;
  }

  .fc-goal-ring-v2 {
    width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-progress-track-v2 > span {
    transition: none;
  }
}
